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

Disassembly:
push 0xffffffffffffffff
push 0x54b569
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push ebp
push esi
mov esi, dword [esp + 0xd8]
mov dword [esp + 0xc], ecx
xor eax, eax
mov ecx, dword [esi + 0x1c4]
push edi
shr ecx, 2
test ecx, ecx
mov dword [esp + 0x14], eax
jle 0x416549
mov edi, 0x55f890
jmp 0x4161dc
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x1bc]
mov ecx, dword [esi + 0x1d0]
push 0
mov ebp, dword [edx + eax*4]
mov edx, dword [ecx + eax*4]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0xcc]
push eax
push ebp
add ecx, 0x20c
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], edx
call fcn.004d7d40
mov eax, dword [esp + 0xc8]
xor ecx, ecx
mov ebx, dword [eax + 0x3c]
mov edx, dword [eax + 0x3c]
shr ebx, 2
cmp edx, ecx
jne 0x41622c
mov dword [esp + 0x1c], ecx
jmp 0x416233
mov edx, dword [eax + 0x34]
mov dword [esp + 0x1c], edx
cmp ebx, ecx
mov dword [esp + 0x24], ecx
jle 0x416288
mov ebp, 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + ebp - 8]
push ecx
mov ecx, dword [esp + 0x14]
push esi
call fcn.004157f0
cmp eax, 0xffffffff
je 0x41663c
mov ecx, dword [esi + 0x18]
test ecx, ecx
jne 0x416267
xor ecx, ecx
jmp 0x41626a
mov ecx, dword [esi + 0x10]
lea edx, [ecx + ebp]
mov ecx, dword [esp + 0x20]
add ebp, 4
mov dword [edx + ecx], eax
mov eax, dword [esp + 0x24]
inc eax
cmp eax, ebx
mov dword [esp + 0x24], eax
jl 0x416240
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x28]
call fcn.00477df0
lea ecx, [esp + 0xa0]
mov dword [esp + 0xd4], 0
call fcn.00477df0
mov ebx, 0x55f9d0
mov dword [esp + 0xa0], ebx
lea ecx, [esp + 0xb4]
mov byte [esp + 0xd4], 1
call fcn.00477df0
mov dword [esp + 0xb4], ebx
lea ecx, [esp + 0x78]
mov byte [esp + 0xd4], 2
call fcn.00477df0
mov dword [esp + 0x78], ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0xd4], 3
call fcn.00477df0
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 4
call fcn.00477df0
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 5
call fcn.00477df0
mov dword [esp + 0x8c], ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0xd4], 6
call fcn.00477df0
mov dword [esp + 0x64], ebx
lea edx, [esp + 0x64]
push 1
lea eax, [esp + 0x90]
push edx
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x5c]
mov ebx, dword [esp + 0x1c]
push ecx
lea eax, [esp + 0x88]
push edx
lea ecx, [esp + 0xc8]
push eax
lea edx, [esp + 0xb8]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
push 1
push 0
push ebp
push esi
mov ecx, ebx
mov byte [esp + 0x108], 7
call fcn.00416910
test eax, eax
je 0x41657f
push 0xc3
lea ecx, [esp + 0x2c]
call fcn.00478130
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x50]
mov dword [esp + 0x18], ecx
push 1
lea eax, [esp + 0x7c]
push edx
lea ecx, [esp + 0xbc]
push eax
lea edx, [esp + 0xac]
push ecx
lea eax, [esp + 0x74]
push edx
lea ecx, [esp + 0xa0]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
push 0
push ebp
push esi
mov ecx, ebx
call fcn.00415880
push 0xc3
lea ecx, [esp + 0x2c]
call fcn.00478130
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov eax, ecx
mov ebp, dword [esi + 0x58]
neg eax
sbb eax, eax
push ecx
and eax, ebx
lea ecx, [esi + 0x48]
push eax
call fcn.004786b0
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x41641f
xor eax, eax
jmp 0x416422
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add edx, ebp
mov dword [eax + ecx], ebp
mov dword [eax + ecx + 4], edx
lea eax, [esp + 0x50]
lea ecx, [esp + 0x78]
push eax
lea edx, [esp + 0xb8]
push ecx
lea eax, [esp + 0xa8]
push edx
lea ecx, [esp + 0x70]
push eax
lea edx, [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x50]
push edx
push eax
push ebp
push esi
call fcn.004144b0
test eax, eax
mov byte [esp + 0xd4], 6
mov dword [esp + 0x64], edi
lea ecx, [esp + 0x64]
je 0x41658f
call fcn.00477ff0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 5
mov dword [esp + 0x8c], edi
call fcn.00477ff0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 4
mov dword [esp + 0x3c], edi
call fcn.00477ff0
lea ecx, [esp + 0x50]
mov byte [esp + 0xd4], 3
mov dword [esp + 0x50], edi
call fcn.00477ff0
lea ecx, [esp + 0x78]
mov byte [esp + 0xd4], 2
mov dword [esp + 0x78], edi
call fcn.00477ff0
lea ecx, [esp + 0xb4]
mov byte [esp + 0xd4], 1
mov dword [esp + 0xb4], edi
call fcn.00477ff0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd4], 0
mov dword [esp + 0xa0], edi
call fcn.00477ff0
lea ecx, [esp + 0x28]
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 0x28], edi
call fcn.00477ff0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x1c4]
inc eax
shr ecx, 2
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4161d8
lea ecx, [esi + 0x1b4]
call fcn.00477ff0
lea ecx, [esi + 0x1c8]
call fcn.00477ff0
mov eax, 1
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc8
ret 4
mov byte [esp + 0xd4], 6
mov dword [esp + 0x64], edi
lea ecx, [esp + 0x64]
call fcn.00477ff0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 5
mov dword [esp + 0x8c], edi
call fcn.00477ff0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 4
mov dword [esp + 0x3c], edi
call fcn.00477ff0
lea ecx, [esp + 0x50]
mov byte [esp + 0xd4], 3
mov dword [esp + 0x50], edi
call fcn.00477ff0
lea ecx, [esp + 0x78]
mov byte [esp + 0xd4], 2
mov dword [esp + 0x78], edi
call fcn.00477ff0
lea ecx, [esp + 0xb4]
mov byte [esp + 0xd4], 1
mov dword [esp + 0xb4], edi
call fcn.00477ff0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd4], 0
mov dword [esp + 0xa0], edi
call fcn.00477ff0
lea ecx, [esp + 0x28]
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 0x28], edi
call fcn.00477ff0
xor eax, eax
jmp 0x416564