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

Disassembly:
push 0xffffffffffffffff
push 0x53ab19
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 + 0x19c]
push edi
shr ecx, 2
test ecx, ecx
mov dword [esp + 0x14], eax
jle 0x4146c9
mov edi, 0x54d7d0
jmp 0x41435c
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x194]
mov ecx, dword [esi + 0x1a8]
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.004d2e80
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 0x4143ac
mov dword [esp + 0x1c], ecx
jmp 0x4143b3
mov edx, dword [eax + 0x34]
mov dword [esp + 0x1c], edx
cmp ebx, ecx
mov dword [esp + 0x24], ecx
jle 0x414408
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.00413970
cmp eax, 0xffffffff
je 0x4147bc
mov ecx, dword [esi + 0x18]
test ecx, ecx
jne 0x4143e7
xor ecx, ecx
jmp 0x4143ea
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 0x4143c0
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x28]
call fcn.004733a0
lea ecx, [esp + 0xa0]
mov dword [esp + 0xd4], 0
call fcn.004733a0
mov ebx, 0x54d910
mov dword [esp + 0xa0], ebx
lea ecx, [esp + 0xb4]
mov byte [esp + 0xd4], 1
call fcn.004733a0
mov dword [esp + 0xb4], ebx
lea ecx, [esp + 0x78]
mov byte [esp + 0xd4], 2
call fcn.004733a0
mov dword [esp + 0x78], ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0xd4], 3
call fcn.004733a0
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 4
call fcn.004733a0
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 5
call fcn.004733a0
mov dword [esp + 0x8c], ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0xd4], 6
call fcn.004733a0
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.00414a90
test eax, eax
je 0x4146ff
push 0xc3
lea ecx, [esp + 0x2c]
call fcn.004736e0
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.00413a00
push 0xc3
lea ecx, [esp + 0x2c]
call fcn.004736e0
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.00473c60
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x41459f
xor eax, eax
jmp 0x4145a2
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.00412640
test eax, eax
mov byte [esp + 0xd4], 6
mov dword [esp + 0x64], edi
lea ecx, [esp + 0x64]
je 0x41470f
call fcn.004735a0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 5
mov dword [esp + 0x8c], edi
call fcn.004735a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 4
mov dword [esp + 0x3c], edi
call fcn.004735a0
lea ecx, [esp + 0x50]
mov byte [esp + 0xd4], 3
mov dword [esp + 0x50], edi
call fcn.004735a0
lea ecx, [esp + 0x78]
mov byte [esp + 0xd4], 2
mov dword [esp + 0x78], edi
call fcn.004735a0
lea ecx, [esp + 0xb4]
mov byte [esp + 0xd4], 1
mov dword [esp + 0xb4], edi
call fcn.004735a0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd4], 0
mov dword [esp + 0xa0], edi
call fcn.004735a0
lea ecx, [esp + 0x28]
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 0x28], edi
call fcn.004735a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x19c]
inc eax
shr ecx, 2
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x414358
lea ecx, [esi + 0x18c]
call fcn.004735a0
lea ecx, [esi + 0x1a0]
call fcn.004735a0
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.004735a0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 5
mov dword [esp + 0x8c], edi
call fcn.004735a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 4
mov dword [esp + 0x3c], edi
call fcn.004735a0
lea ecx, [esp + 0x50]
mov byte [esp + 0xd4], 3
mov dword [esp + 0x50], edi
call fcn.004735a0
lea ecx, [esp + 0x78]
mov byte [esp + 0xd4], 2
mov dword [esp + 0x78], edi
call fcn.004735a0
lea ecx, [esp + 0xb4]
mov byte [esp + 0xd4], 1
mov dword [esp + 0xb4], edi
call fcn.004735a0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd4], 0
mov dword [esp + 0xa0], edi
call fcn.004735a0
lea ecx, [esp + 0x28]
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 0x28], edi
call fcn.004735a0
xor eax, eax
jmp 0x4146e4