Function at 0x1006a720
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.1006ee20
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, esi
je 0x1006aa33
mov eax, dword [esp + 0xc]
lea ebp, [eax + 4]
mov eax, dword [ebp]
test eax, eax
je 0x1006aa33
mov esi, dword [esp + 0x28]
cmp byte [eax], 0x2d
jne case.0x1006a806.13
cmp byte [eax + 1], 0x2d
jne case.0x1006a806.13
push 0x3d
push eax
call fcn.1006f8e0
mov cl, byte [eax]
add esp, 8
xor edi, edi
test cl, cl
je 0x1006a7be
lea edi, [eax + 1]
mov byte [eax], 0
mov eax, dword [ebp]
push 0x5f
push eax
call fcn.1006f8e0
mov cl, byte [eax]
add esp, 8
test cl, cl
je 0x1006a7e6
push 0x5f
push eax
mov byte [eax], 0x2d
call fcn.1006f8e0
mov cl, byte [eax]
add esp, 8
test cl, cl
jne 0x1006a7d2
mov ecx, dword [ebp]
push 2
add ecx, 2
push 0x100c97e0
push ecx
call fcn.1006f790
add esp, 0xc
dec eax
cmp eax, 0x1f
ja case.0x1006a806.13
jmp dword [eax*4 + 0x1006aa64]
test edi, edi
je case.0x1006a806.13
push edi
call fcn.1008455c
add esp, 4
mov dword [esi + 0xc], eax
jmp case.0x1006a806.13
test edi, edi
je case.0x1006a806.13
mov edx, dword [esi + 0x24]
push edx
call fcn.1006eb20
push 0x10
push edi
call fcn.1006eb70
add esp, 0xc
mov dword [esi + 0x24], eax
jmp case.0x1006a806.13
mov eax, dword [esi + 0x14]
or eax, 0x20
mov byte [esi + 0x5d], 1
mov dword [esi + 0x14], eax
jmp case.0x1006a806.13
test edi, edi
je case.0x1006a806.13
mov eax, dword [esi + 0x20]
push eax
call fcn.1006eb20
push 0x10
push edi
call fcn.1006eb70
add esp, 0xc
mov dword [esi + 0x20], eax
jmp case.0x1006a806.13
mov dword [esi + 0x10], 3
test edi, edi
je case.0x1006a806.13
push edi
call fcn.1008455c
add esp, 4
mov dword [esi], eax
jmp case.0x1006a806.13
test edi, edi
je case.0x1006a806.13
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.1006eb20
push 0x10
push edi
call fcn.1006eb70
add esp, 0xc
mov dword [esi + 0x1c], eax
jmp case.0x1006a806.13
push edi
push esi
call fcn.1006aaf0
add esp, 8
jmp case.0x1006a806.13
test edi, edi
je case.0x1006a806.13
mov edx, dword [esi + 0x18]
push edx
call fcn.1006eb20
push 0x10
push edi
call fcn.1006eb70
add esp, 0xc
mov dword [esi + 0x18], eax
jmp case.0x1006a806.13
test edi, edi
je case.0x1006a806.13
mov eax, dword [esi + 0x28]
push eax
call fcn.1006eb20
push 0x10
push edi
call fcn.1006eb70
add esp, 0xc
mov dword [esi + 0x28], eax
jmp case.0x1006a806.13
test edi, edi
jne 0x1006a923
mov edi, str.d:t:o__tmp_client.trace
push edi
call fcn.1006cc70
jmp case.0x1006a806.13
or dword [esi + 0x14], 2
jmp case.0x1006a806.13
mov ecx, dword [esi + 0x38]
push ecx
call fcn.1006eb20
push 0x10
push edi
call fcn.1006eb70
add esp, 0xc
mov dword [esi + 0x38], eax
jmp case.0x1006a806.13
mov edx, dword [esi + 0x3c]
push edx
call fcn.1006eb20
push 0x10
push edi
call fcn.1006eb70
add esp, 0xc
mov dword [esi + 0x3c], eax
jmp case.0x1006a806.13
or dword [esi + 0x14], 0x400
jmp case.0x1006a806.13
test edi, edi
je 0x1006a998
push edi
call fcn.1008455c
add esp, 4
test eax, eax
jne 0x1006a998
and dword [esi + 0x14], 0xffffff7f
jmp case.0x1006a806.13
or dword [esi + 0x14], 0x80
jmp case.0x1006a806.13
and dword [esi + 0x14], 0x80
jmp case.0x1006a806.13
mov byte [esi + 0x5f], 1
jmp case.0x1006a806.13
mov byte [esi + 0x61], 0
jmp case.0x1006a806.13
mov byte [esi + 0x60], 1
jmp case.0x1006a806.13
test edi, edi
je case.0x1006a806.13
push edi
call fcn.1008455c
add esp, 4
mov dword [esi + 0x58], eax
jmp case.0x1006a806.13
push 0
push 0x100c9800
push edi
call fcn.1006f790
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esi + 0x10], eax
je 0x1006aa47
jmp case.0x1006a806.13
mov eax, dword [esi + 0x54]
cmp eax, dword [str.MYSQL]
je 0x1006a9ff
push eax
call fcn.1006eb20
add esp, 4
push 0x10
push edi
call fcn.1006eb70
add esp, 8
mov dword [esi + 0x54], eax
jmp case.0x1006a806.13
or dword [esi + 0x14], 0x20000
jmp case.0x1006a806.13
or dword [esi + 0x14], 0x30000
jmp case.0x1006a806.13
mov byte [esi + 0x6c], 1
mov eax, dword [ebp + 4]
add ebp, 4
test eax, eax
jne 0x1006a792
mov eax, dword [esp + 0xc]
push eax
call fcn.1006f240
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0x18
ret
push edi
push str.Unknown_option_to_protocol:__s_n
push 0x101778b0
call fcn.10085371
add esp, 0xc
push 1
call fcn.10086905
lea ecx, [ecx]
or eax, 0x261006a8
test al, 6
adc byte [edx - 0x58], cl
push es
adc byte [eax + ebp*4 + 6], bl
adc byte [eax - 0x78eff958], al
test al, 6
adc byte [edi - 0x3ceff958], bl
test al, 6
adc dl, dl
test al, 6
adc dh, dh
test al, 6
adc byte [edx], bl
test eax, 0xa92e1006
push es
adc byte [0x251006aa], ah
stosb byte es:[edi], al
push es
adc byte [0x251006aa], ah
stosb byte es:[edi], al
push es
adc byte [edi], dh
test eax, 0xa9531006
push es
adc byte [edi - 0x57], ch
push es
adc byte [edi + 0x7b1006a8], al
test eax, 0xa9a41006
push es
adc byte [ebp - 0x4ceff957], ch
test eax, 0xa9b91006
push es
adc byte [0xbf1006aa], ah
test eax, 0xa9d11006
push es
adc bl, ch
test eax, 0xaa0f1006
push es
adc byte [eax], bl
stosb byte es:[edi], al
push es
adc byte [ecx], ah
stosb byte es:[edi], al
push es
adc byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
nop
nop