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

Disassembly:
mov ecx, dword [0x663127c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xfc]
cmp eax, dword [ecx + 8]
jbe 0x65f5c880
sub esp, 0x17c
mov ecx, dword [0x660d56a4]
test ecx, ecx
je 0x65f5c473
mov ecx, dword [0x660d5634]
mov dword [esp + 0x40], ecx
lea edi, [esp + 0x88]
xor eax, eax
call fcn.65f64b09
mov ecx, dword [esp + 0x40]
cmp ecx, 8
jg 0x65f5c3fe
lea edi, [esp + 0xf0]
call fcn.65f64aed
lea ecx, [esp + 0xf0]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x40]
lea eax, [0x660f1b40]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 8], ecx
call fcn.65f0c780
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
lea ecx, [0x662ed00c]
mov dword [esp], ecx
call fcn.65f028f0
mov eax, dword [esp + 4]
test eax, eax
je 0x65f5c443
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
jmp 0x65f5c449
xor ebx, ebx
xor edx, edx
xor ebp, ebp
test ebx, ebx
jbe 0x65f5c876
lea eax, [ebp - 1]
neg eax
sar eax, 0x1f
and eax, 4
mov ecx, dword [edx]
add eax, edx
mov dword [esp + 0x68], eax
lea edx, [ebx - 1]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x4c]
xor ebp, ebp
jmp 0x65f5c485
add esp, 0x17c
ret
inc ebp
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x40]
mov ecx, esi
cmp ebp, edx
jge 0x65f5c5cd
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], ecx
mov esi, dword [eax + ebp*4]
mov dword [esp + 0x38], esi
mov edi, dword [ecx + 0xb0]
mov dword [esp + 0x64], edi
mov eax, dword [ecx + 0xb4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
jmp 0x65f5c5f9
mov eax, dword [esi + 0x11c]
test eax, eax
jne 0x65f5c47a
mov eax, dword [esi + 0xb4]
lea ecx, [0x660f1a00]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.65f0c780
mov eax, dword [0x662ed580]
mov ecx, dword [0x662ed57c]
inc ecx
mov edx, dword [esp + 0xc]
mov ebx, dword [0x662ed578]
cmp eax, ecx
jae 0x65f5c568
mov dword [esp + 0x50], edx
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x660f1a00]
mov dword [esp + 0x10], eax
call fcn.65f4bf40
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [0x662ed580], eax
mov eax, dword [0x663128d0]
test eax, eax
je 0x65f5c55a
call fcn.65f64960
mov dword [edi], ecx
mov eax, dword [0x662ed578]
mov dword [edi + 4], eax
mov dword [0x662ed578], ecx
mov ebx, ecx
mov ecx, edx
mov edx, dword [esp + 0x50]
mov dword [0x662ed57c], ecx
mov eax, dword [0x663128d0]
test eax, eax
jne 0x65f5c57e
mov eax, dword [esp + 0x38]
jmp 0x65f5c599
call fcn.65f64970
mov dword [edi], edx
mov eax, dword [ebx + ecx*4 - 4]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x38]
mov ebp, dword [eax + 0x11c]
mov dword [edi + 8], ebp
mov dword [ebx + ecx*4 - 4], edx
mov dword [eax + 0x11c], edx
mov ecx, dword [eax + 0xb0]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 0xb4]
mov dword [esp + 0x34], edx
xor ebx, ebx
jmp 0x65f5c73a
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x3c]
mov esi, eax
jmp 0x65f5c47a
add esp, 0x17c
ret
mov eax, dword [esp + 0x30]
inc eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
cmp edx, eax
jge 0x65f5c4c3
mov ebp, dword [ecx + 0x11c]
mov esi, dword [edi + edx*4]
test ebp, ebp
jne 0x65f5c61c
mov ebp, dword [ecx + 0x94]
add ebp, esi
jmp 0x65f5c63c
lea eax, [0x660f1a00]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.65f0e0e0
mov eax, dword [esp + 0xc]
mov ebp, dword [eax]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x58], ebp
mov eax, dword [ebp + 8]
lea ecx, [0x660f1b40]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.65f0e0e0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x58]
xor ebp, ebp
jmp 0x65f5c862
mov eax, dword [eax + 8]
inc edx
cmp eax, edx
jae 0x65f5c6a7
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6610ef60]
mov dword [esp + 0x10], eax
call fcn.65f4bf40
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov ebp, dword [0x663128d0]
test ebp, ebp
je 0x65f5c6c3
call fcn.65f64960
mov dword [edi], ebx
mov ebp, dword [ecx + edx*4 - 4]
mov dword [edi + 4], ebp
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x28], edx
mov dword [ecx + edx*4 - 4], ebx
mov eax, dword [ebx + 8]
lea ebx, [0x660f1b40]
mov dword [esp], ebx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.65f0e380
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x65f5c70e
mov ecx, dword [esp + 0x5c]
jmp 0x65f5c71e
call fcn.65f64960
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
jmp 0x65f5c5d4
mov dword [eax], ecx
mov ebp, dword [esp + 0x30]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x34]
cmp ebx, edx
jge 0x65f5c5be
mov dword [esp + 0x30], ebx
mov edx, dword [ecx + ebx*4]
mov dword [esp + 0x20], edx
mov ebp, dword [eax + 0x94]
add ebp, edx
mov dword [esp + 0x60], ebp
mov esi, dword [ebp + 8]
lea edi, [0x660f1b40]
mov dword [esp], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call fcn.65f0e0e0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
xor edx, edx
jmp 0x65f5c7fa
mov eax, dword [esp + 0x54]
jmp 0x65f5c795
mov eax, dword [esp + 0x60]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0x11c]
lea ebx, [0x660f1a00]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 8], edx
call fcn.65f0e380
mov eax, dword [esp + 0xc]
test byte [eax], al
mov ecx, dword [0x663128d0]
test ecx, ecx
jne 0x65f5c7d6
mov ecx, dword [esp + 0x54]
jmp 0x65f5c725
call fcn.65f64960
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
jmp 0x65f5c725
mov ebx, dword [esp + 0x28]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
cmp edx, eax
jge 0x65f5c791
mov dword [esp + 0x28], edx
mov ebx, dword [ecx + edx*4]
mov dword [esp + 0x54], ebx
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.65f64b09
lea edi, [esp + 0xa4]
call fcn.65f64afd
lea ecx, [esp + 0xa4]
mov dword [esp + 0x78], ecx
call fcn.65f50c20
mov ecx, dword [esp]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
lea ebx, [esp + 0x6c]
mov dword [esp + 8], ebx
call fcn.65f5c890
movzx ecx, byte [esp + 0xc]
test cl, cl
je 0x65f5c7eb
jmp 0x65f5c78b
inc ebp
cmp ebp, edx
jge 0x65f5c66d
lea esi, [ecx + ebp*4]
cmp dword [esi], ebx
jne 0x65f5c861
jmp 0x65f5c5d4
xor eax, eax
mov ecx, eax
call fcn.65f649b0
nop
call fcn.65f63530
jmp fcn.65f5c390