Function at 0x65bf9e90
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 0x65bfa3ca
sub esp, 0x74
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.65c2c8b9
movzx ecx, byte [0x65d82330]
test cl, cl
jne 0x65bf9ec3
xor ecx, ecx
xor edx, edx
jmp 0x65bf9ed3
call fcn.65c197f0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, eax
xor eax, eax
test ecx, ecx
je 0x65bf9f0a
mov dword [esp + 0x18], ecx
mov dword [esp + 0x5c], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
movzx eax, byte [esp + 0x78]
mov byte [esp + 8], al
call fcn.65c19e50
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.65c19920
xor eax, eax
mov ecx, dword [0x65da0168]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
mov edx, dword [edx + 0x7c]
test edx, edx
jg 0x65bfa3b3
mov dword [esp + 0x68], ecx
nop
nop
lea eax, [0x65d82378]
mov dword [esp], eax
call fcn.65bca290
nop
call fcn.65c2d430
mov eax, dword [0x65da011c]
mov ecx, dword [esp]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x30], edx
mov dword [0x65d823f8], eax
nop
nop
lea eax, [0x65d823f4]
mov dword [esp], eax
mov byte [esp + 4], 1
call fcn.65c30e60
call fcn.65c03a70
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [ecx + 4], 3
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x58]
test byte [eax], al
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x11e4], ecx
mov edx, dword [esp + 0x30]
mov dword [eax + 0x11e8], edx
dec dword [0x65d823f8]
movzx eax, byte [0x65d82330]
test al, al
jne 0x65bf9fb6
xor eax, eax
xor ebx, ebx
jmp 0x65bf9fce
call fcn.65c197f0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x30]
mov ebx, eax
mov eax, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x34], eax
mov ebp, dword [0x65d812b0]
mov dword [esp + 0x70], ebp
mov esi, dword [0x65d812b4]
mov dword [esp + 0x58], esi
xor edi, edi
jmp 0x65bf9ff7
inc edi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
cmp edi, esi
jge 0x65bfa0c5
mov dword [esp + 0x54], edi
mov edx, dword [ebp + edi*4]
mov dword [esp + 0x64], edx
cmp dword [edx + 4], 2
je 0x65bfa021
mov dword [esp + 0x44], eax
xor eax, eax
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x44]
jmp 0x65bfa061
lea eax, [edx + 4]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 3
call fcn.65c30ba0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x34]
movzx ecx, byte [esp + 0x17]
test cl, cl
je 0x65bf9fee
test eax, eax
je 0x65bfa087
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.65c1ae00
mov edx, dword [esp + 0x64]
inc dword [edx + 0x10]
call fcn.65c2d430
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x64]
mov dword [edx + 0x11e4], eax
mov dword [edx + 0x11e8], ecx
dec dword [0x65d823f8]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
jmp 0x65bf9fee
test eax, eax
je 0x65bfa0d5
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.65c19920
nop
call fcn.65c2d430
mov eax, dword [esp]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
jmp 0x65bfa121
mov dword [esp + 0x60], eax
mov dword [eax + 4], 3
call fcn.65c2d430
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x60]
mov dword [edx + 0x11e4], eax
mov dword [edx + 0x11e8], ecx
dec dword [0x65d823f8]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.65c04b30
mov eax, dword [esp + 8]
test eax, eax
jne 0x65bfa0ec
mov eax, dword [0x65d823f8]
mov dword [esp + 0x50], eax
nop
nop
lea ecx, [0x65d82378]
mov dword [esp], ecx
call fcn.65bca4b0
mov eax, dword [esp + 0x50]
test eax, eax
jg 0x65bfa37c
call fcn.65c2d430
mov eax, dword [esp]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x24]
sub eax, edx
mov ebp, dword [esp + 0x30]
sbb ecx, ebp
movzx edi, byte [esp + 0x78]
xchg edi, eax
cmp al, 1
xchg edi, eax
je 0x65bfa18e
xchg edi, eax
cmp al, 2
xchg edi, eax
jne 0x65bfa1a6
lea edx, [0x65d82950]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.65bc8ed0
jmp 0x65bfa1bc
lea edx, [0x65d82e60]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.65bc8ed0
mov eax, dword [0x65d823f8]
test eax, eax
jne 0x65bfa1fb
mov eax, dword [0x65d812b0]
mov dword [esp + 0x70], eax
mov ecx, dword [0x65d812b4]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x3c], ebp
xor ebp, ebp
mov dword [esp + 0x38], ebp
xor ebp, ebp
jmp 0x65bfa30e
mov eax, 0x29
lea ecx, [0x65c9405c]
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edx
lea ebp, [0x65d9fc0f]
mov dword [esp], ebp
call fcn.65c30ad0
movzx eax, byte [esp + 4]
test al, al
je 0x65bfa251
nop
nop
lea eax, [0x65da00e8]
mov dword [esp], eax
call fcn.65bca290
nop
nop
lea eax, [0x65da00e8]
mov dword [esp], eax
call fcn.65bca290
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x65bfa2b3
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.65c2c8b9
movzx ecx, byte [esp + 0x78]
mov byte [esp + 0x7c], cl
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x94], ecx
add esp, 0x74
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.65c26c40
mov dword [eax + 0x11e4], 0
mov dword [eax + 0x11e8], 0
inc ebp
mov eax, dword [esp + 0x4c]
sub ebx, eax
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
sbb edx, eax
mov eax, dword [esp + 0x38]
add eax, ebx
mov ebx, dword [esp + 0x3c]
adc ebx, edx
mov edx, dword [esp + 0x58]
mov ecx, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x1c]
cmp ebp, ecx
jge 0x65bfa366
mov eax, dword [eax + ebp*4]
cmp dword [eax + 4], 3
je 0x65bfa326
mov esi, 0x2e
lea edi, [0x65c94c15]
mov ecx, dword [eax + 0x11e4]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x11e8]
mov dword [esp + 0x50], edx
test edx, edx
sete dl
test ecx, ecx
sete cl
and edx, ecx
test dl, dl
je 0x65bfa2c3
test esi, esi
jne 0x65bfa2c3
mov esi, 0x28
lea edi, [0x65c93d08]
jmp 0x65bfa2c3
mov eax, esi
mov ecx, edi
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
jmp 0x65bfa20a
call fcn.65c03a70
lea eax, [0x65d823fc]
mov dword [esp], eax
mov dword [esp + 4], 0x186a0
mov dword [esp + 8], 0
call fcn.65bcaa20
movzx eax, byte [esp + 0xc]
test al, al
je 0x65bfa377
nop
mov dword [0x65d823fc], 0
jmp 0x65bfa15b
lea eax, [0x65c9111a]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.65c26c40
nop
call fcn.65c2b2c0
jmp fcn.65bf9e90