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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
cmp ecx, 1
jne 0x41fcf0
add eax, 0xbcd4d500
adc edx, 0xb8b1aabc
mov dword [esp + 0x20], eax
cmp ecx, eax
mov eax, 0
sbb eax, edx
mov dword [esp + 0x24], edx
setae byte [esp + 0x1c]
cmp dword [esp + 0xb4], 6
movzx ecx, byte [esp + 0x1c]
sete al
and al, cl
mov byte [esp + 0x45], al
je 0x41fd00
mov eax, dword [esp + 0xc0]
mov ebx, dword [eax - 0xc]
test ebx, ebx
je 0x41fecf
mov eax, dword [esp + 0xc0]
mov ebp, dword [eax - 0x18]
mov eax, dword [eax - 0x10]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
test eax, eax
js 0x4200ea
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call sym.__Unwind_SetGR
mov eax, dword [esp + 0xc4]
mov dword [esp + 8], ebp
mov dword [esp + 4], 2
mov dword [esp], eax
call sym.__Unwind_SetGR
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dbg._Unwind_SetIP
add esp, 0x9c
mov eax, 7
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 3
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call dbg._Unwind_GetLanguageSpecificData
mov dword [esp + 0x30], eax
mov edx, eax
test eax, eax
je 0x41fee6
mov eax, dword [esp + 0xc4]
lea ecx, [esp + 0x78]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov byte [esp + 0x8c], 0
call sym.parse_lsda_header__Unwind_Context__unsigned_char_const__lsda_header_info_
mov edx, dword [esp + 0xc4]
movq xmm0, qword [esp + 0x84]
mov ebx, eax
movzx eax, byte [esp + 0x8c]
movq qword [esp + 0x58], xmm0
mov esi, dword [esp + 0x5c]
movq qword [esp + 0x28], xmm0
mov dword [esp + 0x18], esi
mov byte [esp + 0x46], al
mov dword [esp + 0x34], eax
call sym.base_of_encoded_value_unsigned_char___Unwind_Context_
mov dword [esp + 0x38], eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call dbg._Unwind_GetIPInfo
cmp dword [esp + 0x68], 1
sbb eax, 0
cmp ebx, esi
jae 0x41fe66
mov edi, dword [esp + 0x78]
movzx esi, byte [esp + 0x8d]
mov dword [esp + 0x14], edi
mov edi, eax
lea esi, [esi]
xor edx, edx
mov eax, esi
xor ebp, ebp
call sym.base_of_encoded_value_unsigned_char___Unwind_Context_
mov ecx, ebx
mov edx, eax
lea eax, [esp + 0x6c]
mov dword [esp], eax
mov eax, esi
call sym.read_encoded_value_with_base_unsigned_char__unsigned_int__unsigned_char_const__unsigned_int_
xor edx, edx
mov ebx, eax
mov eax, esi
call sym.base_of_encoded_value_unsigned_char___Unwind_Context_
mov ecx, ebx
mov edx, eax
lea eax, [esp + 0x70]
mov dword [esp], eax
mov eax, esi
call sym.read_encoded_value_with_base_unsigned_char__unsigned_int__unsigned_char_const__unsigned_int_
xor edx, edx
mov ebx, eax
mov eax, esi
call sym.base_of_encoded_value_unsigned_char___Unwind_Context_
mov ecx, ebx
mov edx, eax
lea eax, [esp + 0x74]
mov dword [esp], eax
mov eax, esi
call sym.read_encoded_value_with_base_unsigned_char__unsigned_int__unsigned_char_const__unsigned_int_
xor ecx, ecx
mov ebx, eax
lea esi, cs:[esi]
lea esi, cs:[esi]
lea esi, cs:[esi]
movzx edx, byte [ebx]
add ebx, 1
mov eax, edx
and eax, 0x7f
shl eax, cl
add ecx, 7
or ebp, eax
test dl, dl
js 0x41fe40
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x6c]
cmp edi, eax
jae 0x41fef0
test byte [esp + 0xb4], 1
je 0x41fea8
mov dword [esp + 0x14], 0
xor ebx, ebx
mov dword [esp + 0x18], 0
mov edi, dword [esp + 0x20]
mov eax, 1
mov ebp, dword [esp + 0x24]
cmp eax, edi
mov eax, 0
sbb eax, ebp
jae 0x4200b8
mov eax, 6
jmp 0x41fcf5
mov eax, dword [esp + 0xb4]
and eax, 8
jne 0x42037d
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov edx, 1
cmp edx, edi
sbb eax, ebp
jb 0x42037d
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call sym.___cxa_call_terminate
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x41ff10
mov eax, 8
jmp 0x41fcf5
add eax, dword [esp + 0x70]
cmp edi, eax
jb 0x41fede
mov eax, dword [esp + 0x18]
cmp ebx, eax
jb 0x41fdd0
jmp 0x41fe66
add eax, dword [esp + 0x7c]
mov ebx, eax
test ebp, ebp
je 0x42024a
test eax, eax
je 0x41fee6
mov eax, dword [esp + 0x28]
movq xmm2, qword [esp + 0x28]
mov esi, dword [esp + 0xb4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
movq qword [esp + 0x50], xmm2
lea eax, [eax + ebp - 1]
mov dword [esp + 0x14], eax
and esi, 8
jne 0x420253
mov edi, dword [esp + 0x20]
mov eax, 1
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x40], 0x4244d8
mov edx, 1
cmp eax, edi
mov eax, esi
sbb eax, ebp
jae 0x4202e8
mov eax, esi
mov dword [esp + 0x4c], esi
shr eax, 3
mov dword [esp + 0x48], ebx
xor eax, 1
and al, byte [esp + 0x1c]
and eax, edx
mov byte [esp + 0x47], al
lea esi, cs:[esi]
lea esi, [esi]
mov ebx, dword [esp + 0x14]
xor ebp, ebp
xor ecx, ecx
jmp 0x41ffc0
movzx edx, byte [ebx]
add ebx, 1
mov eax, edx
and eax, 0x7f
shl eax, cl
add ecx, 7
or ebp, eax
test dl, dl
js 0x41ffc0
cmp ecx, 0x1f
ja 0x41ffeb
and edx, 0x40
je 0x41ffeb
mov eax, 1
shl eax, cl
neg eax
or ebp, eax
mov dword [esp + 0x18], ebp
mov edx, ebx
xor esi, esi
xor ecx, ecx
mov edi, ebx
lea esi, cs:[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 0x420000
mov eax, edi
mov edi, ebx
mov ebx, eax
cmp ecx, 0x1f
ja 0x420140
and edi, 0x40
je 0x420140
mov eax, 1
shl eax, cl
neg eax
or esi, eax
test ebp, ebp
je 0x4201f8
cmp dword [esp + 0xb4], 2
je 0x4200ac
test ebp, ebp
jg 0x42016a
cmp byte [esp + 0x47], 0
jne 0x420270
mov eax, dword [esp + 0x3c]
mov edx, ebp
mov dword [esp + 0x1c], esi
xor edi, edi
not edx
xor ecx, ecx
mov esi, ebx
add edx, eax
lea esi, cs:[esi]
lea esi, [esi]
movzx ebx, byte [edx]
add edx, 1
mov eax, ebx
and eax, 0x7f
shl eax, cl
add ecx, 7
or edi, eax
test bl, bl
js 0x420080
mov ebx, esi
mov esi, dword [esp + 0x1c]
test edi, edi
je 0x420316
test esi, esi
je 0x420226
lea eax, [ebx + esi]
mov dword [esp + 0x14], eax
jmp 0x41ffa0
mov eax, dword [esp + 0xc0]
mov edi, dword [esp + 0x18]
mov dword [eax - 0x18], edi
mov edi, dword [esp + 0x14]
mov dword [eax - 0x14], edi
mov edi, dword [esp + 0x30]
mov dword [eax - 0x10], edi
mov edi, dword [esp + 0xc0]
mov eax, dword [esp + 0x64]
mov dword [edi - 0xc], ebx
mov dword [edi - 8], eax
jmp 0x41fe9e
movzx eax, byte [esp + 0x46]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x78]
mov byte [esp + 0x8c], al
mov eax, dword [esp + 0xc4]
call sym.parse_lsda_header__Unwind_Context__unsigned_char_const__lsda_header_info_
movzx esi, byte [esp + 0x8c]
mov edx, dword [esp + 0xc4]
mov eax, esi
call sym.base_of_encoded_value_unsigned_char___Unwind_Context_
mov edx, dword [esp + 0xc4]
mov eax, esi
call sym.base_of_encoded_value_unsigned_char___Unwind_Context_
mov edi, dword [esp + 0xc0]
mov dword [edi - 0xc], eax
jmp 0x41fc88
test ebp, ebp
je 0x420160
cmp dword [esp + 0xb4], 2
jne 0x42004b
jmp 0x4200a4
mov byte [esp + 0x45], 1
jmp 0x4200a4
movzx eax, byte [esp + 0x46]
cmp al, 0xff
je 0x42021d
and eax, 7
cmp al, 2
je 0x420211
jbe 0x420265
cmp al, 3
je 0x420202
cmp al, 4
jne 0x420332
mov ecx, dword [esp + 0x3c]
lea eax, [ebp*8]
sub ecx, eax
lea eax, [esp + 0x74]
mov edx, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
call sym.read_encoded_value_with_base_unsigned_char__unsigned_int__unsigned_char_const__unsigned_int_
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4201da
mov edx, dword [esp + 0x40]
test edx, edx
je 0x4200a4
lea ecx, [esp + 0x64]
call sym.get_adjusted_ptr_std::type_info_const__std::type_info_const__void_
test al, al
je 0x4200a4
mov ebx, dword [esp + 0x48]
test byte [esp + 0xb4], 1
jne 0x41fe82
jmp 0x41fc88
mov byte [esp + 0x45], 1
jmp 0x4200ac
mov ecx, dword [esp + 0x3c]
lea eax, [ebp*4]
sub ecx, eax
jmp 0x4201a1
mov ecx, dword [esp + 0x3c]
lea eax, [ebp + ebp]
sub ecx, eax
jmp 0x4201a1
mov ecx, dword [esp + 0x3c]
jmp 0x4201a1
cmp byte [esp + 0x45], 0
mov ebx, dword [esp + 0x48]
je 0x41fee6
test byte [esp + 0xb4], 1
jne 0x41fee6
xor ebp, ebp
jmp 0x41fc88
test eax, eax
jne 0x420235
jmp 0x41fee6
mov dword [esp + 0x40], 0x4244c4
mov edx, 1
jmp 0x41ff78
test al, al
je 0x420202
jmp sym.___gxx_personality_v0.cold
movzx eax, byte [esp + 0x46]
movq xmm3, qword [esp + 0x28]
mov dword [esp], ebp
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x40]
mov byte [esp + 0x8c], al
lea eax, [esp + 0x78]
movq qword [esp + 0x84], xmm3
call sym.check_exception_spec_lsda_header_info__std::type_info_const__void__long_
test al, al
jne 0x4200a4
mov ebx, dword [esp + 0x48]
test byte [esp + 0xb4], 1
jne 0x4200b8
mov esi, dword [esp + 0x20]
mov eax, 1
mov edi, dword [esp + 0x24]
cmp eax, esi
mov eax, 0
sbb eax, edi
jae 0x41fc7c
test ebp, ebp
je 0x41fc88
jmp 0x420382
mov eax, dword [esp + 0xc0]
mov edi, dword [esp + 0xc0]
add eax, 0x20
test byte [edi], 1
je 0x420301
mov eax, dword [edi - 0x30]
mov dword [esp + 0x64], eax
mov eax, dword [eax - 0x50]
test eax, eax
mov dword [esp + 0x40], eax
setne dl
jmp 0x41ff78
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
test byte [esp + 0xb4], 1
jne 0x41fe82
test esi, esi
jne 0x4202d5
jmp 0x4202b9
jmp sym.___gxx_personality_v0.cold