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

Disassembly:
push 0xffffffffffffffff
push 0x5428fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], 0
mov ebx, dword [esi + 0xd4]
mov ebp, dword [esi + 0x68]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebp
fild dword [esp + 0x1c]
fidiv dword [esp + 0x18]
fadd qword [0x554618]
call fcn.00540a50
mov ecx, dword [esi + 0x64]
lea edi, [eax - 1]
mov eax, dword [esi + 0xd8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov dword [esi + 0xdc], edi
fild dword [esp + 0x18]
fidiv dword [esp + 0x14]
fadd qword [0x554618]
call fcn.00540a50
inc edi
lea ecx, [eax - 1]
imul edi, ebp
mov eax, ebx
mov dword [esi + 0xe0], ecx
sub eax, edi
push 0
cdq
sub eax, edx
push 0
sar eax, 1
inc ecx
mov dword [esi + 0xe4], eax
imul ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
sub eax, ecx
mov ecx, esi
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0xe8], eax
call fcn.004100f0
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x410444
mov edx, dword [esi + 0x64]
imul edx, dword [esi + 0x68]
shl edx, 2
push edx
call fcn.0053ff1e
add esp, 4
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x64]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x1c], eax
test ecx, ecx
mov dword [esp + 0x14], ebx
jle 0x41053c
mov ebp, dword [esi + 0xe0]
mov edx, dword [esi + 0xe8]
inc ebp
mov ecx, dword [esi + 0x68]
imul ebp, eax
add ebp, edx
xor edx, edx
test ecx, ecx
mov dword [esp + 0x18], edx
jle 0x41052c
mov edi, dword [esi + 0xdc]
mov ecx, dword [esi + 0xe4]
inc edi
mov eax, dword [esp + 0x44]
imul edi, edx
add edi, ecx
test eax, eax
jne 0x4104d4
push 0x44
call fcn.0053ff1e
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x3c], 0
je 0x4104bb
mov ecx, eax
call fcn.0040fae0
jmp 0x4104bd
xor eax, eax
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
mov ecx, eax
mov dword [edx + ebx*4], eax
mov edx, dword [esp + 0x18]
jmp 0x4104e3
cmp ebx, dword [esi + 0x78]
jae 0x4104e1
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + ebx*4]
jmp 0x4104e3
xor ecx, ecx
mov ebx, dword [esi + 0xdc]
mov eax, edi
add eax, ebx
mov ebx, dword [esi + 0xe0]
inc edx
lea ebx, [ebx + ebp - 1]
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], ebx
mov ebx, ecx
mov dword [ebx], edi
mov dword [ebx + 4], ebp
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0xc], eax
mov ebx, dword [esp + 0x14]
mov dword [ecx + 0x14], ebx
mov eax, dword [esi + 0x68]
inc ebx
cmp edx, eax
mov dword [esp + 0x14], ebx
jl 0x41047e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x64]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x41045b
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4106dd
mov ecx, dword [esi + 0x64]
xor edi, edi
imul ecx, dword [esi + 0x68]
test ecx, ecx
jle 0x4105f9
mov eax, dword [esi + 0x78]
cmp edi, eax
jae 0x4105f9
cmp edi, eax
jae 0x410570
mov edx, dword [esi + 0x74]
mov ebp, dword [edx + edi*4]
jmp 0x410572
xor ebp, ebp
mov ebx, dword [esp + 0x10]
mov cl, byte [ebp + 0x18]
mov eax, dword [ebx + edi*4]
mov byte [eax + 0x18], cl
mov edx, dword [ebx + edi*4]
mov al, byte [ebp + 0x24]
mov byte [edx + 0x24], al
mov ecx, dword [ebx + edi*4]
mov edx, dword [ebp + 0x20]
mov dword [ecx + 0x20], edx
mov eax, dword [ebx + edi*4]
mov ecx, dword [ebp + 0x28]
mov dword [eax + 0x28], ecx
mov dword [ebp + 0x28], 0
mov edx, dword [ebx + edi*4]
mov ecx, dword [edx + 0x2c]
test ecx, ecx
mov dword [esp + 0x44], ecx
je 0x4105c1
call fcn.004ac660
mov eax, dword [esp + 0x44]
push eax
call fcn.0053feee
add esp, 4
mov ecx, dword [ebx + edi*4]
mov edx, dword [ebp + 0x2c]
add ebp, 0x1c
mov dword [ecx + 0x2c], edx
mov cl, byte [ebp + 9]
mov dword [ebp + 0x10], 0
mov eax, dword [ebx + edi*4]
push ebp
mov byte [eax + 0x25], cl
mov ecx, dword [ebx + edi*4]
add ecx, 0x1c
call fcn.0053ff54
mov edx, dword [esi + 0x64]
inc edi
imul edx, dword [esi + 0x68]
cmp edi, edx
jl 0x410559
mov dword [esi + 0x418], 1
mov al, byte [esi + 0x7d]
test al, al
jne 0x410676
mov al, byte [esi + 0x7c]
test al, al
je 0x41064b
mov eax, dword [esi + 0x78]
xor ebx, ebx
test eax, eax
jbe 0x410676
mov eax, dword [esi + 0x74]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x410641
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push fcn.0040fba0
push ecx
push 0x44
push eax
call fcn.00540a56
push edi
call fcn.0053feee
add esp, 4
mov eax, dword [esi + 0x78]
inc ebx
cmp ebx, eax
jb 0x41061a
jmp 0x410676
mov eax, dword [esi + 0x78]
xor ebx, ebx
test eax, eax
jbe 0x410676
mov edx, dword [esi + 0x74]
mov edi, dword [edx + ebx*4]
test edi, edi
je 0x41066e
mov ecx, edi
call fcn.0040fba0
push edi
call fcn.0053feee
add esp, 4
mov eax, dword [esi + 0x78]
inc ebx
cmp ebx, eax
jb 0x410654
mov eax, dword [esi + 0x74]
push eax
call dword [0x553b00]
xor edi, edi
add esp, 4
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov ecx, dword [esi + 0x64]
imul ecx, dword [esi + 0x68]
test ecx, ecx
jle 0x4106d3
mov ebx, dword [esp + 0x10]
mov edx, dword [esi + 0x78]
mov ecx, dword [esi + 0x74]
mov ebp, dword [ebx]
lea eax, [edx*4 + 4]
push eax
push ecx
call dword [0x553b1c]
mov edx, dword [esi + 0x78]
mov dword [esi + 0x74], eax
add esp, 8
add ebx, 4
mov dword [eax + edx*4], ebp
mov eax, dword [esi + 0x78]
inc eax
inc edi
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x64]
imul eax, dword [esi + 0x68]
cmp edi, eax
jl 0x41069a
mov dword [esi + 0x418], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4106ee
push eax
call fcn.0053feee
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [esi + 0xb4], 1
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4