Function at 0x52925b
Capabilities:
Terminate process

Disassembly:
sub esp, 0x18
mov ecx, dword [esp + 0x24]
push ebp
push esi
lea eax, [esp + 0x10]
mov dword [esp + 8], eax
push edi
mov eax, str.client
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x20]
push ecx
mov esi, 1
push edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], 0
call fcn.0052d6f0
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, esi
je 0x529243
mov eax, dword [esp + 0xc]
lea ebp, [eax + 4]
mov eax, dword [ebp]
test eax, eax
je 0x529243
mov esi, dword [esp + 0x28]
cmp byte [eax], 0x2d
jne case.0x529016.13
cmp byte [eax + 1], 0x2d
jne case.0x529016.13
push 0x3d
push eax
call fcn.0052e1b0
mov cl, byte [eax]
add esp, 8
xor edi, edi
test cl, cl
je 0x528fce
lea edi, [eax + 1]
mov byte [eax], 0
mov eax, dword [ebp]
push 0x5f
push eax
call fcn.0052e1b0
mov cl, byte [eax]
add esp, 8
test cl, cl
je 0x528ff6
push 0x5f
push eax
mov byte [eax], 0x2d
call fcn.0052e1b0
mov cl, byte [eax]
add esp, 8
test cl, cl
jne 0x528fe2
mov ecx, dword [ebp]
push 2
add ecx, 2
push 0x6a06b0
push ecx
call fcn.0052e060
add esp, 0xc
dec eax
cmp eax, 0x1f
ja case.0x529016.13
jmp dword [eax*4 + 0x529274]
test edi, edi
je case.0x529016.13
push edi
call fcn.00517758
add esp, 4
mov dword [esi + 0xc], eax
jmp case.0x529016.13
test edi, edi
je case.0x529016.13
mov edx, dword [esi + 0x24]
push edx
call fcn.0052d3f0
push 0x10
push edi
call fcn.0052d440
add esp, 0xc
mov dword [esi + 0x24], eax
jmp case.0x529016.13
mov eax, dword [esi + 0x14]
or eax, 0x20
mov byte [esi + 0x5d], 1
mov dword [esi + 0x14], eax
jmp case.0x529016.13
test edi, edi
je case.0x529016.13
mov eax, dword [esi + 0x20]
push eax
call fcn.0052d3f0
push 0x10
push edi
call fcn.0052d440
add esp, 0xc
mov dword [esi + 0x20], eax
jmp case.0x529016.13
mov dword [esi + 0x10], 3
test edi, edi
je case.0x529016.13
push edi
call fcn.00517758
add esp, 4
mov dword [esi], eax
jmp case.0x529016.13
test edi, edi
je case.0x529016.13
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.0052d3f0
push 0x10
push edi
call fcn.0052d440
add esp, 0xc
mov dword [esi + 0x1c], eax
jmp case.0x529016.13
push edi
push esi
call fcn.00529300
add esp, 8
jmp case.0x529016.13
test edi, edi
je case.0x529016.13
mov edx, dword [esi + 0x18]
push edx
call fcn.0052d3f0
push 0x10
push edi
call fcn.0052d440
add esp, 0xc
mov dword [esi + 0x18], eax
jmp case.0x529016.13
test edi, edi
je case.0x529016.13
mov eax, dword [esi + 0x28]
push eax
call fcn.0052d3f0
push 0x10
push edi
call fcn.0052d440
add esp, 0xc
mov dword [esi + 0x28], eax
jmp case.0x529016.13
test edi, edi
jne 0x529133
mov edi, str.d:t:o__tmp_client.trace
push edi
call fcn.004dbc30
jmp case.0x529016.13
or dword [esi + 0x14], 2
jmp case.0x529016.13
mov ecx, dword [esi + 0x38]
push ecx
call fcn.0052d3f0
push 0x10
push edi
call fcn.0052d440
add esp, 0xc
mov dword [esi + 0x38], eax
jmp case.0x529016.13
mov edx, dword [esi + 0x3c]
push edx
call fcn.0052d3f0
push 0x10
push edi
call fcn.0052d440
add esp, 0xc
mov dword [esi + 0x3c], eax
jmp case.0x529016.13
or dword [esi + 0x14], 0x400
jmp case.0x529016.13
test edi, edi
je 0x5291a8
push edi
call fcn.00517758
add esp, 4
test eax, eax
jne 0x5291a8
and dword [esi + 0x14], 0xffffff7f
jmp case.0x529016.13
or dword [esi + 0x14], 0x80
jmp case.0x529016.13
and dword [esi + 0x14], 0x80
jmp case.0x529016.13
mov byte [esi + 0x5f], 1
jmp case.0x529016.13
mov byte [esi + 0x61], 0
jmp case.0x529016.13
mov byte [esi + 0x60], 1
jmp case.0x529016.13
test edi, edi
je case.0x529016.13
push edi
call fcn.00517758
add esp, 4
mov dword [esi + 0x58], eax
jmp case.0x529016.13
push 0
push 0x6a06d0
push edi
call fcn.0052e060
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esi + 0x10], eax
je 0x529257
jmp case.0x529016.13
mov eax, dword [esi + 0x54]
cmp eax, dword [str.MYSQL]
je 0x52920f
push eax
call fcn.0052d3f0
add esp, 4
push 0x10
push edi
call fcn.0052d440
add esp, 8
mov dword [esi + 0x54], eax
jmp case.0x529016.13
or dword [esi + 0x14], 0x20000
jmp case.0x529016.13
or dword [esi + 0x14], 0x30000
jmp case.0x529016.13
mov byte [esi + 0x6c], 1
mov eax, dword [ebp + 4]
add ebp, 4
test eax, eax
jne 0x528fa2
mov eax, dword [esp + 0xc]
push eax
call fcn.0052db10
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0x18
ret
push edi
push str.Unknown_option_to_protocol:__s_n
push 0x69cb10
call fcn.00518571
add esp, 0xc
push 1
call fcn.0051ac24
lea ecx, [ecx]
sbb eax, 0x36005290
nop
push edx
add byte [edx - 0x70], bl
push edx
add byte [eax + edx*4 + 0x52], ch
add byte [eax - 0x68ffad70], dl
nop
push edx
add byte [edi - 0x2cffad70], ch
nop
push edx
add dl, ah
nop
push edx
add byte [esi], al
xchg ecx, eax
push edx
add byte [edx], ch
xchg ecx, eax
push edx
add byte [esi], bh
xchg ecx, eax
push edx
add byte [0x35005292], dh
xchg edx, eax
push edx
add byte [0x35005292], dh
xchg edx, eax
push edx
add byte [edi - 0x6f], al
push edx
add byte [ebx - 0x6f], ah
push edx
add byte [edi - 0x6f], bh
push edx
add byte [edi - 0x74ffad70], dl
xchg ecx, eax
push edx
add byte [ecx + edx*4 - 0x6e42ffae], dh
push edx
add bl, al
xchg ecx, eax
push edx
add cl, cl
xchg ecx, eax
push edx
add byte [0xcf005292], dh
xchg ecx, eax
push edx
add cl, ah
xchg ecx, eax
push edx
add bl, bh
xchg ecx, eax
push edx
add byte [edi], bl
xchg edx, eax
push edx
add byte [eax], ch
xchg edx, eax
push edx
add byte [ecx], dh
xchg edx, eax
push edx
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
nop
nop