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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56d06a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push esi
push edi
lea esi, [esp + 0x14]
mov edi, ecx
call fcn.004202c0
and dword [esp + 0xa4], 0
mov ecx, dword [0x5f9648]
push 1
call fcn.00401cd6
mov eax, esi
push eax
push edi
call fcn.00413206
mov esi, eax
test esi, esi
je 0x412f9c
push edi
call fcn.00413ac6
mov esi, eax
test byte [0x621ea0], 1
mov ebx, 0x415540
jne 0x412fe8
test esi, esi
je 0x41312c
mov ecx, dword [edi + 0x78]
mov edx, dword [edi + 0x64]
xor esi, esi
push esi
mov esi, 0x415540
push esi
push ecx
mov eax, ecx
mov eax, dword [eax]
push edx
push eax
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00417156
add esp, 0x1c
lea eax, [esp + 0x14]
push eax
push 0
lea eax, [edi + 0x34]
push edi
call fcn.00413bf3
mov esi, eax
test esi, esi
je 0x41312c
test byte [0x621ea0], 1
jne 0x413010
push edi
call fcn.0041411c
test al, al
jne 0x413010
call fcn.00414494
test al, al
jne 0x4131dd
push edi
call fcn.00412a6c
pop ecx
test al, al
jne 0x4130a1
push 2
push dword [0x622784]
lea eax, [esp + 0x58]
push eax
call fcn.0041225b
mov byte [esp + 0xa4], 1
lea esi, [esp + 0x14]
call fcn.00420660
push eax
lea ecx, [esp + 0x38]
call fcn.004027e7
mov byte [esp + 0xa4], 2
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x80]
call fcn.00403685
mov byte [esp + 0xa4], 1
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.00403580
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x41308f
lea eax, [esp + 0x50]
push eax
call fcn.00465930
mov byte [esp + 0xa4], 0
lea eax, [esp + 0x50]
push eax
call fcn.00412353
fld dword [0x5c0c40]
push edi
fstp dword [edi + 0x218]
call fcn.0041547e
test byte [0x621ea0], 2
je 0x4130ce
push 0x64
call fcn.00464740
pop ecx
push dword [edi + 0x24]
call fcn.0041aec3
jmp 0x4130df
mov esi, dword [edi]
push edi
call fcn.0041411c
movzx eax, al
push eax
mov ecx, edi
call dword [esi + 0x2c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
lea eax, [esp + 0x14]
push eax
push 1
lea eax, [edi + 0x4c]
push edi
call fcn.00413bf3
mov esi, eax
test esi, esi
je 0x41312c
mov ecx, dword [edi + 0x78]
mov edx, dword [edi + 0x64]
mov dword [esp + 0xc], ebx
xor ebx, ebx
inc ebx
push ebx
push dword [esp + 0x10]
mov eax, ecx
mov eax, dword [eax]
push ecx
push edx
push eax
mov esi, edx
lea eax, [esp + 0x20]
push esi
push eax
call fcn.00417156
add esp, 0x1c
call fcn.00413cc6
mov esi, eax
lea ebx, [edi + 0x250]
mov ecx, dword [ebx]
test ecx, ecx
je 0x413141
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [ebx], 0
test esi, esi
jne 0x4131d5
push 2
push dword [0x622784]
lea eax, [esp + 0x58]
push eax
call fcn.0041225b
mov byte [esp + 0xa4], 3
cmp dword [section..SHARED], esi
jne 0x4131b0
lea esi, [esp + 0x14]
call fcn.00420660
push eax
lea ecx, [esp + 0x38]
call fcn.004027e7
mov byte [esp + 0xa4], 4
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x80]
call fcn.00403685
mov byte [esp + 0xa4], 3
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.00403580
mov edi, dword [edi + 0x24]
test edi, edi
je 0x4131c3
lea eax, [esp + 0x50]
push eax
mov ecx, edi
call fcn.00465930
mov byte [esp + 0xa4], 0
lea eax, [esp + 0x50]
push eax
call fcn.00412353
push 0xa
call fcn.00464740
pop ecx
or dword [esp + 0xa4], 0xffffffff
lea eax, [esp + 0x14]
push eax
call fcn.004202d0
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret