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

Disassembly:
mov ecx, dword [0x65da0168]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x65bfe36e
sub esp, 0x94
mov ecx, dword [0x65da0168]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
xor eax, eax
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x65bfde1e
lea eax, [ebp + 1]
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x88]
mov ecx, dword [esp + 0x90]
cmp eax, 4
jge 0x65bfdf0f
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], ebx
mov ecx, dword [0x65da0168]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x448]
mov dword [esp + 0x34], edx
mov ebx, dword [ecx + 0x44c]
shl edx, 0x11
mov ebp, dword [esp + 0x34]
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x448], ebx
mov dword [ecx + 0x44c], ebp
mov ecx, dword [0x65d81340]
lea edx, [ebx + ebp]
test ecx, ecx
je 0x65bfe368
mov dword [esp + 0x28], edx
mov ebx, dword [0x65d81348]
mov ebp, eax
mov eax, edx
xor edx, edx
div ecx
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x28]
xor edx, edx
div ecx
test ebx, ebx
je 0x65bfe363
mov dword [esp + 0x7c], ebp
xor edx, edx
div ebx
mov eax, dword [0x65d81344]
mov eax, dword [eax + edx*4]
cmp ebp, 3
sete dl
mov byte [esp + 0x20], dl
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x60], eax
mov eax, 1
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x84], eax
mov dword [esp + 0x50], ecx
xor ecx, ecx
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x50]
jmp 0x65bfdf9c
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], ebp
xchg edi, eax
mov byte [esp + 0xb8], al
xchg edi, eax
add esp, 0x94
ret
mov dword [esp + 0x88], eax
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x78], edi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x80], eax
mov edi, esi
mov dword [esp + 0x88], ecx
mov esi, ebp
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x7c]
mov ecx, edx
movzx edx, byte [esp + 0x20]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], esi
mov edx, dword [esp + 0x78]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
movzx esi, byte [esp + 0x23]
xchg esi, eax
test al, al
xchg esi, eax
je 0x65bfdfce
xor esi, esi
jmp 0x65bfdfe5
inc edx
mov dword [esp + 0x38], edx
add eax, ebx
test ecx, ecx
je 0x65bfe35e
xor edx, edx
div ecx
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x3c], ecx
je 0x65bfddfe
xchg edi, eax
mov byte [esp + 0x21], al
xchg edi, eax
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
lea eax, [0x65d823f4]
mov dword [esp], eax
call fcn.65c30ad0
movzx eax, byte [esp + 4]
test al, al
jne 0x65bfe305
mov ecx, dword [0x65d812b4]
mov eax, dword [esp + 0x40]
cmp eax, ecx
jae 0x65bfe359
mov ecx, dword [0x65d812b0]
mov ecx, dword [ecx + eax*4]
mov edx, dword [esp + 0x90]
cmp edx, ecx
jne 0x65bfe060
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
movzx esi, byte [esp + 0x21]
jmp 0x65bfdf4e
mov dword [esp + 0x8c], ecx
mov ebx, dword [esp + 0x7c]
cmp ebx, 3
je 0x65bfe074
xor eax, eax
jmp 0x65bfe0b1
mov ecx, dword [0x65d812d0]
mov edx, dword [0x65d812d4]
mov ebx, dword [0x65d812d8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.65c04890
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x7c]
test al, al
jne 0x65bfe0d5
mov ebp, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
movzx edx, byte [esp + 0x21]
jmp 0x65bfe1b7
test byte [ecx], al
lea eax, [ecx + 0x1198]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
call fcn.65c11cc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
setne dl
test ecx, ecx
setne bl
or ebx, edx
test bl, bl
je 0x65bfe154
mov edx, dword [esp + 0x88]
test edx, edx
sete bl
mov ebp, dword [esp + 0x70]
test ebp, ebp
xchg esi, ebx
sete bl
xchg esi, ebx
and ebx, esi
test bl, bl
jne 0x65bfe15f
cmp edx, ecx
setg bl
xchg esi, ebx
sete bl
xchg esi, ebx
cmp ebp, eax
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, esi
or edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x65bfe15f
mov ecx, edx
mov eax, ebp
jmp 0x65bfe15f
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x70]
movzx edx, byte [esp + 0x1c]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
test dl, dl
jne 0x65bfe177
movzx edx, byte [esp + 0x21]
jmp 0x65bfe1b7
mov dword [esp + 0x6c], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.65c051c0
mov eax, dword [esp + 4]
test eax, eax
jne 0x65bfe2b3
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov edx, 1
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], ecx
mov byte [esp + 0x22], dl
mov dword [esp + 0x78], ebx
mov esi, dword [0x65d812c0]
mov edi, dword [0x65d812c4]
mov eax, dword [0x65d812c8]
mov ecx, dword [esp + 0x40]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.65c04890
movzx eax, byte [esp + 0x10]
test al, al
jne 0x65bfe232
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
movzx ecx, byte [esp + 0x20]
mov byte [esp + 8], cl
call fcn.65c05590
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x65bfe25c
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x84]
movzx esi, byte [esp + 0x22]
jmp 0x65bfdf4e
mov dword [esp + 0xa0], eax
mov byte [esp + 0xa4], 0
mov eax, dword [esp + 0x78]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xb4], eax
movzx eax, byte [esp + 0x22]
mov byte [esp + 0xb8], al
add esp, 0x94
ret
movzx ecx, byte [esp + 8]
mov dword [esp + 0xa0], eax
mov byte [esp + 0xa4], cl
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xb4], eax
movzx eax, byte [esp + 0x21]
mov byte [esp + 0xb8], al
add esp, 0x94
ret
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xb4], eax
mov byte [esp + 0xb8], 1
add esp, 0x94
ret
call fcn.65c2c770
call fcn.65bf3f80
call fcn.65bf3f80
call fcn.65bf3f80
nop
call fcn.65c2b2c0
jmp fcn.65bfddb0