Function at 0x52a41c
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 0x52a449
mov edi, 0x615c60
mov ecx, 2
mov esi, dword [esp + 0x74]
repe cmpsb byte [esi], byte es:[edi]
jne 0x52a58c
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x38], eax
mov edx, dword [eax + 0xe8]
mov edi, dword [ebx + 0xf8]
test edx, edx
je 0x52a48a
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 0x52a578
mov eax, dword [esp + 0x38]
test edi, edi
je 0x52a4cf
lea esi, [esp + 0x44]
jmp 0x52a4c1
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 0x52a578
mov eax, dword [esp + 0x38]
test edi, edi
je 0x52a4cf
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x52a494
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x52a4c1
mov ecx, dword [eax + 0x100]
test ecx, ecx
je 0x52a4f7
mov edi, 0x615c60
mov ecx, 2
mov esi, dword [esp + 0x74]
repe cmpsb byte [esi], byte es:[edi]
je 0x52a4f7
test ebp, 2
je 0x52a5a5
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.005295ac
mov eax, dword [edi]
test eax, eax
je 0x52a790
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x52a790
mov dword [esp + 4], edx
lea edx, [eax + 0x60]
mov dword [esp], edx
call dword [eax + 0x8c]
test eax, eax
je 0x52a790
mov eax, dword [eax + 0xc]
cmp edi, esi
je 0x52a70c
add edi, 4
test eax, eax
je 0x52a533
jmp 0x52a584
test eax, eax
jne 0x52a797
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 0x52a79e
mov eax, dword [esp + 0x78]
mov dword [esp + 0x38], eax
jmp 0x52a450
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.005295ac
mov eax, dword [esp + 0x40]
test eax, eax
je 0x52a82b
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
test edx, edx
je 0x52a607
cmp eax, ecx
je 0x52a7e8
test byte [eax + 0x54], 1
je 0x52a7e8
mov eax, dword [ecx + 0x100]
test eax, eax
jle 0x52a697
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 0x52a687
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.005295ac
mov eax, dword [esp + 0x40]
test eax, eax
je 0x52a683
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x52a683
test byte [eax + 0x54], 1
je 0x52a7ac
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 0x100], ebp
jg 0x52a7db
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.005295ac
mov eax, dword [esp + 0x40]
test eax, eax
je 0x52a7e1
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x52a7e1
test byte [eax + 0x54], 1
jne 0x52a7e1
mov dword [esp + 4], edx
lea edx, [eax + 0x60]
mov dword [esp], edx
call dword [eax + 0x8c]
test eax, eax
je 0x52a7e1
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x52a584
and ebp, 0x200
je 0x52a584
mov dword [esp], ebx
mov dword [esp + 0x28], eax
call fcn.004e10c4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x615e98
mov edx, dword [esp + 0x74]
mov dword [esp + 8], edx
mov dword [esp + 4], str.unknown_command__
mov dword [esp], ebx
call fcn.004e0ec4
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], 0x615e1f
mov dword [esp], ebx
call fcn.004e13a4
mov eax, dword [esp + 0x28]
jmp 0x52a584
xor eax, eax
jmp 0x52a564
xor eax, eax
jmp 0x52a584
mov eax, dword [ebx + 0x64]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
jmp 0x52a450
mov dword [esp + 4], ecx
lea ecx, [eax + 0x60]
mov dword [esp], ecx
call dword [eax + 0x8c]
test eax, eax
je 0x52a683
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 0x100], ebp
jle 0x52a81a
test eax, eax
jne 0x52a584
inc ebp
jmp 0x52a624
xor eax, eax
jmp 0x52a714
mov dword [esp + 4], edx
lea edx, [eax + 0x60]
mov dword [esp], edx
call dword [eax + 0x8c]
test eax, eax
je 0x52a82b
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0x100]
test edx, edx
jle 0x52a81e
test eax, eax
je 0x52a615
jmp 0x52a584
mov ebp, dword [esp + 0x2c]
test eax, eax
jne 0x52a584
jmp 0x52a697
mov ecx, dword [esp + 0x38]
jmp 0x52a607