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

Disassembly:
mov ecx, dword [0x65da0168]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65c0277b
sub esp, 0x70
mov eax, dword [0x65da011c]
test eax, eax
jl 0x65c02764
mov ecx, dword [esp + 0x74]
test ecx, ecx
jle 0x65c02764
mov dword [esp + 0x30], eax
movzx edx, byte [0x65d82330]
test dl, dl
jne 0x65c01f76
xor edx, edx
xor ebx, ebx
jmp 0x65c01f8e
call fcn.65c197f0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x74]
test edx, edx
je 0x65c01fbe
mov dword [esp + 0x54], ebx
mov dword [esp + 0x28], edx
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.65c19970
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.65c19920
nop
call fcn.65c2d430
mov eax, dword [0x65d82418]
mov ecx, dword [0x65d8241c]
mov edx, dword [esp]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 4]
test eax, eax
xchg ebp, ebx
setne bl
xchg ebp, ebx
test ecx, ecx
xchg esi, ebx
setne bl
xchg esi, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x65c02046
mov ebp, dword [0x65d82420]
mov esi, dword [0x65d82424]
mov dword [esp + 0x4c], esi
mov edi, dword [esp + 0x30]
sar edi, 0x1f
sub edx, eax
mov dword [esp + 0x48], edx
mov eax, ebx
sbb ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x30]
mul edx
mov esi, dword [esp + 0x48]
imul edi, esi
add edx, edi
mov esi, dword [esp + 0x30]
imul ebx, esi
add edx, ebx
add ebp, eax
mov dword [0x65d82420], ebp
mov ebx, dword [esp + 0x4c]
adc ebx, edx
mov dword [0x65d82424], ebx
jmp 0x65c0204c
mov ecx, ebx
mov esi, dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x2c]
mov dword [0x65d82418], edx
mov dword [0x65d8241c], ecx
mov ebx, dword [esp + 0x74]
lea ebp, [ebx + 0x1f]
sar ebp, 0x1f
shr ebp, 0x1b
lea ebp, [ebp + ebx + 0x1f]
sar ebp, 5
mov dword [esp + 0x34], ebp
cmp dword [0x65d812b4], ebx
jge 0x65c02245
nop
nop
lea eax, [0x65da0128]
mov dword [esp], eax
call fcn.65bca290
mov eax, dword [esp + 0x74]
lea ecx, [0x65d812b0]
cmp dword [ecx + 8], eax
jl 0x65c020ae
mov dword [0x65d812b4], eax
jmp 0x65c0213a
lea ecx, [0x65c7f0e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.65c27be0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov ecx, dword [0x65d812b0]
mov edx, dword [0x65d812b8]
lea ebx, [0x65c7f0e0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x74]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.65c25c50
mov eax, dword [esp + 0x74]
mov dword [0x65d812b4], eax
mov dword [0x65d812b8], eax
mov ecx, dword [0x65da0248]
test ecx, ecx
jne 0x65c0211a
mov ebx, dword [esp + 0x6c]
jmp 0x65c0212e
call fcn.65c2c6f0
mov ebx, dword [esp + 0x6c]
mov dword [edi], ebx
mov ebp, dword [0x65d812b0]
mov dword [edi + 4], ebp
mov dword [0x65d812b0], ebx
lea ecx, [0x65d812b0]
mov edx, dword [0x65d812c8]
mov ebx, dword [esp + 0x34]
cmp edx, ebx
jl 0x65c0216d
jb 0x65c0275d
mov dword [0x65d812c4], ebx
mov edx, dword [0x65d812d8]
cmp edx, ebx
jb 0x65c02756
mov dword [0x65d812d4], ebx
jmp 0x65c02221
mov eax, dword [0x65d812c0]
mov ecx, dword [0x65d812c4]
lea edx, [0x65c7bac0]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.65c0a310
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov dword [0x65d812c4], ecx
mov dword [0x65d812c8], ecx
mov edx, dword [0x65da0248]
test edx, edx
je 0x65c021c1
call fcn.65c2c6f0
mov dword [edi], eax
mov edx, dword [0x65d812c0]
mov dword [edi + 4], edx
mov dword [0x65d812c0], eax
mov eax, dword [0x65d812d0]
mov edx, dword [0x65d812d4]
lea ebx, [0x65c7bac0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.65c0a310
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov dword [0x65d812d4], ecx
mov dword [0x65d812d8], ecx
mov edx, dword [0x65da0248]
test edx, edx
je 0x65c0221b
call fcn.65c2c6f0
mov dword [edi], eax
mov edx, dword [0x65d812d0]
mov dword [edi + 4], edx
mov dword [0x65d812d0], eax
nop
nop
lea eax, [0x65da0128]
mov dword [esp], eax
call fcn.65bca4b0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov eax, esi
jmp 0x65c02281
mov ecx, dword [0x65d812b0]
lea ecx, [ecx + eax*4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.65bc4ae0
mov eax, dword [esp + 0x40]
lea esi, [eax + 1]
mov eax, dword [esp + 0x74]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x34]
cmp ebx, esi
jle 0x65c022e1
mov edi, dword [0x65d812b4]
cmp esi, edi
jae 0x65c0274d
mov dword [esp + 0x40], esi
mov edi, dword [0x65d812b0]
mov edi, dword [edi + esi*4]
test edi, edi
jne 0x65c022ba
lea eax, [0x65c88f20]
mov dword [esp], eax
call fcn.65bcbb60
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x60], edi
mov dword [esp], edi
mov dword [esp + 4], esi
call fcn.65c01a50
mov ecx, dword [0x65d812b4]
mov eax, dword [esp + 0x40]
cmp eax, ecx
jb 0x65c02249
jmp 0x65c02748
mov esi, dword [0x65da0168]
mov esi, dword fs:[esi]
mov esi, dword [esi]
mov dword [esp + 0x64], esi
mov edi, dword [esi + 0x18]
mov edi, dword [edi + 0x58]
test edi, edi
je 0x65c023ee
mov dword [esp + 0x44], edi
cmp dword [edi], ebx
jl 0x65c023d4
mov edi, dword [esp + 0x44]
test edi, edi
je 0x65c023ee
movzx edi, byte [0x65d82330]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x65c0232f
xor edi, edi
xor edi, edi
mov dword [esp + 0x50], edi
xor edi, edi
jmp 0x65c02359
call fcn.65c197f0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x64]
mov edi, ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
test edi, edi
je 0x65c023c5
mov dword [esp + 0x24], edi
nop
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], edi
mov byte [esp + 8], 1
call fcn.65c1a760
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.65c19b40
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.65c19920
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x64]
mov edi, dword [esi + 0x18]
mov edi, dword [edi + 0x58]
mov dword [edi + 0x2c], 0
jmp 0x65c023ee
mov dword [edi + 4], 1
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 0x30]
mov dword [esp], eax
call fcn.65bd0790
jmp 0x65c0246d
mov edi, dword [esi + 0x18]
mov dword [edi + 0x58], 0
mov edi, dword [0x65d812b4]
test edi, edi
jbe 0x65c0273f
mov eax, dword [0x65d812b0]
mov eax, dword [eax]
mov dword [eax + 0x2c], 0
mov dword [eax + 4], 0
mov dword [esp], eax
call fcn.65c02790
movzx eax, byte [0x65d82330]
test al, al
jne 0x65c02435
xor ecx, ecx
xor eax, eax
jmp 0x65c02441
call fcn.65c197f0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x65c0246d
mov dword [esp + 0x20], ecx
mov dword [esp + 0x58], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.65c1a540
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.65c19920
mov dword [0x65da00f8], 0
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x74]
mov eax, ebx
jmp 0x65c024ab
mov dword [esp + 0x3c], ebx
mov eax, dword [0x65d812b0]
mov eax, dword [eax + ebx*4]
mov dword [esp], eax
call fcn.65c01bd0
mov eax, dword [esp + 0x3c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x30]
cmp ebx, edx
jge 0x65c024be
mov ecx, dword [0x65d812b4]
cmp ebx, ecx
jb 0x65c02483
jmp 0x65c02738
lea ebx, [0x65d812b0]
cmp dword [ebx + 4], eax
je 0x65c02535
nop
nop
lea eax, [0x65da0128]
mov dword [esp], eax
call fcn.65bca290
mov edx, dword [0x65d812b8]
mov ecx, dword [esp + 0x74]
cmp ecx, edx
ja 0x65c02733
mov dword [0x65d812b4], ecx
mov edx, dword [0x65d812c8]
mov eax, dword [esp + 0x34]
cmp edx, eax
jb 0x65c0272c
mov dword [0x65d812c4], eax
mov edx, dword [0x65d812d8]
cmp edx, eax
jb 0x65c02725
mov dword [0x65d812d4], eax
nop
nop
lea eax, [0x65da0128]
mov dword [esp], eax
call fcn.65bca4b0
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x30]
lea ebx, [eax - 1]
mov ebp, dword [esp + 0x64]
xor ecx, ecx
jmp 0x65c02541
dec ebx
mov dword [esp + 0x5c], ecx
test ebx, ebx
jl 0x65c025f2
mov esi, dword [0x65d812b4]
cmp ebx, esi
jae 0x65c0271c
mov esi, dword [0x65d812b0]
mov esi, dword [esi + ebx*4]
mov edi, dword [ebp + 0x18]
mov edi, dword [edi + 0x58]
cmp edi, esi
je 0x65c02540
mov dword [esp + 0x38], ebx
mov dword [esp + 0x68], esi
mov dword [esi + 4], 0
mov dword [esp], esi
call fcn.65c04d30
movzx eax, byte [esp + 4]
test al, al
jne 0x65c025bd
mov edx, dword [0x65d8237c]
nop
test edx, edx
je 0x65c025ab
mov ebx, dword [edx + 0xb4]
mov dword [0x65d8237c], ebx
dec dword [0x65d82380]
nop
mov ecx, dword [esp + 0x68]
mov dword [ecx + 0x2c], edx
mov edx, dword [esp + 0x5c]
nop
mov dword [ecx + 8], edx
jmp 0x65c025dd
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
call fcn.65c04970
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x64]
jmp 0x65c02540
nop
mov dword [0x65d81340], eax
mov dword [0x65d81348], 0
mov ebx, 1
jmp 0x65c0260f
lea ebx, [esi + 1]
mov eax, ebp
cmp eax, ebx
jb 0x65c026b7
mov ebp, eax
mov esi, ebx
jmp 0x65c02713
cmp ebx, 1
jne 0x65c0260a
mov ebx, dword [0x65d8134c]
mov edi, dword [0x65d81348]
inc edi
mov eax, dword [0x65d81344]
cmp ebx, edi
jae 0x65c026a8
mov dword [esp + 0x48], esi
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x65c7bac0]
mov dword [esp + 0x10], eax
call fcn.65c27c90
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [0x65d8134c], eax
mov eax, dword [0x65da0248]
test eax, eax
je 0x65c0268e
call fcn.65c2c6f0
mov dword [edi], ecx
mov ebx, dword [0x65d81344]
mov dword [edi + 4], ebx
mov dword [0x65d81344], ecx
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x48]
mov edi, edx
mov eax, ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
mov dword [0x65d81348], edi
mov dword [eax + edi*4 - 4], esi
jmp 0x65c0260a
lea ecx, [0x65da011c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.65c30dc0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
je 0x65c026f7
lea ecx, [0x65da0420]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.65bd8b20
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x78], eax
add esp, 0x70
ret
mov edi, eax
mov eax, ebx
xor edx, edx
div edi
mov eax, edx
mov ebx, edi
mov edx, dword [esp + 0x30]
test eax, eax
jne 0x65c02703
jmp 0x65c02620
mov eax, ebx
mov ecx, esi
call fcn.65c2c760
mov ecx, eax
call fcn.65c2c7a0
mov ecx, eax
call fcn.65c2c7a0
call fcn.65c2c7a0
mov eax, ebx
call fcn.65c2c760
xor eax, eax
mov ecx, eax
call fcn.65c2c760
call fcn.65c2c760
mov eax, esi
mov ecx, edi
call fcn.65c2c760
mov ecx, ebx
call fcn.65c2c7a0
mov ecx, ebx
call fcn.65c2c7a0
lea eax, [0x65c902a4]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.65c26c40
nop
call fcn.65c2b2c0
jmp fcn.65c01f30