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

Disassembly:
sub esp, 0x38
mov ecx, dword [esp + 0x40]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 0x18]
mov ebp, dword [eax + ecx*4]
push edi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov eax, esi
mov dword [esp + 0x5c], ebp
call fcn.100832c0
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
add eax, ecx
cdq
idiv ecx
mov edi, dword [esp + 0x74]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x6c]
add eax, edi
cdq
idiv edi
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x54], edx
mov ebx, eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x38]
push eax
push edi
push esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x58], ebx
call fcn.10083be0
add esp, 0x1c
test eax, eax
jne 0x10084281
mov eax, dword [ebp + 0x10]
dec eax
imul eax, dword [ebp + 8]
add eax, dword [ebp]
mov ecx, dword [esi + 0x18]
mov edi, dword [ecx + edi*4]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x14]
dec eax
imul eax, dword [ebp + 0xc]
add eax, dword [ebp + 4]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x70], edi
call fcn.10082580
xor ecx, ecx
add esp, 4
mov dword [esp + 0x68], ecx
test ebx, ebx
jle 0x10084277
mov eax, dword [edi + 0xc]
imul eax, ecx
add eax, dword [edi + 4]
cmp dword [esp + 0x10], 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], 0
jle 0x1008426a
mov esi, dword [edi + 8]
imul esi, dword [esp + 0x64]
add esi, dword [edi]
mov ebx, dword [ebp]
mov ecx, dword [ebp + 8]
mov edi, esi
sub edi, ebx
mov eax, edi
mov dword [esp + 0x14], ecx
call fcn.10083500
mov ecx, dword [ebp + 0xc]
mov ebp, dword [ebp + 4]
add eax, ebx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
sub eax, ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x1c], eax
call fcn.10083500
mov ecx, dword [esp + 0x14]
mov ebp, eax
add ebp, dword [esp + 0x58]
mov eax, edi
call fcn.10094990
mov edi, eax
mov eax, dword [esp + 0x18]
add edi, ebx
cmp edi, eax
jle 0x100840fe
mov edi, eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
call fcn.10094990
mov ecx, dword [esp + 0x4c]
add eax, dword [ecx + 4]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
mov dword [esp + 0x58], eax
jle 0x10084125
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x50]
sub eax, esi
mov ecx, ebp
imul eax, eax
sub ecx, dword [esp + 0x5c]
imul ecx, ecx
lea edx, [ecx + eax]
mov dword [esp + 0x1c], edx
mov edx, edi
sub edx, esi
imul edx, edx
add ecx, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x14]
imul ecx, ecx
add edx, ecx
add ecx, eax
mov eax, dword [esp + 0x1c]
cmp esi, eax
jl 0x10084186
cmp eax, edx
jg 0x10084182
cmp eax, ecx
jg 0x10084182
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
sub eax, ebx
cdq
idiv dword [esi + 8]
mov ecx, eax
mov eax, ebp
jmp 0x100841c2
cmp esi, eax
jg 0x100841a0
cmp esi, edx
jg 0x100841a0
cmp esi, ecx
jg 0x100841a0
mov esi, dword [esp + 0x4c]
mov eax, edi
sub eax, ebx
cdq
idiv dword [esi + 8]
mov ecx, eax
mov eax, ebp
jmp 0x100841c2
cmp edx, eax
jg 0x100841ae
cmp edx, esi
jg 0x100841ae
cmp esi, ecx
mov eax, edi
jle 0x100841b2
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
sub eax, ebx
cdq
idiv dword [esi + 8]
mov ecx, eax
mov eax, dword [esp + 0x58]
sub eax, dword [esi + 4]
mov edi, dword [esp + 0x4c]
cdq
idiv dword [esi + 0xc]
mov edx, dword [edi + 0x10]
push 0
imul edx, eax
mov eax, dword [edi + 0x20]
add edx, ecx
imul edx, dword [edi + 0x24]
push edx
push eax
call fcn.10082440
add esp, 0xc
test eax, eax
jl 0x10084281
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
mov esi, dword [edi + 0x20]
lea ecx, [esp + 0x60]
push ecx
push edx
push eax
call fcn.10083380
add esp, 0xc
test eax, eax
jne 0x10084281
mov ebx, dword [esp + 0x6c]
mov edx, dword [ebx + 0x18]
mov esi, dword [edi + 0x18]
cmp edx, esi
jne 0x10084222
mov ecx, dword [ebx + 0x1c]
cmp ecx, dword [edi + 0x1c]
je 0x1008422f
mov eax, dword [esp + 0x60]
call fcn.100834e0
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x20]
push eax
push ecx
mov eax, edx
call fcn.10083420
add esp, 8
test eax, eax
jne 0x10084281
mov eax, dword [esp + 0x64]
mov ebp, dword [esp + 0x4c]
inc eax
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x64], eax
mov edi, ebx
jl 0x100840a1
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x24]
inc ecx
cmp ecx, ebx
mov dword [esp + 0x68], ecx
jl 0x10084081
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x38
ret