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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov edi, edx
mov ebx, dword [ebp + 8]
mov esi, 0x79746573
cmp dword [edi + 8], 0
je 0x659572
mov dword [esp + 0x3c], ecx
nop word [eax + eax]
mov eax, ecx
mov ecx, dword [eax + 0x1d8]
test ecx, ecx
jne 0x659410
mov eax, dword [eax + 0x1ec]
mov ecx, 0x736f6d65
mov dword [esp + 0x4c], ecx
mov ecx, 0x70736575
mov dword [esp + 0x48], ecx
mov ecx, eax
mov edx, 0x6e646f6d
xor ecx, edx
mov edx, 0x646f7261
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ecx
mov ecx, 0x6c796765
mov dword [esp + 0x5c], ecx
mov ecx, 0x6e657261
mov dword [esp + 0x58], ecx
xor eax, esi
mov ecx, 0x74656462
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
xor eax, eax
cmp byte [ebx], 0
je 0x65949a
xor eax, eax
nop dword [eax]
cmp byte [ebx + eax + 1], 0
lea eax, [eax + 1]
jne 0x659490
mov dword [esp], eax
lea esi, [esp + 0x48]
mov ecx, esi
mov edx, ebx
call fcn.0065ae00
mov ecx, esi
call fcn.0065afa0
mov edx, dword [edi]
mov dword [esp + 0x34], edx
mov esi, dword [edi + 8]
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], edi
lea edi, [esi - 1]
mov ebx, edi
and ebx, eax
mov edx, dword [edx + ebx*4]
test edx, edx
je 0x659687
mov ecx, dword [ebp + 8]
mov cl, byte [ecx]
mov byte [esp + 0x28], cl
neg esi
and esi, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
shr edi, 2
mov dword [esp + 0x2c], edi
mov eax, dword [ebp + 8]
inc eax
mov dword [esp + 0x24], eax
xor eax, eax
movzx ecx, cl
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], edx
mov ecx, dword [edx]
movzx edx, byte [ecx]
cmp dword [esp + 0x44], edx
jne 0x659534
inc ecx
mov esi, dword [esp + 0x24]
mov dl, byte [esp + 0x28]
nop dword [eax]
test dl, dl
je 0x65967e
movzx edx, byte [esi]
movzx edi, byte [ecx]
inc esi
inc ecx
cmp edx, edi
je 0x659520
test al, al
mov edx, dword [esp + 0x2c]
jne 0x65954f
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
dec ecx
mov eax, dword [esp + 0x20]
shr eax, cl
and eax, edx
or eax, 1
movzx ecx, al
sub ebx, ecx
mov ecx, 0
mov edx, dword [esp + 0x30]
cmovb ecx, edx
add ebx, ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + ebx*4]
test edx, edx
jne 0x659501
jmp 0x65968b
xor eax, eax
cmp dword [ebp + 0xc], 0
je 0x659957
mov dword [esp + 0x3c], ecx
mov byte [edi + 4], 6
mov dword [edi + 8], 0x40
mov eax, dword [edi + 0x10]
mov dword [esp], 0x100
call dword [eax]
mov dword [edi], eax
test eax, eax
je 0x65990a
lea ecx, [edi + 0x10]
mov dword [esp + 0x38], ecx
mov dword [esp], eax
mov dword [esp + 8], 0x100
mov dword [esp + 4], 0
call fcn.007c51a0
mov ecx, dword [esp + 0x3c]
nop word cs:[eax + eax]
mov eax, ecx
mov ecx, dword [eax + 0x1d8]
test ecx, ecx
jne 0x6595d0
mov eax, dword [eax + 0x1ec]
mov ecx, 0x736f6d65
mov dword [esp + 0x4c], ecx
mov ecx, 0x70736575
mov dword [esp + 0x48], ecx
mov ecx, 0x646f7261
mov dword [esp + 0x54], ecx
mov ecx, 0x6e646f6d
xor ecx, eax
mov dword [esp + 0x50], ecx
mov ecx, 0x6c796765
mov dword [esp + 0x5c], ecx
mov ecx, 0x6e657261
mov dword [esp + 0x58], ecx
xor esi, eax
mov eax, 0x74656462
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], esi
lea eax, [esp + 0x68]
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
xor eax, eax
cmp byte [ebx], 0
je 0x65965a
xor eax, eax
nop word [eax + eax]
cmp byte [ebx + eax + 1], 0
lea eax, [eax + 1]
jne 0x659650
mov dword [esp], eax
lea esi, [esp + 0x48]
mov ecx, esi
mov edx, ebx
call fcn.0065ae00
mov ecx, esi
call fcn.0065afa0
mov esi, edi
mov ebx, dword [esi + 8]
dec ebx
and ebx, eax
jmp 0x6598fd
mov eax, dword [esp + 0x38]
jmp 0x659957
mov dword [esp + 0x1c], eax
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x659906
mov esi, dword [esp + 0x40]
mov edi, dword [esi + 4]
mov eax, dword [esi + 0xc]
lea ecx, [edi - 1]
shr eax, cl
test eax, eax
je 0x659915
mov ecx, edi
inc cl
mov dword [esp + 0x20], ecx
mov edi, 1
shl edi, cl
lea ecx, [edi*4]
mov dword [esp + 0x38], ecx
mov eax, dword [esi + 0x10]
mov dword [esp], ecx
call dword [eax]
mov ebx, eax
test ebx, ebx
mov eax, 0
je 0x659957
mov eax, dword [esp + 0x20]
movzx eax, al
mov dword [esp + 0x18], eax
lea eax, [edi - 1]
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp], ebx
mov dword [esp + 4], 0
call fcn.007c51a0
mov eax, dword [esi + 8]
test eax, eax
je 0x659873
mov ecx, dword [esp + 0x44]
neg ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x30]
shr ecx, 2
mov dword [esp + 0x24], ecx
xor edx, edx
nop word [eax + eax]
mov ecx, dword [esi]
mov ecx, dword [ecx + edx*4]
test ecx, ecx
je 0x65986a
mov dword [esp + 0x38], edx
mov edx, dword [ecx]
mov ecx, dword [esp + 0x3c]
nop word [eax + eax]
mov eax, ecx
mov ecx, dword [eax + 0x1d8]
test ecx, ecx
jne 0x659760
mov eax, dword [eax + 0x1ec]
mov ecx, 0x736f6d65
mov dword [esp + 0x4c], ecx
mov ecx, 0x70736575
mov dword [esp + 0x48], ecx
mov ecx, eax
mov esi, 0x6e646f6d
xor ecx, esi
mov esi, 0x646f7261
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ecx
mov ecx, 0x6c796765
mov dword [esp + 0x5c], ecx
mov ecx, 0x6e657261
mov dword [esp + 0x58], ecx
mov ecx, 0x79746573
xor eax, ecx
mov ecx, 0x74656462
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
xor eax, eax
cmp byte [edx], 0
je 0x6597fa
xor eax, eax
nop word cs:[eax + eax]
cmp byte [edx + eax + 1], 0
lea eax, [eax + 1]
jne 0x6597f0
mov dword [esp], eax
lea esi, [esp + 0x48]
mov ecx, esi
call fcn.0065ae00
mov ecx, esi
call fcn.0065afa0
mov edx, eax
and edx, dword [esp + 0x30]
cmp dword [ebx + edx*4], 0
je 0x659855
mov edi, ebx
and eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
shr eax, cl
and eax, dword [esp + 0x24]
or eax, 1
xor ebx, ebx
test bl, bl
mov cl, al
je 0x659838
mov cl, bl
movzx ebx, cl
cmp edx, ebx
mov esi, 0
cmovb esi, dword [esp + 0x44]
add edx, esi
sub edx, ebx
cmp dword [edi + edx*4], 0
mov bl, cl
jne 0x659830
mov ebx, edi
lea eax, [ebx + edx*4]
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ecx, dword [esi]
mov ecx, dword [ecx + edx*4]
mov dword [eax], ecx
mov eax, dword [esi + 8]
inc edx
cmp edx, eax
jb 0x659740
mov dword [esp + 0x34], ebx
lea eax, [esi + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [esp], eax
call dword [ecx + 8]
mov dword [esi], ebx
mov eax, dword [esp + 0x20]
mov byte [esi + 4], al
mov edi, dword [esp + 0x44]
mov dword [esi + 8], edi
mov eax, ebx
mov edx, dword [esp + 0x30]
mov ebx, edx
mov esi, dword [esp + 0x1c]
and ebx, esi
cmp dword [eax + ebx*4], 0
je 0x6598f9
mov eax, edi
neg eax
and esi, eax
mov ecx, dword [esp + 0x18]
dec ecx
shr esi, cl
shr edx, 2
and edx, esi
or edx, 1
xor ecx, ecx
nop word cs:[eax + eax]
test cl, cl
mov al, dl
mov esi, edx
je 0x6598da
mov al, cl
movzx ecx, al
cmp ebx, ecx
mov edx, 0
cmovb edx, edi
add ebx, edx
sub ebx, ecx
mov ecx, dword [esp + 0x34]
cmp dword [ecx + ebx*4], 0
mov cl, al
mov edx, esi
jne 0x6598d0
mov esi, dword [esp + 0x40]
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x38]
jmp 0x659918
xor eax, eax
jmp 0x659957
mov dword [edi + 8], 0
xor eax, eax
jmp 0x659957
lea eax, [esi + 0x10]
mov eax, dword [eax]
mov dword [esp], edx
mov edi, edx
call dword [eax]
mov ecx, dword [esi]
mov dword [ecx + ebx*4], eax
mov eax, dword [esi]
mov ecx, dword [eax + ebx*4]
xor eax, eax
test ecx, ecx
je 0x659957
mov dword [esp + 8], edi
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.007c51a0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
inc dword [esi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret