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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x3c], 0
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x6664cda3
mov dword [esp], eax
call dword [0x6667ce50]
cmp byte [ebx + 0x5b], 0
je 0x6664d020
lea edx, [esp + 0x3c]
mov eax, ebx
call fcn.6662ce60
mov dword [esp + 0x18], eax
test eax, eax
je 0x6664cf00
mov dword [esp + 0x1c], 0
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [esp + 0x20], 0
xor edi, edi
cmp byte [ebx + 0x5b], 0
je 0x6664d030
mov eax, dword [esp + 0x70]
test eax, eax
je 0x6664cdf8
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x20]
mov dword [eax], ebp
mov ebp, dword [esp + 0x74]
test ebp, ebp
je 0x6664ce06
mov eax, dword [esp + 0x74]
mov dword [eax], esi
mov esi, dword [esp + 0x78]
test esi, esi
je 0x6664ce14
mov eax, dword [esp + 0x78]
mov dword [eax], edx
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x6664ce22
mov eax, dword [esp + 0x7c]
mov dword [eax], ecx
mov eax, dword [esp + 0x80]
test eax, eax
je 0x6664ce3a
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
or edi, eax
je 0x6664ceb8
test eax, eax
setne al
mov esi, eax
test edx, edx
mov ecx, 0
mov eax, 0x6667eaa2
mov dword [esp + 0xc], edx
cmove eax, ecx
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.665b31b0
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x6664ce83
mov eax, ebx
call fcn.665926e0
cmp byte [ebx + 0x53], 0
jne 0x6664d008
mov eax, esi
xor edi, edi
test al, al
jne 0x6664d008
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x6664cea9
mov dword [esp], eax
call dword [0x6667ce58]
add esp, 0x4c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
test edx, edx
je 0x6664cec3
mov eax, ebx
call fcn.665926e0
mov eax, dword [esp + 0x6c]
mov dword [esp], ebx
mov esi, 1
mov dword [esp + 4], str.no_such_table_column:__s._s
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
call fcn.665bc610
mov dword [esp + 0x18], 1
mov dword [esp + 0x3c], eax
mov edx, eax
jmp 0x6664ce4d
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov eax, ebx
call fcn.665aabb0
mov edi, eax
test eax, eax
je 0x6664cdc4
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x6664cdc4
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x6664d0a2
movsx eax, word [edi + 0x2a]
mov ecx, eax
test eax, eax
jle 0x6664d0fe
xor eax, eax
mov dword [esp + 0x28], edi
mov ebp, dword [edi + 4]
mov dword [esp + 0x60], ebx
mov edi, eax
mov ebx, ecx
lea esi, [esi]
nop
mov ecx, dword [ebp]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebx
jmp 0x6664cf89
movzx ebx, byte [esi + 0x66690a80]
cmp byte [eax + 0x66690a80], bl
jne 0x6664d050
add ecx, 1
add edx, 1
movzx eax, byte [ecx]
movzx esi, byte [edx]
cmp eax, esi
jne 0x6664cf70
test eax, eax
jne 0x6664cf83
movzx ebp, word [ebp + 0x10]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x28]
test ebp, 4
je 0x6664cfc5
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
lea eax, [esi + eax + 1]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
xor edx, edx
mov ecx, ebp
mov dword [esp + 0x1c], 0
cmp byte [eax + 0xc], 0
mov esi, dword [eax + 8]
setne dl
movsx eax, word [edi + 0x28]
and ecx, 1
cmp eax, dword [esp + 0x2c]
je 0x6664d0ec
test esi, esi
jne 0x6664cddc
mov esi, str.BINARY
jmp 0x6664cddc
mov edx, dword [esp + 0x18]
mov eax, ebx
call fcn.66593f80
mov edi, eax
jmp 0x6664ce99
mov eax, ebx
call fcn.665936c0
jmp 0x6664cdad
mov eax, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
call fcn.66592000
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
jmp 0x6664cde6
mov ebx, dword [esp + 0x1c]
add edi, 1
add ebp, 0x14
cmp edi, ebx
jne 0x6664cf58
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x60]
test byte [edi + 0x24], 0x80
jne 0x6664cdc4
mov eax, dword [esp + 0x6c]
call fcn.6659dd60
test eax, eax
je 0x6664cdc4
movsx eax, word [edi + 0x28]
mov dword [esp + 0x2c], eax
test eax, eax
js 0x6664d0a2
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x6664d0c3
mov dword [esp + 0x1c], 0
xor edx, edx
mov ecx, 1
mov esi, str.BINARY
mov dword [esp + 0x20], str.INTEGER
jmp 0x6664cddc
mov eax, dword [esp + 0x24]
movzx ebp, word [eax + 0x10]
test ebp, 4
jne 0x6664cfaf
mov eax, dword [esp + 0x24]
xor edx, edx
mov ecx, ebp
cmp byte [eax + 0xc], 0
mov esi, dword [eax + 8]
setne dl
and ecx, 1
mov ebp, dword [edi + 0x24]
shr ebp, 3
and ebp, 1
mov dword [esp + 0x1c], ebp
jmp 0x6664cff0
je 0x6664d06a
jmp 0x6664d0a2