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

Disassembly:
push 0xffffffffffffffff
push 0x56e59a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 0xdc]
mov eax, dword [esp + 0x58]
xor ecx, ecx
inc edi
cmp eax, ecx
mov dword [esp + 0x3c], ecx
mov dword [esi + 0xdc], edi
mov ebp, edi
je 0x412ad0
lea ebx, [eax + 0x1c]
jmp 0x412ad2
xor ebx, ebx
push ebx
mov ebx, dword [esp + 0x58]
push ebx
mov edx, dword [esp + 0x4c]
sub esp, 0x10
xor eax, eax
mov ebx, esp
mov edi, dword [esp + 0x60]
push ebp
mov dword [ebx], eax
mov dword [ebx + 4], ecx
lea ecx, [esi + 0x388]
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
call fcn.00431120
mov edi, eax
mov eax, dword [0x5d2724]
mov dword [esp + 0x54], edi
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x50]
push ebp
lea edx, [esp + 0x48]
push ecx
push edx
mov byte [esp + 0x48], 1
call fcn.0054b3fa
mov eax, dword [esp + 0x50]
add esp, 0xc
mov ecx, edi
push eax
call fcn.00449e80
mov eax, ebp
mov ecx, 6
cdq
idiv ecx
push 0xbc
inc edx
mov dword [edi + 0x78], edx
call fcn.0054dd66
add esp, 4
mov dword [esp + 0x58], eax
xor edi, edi
mov byte [esp + 0x3c], 2
cmp eax, edi
je 0x412b6a
mov ecx, eax
call fcn.0055f910
mov ebx, eax
mov dword [esp + 0x58], ebx
jmp 0x412b70
mov dword [esp + 0x58], edi
mov ebx, edi
xor edx, edx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], edx
mov ecx, esi
mov dword [esp + 0x24], edx
mov byte [esp + 0x3c], 1
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
call fcn.00560bd5
mov eax, dword [eax + 0x3c]
lea ecx, [esp + 0x20]
push ecx
push edi
push edi
lea edx, [esp + 0x1c]
push esi
push edx
push 0x56000000
push edi
push edi
mov ecx, ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.00560121
push edi
push edi
push 0x200
mov ecx, ebx
call fcn.00551cb7
mov ecx, dword [esi + 0xc8]
mov eax, ebp
shr eax, 4
xor edx, edx
mov dword [esp + 0x48], ecx
div ecx
mov ecx, dword [esi + 0xc4]
cmp ecx, edi
mov ebx, edx
je 0x412c19
mov eax, dword [ecx + ebx*4]
cmp eax, edi
je 0x412c15
cmp dword [eax + 8], ebp
je 0x412c0d
mov eax, dword [eax]
cmp eax, edi
jne 0x412c00
jmp 0x412c15
cmp eax, edi
jne 0x412cd6
cmp ecx, edi
jne 0x412c55
mov eax, dword [esp + 0x48]
lea edi, [eax*4]
push edi
call fcn.0054dd66
mov edx, eax
mov ecx, edi
mov dword [esi + 0xc4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x48]
xor edi, edi
mov dword [esi + 0xc8], eax
cmp dword [esi + 0xd0], edi
jne 0x412c9b
mov ecx, dword [esi + 0xd8]
push 0x10
lea edx, [esi + 0xd4]
push ecx
push edx
call fcn.0054cf5e
mov ecx, dword [esi + 0xd8]
mov edx, ecx
shl edx, 4
dec ecx
cmp ecx, edi
lea eax, [edx + eax - 0xc]
jl 0x412c9b
inc ecx
mov edx, dword [esi + 0xd0]
mov dword [eax], edx
mov dword [esi + 0xd0], eax
sub eax, 0x10
dec ecx
jne 0x412c87
mov eax, dword [esi + 0xd0]
mov ecx, dword [eax]
mov dword [esi + 0xd0], ecx
mov ecx, dword [esi + 0xcc]
inc ecx
mov dword [esi + 0xcc], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], ebp
mov edx, dword [esi + 0xc4]
mov ecx, dword [edx + ebx*4]
mov dword [eax], ecx
mov edx, dword [esi + 0xc4]
mov dword [edx + ebx*4], eax
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x3c], 0
mov dword [eax + 0xc], ecx
lea ecx, [esp + 0x44]
call fcn.00552728
lea ecx, [esp + 0x50]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00552728
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret 0x18