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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x7c]
test ebp, 1
jne 0x52c705
mov edi, 0x6180c0
mov ecx, 2
mov esi, dword [esp + 0x74]
repe cmpsb byte [esi], byte es:[edi]
jne 0x52c848
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x38], eax
mov edx, dword [eax + 0xe8]
mov edi, dword [ebx + 0xf8]
test edx, edx
je 0x52c746
lea ecx, [esp + 0x44]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp], ebx
call edx
cmp eax, 4
jne 0x52c834
mov eax, dword [esp + 0x38]
test edi, edi
je 0x52c78b
lea esi, [esp + 0x44]
jmp 0x52c77d
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov dword [esp], ebx
call ecx
mov edi, dword [edi + 0x10]
cmp eax, 4
jne 0x52c834
mov eax, dword [esp + 0x38]
test edi, edi
je 0x52c78b
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x52c750
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x52c77d
mov ecx, dword [eax + 0x100]
test ecx, ecx
je 0x52c7b3
mov edi, 0x6180c0
mov ecx, 2
mov esi, dword [esp + 0x74]
repe cmpsb byte [esi], byte es:[edi]
je 0x52c7b3
test ebp, 2
je 0x52c861
lea eax, [esp + 0x3c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x18], eax
lea edi, [esp + 0x48]
lea esi, [esp + 0x4c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebp
mov edx, dword [esp + 0x78]
mov dword [esp + 8], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0052b868
mov eax, dword [edi]
test eax, eax
je 0x52ca4c
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x52ca4c
mov dword [esp + 4], edx
lea edx, [eax + 0x60]
mov dword [esp], edx
call dword [eax + 0x8c]
test eax, eax
je 0x52ca4c
mov eax, dword [eax + 0xc]
cmp edi, esi
je 0x52c9c8
add edi, 4
test eax, eax
je 0x52c7ef
jmp 0x52c840
test eax, eax
jne 0x52ca53
mov eax, dword [esp + 0x44]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x78]
test esi, esi
je 0x52ca5a
mov eax, dword [esp + 0x78]
mov dword [esp + 0x38], eax
jmp 0x52c70c
lea edx, [esp + 0x3c]
mov dword [esp + 0x1c], edx
lea esi, [esp + 0x44]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
lea edx, [esp + 0x40]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 2
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0052b868
mov eax, dword [esp + 0x40]
test eax, eax
je 0x52cae7
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
test edx, edx
je 0x52c8c3
cmp eax, ecx
je 0x52caa4
test byte [eax + 0x54], 1
je 0x52caa4
mov eax, dword [ecx + 0x100]
test eax, eax
jle 0x52c953
mov edi, 1
mov dword [esp + 0x2c], ebp
mov ebp, edi
mov edi, dword [esp + 0x74]
lea eax, [ebp + 0xfffffff]
shl eax, 4
add eax, dword [ecx + 0x104]
mov eax, dword [eax]
test eax, eax
je 0x52c943
lea edx, [esp + 0x3c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
lea edx, [esp + 0x40]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 2
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.0052b868
mov eax, dword [esp + 0x40]
test eax, eax
je 0x52c93f
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x52c93f
test byte [eax + 0x54], 1
je 0x52ca68
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 0x100], ebp
jg 0x52ca97
mov ebp, dword [esp + 0x2c]
lea eax, [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
lea edx, [esp + 0x40]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0052b868
mov eax, dword [esp + 0x40]
test eax, eax
je 0x52ca9d
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x52ca9d
test byte [eax + 0x54], 1
jne 0x52ca9d
mov dword [esp + 4], edx
lea edx, [eax + 0x60]
mov dword [esp], edx
call dword [eax + 0x8c]
test eax, eax
je 0x52ca9d
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x52c840
and ebp, 0x200
je 0x52c840
mov dword [esp], ebx
mov dword [esp + 0x28], eax
call fcn.004e0f44
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x6182f8
mov edx, dword [esp + 0x74]
mov dword [esp + 8], edx
mov dword [esp + 4], str.unknown_command__
mov dword [esp], ebx
call fcn.004e0d44
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x74]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.COMMAND
mov dword [esp + 8], str.LOOKUP
mov dword [esp + 4], 0x61827f
mov dword [esp], ebx
call fcn.004e1224
mov eax, dword [esp + 0x28]
jmp 0x52c840
xor eax, eax
jmp 0x52c820
xor eax, eax
jmp 0x52c840
mov eax, dword [ebx + 0x64]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
jmp 0x52c70c
mov dword [esp + 4], ecx
lea ecx, [eax + 0x60]
mov dword [esp], ecx
call dword [eax + 0x8c]
test eax, eax
je 0x52c93f
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 0x100], ebp
jle 0x52cad6
test eax, eax
jne 0x52c840
inc ebp
jmp 0x52c8e0
xor eax, eax
jmp 0x52c9d0
mov dword [esp + 4], edx
lea edx, [eax + 0x60]
mov dword [esp], edx
call dword [eax + 0x8c]
test eax, eax
je 0x52cae7
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0x100]
test edx, edx
jle 0x52cada
test eax, eax
je 0x52c8d1
jmp 0x52c840
mov ebp, dword [esp + 0x2c]
test eax, eax
jne 0x52c840
jmp 0x52c953
mov ecx, dword [esp + 0x38]
jmp 0x52c8c3