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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
shr eax, 2
push ebx
push edi
mov edi, dword [ebp + 8]
lea ebx, [ecx + eax*4]
mov edx, dword [ecx + eax*4 - 8]
mov dword [ebp + 8], edx
mov edx, dword [ebx - 4]
mov dword [ebp + 0x10], edx
cmp edx, dword [edi + 0x1b8]
jae 0x4057b5
push esi
mov esi, dword [ebp + 0x14]
imul ecx, edx, 0x84
add esi, 8
add esi, ecx
or ecx, 0xffffffff
nop
cmp edx, dword [edi + 0x17c]
mov eax, edx
cmovae eax, ecx
test byte [edi + 0x44], 0x40
lea ecx, [edi + 0x13240]
je 0x4055c2
push eax
push dword [ebp + 8]
call fcn.00401c30
jmp 0x4055cc
push 0
push dword [ebp + 8]
call fcn.00401d20
mov edx, dword [ebp + 0xc]
mov ecx, eax
cmp edx, ebx
jae 0x405796
lea esp, [esp]
mov eax, dword [edx]
cmp eax, 0x10002bc
ja 0x40561c
je 0x405601
cmp eax, 0x100000a
jne case.0x405633.16777921
mov eax, dword [edi + 0x54]
mov dword [esi - 8], eax
jmp case.0x405633.16777921
test byte [edi + 0x44], 0x40
je 0x405612
mov eax, dword [ecx + 0x70]
mov dword [esi - 4], eax
jmp case.0x405633.16777921
mov eax, dword [ecx]
mov dword [esi - 4], eax
jmp case.0x405633.16777921
sub eax, 0x10002bf
cmp eax, 0xbd
ja case.0x405633.16777921
movzx eax, byte [eax + 0x40583c]
jmp dword [eax*4 + 0x4057bc]
mov eax, dword [ecx + 0x68]
mov dword [esi], eax
jmp case.0x405633.16777921
mov eax, dword [ecx]
mov dword [esi + 4], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 4]
mov dword [esi + 8], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x18]
mov dword [esi + 0xc], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x4c]
mov dword [esi + 0x10], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x14], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x18], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x24]
mov dword [esi + 0x1c], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x20], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x24], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x28], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x2c], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x30], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x3c]
mov dword [esi + 0x34], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x40]
mov dword [esi + 0x38], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x44]
mov dword [esi + 0x3c], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x48]
mov dword [esi + 0x40], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x50]
mov dword [esi + 0x44], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x60]
mov dword [esi + 0x48], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x78]
mov dword [esi + 0x60], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x4c], eax
jmp case.0x405633.16777921
test dword [ecx + 0x60], 0x100000
je 0x40572f
xor eax, eax
cmp dword [ecx + 0x68], eax
sete al
mov dword [esi + 0x50], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x68]
mov dword [esi + 0x50], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x6c]
mov dword [esi + 0x54], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x70]
mov dword [esi + 0x58], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x74]
mov dword [esi + 0x5c], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x7c]
mov dword [esi + 0x64], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x80]
mov dword [esi + 0x68], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x68]
inc eax
mov dword [esi + 0x78], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x84]
mov dword [esi + 0x6c], eax
jmp case.0x405633.16777921
mov eax, dword [ecx + 0x8c]
mov dword [esi + 0x74], eax
jmp case.0x405633.16777921
movzx eax, byte [ecx + 0x88]
mov dword [esi + 0x70], eax
add edx, 4
cmp edx, ebx
jb 0x4055e0
mov edx, dword [ebp + 0x10]
add esi, 0x84
inc edx
mov ecx, 0xffffffff
mov dword [ebp + 0x10], edx
cmp edx, dword [edi + 0x1b8]
jb 0x4055a0
pop esi
pop edi
pop ebx
pop ebp
ret