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

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x54]
push ebp
mov eax, dword [eax]
mov ebp, ecx
imul ecx, dword [esp + 0x5c], 0x6c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edx
push esi
mov esi, 1
mov dword [esp + 0x10], 1
add eax, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], eax
mov eax, ebx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
mov ecx, eax
shl esi, cl
mov ecx, dword [esp + 0xc]
push edi
mov dword [esp + 0x18], esi
mov eax, dword [ecx + 0x14]
dec eax
div esi
lea edi, [eax + 1]
mov eax, dword [ecx + 0x58]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], eax
test eax, eax
js 0x10025a12
mov edi, dword [ecx + 0x28]
mov ecx, edi
shr esi, cl
lea eax, [esi + esi]
push eax
mov eax, dword [esp + 0x20]
imul eax, esi
push eax
lea eax, [ebx + 1]
cdq
sub eax, edx
imul edx, dword [esp + 0x34], 0x6c
push esi
sar eax, 1
mov esi, 1
mov ecx, eax
mov eax, dword [esp + 0x40]
shl esi, cl
mov ecx, edi
shr esi, cl
mov ecx, ebp
imul esi, dword [esp + 0x74]
mov edx, dword [edx + eax + 4]
push esi
call fcn.100214b0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
cmp dword [esp + 0x64], 0
mov esi, dword [esp + 0x68]
jle 0x10025ba5
lea eax, [ebx + 1]
cdq
sub eax, edx
mov edx, 1
sar eax, 1
mov ecx, eax
shl edx, cl
mov ecx, dword [esp + 0x10]
mov edi, edx
imul edi, esi
mov dword [esp + 0x2c], edx
xor edx, edx
mov eax, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x4c]
mov eax, dword [eax + edi*4]
div dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x14], eax
mov eax, dword [ecx + edi*4]
dec eax
div dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea edi, [eax + 1]
or edi, 1
mov dword [esp + 0x1c], edi
cmp edx, 1
jbe 0x10025a75
test dl, 1
jne 0x10025a75
dec edx
test edx, edx
mov eax, 1
cmove edx, eax
cmp byte [esp + 0x6c], 0
mov dword [esp + 0x14], edx
je 0x10025b2b
mov dword [esp + 0x2c], eax
cmp edx, eax
jbe 0x10025ba1
mov edi, eax
lea esp, [esp]
mov ecx, dword [esp + 0x54]
push edi
push esi
push ebx
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jne 0x10025aea
mov eax, dword [esp + 0x10]
xor edx, edx
push dword [esp + 0x78]
mov edi, dword [ebp]
mov eax, dword [eax + 0x14]
dec eax
div dword [esp + 0x1c]
mov edx, ebx
inc eax
push eax
push dword [esp + 0x34]
push esi
push ecx
mov ecx, ebp
call fcn.10038400
add esp, 0x14
mov ecx, ebp
push eax
push dword [esp + 0x30]
push esi
push ebx
call dword [edi]
mov edi, dword [esp + 0x2c]
jmp 0x10025b14
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
push edi
push esi
mov eax, dword [eax]
push ebx
mov ecx, dword [eax + ecx - 0x68]
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push eax
push edi
push esi
mov ecx, dword [ecx + edx + 4]
push ebx
mov edx, dword [ecx]
call dword [edx]
add edi, 2
mov dword [esp + 0x2c], edi
cmp edi, dword [esp + 0x14]
jb 0x10025aa0
mov edi, dword [esp + 0x1c]
jmp 0x10025ba1
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov ecx, dword [eax + 0x28]
mov eax, dword [esp + 0x2c]
shr eax, cl
imul eax, esi
shr ebx, cl
mov ecx, ebp
mov dword [esp + 0x2c], eax
lea edi, [ebx + ebx]
mov eax, ebx
imul eax, edx
push edi
push eax
mov eax, dword [esp + 0x18]
push ebx
push dword [esp + 0x38]
mov edx, dword [eax - 0x68]
call fcn.100214b0
mov eax, dword [esp + 0x20]
xor edx, edx
push edi
mov edi, dword [esp + 0x30]
mov ecx, ebp
mov eax, dword [eax + 0x14]
dec eax
div dword [esp + 0x2c]
inc eax
imul eax, ebx
imul ebx, edi
push eax
mov eax, dword [esp + 0x64]
push ebx
push dword [esp + 0x48]
mov edx, dword [eax]
mov eax, dword [esp + 0x50]
mov edx, dword [edx + eax - 0x68]
call fcn.100214b0
mov ebx, dword [esp + 0x80]
add esp, 0x20
mov ecx, dword [esp + 0x10]
cmp esi, 1
jbe 0x10025f31
lea eax, [ebx + 1]
cdq
sub eax, edx
xor edx, edx
sar eax, 1
mov ecx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x18]
dec eax
div dword [esp + 0x34]
cmp esi, eax
jae 0x10025f31
cmp byte [esp + 0x70], 0
jne 0x10025f31
mov eax, dword [ecx + 0x14]
xor edx, edx
dec eax
div dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc eax
cmp edi, eax
jne 0x10025f35
cmp edi, 5
jbe 0x10025f35
cmp edx, 1
jne 0x10025f35
cmp byte [esp + 0x6c], 0
je 0x10025c59
mov ecx, dword [esp + 0x54]
push edx
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x10025c55
mov eax, dword [esp + 0x10]
xor edx, edx
push dword [esp + 0x78]
mov edi, dword [ebp]
mov eax, dword [eax + 0x14]
dec eax
div dword [esp + 0x1c]
mov edx, ebx
inc eax
push eax
push 1
push esi
push ecx
mov ecx, ebp
call fcn.10038400
add esp, 0x14
mov ecx, ebp
push eax
push 1
push esi
call dword [edi + 0x28]
jmp 0x10025caf
mov ecx, dword [esp + 0x10]
push dword [esp + 0x74]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
push 1
push esi
push ebx
push dword [esp + 0x70]
push ebp
push ecx
mov ecx, dword [esp + 0x80]
call fcn.10039a00
mov ecx, dword [esp + 0x44]
add esp, 0x24
mov edi, eax
sub ecx, edi
push ecx
mov ecx, dword [esp + 0x28]
sub ecx, edi
push ecx
push dword [esp + 0x64]
mov ecx, dword [esp + 0x34]
call fcn.1001fb80
mov edx, dword [ebp]
add eax, edi
push eax
push 1
push esi
mov ecx, ebp
call dword [edx + 0x28]
mov edi, dword [esp + 0x1c]
mov ebx, 3
lea eax, [edi - 2]
mov dword [esp + 0x14], eax
cmp eax, ebx
jbe 0x10025db2
cmp byte [esp + 0x6c], 0
je 0x10025d12
mov ecx, dword [esp + 0x54]
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x10025d12
mov eax, dword [esp + 0x10]
xor edx, edx
push dword [esp + 0x78]
mov edi, dword [ebp]
mov eax, dword [eax + 0x14]
dec eax
div dword [esp + 0x1c]
mov edx, dword [esp + 0x64]
inc eax
push eax
push ebx
push esi
push ecx
mov ecx, ebp
call fcn.10038400
add esp, 0x14
mov ecx, ebp
push eax
push ebx
push esi
call dword [edi + 0x28]
jmp 0x10025da1
push dword [esp + 0x74]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x60]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
push esi
push dword [esp + 0x74]
push dword [esp + 0x70]
push ebp
push dword [esp + 0x30]
call fcn.10039d80
mov edi, dword [esp + 0x48]
mov ecx, eax
mov eax, dword [esp + 0x44]
sub edi, ecx
sub eax, ecx
mov dword [esp + 0x50], ecx
add esp, 0x24
mov dword [esp + 0x34], eax
cmp edi, eax
je 0x10025d93
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
call fcn.10020da0
mov edx, dword [esp + 0x28]
push dword [esp + 0x34]
mov dword [esp + 0x48], eax
lea ecx, [edx + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [edx]
mov edx, edi
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x40]
call fcn.10035450
mov ecx, dword [esp + 0x30]
add esp, 4
mov edi, eax
mov edx, dword [ebp]
lea eax, [edi + ecx]
push eax
push ebx
push esi
mov ecx, ebp
call dword [edx + 0x28]
add ebx, 2
cmp ebx, dword [esp + 0x14]
jb 0x10025cc7
mov edi, dword [esp + 0x1c]
cmp ebx, edi
jae 0x10025eaa
lea ebx, [ebx]
cmp byte [esp + 0x6c], 0
je 0x10025e0f
mov ecx, dword [esp + 0x54]
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x10025e0f
mov eax, dword [esp + 0x10]
xor edx, edx
push dword [esp + 0x78]
mov edi, dword [ebp]
mov eax, dword [eax + 0x14]
dec eax
div dword [esp + 0x1c]
mov edx, dword [esp + 0x64]
inc eax
push eax
push ebx
push esi
push ecx
mov ecx, ebp
call fcn.10038400
add esp, 0x14
mov ecx, ebp
push eax
push ebx
push esi
call dword [edi + 0x28]
mov edi, dword [esp + 0x1c]
jmp 0x10025e9f
push dword [esp + 0x74]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x60]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
push esi
push dword [esp + 0x74]
push dword [esp + 0x70]
push ebp
push dword [esp + 0x30]
call fcn.10039a00
mov ecx, dword [esp + 0x44]
mov edx, eax
mov eax, dword [esp + 0x48]
sub ecx, edx
sub eax, edx
mov dword [esp + 0x38], edx
add esp, 0x24
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], eax
cmp eax, ecx
je 0x10025e90
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
call fcn.10020da0
mov edx, dword [esp + 0x28]
push dword [esp + 0x34]
mov dword [esp + 0x48], eax
lea ecx, [edx + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x40]
call fcn.10035450
add esp, 4
add eax, dword [esp + 0x14]
mov ecx, ebp
mov edx, dword [ebp]
push eax
push ebx
push esi
call dword [edx + 0x28]
add ebx, 2
cmp ebx, edi
jb 0x10025dc0
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x64], 0
jle 0x100260eb
cmp byte [esp + 0x6c], 0
je 0x100260eb
mov eax, dword [ecx + 0x14]
xor edx, edx
dec eax
div dword [esp + 0x18]
inc eax
cmp edi, eax
jae 0x100260eb
mov ebx, dword [esp + 0x60]
jmp 0x10025ee0
mov ecx, dword [esp + 0x54]
push edi
push esi
push ebx
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jne 0x100260a8
mov eax, dword [esp + 0x10]
xor edx, edx
push dword [esp + 0x78]
mov edi, dword [ebp]
mov eax, dword [eax + 0x14]
dec eax
div dword [esp + 0x1c]
mov edx, ebx
inc eax
push eax
push dword [esp + 0x24]
push esi
push ecx
mov ecx, ebp
call fcn.10038400
add esp, 0x14
mov ecx, ebp
push eax
push dword [esp + 0x20]
push esi
push ebx
call dword [edi]
mov edi, dword [esp + 0x1c]
jmp 0x100260cd
mov edx, dword [esp + 0x14]
cmp edx, edi
jae 0x10025eae
lea ecx, [ecx]
cmp byte [esp + 0x6c], 0
je 0x10025f97
mov ecx, dword [esp + 0x54]
push edx
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x10025f8f
mov eax, dword [esp + 0x10]
xor edx, edx
push dword [esp + 0x78]
mov edi, dword [ebp]
mov eax, dword [eax + 0x14]
dec eax
div dword [esp + 0x1c]
mov edx, ebx
inc eax
push eax
push dword [esp + 0x1c]
push esi
push ecx
mov ecx, ebp
call fcn.10038400
add esp, 0x14
mov ecx, ebp
push eax
push dword [esp + 0x18]
push esi
call dword [edi + 0x28]
jmp 0x10026088
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp byte [esp + 0x70], 0
je 0x10025fe0
mov ecx, dword [ecx + 0x10]
push edx
push esi
push ebx
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jle 0x10025fe0
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push edi
push esi
mov ecx, dword [eax + 0x10]
push ebx
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x64]
sub ecx, eax
mov eax, dword [esp + 0x4c]
imul ecx, ecx, 0x6c
push edi
push esi
mov eax, dword [eax]
push ebx
mov ecx, dword [ecx + eax + 4]
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x1002607d
push dword [esp + 0x74]
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x24]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x60]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
push esi
push ebx
push dword [esp + 0x70]
push ebp
push dword [esp + 0x30]
call fcn.10039a00
mov edx, dword [esp + 0x44]
mov ecx, eax
mov eax, dword [esp + 0x48]
add esp, 0x24
cmp byte [esp + 0x70], 0
mov dword [esp + 0x34], ecx
je 0x10026031
cmp ecx, edx
jg 0x1002602b
cmp ecx, eax
jge 0x10026031
mov ecx, eax
mov dword [esp + 0x34], eax
sub edx, ecx
sub eax, ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], eax
cmp eax, edx
je 0x1002607b
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
call fcn.10020da0
mov edx, dword [esp + 0x28]
push dword [esp + 0x2c]
mov dword [esp + 0x48], eax
lea ecx, [edx + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x40]
call fcn.10035450
mov ecx, dword [esp + 0x38]
add esp, 4
add eax, ecx
mov edx, dword [ebp]
mov ecx, ebp
push eax
push edi
push esi
call dword [edx + 0x28]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
add edx, 2
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
cmp edx, edi
jb 0x10025f40
jmp 0x10025eae
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
push edi
push esi
mov eax, dword [eax]
push ebx
mov ecx, dword [eax + ecx - 0x68]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x10]
push eax
push edi
push esi
mov ecx, dword [ecx + 4]
push ebx
mov edx, dword [ecx]
call dword [edx]
mov eax, dword [esp + 0x10]
xor edx, edx
add edi, 2
mov dword [esp + 0x1c], edi
mov eax, dword [eax + 0x14]
dec eax
div dword [esp + 0x18]
inc eax
cmp edi, eax
jb 0x10025ee0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret