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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x633d3d
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.00422430
and dword [esp + 0xa4], 0
mov ecx, dword [0x6f2e50]
push 1
call fcn.00401c46
mov eax, esi
push eax
push edi
call fcn.00412f25
mov dword [esp + 0xc], eax
test eax, eax
je 0x412cc8
mov eax, esi
push eax
push edi
call fcn.004137f5
mov dword [esp + 0xc], eax
test byte [0x71b750], 1
mov ebx, 0x415524
jne 0x412d1a
cmp dword [esp + 0xc], 0
je 0x412e54
mov ecx, dword [edi + 0x78]
mov edx, dword [edi + 0x64]
xor esi, esi
push esi
mov esi, 0x415524
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.004170ad
add esp, 0x1c
lea eax, [esp + 0x14]
push eax
lea eax, [edi + 0x34]
push eax
push 0
push edi
call fcn.00413a32
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x412e54
test byte [0x71b750], 1
jne 0x412d45
push edi
call fcn.00413fd7
test al, al
jne 0x412d45
call fcn.0041434f
test al, al
jne 0x412ef9
push edi
call fcn.00412734
pop ecx
test al, al
jne 0x412dd6
push 2
push dword [0x71c064]
lea eax, [esp + 0x58]
push eax
call fcn.00411edc
mov byte [esp + 0xa4], 1
lea esi, [esp + 0x14]
call fcn.004227f0
push eax
lea ecx, [esp + 0x38]
call fcn.004030bf
mov byte [esp + 0xa4], 2
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x80]
call fcn.00403484
mov byte [esp + 0xa4], 1
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.0040337f
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x412dc4
lea eax, [esp + 0x50]
push eax
call fcn.00515af0
mov byte [esp + 0xa4], 0
lea eax, [esp + 0x50]
push eax
call fcn.00411fd4
test byte [0x71b750], 2
je 0x412df1
push 0x64
call fcn.005148c0
pop ecx
push dword [edi + 0x24]
call fcn.0041ef72
jmp 0x412e02
mov esi, dword [edi]
push edi
call fcn.00413fd7
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
lea eax, [edi + 0x4c]
push eax
xor esi, esi
inc esi
push esi
push edi
call fcn.00413a32
mov dword [esp + 0xc], eax
test eax, eax
je 0x412e54
mov ecx, dword [edi + 0x78]
mov edx, dword [edi + 0x64]
mov dword [esp + 0x10], esi
push dword [esp + 0x10]
mov eax, ecx
mov eax, dword [eax]
push ebx
push ecx
push edx
push eax
mov esi, edx
lea eax, [esp + 0x20]
push esi
push eax
call fcn.004170ad
add esp, 0x1c
push edi
call fcn.00413b5f
mov dword [esp + 0xc], eax
mov esi, edi
call fcn.004139f4
xor ebx, ebx
cmp dword [esp + 0xc], ebx
jne 0x412ef1
push 2
push dword [0x71c064]
lea eax, [esp + 0x58]
push eax
call fcn.00411edc
mov byte [esp + 0xa4], 3
cmp dword [section..SHARED], ebx
jne 0x412ecc
lea esi, [esp + 0x14]
call fcn.004227f0
push eax
lea ecx, [esp + 0x38]
call fcn.004030bf
mov byte [esp + 0xa4], 4
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x80]
call fcn.00403484
mov byte [esp + 0xa4], 3
push ebx
push 1
lea ecx, [esp + 0x3c]
call fcn.0040337f
mov edi, dword [edi + 0x24]
cmp edi, ebx
je 0x412edf
lea eax, [esp + 0x50]
push eax
mov ecx, edi
call fcn.00515af0
mov byte [esp + 0xa4], 0
lea eax, [esp + 0x50]
push eax
call fcn.00411fd4
push 0xa
call fcn.005148c0
pop ecx
or dword [esp + 0xa4], 0xffffffff
lea eax, [esp + 0x14]
push eax
call fcn.00422440
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