Function at 0x101ae410
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.101b2bd0
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, esi
je 0x101ae723
mov eax, dword [esp + 0xc]
lea ebp, [eax + 4]
mov eax, dword [ebp]
test eax, eax
je 0x101ae723
mov esi, dword [esp + 0x28]
cmp byte [eax], 0x2d
jne case.0x101ae4f6.13
cmp byte [eax + 1], 0x2d
jne case.0x101ae4f6.13
push 0x3d
push eax
call fcn.101b3690
mov cl, byte [eax]
add esp, 8
xor edi, edi
test cl, cl
je 0x101ae4ae
lea edi, [eax + 1]
mov byte [eax], 0
mov eax, dword [ebp]
push 0x5f
push eax
call fcn.101b3690
mov cl, byte [eax]
add esp, 8
test cl, cl
je 0x101ae4d6
push 0x5f
push eax
mov byte [eax], 0x2d
call fcn.101b3690
mov cl, byte [eax]
add esp, 8
test cl, cl
jne 0x101ae4c2
mov ecx, dword [ebp]
push 2
add ecx, 2
push 0x103763b0
push ecx
call fcn.101b3540
add esp, 0xc
dec eax
cmp eax, 0x1f
ja case.0x101ae4f6.13
jmp dword [eax*4 + 0x101ae754]
test edi, edi
je case.0x101ae4f6.13
push edi
call fcn.1019c3e4
add esp, 4
mov dword [esi + 0xc], eax
jmp case.0x101ae4f6.13
test edi, edi
je case.0x101ae4f6.13
mov edx, dword [esi + 0x24]
push edx
call fcn.101b28d0
push 0x10
push edi
call fcn.101b2920
add esp, 0xc
mov dword [esi + 0x24], eax
jmp case.0x101ae4f6.13
mov eax, dword [esi + 0x14]
or eax, 0x20
mov byte [esi + 0x5d], 1
mov dword [esi + 0x14], eax
jmp case.0x101ae4f6.13
test edi, edi
je case.0x101ae4f6.13
mov eax, dword [esi + 0x20]
push eax
call fcn.101b28d0
push 0x10
push edi
call fcn.101b2920
add esp, 0xc
mov dword [esi + 0x20], eax
jmp case.0x101ae4f6.13
mov dword [esi + 0x10], 3
test edi, edi
je case.0x101ae4f6.13
push edi
call fcn.1019c3e4
add esp, 4
mov dword [esi], eax
jmp case.0x101ae4f6.13
test edi, edi
je case.0x101ae4f6.13
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.101b28d0
push 0x10
push edi
call fcn.101b2920
add esp, 0xc
mov dword [esi + 0x1c], eax
jmp case.0x101ae4f6.13
push edi
push esi
call fcn.101ae7e0
add esp, 8
jmp case.0x101ae4f6.13
test edi, edi
je case.0x101ae4f6.13
mov edx, dword [esi + 0x18]
push edx
call fcn.101b28d0
push 0x10
push edi
call fcn.101b2920
add esp, 0xc
mov dword [esi + 0x18], eax
jmp case.0x101ae4f6.13
test edi, edi
je case.0x101ae4f6.13
mov eax, dword [esi + 0x28]
push eax
call fcn.101b28d0
push 0x10
push edi
call fcn.101b2920
add esp, 0xc
mov dword [esi + 0x28], eax
jmp case.0x101ae4f6.13
test edi, edi
jne 0x101ae613
mov edi, str.d:t:o__tmp_client.trace
push edi
call fcn.1012de50
jmp case.0x101ae4f6.13
or dword [esi + 0x14], 2
jmp case.0x101ae4f6.13
mov ecx, dword [esi + 0x38]
push ecx
call fcn.101b28d0
push 0x10
push edi
call fcn.101b2920
add esp, 0xc
mov dword [esi + 0x38], eax
jmp case.0x101ae4f6.13
mov edx, dword [esi + 0x3c]
push edx
call fcn.101b28d0
push 0x10
push edi
call fcn.101b2920
add esp, 0xc
mov dword [esi + 0x3c], eax
jmp case.0x101ae4f6.13
or dword [esi + 0x14], 0x400
jmp case.0x101ae4f6.13
test edi, edi
je 0x101ae688
push edi
call fcn.1019c3e4
add esp, 4
test eax, eax
jne 0x101ae688
and dword [esi + 0x14], 0xffffff7f
jmp case.0x101ae4f6.13
or dword [esi + 0x14], 0x80
jmp case.0x101ae4f6.13
and dword [esi + 0x14], 0x80
jmp case.0x101ae4f6.13
mov byte [esi + 0x5f], 1
jmp case.0x101ae4f6.13
mov byte [esi + 0x61], 0
jmp case.0x101ae4f6.13
mov byte [esi + 0x60], 1
jmp case.0x101ae4f6.13
test edi, edi
je case.0x101ae4f6.13
push edi
call fcn.1019c3e4
add esp, 4
mov dword [esi + 0x58], eax
jmp case.0x101ae4f6.13
push 0
push 0x103763d0
push edi
call fcn.101b3540
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esi + 0x10], eax
je 0x101ae737
jmp case.0x101ae4f6.13
mov eax, dword [esi + 0x54]
cmp eax, dword [str.MYSQL]
je 0x101ae6ef
push eax
call fcn.101b28d0
add esp, 4
push 0x10
push edi
call fcn.101b2920
add esp, 8
mov dword [esi + 0x54], eax
jmp case.0x101ae4f6.13
or dword [esi + 0x14], 0x20000
jmp case.0x101ae4f6.13
or dword [esi + 0x14], 0x30000
jmp case.0x101ae4f6.13
mov byte [esi + 0x6c], 1
mov eax, dword [ebp + 4]
add ebp, 4
test eax, eax
jne 0x101ae482
mov eax, dword [esp + 0xc]
push eax
call fcn.101b2ff0
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0x18
ret
push edi
push str.Unknown_option_to_protocol:__s_n
push 0x10372800
call fcn.1019d201
add esp, 0xc
push 1
call fcn.101a0384
lea ecx, [ecx]
std
in al, 26
adc byte [esi], dl
in eax, 0x1a
adc byte [edx], bh
in eax, 0x1a
adc byte [ebp + 0x1a], cl
adc byte [eax - 0x1b], dh
sbb dl, byte [eax]
ja 0x101ae74f
invalid
sbb dl, byte [eax]
invalid