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

Disassembly:
push ebp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x8c
mov eax, dword [eax + 0x20]
mov dword [esp + 0x1c], edx
mov ebx, dword [eax]
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x4c], eax
cmp byte [esi + 0x2b], 2
je 0x6658f639
mov eax, dword [esi + 4]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x3c]
mov ecx, dword [ebx + 0x30]
lea edx, [esp + 0x50]
lea edi, [esp + 0x20]
mov eax, dword [ebx + 0x5c]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x54], ecx
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x58], ecx
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 0x40]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x64], ecx
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x68], ecx
mov ecx, dword [ebx + 0x4c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebx + 0x50]
mov dword [esp + 0x70], ecx
mov ecx, dword [ebx + 0x54]
mov dword [esp + 0x74], ecx
mov ecx, dword [ebx + 0x58]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x30
mov dword [esp], edi
mov dword [esp + 0x78], ecx
call sub.msvcrt.dll_memcmp
mov edx, eax
mov eax, 1
test edx, edx
jne 0x6658f6f5
cmp byte [esp + 0x2c], 0
je 0x6658f6f5
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
lea ebp, [esp + 0x48]
add ecx, edx
lea esi, [esi]
mov ebx, dword [eax]
add eax, 8
add ebx, ecx
add edx, ebx
mov ebx, dword [eax - 4]
add ebx, edx
add ecx, ebx
cmp eax, ebp
jne 0x6658f6d0
mov eax, 1
cmp dword [esp + 0x48], edx
jne 0x6658f6f5
cmp dword [esp + 0x4c], ecx
je 0x6658f700
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebx, [esi + 0x34]
mov dword [esp + 8], 0x30
mov dword [esp + 4], edi
mov dword [esp], ebx
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x6658f6f5
mov eax, dword [esp + 0x1c]
mov dword [eax], 1
mov eax, dword [edi]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x10]
movzx edx, word [esi + 0x42]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x60], eax
mov eax, edx
and edx, 0xfe00
shl eax, 0x10
and eax, 0x10000
or eax, edx
mov dword [esi + 0x24], eax
xor eax, eax
jmp 0x6658f6f5