Function at 0x4cf610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
lea eax, [esp + 0x5c]
mov ebp, dword [esp + 0xec]
mov edi, dword [esp + 0xe8]
mov dword [esp + 0x74], sym.___gxx_personality_sj0
mov dword [esp], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x78], 0x4d0ea8
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], 0x4cfd41
mov dword [esp + 0x84], esp
call sym.__Unwind_SjLj_Register
cmp dword [esp + 0xe0], 1
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
jne 0x4cf700
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, 0
add edi, 0xbcd4d500
adc ebp, 0xb8b1aabc
cmp dword [esp + 0xe0], edi
mov dword [esp + 0x38], edi
sbb eax, ebp
mov dword [esp + 0x3c], ebp
setae byte [esp + 0x49]
cmp dword [esp + 0xe4], 6
movzx ecx, byte [esp + 0x49]
sete al
and al, cl
mov byte [esp + 0x4a], al
je 0x4cf728
mov eax, dword [esp + 0xf0]
mov edi, dword [eax - 0x18]
mov eax, dword [eax - 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xf0]
mov eax, dword [eax - 0xc]
mov dword [esp + 0x40], eax
test eax, eax
jne 0x4cf838
mov eax, dword [esp + 0xf0]
mov dword [esp], eax
call sym.___cxa_call_terminate
nop
mov dword [esp + 0x18], 3
lea eax, [esp + 0x5c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [esp + 0x18]
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp], eax
call sym.__Unwind_GetLanguageSpecificData
mov dword [esp + 0x34], eax
test eax, eax
je 0x4cf928
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0xf4]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x60], 0xffffffff
call sym.parse_lsda_header__Unwind_Context__unsigned_char_const__lsda_header_info_
mov edx, dword [esp + 0xf4]
mov dword [esp + 0x18], eax
movzx eax, byte [esp + 0xbc]
mov byte [esp + 0x4b], al
mov dword [esp + 0x4c], eax
call sym.base_of_encoded_value_unsigned_char___Unwind_Context_
mov dword [esp + 0x50], eax
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
call sym.__Unwind_GetIPInfo
cmp dword [esp + 0xa0], 1
sbb eax, 0
mov dword [esp + 0x30], eax
test eax, eax
js 0x4cf928
jne 0x4cf8b8
mov eax, dword [esp + 0xe4]
and eax, 1
je 0x4cfa53
xor edi, edi
xor ebp, ebp
mov ecx, dword [esp + 0x38]
mov eax, 1
mov ebx, dword [esp + 0x3c]
cmp eax, ecx
mov eax, 0
sbb eax, ebx
jb 0x4cf826
mov eax, dword [esp + 0xf0]
mov dword [eax - 0x18], edi
mov edi, dword [esp + 0x34]
mov dword [eax - 0x14], ebp
mov dword [eax - 0x10], edi
mov edi, dword [esp + 0xf0]
mov eax, dword [esp + 0x9c]
mov dword [edi - 8], eax
mov eax, edi
mov edi, dword [esp + 0x30]
mov dword [eax - 0xc], edi
mov dword [esp + 0x18], 6
jmp 0x4cf708
mov dword [esp + 0x30], edi
test edi, edi
js 0x4cfa79
lea esi, [esi]
mov eax, dword [esp + 0xf0]
mov dword [esp + 4], 0
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 8], eax
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
call sym.__Unwind_SetGR
mov eax, dword [esp + 0x30]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
call sym.__Unwind_SetGR
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
call sym.__Unwind_SetIP
mov dword [esp + 0x18], 7
jmp 0x4cf708
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
lea esi, [esi]
movzx ebx, byte [eax]
add eax, 1
mov edx, ebx
and edx, 0x7f
shl edx, cl
add ecx, 7
or edi, edx
test bl, bl
js 0x4cf8c8
xor esi, esi
xor ecx, ecx
lea esi, [esi]
movzx ebx, byte [eax]
add eax, 1
mov edx, ebx
and edx, 0x7f
shl edx, cl
add ecx, 7
or esi, edx
test bl, bl
js 0x4cf8e8
sub ebp, 1
jne 0x4cf8c0
lea eax, [edi + 1]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x40], eax
test esi, esi
jne 0x4cf935
test eax, eax
je 0x4cf928
test byte [esp + 0xe4], 1
je 0x4cf848
lea esi, [esi]
mov dword [esp + 0x18], 8
jmp 0x4cf708
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0xb8]
test edx, edx
je 0x4cf928
lea ebp, [eax + esi - 1]
test ebp, ebp
je 0x4cfce9
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x54], 0x4dbdd4
and eax, 8
mov dword [esp + 0x58], eax
jne 0x4cf98b
mov esi, dword [esp + 0x38]
mov eax, 1
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x54], 0x4dbde8
cmp eax, esi
mov eax, dword [esp + 0x30]
sbb eax, edi
jae 0x4cfcb0
mov dword [esp + 0x2c], ebp
nop
mov ebx, dword [esp + 0x2c]
xor esi, esi
xor ecx, ecx
lea esi, [esi]
nop
movzx edx, byte [ebx]
add ebx, 1
mov eax, edx
and eax, 0x7f
shl eax, cl
add ecx, 7
or esi, eax
test dl, dl
js 0x4cf9a0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], esi
cmp ecx, 0x1f
ja 0x4cf9d7
and edx, 0x40
je 0x4cf9d7
mov eax, 1
shl eax, cl
neg eax
or esi, eax
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x44], eax
lea esi, [esi]
nop
movzx ebx, byte [edx]
add edx, 1
mov eax, ebx
and eax, 0x7f
shl eax, cl
add ecx, 7
or esi, eax
test bl, bl
js 0x4cf9f0
mov dword [esp + 0x24], esi
cmp ecx, 0x1f
ja 0x4cfad0
and ebx, 0x40
je 0x4cfad0
mov eax, 1
shl eax, cl
neg eax
or esi, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], esi
test eax, eax
jne 0x4cfb00
mov byte [esp + 0x4a], 1
lea esi, [esi]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
add eax, edi
mov dword [esp + 0x2c], eax
jmp 0x4cf990
test byte [esp + 0xe4], 8
jne 0x4cfa74
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
cmp dword [esp + 0xe0], edi
sbb eax, ebp
jae 0x4cf6f0
call method.std.terminate__
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0xf4]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x60], 0xffffffff
call sym.parse_lsda_header__Unwind_Context__unsigned_char_const__lsda_header_info_
movzx eax, byte [esp + 0xbc]
mov edx, dword [esp + 0xf4]
mov dword [esp + 0x18], eax
call sym.base_of_encoded_value_unsigned_char___Unwind_Context_
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0x18]
call sym.base_of_encoded_value_unsigned_char___Unwind_Context_
mov edi, dword [esp + 0xf0]
mov dword [edi - 0xc], eax
jmp 0x4cf848
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x4cfb00
mov byte [esp + 0x4a], 1
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x4cfa40
cmp byte [esp + 0x4a], 0
jne 0x4cf916
jmp 0x4cf928
mov edi, dword [esp + 0x18]
test edi, edi
jg 0x4cfbb0
mov esi, dword [esp + 0x58]
test esi, esi
sete al
test byte [esp + 0x49], al
je 0x4cfb27
mov ebx, dword [esp + 0x54]
test ebx, ebx
jne 0x4cfc74
mov edx, dword [esp + 0x18]
xor esi, esi
xor ecx, ecx
not edx
add edx, dword [esp + 0xb4]
lea esi, [esi]
nop
movzx ebx, byte [edx]
add edx, 1
mov eax, ebx
and eax, 0x7f
shl eax, cl
add ecx, 7
or esi, eax
test bl, bl
js 0x4cfb40
test esi, esi
jne 0x4cfadd
mov eax, dword [esp + 0xe4]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
and eax, 1
jne 0x4cfcdc
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov edx, 1
cmp edx, ecx
sbb eax, ebx
jb 0x4cfb91
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4cf838
mov edx, dword [esp + 0x18]
test edx, edx
js 0x4cfd27
mov dword [esp + 0x30], edi
jmp 0x4cf848
movzx eax, byte [esp + 0x4b]
cmp al, 0xff
je 0x4cfc6d
and eax, 7
cmp al, 2
je 0x4cfc48
jbe 0x4cfc53
cmp al, 3
je 0x4cfc5b
cmp al, 4
jne 0x4cfd34
mov eax, dword [esp + 0x18]
lea ecx, [eax*8]
neg ecx
lea eax, [esp + 0xa4]
mov edx, dword [esp + 0x50]
add ecx, dword [esp + 0xb4]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
call sym.read_encoded_value_with_base_unsigned_char__unsigned_int__unsigned_char_const__unsigned_int_
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x4cfb5a
mov edx, dword [esp + 0x54]
test edx, edx
je 0x4cfadd
lea ecx, [esp + 0x9c]
call sym.get_adjusted_ptr_std::type_info_const__std::type_info_const__void_
test al, al
je 0x4cfadd
jmp 0x4cfb5a
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax]
neg ecx
jmp 0x4cfbeb
test al, al
jne 0x4cfd34
mov eax, dword [esp + 0x18]
lea ecx, [eax*4]
neg ecx
jmp 0x4cfbeb
xor ecx, ecx
jmp 0x4cfbeb
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x60], 0xffffffff
mov edx, dword [esp + 0x54]
mov dword [esp], eax
lea eax, [esp + 0xa8]
call sym.check_exception_spec_lsda_header_info__std::type_info_const__void__long_
test al, al
jne 0x4cfadd
jmp 0x4cfb5a
mov eax, dword [esp + 0xf0]
mov edi, dword [esp + 0xf0]
add eax, 0x20
test byte [edi], 1
je 0x4cfcc9
mov eax, dword [edi - 0x30]
mov dword [esp + 0x9c], eax
mov eax, dword [eax - 0x50]
mov dword [esp + 0x54], eax
jmp 0x4cf98b
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], eax
jmp 0x4cf7e0
mov edi, dword [esp + 0xe4]
and edi, 1
jne 0x4cf928
test byte [esp + 0xe4], 8
jne 0x4cfb9d
mov ecx, dword [esp + 0x38]
mov eax, 1
mov ebx, dword [esp + 0x3c]
cmp eax, ecx
mov eax, dword [esp + 0x30]
sbb eax, ebx
jb 0x4cfb9d
jmp 0x4cf848
mov dword [esp + 0x60], 1
call method.std.unexpected__
mov dword [esp + 0x60], 0xffffffff
call sym._abort
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call sym.___cxa_begin_catch
jmp 0x4cfa74