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

Disassembly:
push 0xffffffffffffffff
push 0x49a806
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4be0a0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4be0a0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
cmp byte [eax + 8], 7
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
jne 0x413046
test byte [0x4c4680], 1
jne 0x412e4a
or dword [0x4c4680], 1
mov dword [esp + 0x70], 0
call fcn.00416d80
push 0x49cf20
call fcn.0047d990
add esp, 4
mov dword [esp + 0x70], 0xffffffff
lea eax, [esp + 0x18]
push eax
mov eax, ebp
call fcn.00416860
mov esi, dword [esp + 0x18]
mov edi, dword [0x4c469c]
test esi, esi
je 0x412e6c
cmp esi, dword [0x4c4684]
je 0x412e71
call fcn.0047db04
mov ebx, dword [esp + 0x1c]
cmp ebx, edi
jne 0x41304a
and dword [esp + 0x2c], 0xfffffe00
xor edi, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x70], 2
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], edi
mov byte [esp + 0x4c], 0
mov byte [esp + 0x70], 3
mov eax, dword [ebp + 0x14]
cmp edi, eax
jae 0x412f67
jbe 0x412ec3
call fcn.0047db04
mov ebx, 0x10
lea esi, [ebp + 4]
cmp dword [ebp + 0x18], ebx
jb 0x412ed4
mov eax, dword [esi]
jmp 0x412ed6
mov eax, esi
cmp byte [eax + edi], 0x27
jne 0x412ee3
mov byte [esp + 0x18], 0x22
jmp 0x412eff
cmp edi, dword [ebp + 0x14]
jbe 0x412eed
call fcn.0047db04
cmp dword [ebp + 0x18], ebx
jb 0x412ef6
mov eax, dword [esi]
jmp 0x412ef8
mov eax, esi
mov cl, byte [eax + edi]
mov byte [esp + 0x18], cl
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x4c]
mov eax, ecx
cmp edx, ebx
jae 0x412f11
lea eax, [esp + 0x4c]
mov esi, dword [esp + 0x5c]
add esi, eax
je 0x412f3b
mov eax, ecx
cmp edx, ebx
jae 0x412f23
lea eax, [esp + 0x4c]
cmp eax, esi
ja 0x412f3b
mov eax, ecx
cmp edx, ebx
jae 0x412f31
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0x5c]
add eax, edx
cmp esi, eax
jbe 0x412f40
call fcn.0047db04
push esi
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea eax, [esp + 0x58]
call fcn.00416990
mov eax, dword [ebp + 0x14]
inc edi
cmp edi, eax
jb 0x412ec3
xor edi, edi
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00405a30
add esp, 8
test al, al
je 0x413010
cmp byte [esp + 0x2c], 7
jne 0x413010
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0x3c]
push edx
push ecx
call fcn.00469282
mov ecx, ebp
mov byte [esp + 0x88], 4
call fcn.004166d0
mov edi, eax
mov byte [esp + 0x88], 3
call fcn.0046949e
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.00412650
add esp, 8
cmp dword [esp + 0x60], 0x10
mov bl, al
jb 0x412fe6
mov edx, dword [esp + 0x4c]
push edx
call fcn.0047d710
add esp, 4
lea esi, [esp + 0x24]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
mov dword [esp + 0x70], 0xffffffff
call fcn.0046941b
mov al, bl
jmp 0x41306e
cmp dword [esp + 0x60], 0x10
jb 0x413024
mov eax, dword [esp + 0x4c]
push eax
call fcn.0047d710
add esp, 4
lea esi, [esp + 0x24]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], edi
mov byte [esp + 0x4c], 0
mov dword [esp + 0x70], 0xffffffff
call fcn.0046941b
xor al, al
jmp 0x41306e
test esi, esi
jne 0x41308d
call fcn.0047db04
cmp ebx, dword [esi + 0x18]
jne 0x41305d
call fcn.0047db04
mov ecx, dword [esp + 0x20]
add ebx, 0x30
push ebx
push ecx
call fcn.00412650
add esp, 8
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0047d444
add esp, 0x60
ret
mov esi, dword [esi]
jmp 0x413053