Function at 0x659aab50
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x659ab0ba
sub esp, 0x60
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
cmp dword [edx + 0x4c], ecx
jne 0x659ab0a3
mov ebx, dword [edx + 0x68]
test ebx, ebx
jne 0x659ab08d
mov ebx, dword [edx + 0x74]
test ebx, ebx
jne 0x659ab073
mov edx, dword [edx + 0x78]
test edx, edx
jne 0x659ab05d
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x44]
xor eax, eax
call fcn.659cadc9
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x50], edx
lea edi, [ecx + 0x10]
mov dword [esp + 0x40], edi
mov edx, dword [0x65a9c1d0]
test edx, edx
jne 0x659aabe7
lea eax, [esp + 0x44]
mov dword [ecx + 0x10], eax
jmp 0x659aabf0
lea eax, [esp + 0x44]
call fcn.659cac10
lea eax, [0x65a9c0ec]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.65982520
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.659a9e90
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x659aaed4
lea edi, [ecx + 0x14]
movzx ebx, byte [edx + 4]
test bl, bl
je 0x659aacc1
mov ebx, dword [edx + 0x14]
test ebx, ebx
je 0x659aac4b
mov byte [ebx + 0x19], 1
mov ebx, dword [0x65a9c1d0]
test ebx, ebx
jne 0x659aac5e
mov dword [edx + 0x14], 0
jmp 0x659aac6e
lea ebx, [edx + 0x14]
xor eax, eax
mov ebp, edi
mov edi, ebx
call fcn.659cac10
mov edi, ebp
movzx ebx, byte [edx + 6]
test bl, bl
jne 0x659aacc1
mov ebx, dword [0x65a9c1d0]
test ebx, ebx
jne 0x659aac89
mov dword [edx + 0x10], 0
jmp 0x659aac99
lea ebx, [edx + 0x10]
xor eax, eax
mov ebp, edi
mov edi, ebx
call fcn.659cac10
mov edi, ebp
mov ebx, dword [0x65a9c1d0]
mov eax, dword [edx + 0x18]
test ebx, ebx
jne 0x659aacab
mov dword [ecx + 0x14], eax
jmp 0x659aacb0
call fcn.659cac10
mov dword [esp], edx
call fcn.659a9970
mov edx, dword [esp + 0x2c]
jmp 0x659aac22
mov byte [edx + 4], 1
lea ebx, [edx + 0x14]
mov ebp, dword [0x65a9c1d0]
test ebp, ebp
jne 0x659aacdb
lea eax, [esp + 0x44]
mov dword [edx + 0x14], eax
jmp 0x659aacea
lea eax, [esp + 0x44]
mov ebp, edi
mov edi, ebx
call fcn.659cac10
mov edi, ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
movzx ebp, byte [edx + 6]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x659aad59
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.659aa230
movzx eax, byte [esp + 8]
test al, al
je 0x659aad53
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x14]
movzx edx, byte [edx + 0x18]
test dl, dl
jne 0x659aadab
mov byte [esp + 0x1e], al
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.659a9e90
movzx eax, byte [esp + 0x1e]
mov ecx, dword [esp + 0x34]
jmp 0x659aadab
mov ecx, dword [esp + 0x34]
jmp 0x659aadab
call fcn.659ab0d0
mov eax, dword [esp]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
test ecx, ecx
jne 0x659aad73
xor edx, edx
jmp 0x659aad77
nop
lea edx, [eax + 0x28]
mov ebx, dword [eax + 0x10]
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ecx
call fcn.659c97d0
mov ecx, dword [esp + 0x34]
mov eax, 1
mov dword [esp + 0x44], 0
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x14], ecx
jne 0x659ab047
mov ebx, dword [0x65a9c1d0]
test ebx, ebx
jne 0x659aadd3
mov dword [ecx + 0x14], 0
jmp 0x659aade2
mov edi, dword [esp + 0x38]
mov ebx, eax
xor eax, eax
call fcn.659cac10
mov eax, ebx
mov byte [esp + 0x1f], al
mov ebx, dword [ecx + 0xc]
mov dword [esp + 0x20], ebx
mov ebp, dword [ecx + 8]
mov dword [esp + 0x24], ebp
test al, al
je 0x659aae4f
mov esi, dword [0x65a9c1d0]
test esi, esi
jne 0x659aae0b
mov dword [ecx + 0x10], 0
jmp 0x659aae19
lea edi, [ecx + 0x10]
mov esi, eax
xor eax, eax
call fcn.659cac10
mov eax, esi
mov esi, dword [0x65a9c1d0]
mov ebx, dword [ecx + 0x18]
test esi, esi
jne 0x659aae2b
mov dword [edx + 0x14], ebx
jmp 0x659aae36
mov edi, dword [esp + 0x3c]
mov eax, ebx
call fcn.659cac10
mov dword [esp], ecx
call fcn.659a9970
movzx eax, byte [esp + 0x1f]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
movzx ecx, byte [esp + 0x5c]
test cl, cl
je 0x659aac22
mov ecx, dword [0x65a9c1d0]
mov esi, dword [esp + 0x50]
test ecx, ecx
jne 0x659aae7a
mov dword [edx + 0x10], esi
mov eax, esi
movzx ecx, byte [esp + 0x1f]
mov edi, dword [esp + 0x40]
jmp 0x659aae87
mov edi, dword [esp + 0x40]
mov ecx, eax
mov eax, esi
call fcn.659cac10
test eax, eax
je 0x659aae9f
movzx ebx, byte [eax + 0x1a]
test bl, bl
je 0x659aae9f
movzx ebx, byte [eax + 0x19]
test bl, bl
jne 0x659ab011
lea eax, [0x65a9c0ec]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.65982520
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
movzx edx, byte [esp + 0x1f]
test dl, dl
je 0x659aaec9
xor edx, edx
jmp 0x659aaeef
mov edx, dword [ecx + 0x18]
mov ebx, ecx
mov ecx, edx
mov edx, ebx
jmp 0x659aaeef
mov eax, dword [ecx + 0x10]
mov dword [esp], eax
call fcn.659ab2d0
xor eax, eax
mov dword [eax], 0
add esp, 0x60
ret
mov edx, ecx
mov ecx, ebx
test ecx, ecx
je 0x659aaf7b
movzx ebx, byte [ecx + 4]
test bl, bl
jne 0x659aaf7b
movzx ebx, byte [ecx + 6]
test bl, bl
jne 0x659aaf0c
mov ebx, dword [ecx + 0x18]
jmp 0x659aaeeb
mov dword [esp + 0x28], edx
test edx, edx
je 0x659aaf36
mov ebx, dword [0x65a9c1d0]
mov ebp, dword [ecx + 0x18]
test ebx, ebx
jne 0x659aaf26
mov dword [edx + 0x18], ebp
jmp 0x659aaf5b
lea edi, [edx + 0x18]
mov ebx, eax
mov eax, ebp
call fcn.659cac10
mov eax, ebx
jmp 0x659aaf5b
mov ebx, dword [0x65a9c1d0]
mov ebp, dword [ecx + 0x18]
test ebx, ebx
jne 0x659aaf4e
mov dword [eax + 0x14], ebp
mov ebx, eax
mov edi, dword [esp + 0x3c]
jmp 0x659aaf5b
mov edi, dword [esp + 0x3c]
mov ebx, eax
mov eax, ebp
call fcn.659cac10
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp], ecx
call fcn.659a9970
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
jmp 0x659aaeeb
mov ecx, dword [0x65a9c1d0]
mov edx, dword [esp + 0x50]
test ecx, ecx
jne 0x659aaf94
mov dword [eax + 0x10], edx
mov ecx, eax
mov edi, dword [esp + 0x40]
jmp 0x659aafa1
mov edi, dword [esp + 0x40]
mov ecx, eax
mov eax, edx
call fcn.659cac10
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x659ab005
movzx ebx, byte [edx + 0x19]
test bl, bl
je 0x659aafc9
mov ebx, dword [0x65a9c1d0]
mov eax, dword [edx + 0xc]
test ebx, ebx
jne 0x659aafc2
mov dword [ecx + 0x10], eax
jmp 0x659aafa1
call fcn.659cac10
jmp 0x659aafa1
test edx, edx
je 0x659ab005
mov eax, dword [esp + 0x24]
mov dword [ecx + 0xac], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0xb0], eax
lea eax, [0x65a197d4]
mov dword [esp], eax
call fcn.659c9650
lea eax, [0x65a13e62]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.659ab0e0
mov dword [ecx + 0x9c], 0
jmp 0x659aafcd
mov ecx, dword [eax + 0x14]
mov dword [edx + 0xac], ecx
mov eax, dword [eax + 0x10]
mov dword [edx + 0xb0], eax
lea eax, [0x65a197d4]
mov dword [esp], eax
call fcn.659c9650
lea eax, [0x65a15dd8]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.659ab0e0
lea eax, [0x65a15dc0]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.659ab0e0
lea eax, [0x65a14abf]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.659ab0e0
test byte [ecx], al
test byte [edx], al
lea eax, [0x65a15b14]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.659ab0e0
lea eax, [0x65a14aac]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.659ab0e0
lea eax, [0x65a15219]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.659ab0e0
nop
call fcn.659c97c0
jmp fcn.659aab50