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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65815a93
sub esp, 0x5c
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov ecx, dword [eax + 0x18]
test byte [eax], al
mov eax, dword fs:[0x14]
mov eax, dword [eax]
cmp dword [ecx], eax
je 0x658154bf
mov edx, dword [ecx + 0x7c]
cmp edx, 1
jg 0x658154bf
mov ebx, dword [ecx + 0x78]
test ebx, ebx
jne 0x658154bf
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x658154e7
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x658154e7
mov dword [eax + 8], 0xfffffade
jmp 0x658154e7
nop
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x658154dd
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x658154dd
mov dword [eax + 8], 0xfffffade
add esp, 0x5c
ret
inc dword [0x65a0e7bc]
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xc], ebx
call fcn.658152d0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x65815518
xor eax, eax
jmp 0x65815524
call fcn.65823500
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x658154e1
lea eax, [0x65a0ead8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.65847e10
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xc], ebx
call fcn.658152d0
movzx eax, byte [esp + 0x10]
test al, al
je 0x65815685
mov eax, dword [esp + 0x60]
cmp eax, 2
sete cl
mov byte [0x65a0eaec], cl
mov ecx, dword [0x65a346f8]
cmp ecx, 1
jne 0x6581559e
mov ecx, 1
jmp 0x658155ac
cmp ecx, 2
jne 0x658155aa
mov ecx, 2
jmp 0x658155ac
xor ecx, ecx
mov dword [esp + 0x20], ecx
lea eax, [0x658b112c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.65847e10
lea eax, [0x658b114c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.65847e10
movzx eax, byte [0x65a18a28]
test al, al
je 0x6581566d
nop
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [0x65a18a58]
mov ecx, dword [0x65a18a5c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov byte [esp], 7
mov dword [esp + 4], 3
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.658536d0
mov eax, dword [0x65a18a58]
add eax, 1
mov ecx, dword [0x65a18a5c]
mov dword [0x65a18a58], eax
adc ecx, 0
mov dword [0x65a18a5c], ecx
mov eax, dword [0x65a0e6d8]
mov dword [esp + 0x50], eax
mov ecx, dword [0x65a0e6dc]
mov dword [esp + 0x34], ecx
xor edx, edx
jmp 0x658156b4
nop
lea eax, [0x65a0ead8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.65848120
add esp, 0x5c
ret
mov ebx, dword [esp + 0x30]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
cmp edx, ecx
jge 0x658156e9
mov dword [esp + 0x30], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x48], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.65802830
mov eax, dword [esp + 4]
mov ecx, dword [0x65a14480]
cmp ecx, eax
je 0x658156a5
jmp 0x658159dc
call fcn.658174c0
lea eax, [0x65980a24]
mov dword [esp], eax
call fcn.6585e5d0
mov eax, dword [0x65a34418]
mov dword [0x65a0eb18], eax
mov dword [0x65a0eb1c], eax
mov ecx, dword [0x65a34434]
cmp ecx, eax
jge 0x6581571e
mov dword [0x65a0eb18], ecx
lea eax, [0x65a34d20]
mov dword [esp], eax
call fcn.65802a70
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x65a0eb54], eax
mov dword [0x65a0eb50], ecx
mov dword [0x65a0eb40], 0
mov dword [0x65a0eb44], 0
mov eax, dword [esp + 0x20]
mov dword [0x65a0eae8], eax
call fcn.658609b0
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [0x65a0eb24], eax
mov dword [0x65a0eb20], ecx
mov dword [0x65a0eb4c], eax
mov dword [0x65a0eb48], ecx
movzx eax, byte [0x65a18a28]
test al, al
je 0x658157df
nop
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], 0
mov byte [esp], 9
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.658536d0
lea eax, [0x65980adc]
mov dword [esp], eax
call fcn.6585e5d0
lea eax, [0x65980a28]
mov dword [esp], eax
call fcn.6585e5d0
call fcn.65818550
inc dword [0x65a0eb14]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [0x65a34418]
lea ebx, [0x65a34ca0]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
call fcn.6581d810
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
lea edx, [0x65a347a0]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call fcn.65818b90
mov eax, dword [esp + 0x20]
test eax, eax
je 0x65815882
mov byte [esp], 0
call fcn.65844060
lea eax, [0x65a34414]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.65802a40
mov eax, dword [0x65a34414]
cmp eax, 1
jne 0x658158aa
mov eax, 1
jmp 0x658158b0
cmp eax, 2
sete al
mov byte [0x65a345b4], al
test al, al
je 0x658158c1
mov eax, 1
jmp 0x658158c8
movzx eax, byte [0x65a345b5]
mov byte [0x65a345b0], al
nop
mov dword [0x65a0ea98], 0xffffffff
mov dword [0x65a0eaa4], 0xffffffff
call fcn.65819920
call fcn.6581d690
lea eax, [0x65a3440c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.65802a40
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea ecx, [0x65815aa0]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x54]
mov dword [esp], ecx
call fcn.6585e5d0
lea eax, [0x658b114c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.65848120
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x658159a6
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x6581599e
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x20]
test eax, eax
jmp 0x658159ac
mov eax, dword [esp + 0x20]
test eax, eax
jmp 0x658159ac
mov eax, dword [esp + 0x20]
test eax, eax
je 0x658159bc
lea eax, [0x65980a38]
mov dword [esp], eax
call fcn.6585e570
nop
lea eax, [0x65a0ead8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.65848120
add esp, 0x5c
ret
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
call fcn.65837610
lea eax, [0x658e33a3]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.65837ef0
mov eax, dword [esp + 0x28]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.65837cf0
lea eax, [0x658e2cc9]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.65837b90
lea eax, [0x658e37eb]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.65837ef0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.65837b90
call fcn.65837830
call fcn.65837680
lea eax, [0x658e5769]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.65835ef0
nop
call fcn.6585e6e0
jmp fcn.65815450