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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x54], sym.___gxx_personality_sj0
mov dword [esp + 0x58], 0x415f68
mov dword [esp + 0x18], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x60], 0x415ea7
mov dword [esp + 0x64], esp
call dbg._Unwind_SjLj_Register
cmp dword [esp + 0xc0], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x20], 3
je 0x4159e0
lea eax, [esp + 0x3c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [esp + 0x20]
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x18], 1
add eax, 0xbcd4d500
adc edx, 0xb8b1aabc
cmp edx, 0
jbe 0x415ae0
cmp byte [esp + 0x18], 0
jne 0x415af3
cmp dword [esp + 0xc4], 6
jne 0x415af3
mov eax, dword [esp + 0xd0]
mov eax, dword [eax - 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xd0]
mov eax, dword [eax - 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xd0]
mov eax, dword [eax - 0xc]
cmp eax, 1
mov dword [esp + 0x2c], eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
test byte [esp + 0xc4], 8
je 0x415c60
cmp eax, 1
je 0x415eb3
mov edx, dword [esp + 0x24]
test edx, edx
js 0x415eb8
mov eax, dword [esp + 0xd0]
mov dword [esp + 4], 0
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 8], eax
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
call dbg._Unwind_SetGR
mov eax, dword [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
call dbg._Unwind_SetGR
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
call dbg._Unwind_SetIP
mov dword [esp + 0x20], 7
jmp 0x4159c5
cmp eax, 1
seta byte [esp + 0x18]
cmp byte [esp + 0x18], 0
je 0x415a0c
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], eax
call dbg._Unwind_GetLanguageSpecificData
test eax, eax
mov dword [esp + 0x30], eax
je 0x415ce0
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x88]
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x40], 0xffffffff
call sym.parse_lsda_header__Unwind_Context__unsigned_char_const__lsda_header_info_
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x20], eax
movzx eax, byte [esp + 0x9c]
call sym.base_of_encoded_value_unsigned_char___Unwind_Context_
mov dword [esp + 0x90], eax
lea eax, [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
call dbg._Unwind_GetIPInfo
cmp dword [esp + 0x7c], 1
sbb eax, 0
test eax, eax
js 0x415ce0
je 0x415ced
mov edx, dword [esp + 0x20]
mov ebp, eax
xor esi, esi
xor ecx, ecx
nop
lea esi, [esi]
add edx, 1
movzx ebx, byte [edx - 1]
mov eax, ebx
and eax, 0x7f
shl eax, cl
add ecx, 7
or esi, eax
test bl, bl
js 0x415b90
xor edi, edi
xor ecx, ecx
nop
lea esi, [esi]
add edx, 1
movzx ebx, byte [edx - 1]
mov eax, ebx
and eax, 0x7f
shl eax, cl
add ecx, 7
or edi, eax
test bl, bl
js 0x415bb0
sub ebp, 1
jne 0x415b87
lea eax, [esi + 1]
test edi, edi
mov dword [esp + 0x2c], eax
jne 0x415cff
cmp dword [esp + 0x2c], 0
je 0x415ce0
mov eax, 2
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
test byte [esp + 0xc4], 1
je 0x415a4f
cmp eax, 2
je 0x415ce0
cmp byte [esp + 0x18], 0
mov dword [esp + 0x20], 6
jne 0x4159c5
mov eax, dword [esp + 0xd0]
mov edi, dword [esp + 0x24]
mov dword [eax - 0x18], edi
mov edi, dword [esp + 0x28]
mov dword [eax - 0x14], edi
mov edi, dword [esp + 0x30]
mov dword [eax - 0x10], edi
mov edi, dword [esp + 0xd0]
mov eax, dword [esp + 0x78]
mov dword [edi - 8], eax
mov eax, edi
mov edi, dword [esp + 0x2c]
mov dword [eax - 0xc], edi
jmp 0x4159c5
cmp byte [esp + 0x18], 0
jne 0x415a5d
cmp eax, 1
je 0x415e98
mov eax, dword [esp + 0x24]
test eax, eax
jns 0x415a72
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x88]
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x40], 0xffffffff
call sym.parse_lsda_header__Unwind_Context__unsigned_char_const__lsda_header_info_
mov edx, dword [esp + 0xd4]
movzx eax, byte [esp + 0x9c]
call sym.base_of_encoded_value_unsigned_char___Unwind_Context_
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x90], eax
movzx eax, byte [esp + 0x9c]
call sym.base_of_encoded_value_unsigned_char___Unwind_Context_
mov edi, dword [esp + 0xd0]
mov dword [edi - 0xc], eax
jmp 0x415a72
mov dword [esp + 0x20], 8
jmp 0x4159c5
mov dword [esp + 0x2c], 0
mov eax, 1
jmp 0x415beb
mov eax, dword [esp + 0x98]
lea eax, [eax + edi - 1]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
test edi, edi
je 0x415ce0
test eax, eax
je 0x415be6
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x24], 0x41e2f4
and eax, 8
mov dword [esp + 0x38], eax
jne 0x415d69
cmp byte [esp + 0x18], 0
mov dword [esp + 0x24], 0x41e308
jne 0x415d69
mov eax, dword [esp + 0xd0]
mov edi, dword [esp + 0xd0]
add eax, 0x20
test byte [edi], 1
je 0x415d5e
mov eax, dword [edi - 0x30]
mov dword [esp + 0x78], eax
mov eax, dword [eax - 0x50]
mov dword [esp + 0x24], eax
mov byte [esp + 0x37], 0
jmp 0x415db1
jle 0x415de4
lea eax, [esp + 0x88]
mov dword [esp + 0x40], 0xffffffff
call sym.get_ttype_entry_lsda_header_info__unsigned_long_
test eax, eax
je 0x415e2c
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x415e82
mov eax, dword [esp + 0x84]
test eax, eax
je 0x415e65
add eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x80]
call sym.read_sleb128_unsigned_char_const__long_
lea edx, [esp + 0x84]
mov dword [esp + 0x20], eax
call sym.read_sleb128_unsigned_char_const__long_
mov edx, dword [esp + 0x80]
cmp edx, 0
jne 0x415d70
mov byte [esp + 0x37], 1
jmp 0x415d9a
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x415dfb
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x415dfb
cmp byte [esp + 0x18], 0
je 0x415e41
not edx
xor esi, esi
add edx, dword [esp + 0x94]
xor ecx, ecx
add edx, 1
movzx ebx, byte [edx - 1]
mov eax, ebx
and eax, 0x7f
shl eax, cl
add ecx, 7
or esi, eax
test bl, bl
js 0x415e08
test esi, esi
sete al
test al, al
je 0x415d9a
mov eax, dword [esp + 0x80]
mov dword [esp + 0x24], eax
mov eax, 3
jmp 0x415bfb
mov dword [esp], edx
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x88]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x40], 0xffffffff
call sym.check_exception_spec_lsda_header_info__std::type_info_const__void__long_
xor eax, 1
jmp 0x415e24
cmp byte [esp + 0x37], 0
je 0x415ce0
mov dword [esp + 0x24], 0
mov eax, 2
jmp 0x415bfb
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x78]
call sym.get_adjusted_ptr_std::type_info_const__std::type_info_const__void_
test al, al
jne 0x415e2c
jmp 0x415d9a
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
call sym.___cxa_call_terminate
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sym.___cxa_begin_catch
call method.std.terminate__
mov dword [esp + 0x40], 1
call method.std.unexpected__
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop