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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0x20]
add eax, 0x28
test ecx, ecx
lea edx, [ecx + 0xc]
cmove edx, eax
mov eax, dword [esi + 0xc]
mov dword [eax], edx
mov eax, dword [esi + 8]
mov dword [eax], edx
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
cmp byte [eax], 0x74
jne 0x659e61
add eax, 3
mov dword [ecx], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
mov dl, byte [eax]
inc eax
mov dword [ecx], eax
xor ecx, ecx
mov eax, dword [esi + 0x10]
cmp dl, 0x32
sete cl
mov dword [eax], ecx
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
movzx ecx, byte [eax]
mov eax, dword [esi + 0x14]
mov dword [eax], ecx
mov eax, dword [esi + 0xc]
inc dword [eax]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
movzx ecx, byte [eax]
mov eax, dword [esi + 0x18]
mov dword [eax], ecx
mov eax, dword [esi + 0xc]
inc dword [eax]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov edx, dword [eax]
mov eax, dword [esi + 0x1c]
add edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
mov eax, dword [esi + 0x14]
mov edi, dword [eax]
cmp ecx, edi
jl 0x65a2b1
mov eax, dword [esi + 0x10]
mov edx, ecx
cmp dword [eax], 0
jne 0x659ef1
mov eax, dword [esi + 0x18]
mov ebx, dword [eax]
lea eax, [ebx + edi]
cmp ecx, eax
jle 0x659ef1
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
sub edx, ebx
sub edx, edi
lea eax, [edx*8]
add dword [ecx + 0x58], eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
sub dword [eax + 0x4c], edx
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
mov eax, dword [esi + 0x28]
sub ecx, edx
mov dword [eax], ecx
test ecx, ecx
jle 0x659f51
mov eax, dword [esi + 0x24]
mov edi, dword [esi + 0x28]
mov ecx, dword [eax]
mov ebx, dword [edi]
mov edx, dword [ecx + 0x58]
lea eax, [ebx*8]
sub edx, eax
cmp edx, dword [ecx + 0x50]
jb 0x65a2bb
lea eax, [ebx - 1]
mov dword [edi], eax
test eax, eax
js 0x659f51
nop dword [eax]
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
add dword [eax + 0x58], 0xfffffff8
mov eax, dword [eax + 0x58]
mov dword [eax], 2
mov dword [eax + 4], 0x20000
mov ecx, dword [esi + 0x28]
sub dword [ecx], 1
jns 0x659f30
mov eax, dword [esi + 0x10]
cmp dword [eax], 0
je 0x659fed
mov eax, dword [esi + 0x20]
mov edx, 0
mov ecx, dword [esi + 0x1c]
mov eax, dword [eax]
sub eax, dword [ecx]
cmovns edx, eax
sub edx, 1
mov dword [esp + 0x10], edx
js 0x659fc2
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
mov ebp, dword [ecx + 0x58]
lea eax, [ebp + 8]
mov dword [ecx + 0x58], eax
mov edi, dword [esi + 0x2c]
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x659f95
mov ebx, dword [ebx + 4]
jmp 0x659f97
xor ebx, ebx
xor ecx, ecx
lea eax, [ebx + 1]
test eax, eax
cmovs eax, ecx
lea ecx, [edi + 8]
push eax
call fcn.004cbefe
sub dword [esp + 0x10], 1
mov ecx, dword [edi + 8]
mov eax, dword [ebp]
mov dword [ecx + ebx*8 + 0x10], eax
mov eax, dword [ebp + 4]
mov dword [ecx + ebx*8 + 0x14], eax
jns 0x659f78
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
add dword [eax + 0x58], 0xfffffff8
mov eax, dword [eax + 0x58]
mov dword [eax], 3
mov dword [eax + 4], 0x20000
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x30]
mov eax, dword [eax]
mov eax, dword [eax + 0x58]
mov dword [ecx], eax
mov eax, dword [esi + 0x1c]
inc dword [eax]
mov eax, dword [esi + 0x24]
mov edi, dword [eax]
mov ebx, dword [edi + 0x58]
lea eax, [ebx - 0x58]
cmp eax, dword [edi + 0x50]
jb 0x65a2c0
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x34]
lea eax, [ebx - 8]
mov dword [edi + 0x58], eax
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x34]
mov eax, dword [eax]
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x4c]
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
add dword [eax + 0x58], 0xfffffff8
mov eax, dword [eax + 0x58]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
mov ecx, dword [eax + 0x58]
mov eax, dword [esi + 0x38]
sub ecx, 0x48
mov dword [eax], ecx
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
mov ecx, dword [eax]
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
mov ecx, dword [eax + 0x54]
sub ecx, dword [eax + 0x5c]
mov eax, dword [esi + 0x38]
inc ecx
mov eax, dword [eax]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
mov edx, dword [eax + 0x78]
mov ecx, dword [eax + 0x7c]
cmp edx, 2
jne 0x65a09d
cmp ecx, 0x20000
jne 0x65a09d
mov eax, dword [eax + 0x44]
test eax, eax
je 0x65a090
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x65a090
lea eax, [eax + ecx*4]
add eax, 8
jmp 0x65a095
mov eax, 0x948fa8
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x38]
mov eax, dword [eax]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x38]
mov edx, dword [eax]
mov ecx, dword [ecx]
mov eax, dword [edx + 0x70]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0x74]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x38]
mov edx, dword [eax]
mov ecx, dword [ecx]
mov eax, dword [edx + 0x60]
mov dword [ecx + 0x18], eax
mov eax, dword [edx + 0x64]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
mov ecx, dword [eax + 0x6c]
sub ecx, dword [eax + 0x68]
mov eax, dword [esi + 0x38]
mov eax, dword [eax]
mov dword [eax + 0x28], ecx
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x40]
mov ecx, dword [eax]
mov eax, dword [edx]
mov dword [ecx + 0x2c], eax
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x34]
mov edx, dword [eax]
mov eax, dword [ecx]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x24], eax
mov eax, dword [esi + 0x38]
mov eax, dword [eax]
mov dword [eax + 0x30], 0x924fc8
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
mov eax, dword [esi + 0x38]
add ecx, 2
mov eax, dword [eax]
mov dword [eax + 0x40], ecx
xor ecx, ecx
mov eax, dword [esi + 0x38]
mov edx, dword [eax]
mov eax, dword [esi + 0x24]
add edx, 0x30
or ecx, 0x80000
mov eax, dword [eax]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], ecx
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x38]
mov ecx, dword [eax]
mov eax, dword [edx]
mov dword [ecx + 0x5c], eax
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x38]
mov ecx, dword [eax]
mov eax, dword [edx]
mov dword [ecx + 0x58], eax
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x24]
mov edx, dword [eax]
mov ecx, dword [ecx]
mov eax, dword [edx + 0x50]
mov dword [ecx + 0x78], eax
mov eax, dword [edx + 0x54]
mov dword [ecx + 0x7c], eax
mov eax, dword [esi + 0x24]
mov ecx, dword [esi]
mov edx, dword [eax]
mov eax, dword [ecx]
mov dword [edx + 0x60], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x64], eax
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [edx]
mov dword [ecx + 0x68], eax
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0xc]
mov ecx, dword [eax]
mov eax, dword [edx]
mov dword [ecx + 0x6c], eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov ebp, dword [eax + 0x1cc]
test ebp, ebp
je 0x65a200
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [eax]
mov eax, dword [esi]
sub edx, dword [ecx]
mov ebx, dword [eax + 4]
mov edi, dword [eax]
push ebx
push edi
call fcn.0065c980
mov ecx, dword [edi + 0x18]
add esp, 8
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x65a1db
mov ecx, dword [eax + 4]
jmp 0x65a1de
mov ecx, dword [ecx + 4]
add edx, 0xfffffffe
push ebx
add edx, ecx
push edi
call fcn.0065c980
mov edx, dword [ebp]
add esp, 8
mov ecx, ebp
push eax
push dword [esp + 0x14]
push ebx
push edi
push dword [esp + 0x24]
call dword [edx + 0x34]
mov eax, dword [esi + 0x30]
cmp dword [eax], 0
je 0x65a2a9
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 8]
test eax, eax
je 0x65a21b
mov edx, dword [eax + 4]
jmp 0x65a21d
xor edx, edx
mov ecx, dword [esi + 0x24]
push 0x20000
push 2
mov ecx, dword [ecx]
call fcn.00692390
mov ecx, dword [esi + 0x2c]
add esp, 8
mov ebp, eax
mov dword [esp + 0x14], edx
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x65a246
mov ecx, dword [ecx + 4]
jmp 0x65a248
xor ecx, ecx
mov eax, dword [ebp + 0x30]
lea ecx, [ecx + 2]
lea edx, [eax + ecx*8]
xor ecx, ecx
lea ebx, [ecx + 0x10]
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 8]
test eax, eax
je 0x65a265
mov edi, dword [eax + 4]
jmp 0x65a267
xor edi, edi
cmp ecx, edi
jge 0x65a29b
sub edx, 8
test eax, eax
je 0x65a277
mov edi, dword [eax + 4]
jmp 0x65a27b
xor edi, edi
xor eax, eax
test ecx, ecx
js 0x65a286
cmp ecx, edi
lea edi, [eax + ebx]
jl 0x65a28b
mov edi, 0x94bab0
mov eax, dword [edi]
inc ecx
mov dword [edx], eax
add ebx, 8
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
jmp 0x65a256
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [eax], ebp
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx]
call fcn.0065ad60
call fcn.0065acd0
mov ecx, edi
call fcn.0065acd0
int3