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

Disassembly:
mov ecx, dword [0x663127c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x65f2809a
sub esp, 0x7c
mov eax, dword [0x663127c4]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x58]
mov dword [esp + 0x78], eax
test eax, eax
je 0x65f27aee
mov ecx, dword [esp + 0x84]
cmp ecx, 0x10
jae 0x65f27ae6
mov edx, dword [eax + 0x38]
mov ebx, dword [eax + 0x3c]
lea ebp, [eax + 0x34]
test edx, edx
sete dl
test ebx, ebx
sete bl
and ebx, edx
test bl, bl
je 0x65f27a7c
mov dword [esp + 0x6c], ebp
mov eax, dword [esp + 0x80]
test byte [eax], al
lea ecx, [eax + 8]
mov dword [esp + 0x74], ecx
nop
mov dword [esp], eax
call fcn.65f09b00
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.65f2c540
lea edi, [esp + 0x54]
lea esi, [esp + 4]
call fcn.65f64fee
mov edi, dword [esp + 0x6c]
lea esi, [esp + 0x54]
call fcn.65f64fee
nop
nop
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.65f09d00
mov ecx, dword [esp + 0x84]
mov ebp, dword [esp + 0x6c]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.65f2be30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x65f27ade
mov edx, dword [0x663127c4]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 0x58]
test edx, edx
je 0x65f27ad1
mov ebx, dword [edx + 0x708]
test ebx, ebx
je 0x65f27ad1
lea ebp, [ebx - 1]
cmp ebp, 0x80
jae 0x65f2808d
mov ebx, dword [edx + ebx*4 + 0x708]
mov dword [edx + 0x708], ebp
jmp 0x65f27ad3
xor ebx, ebx
test ebx, ebx
je 0x65f27ae0
xor edx, edx
jmp 0x65f27c18
xor ebx, ebx
mov edx, eax
mov ebp, ecx
jmp 0x65f27af4
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x65f27af4
xor edx, edx
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x80]
test byte [eax], al
nop
mov dword [esp], eax
call fcn.65f09b00
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x65f27b25
xor edx, edx
mov ecx, dword [esp + 0x34]
jmp 0x65f27bcc
mov eax, dword [esp + 0x80]
lea ecx, [eax + 8]
mov dword [esp + 0x74], ecx
mov dword [esp], ecx
mov edx, dword [esp + 0x84]
mov dword [esp + 4], edx
call fcn.65f2b350
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x65f27b56
xor edx, edx
jmp 0x65f27bcc
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 4], ecx
call fcn.65f28310
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 8]
test al, al
jne 0x65f27b9d
nop
nop
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.65f09d00
mov dword [esp + 0x8c], 0
add esp, 0x7c
ret
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
call fcn.65f2b350
mov eax, dword [esp + 8]
test eax, eax
je 0x65f28077
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x50]
test ebx, ebx
jne 0x65f27bf3
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.65f278e0
mov ebx, dword [esp + 4]
mov dword [esp + 0x50], ebx
nop
nop
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.65f09d00
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x44], edx
lea ebp, [0x66312f68]
mov dword [esp], ebp
call fcn.65f029d0
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
nop
lea edx, [0x66312aa4]
mov dword [esp], edx
call fcn.65f02890
movzx eax, byte [esp + 4]
test al, al
je 0x65f27c64
xor eax, eax
xor ebx, ebx
jmp 0x65f27cab
nop
lea eax, [0x66313098]
mov dword [esp], eax
call fcn.65f02b40
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
add eax, edx
adc ecx, 0
mov ebx, dword [esp + 0x28]
cmp ebx, ecx
setb cl
sete bl
mov ebp, dword [esp + 0x24]
cmp eax, ebp
xchg esi, ebx
seta bl
xchg esi, ebx
and ebx, esi
or ebx, ecx
test bl, bl
je 0x65f27ca9
sub eax, ebp
jmp 0x65f27cab
xor eax, eax
mov byte [esp + 0x1b], bl
mov dword [esp + 0x48], eax
lea ecx, [0x663129a0]
mov dword [esp], ecx
call fcn.65f02b40
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
cmp eax, 0xffffffff
setne dl
cmp ecx, 0xffffffff
setne bl
or ebx, edx
test bl, bl
je 0x65f27d63
mov edx, dword [esp + 0x44]
test edx, edx
ja 0x65f27cf3
mov ecx, dword [esp + 0x78]
test ecx, ecx
mov eax, dword [esp + 0x48]
jmp 0x65f27d6d
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
call fcn.65f21420
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x44]
add eax, edx
adc ecx, 0
mov ebx, dword [esp + 0x2c]
cmp ebx, ecx
sete cl
setb bl
mov ebp, dword [esp + 0x20]
cmp eax, ebp
xchg esi, ebx
seta bl
xchg esi, ebx
and ecx, esi
or ebx, ecx
test bl, bl
je 0x65f27d57
sub eax, ebp
cmp eax, edx
jb 0x65f27d39
mov eax, edx
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jae 0x65f27d49
mov ecx, dword [esp + 0x78]
test ecx, ecx
jmp 0x65f27d6d
mov edx, dword [esp + 0x78]
test edx, edx
mov ecx, edx
mov eax, dword [esp + 0x48]
jmp 0x65f27d6d
mov ecx, dword [esp + 0x78]
test ecx, ecx
mov eax, dword [esp + 0x48]
jmp 0x65f27d6d
mov ecx, dword [esp + 0x78]
test ecx, ecx
mov eax, dword [esp + 0x48]
je 0x65f27e7e
test eax, eax
jbe 0x65f27e7e
mov dword [esp + 0x48], eax
lea eax, [ecx + 0x948]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x80]
lea edx, [ecx + 8]
mov dword [esp + 0x74], edx
nop
call fcn.65f656b0
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov byte [esp + 4], 3
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.65f1a5a0
mov eax, dword [esp + 0x80]
test byte [eax], al
movzx ecx, byte [esp + 0x10]
mov byte [esp + 0x1a], cl
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
lea edx, [0x661c1c30]
mov dword [esp + 8], edx
movzx edx, byte [esp + 0x1b]
mov byte [esp + 0xc], dl
call fcn.65f21ff0
mov eax, dword [esp + 0x10]
nop
lea ecx, [0x662f273c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.65f029b0
nop
call fcn.65f656b0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
movzx edx, byte [esp + 0x1a]
test dl, dl
je 0x65f27e5c
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov byte [esp + 4], 3
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call fcn.65f1a760
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
lea edx, [0x663129b0]
mov dword [esp], edx
mov edx, dword [esp + 0x1c]
sub eax, edx
mov edx, dword [esp + 0x30]
sbb ecx, edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call fcn.65f029f0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
movzx ecx, byte [esp + 0x88]
mov byte [esp + 8], cl
movzx edx, byte [esp + 0x89]
mov byte [esp + 9], dl
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x10], ebx
call fcn.65f280b0
mov eax, dword [esp + 0x84]
shl eax, 0xd
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x65f27f18
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.65f134e0
lea eax, [0x66313078]
mov dword [esp], eax
xor eax, eax
mov ecx, dword [esp + 0x34]
sub eax, ecx
mov edx, 0
sbb edx, 0
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.65f30b30
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
lea edx, [0x66313080]
mov dword [esp], edx
sub eax, ecx
xor ebx, ebx
sub ebx, eax
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
call fcn.65f30b30
movzx eax, byte [esp + 0x88]
test al, al
jne 0x65f27f66
lea eax, [0x66313070]
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.65f30b30
lea eax, [0x66316100]
mov dword [esp], eax
call fcn.65f30c50
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
test byte [eax], al
mov dword [esp], eax
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.65f029f0
mov eax, dword [esp + 0x68]
lea ecx, [eax + 8]
mov dword [esp], ecx
xor ecx, ecx
mov edx, dword [esp + 0x34]
sub ecx, edx
mov edx, 0
sbb edx, 0
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
call fcn.65f029f0
movzx eax, byte [esp + 0x88]
cmp al, 1
ja 0x65f28010
test al, al
jne 0x65f27fef
mov eax, dword [esp + 0x68]
add eax, 0x10
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.65f029f0
jmp 0x65f2805a
mov eax, dword [esp + 0x68]
add eax, 0x18
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.65f029f0
jmp 0x65f2805a
cmp al, 2
je 0x65f2803b
cmp al, 3
jne 0x65f2805a
mov eax, dword [esp + 0x68]
add eax, 0x20
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.65f029f0
jmp 0x65f2805a
mov eax, dword [esp + 0x68]
add eax, 0x28
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.65f029f0
lea eax, [0x66316100]
mov dword [esp], eax
call fcn.65f30d40
mov eax, dword [esp + 0x50]
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
lea eax, [0x6611d173]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.65f37060
mov eax, ebp
mov ecx, pe_nt_image_headers32
call fcn.65f649b0
nop
call fcn.65f62020
jmp fcn.65f279c0