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

Disassembly:
sub esp, 0x60
mov edx, dword [esp + 0x64]
mov ecx, dword [edx + 0x88]
mov eax, dword [ecx]
test eax, eax
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
jne 0x1025ce63
mov dword [ecx + 4], 1
mov eax, dword [edx + 0x88]
mov eax, dword [eax + 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
cmp eax, 1
jne 0x1025d082
mov eax, dword [ecx + 0x24]
sub eax, dword [ecx + 0x1c]
cdq
mov ebx, eax
mov eax, dword [ecx + 0x28]
sub eax, dword [ecx + 0x20]
mov dword [esp + 0x3c], edx
cdq
push edx
mov ebp, eax
push ebp
push edx
push ebp
call fcn.10300d60
mov esi, eax
mov eax, dword [esp + 0x3c]
push eax
push ebx
push eax
push ebx
mov edi, edx
call fcn.10300d60
add esi, eax
adc edi, edx
mov eax, esi
or eax, edi
je 0x1025cec8
push edi
push esi
push ebx
push 0
call fcn.102f83d0
push edi
push esi
push ebp
push 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
call fcn.102f83d0
mov ebx, eax
mov ebp, edx
jmp 0x1025ced4
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x74]
mov esi, dword [ecx + 0x88]
mov eax, dword [esi + 0x20]
push ebp
cdq
push ebx
push edx
push eax
mov dword [esp + 0x4c], ebp
call fcn.10300d60
push dword [esp + 0x2c]
mov edi, eax
push dword [esp + 0x2c]
mov eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x1c]
cdq
push edx
push eax
call fcn.10300d60
add edi, eax
mov eax, dword [esp + 0x18]
adc eax, edx
neg edi
adc eax, 0
neg eax
mov dword [esp + 0x18], eax
mov eax, edi
mov edi, dword [esp + 0x18]
mov edx, edi
mov cl, 0x10
call fcn.102f83a0
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx + 0x74]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x84]
add edx, 0xffffffff
xor edi, edi
add eax, 0xffffffff
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
jmp 0x1025cf68
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov esi, edi
and esi, 0x80000001
jns 0x1025cf77
dec esi
or esi, 0xfffffffe
inc esi
imul esi, dword [esp + 0x1c]
add esi, dword [esp + 0x78]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
imul eax, dword [esp + 0x20]
add eax, dword [esp + 0x7c]
shl esi, 0x10
shl eax, 0x10
test ecx, ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0x10000
je 0x1025cfc8
lea edx, [esp + 0x44]
push edx
push ecx
call fcn.1025cd30
add esp, 8
test eax, eax
je 0x1025d05d
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
push ebp
cdq
push ebx
push edx
push eax
call fcn.10300d60
mov ecx, dword [esp + 0x2c]
mov ebp, eax
mov eax, edx
push ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov eax, esi
cdq
push ecx
push edx
push eax
call fcn.10300d60
add ebp, eax
mov eax, dword [esp + 0x24]
adc eax, edx
mov dword [esp + 0x24], eax
mov eax, ebp
mov ebp, dword [esp + 0x24]
mov edx, ebp
mov cl, 0x10
call fcn.102f83a0
add eax, dword [esp + 0x30]
adc edx, dword [esp + 0x34]
mov dword [esp + edi*8 + 0x50], eax
mov dword [esp + edi*8 + 0x54], edx
add edi, 1
cmp edi, 3
jl 0x1025cf60
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x50]
cmp edx, eax
mov ecx, dword [esp + 0x54]
jne 0x1025d067
mov edx, dword [esp + 0x64]
cmp edx, ecx
jne 0x1025d067
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x74]
mov dword [eax + 4], 1
mov eax, dword [edx + 0x88]
mov eax, dword [eax + 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov edx, dword [esp + 0x58]
cmp edx, eax
jne 0x1025d082
mov eax, dword [esp + 0x5c]
cmp eax, ecx
jne 0x1025d082
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], 2
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 0x88]
mov eax, dword [eax + 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret