Function at 0x10124200
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.101289c0
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, esi
je 0x10124513
mov eax, dword [esp + 0xc]
lea ebp, [eax + 4]
mov eax, dword [ebp]
test eax, eax
je 0x10124513
mov esi, dword [esp + 0x28]
cmp byte [eax], 0x2d
jne case.0x101242e6.13
cmp byte [eax + 1], 0x2d
jne case.0x101242e6.13
push 0x3d
push eax
call fcn.10129480
mov cl, byte [eax]
add esp, 8
xor edi, edi
test cl, cl
je 0x1012429e
lea edi, [eax + 1]
mov byte [eax], 0
mov eax, dword [ebp]
push 0x5f
push eax
call fcn.10129480
mov cl, byte [eax]
add esp, 8
test cl, cl
je 0x101242c6
push 0x5f
push eax
mov byte [eax], 0x2d
call fcn.10129480
mov cl, byte [eax]
add esp, 8
test cl, cl
jne 0x101242b2
mov ecx, dword [ebp]
push 2
add ecx, 2
push 0x10376b30
push ecx
call fcn.10129330
add esp, 0xc
dec eax
cmp eax, 0x1f
ja case.0x101242e6.13
jmp dword [eax*4 + 0x10124544]
test edi, edi
je case.0x101242e6.13
push edi
call fcn.101120fc
add esp, 4
mov dword [esi + 0xc], eax
jmp case.0x101242e6.13
test edi, edi
je case.0x101242e6.13
mov edx, dword [esi + 0x24]
push edx
call fcn.101286c0
push 0x10
push edi
call fcn.10128710
add esp, 0xc
mov dword [esi + 0x24], eax
jmp case.0x101242e6.13
mov eax, dword [esi + 0x14]
or eax, 0x20
mov byte [esi + 0x5d], 1
mov dword [esi + 0x14], eax
jmp case.0x101242e6.13
test edi, edi
je case.0x101242e6.13
mov eax, dword [esi + 0x20]
push eax
call fcn.101286c0
push 0x10
push edi
call fcn.10128710
add esp, 0xc
mov dword [esi + 0x20], eax
jmp case.0x101242e6.13
mov dword [esi + 0x10], 3
test edi, edi
je case.0x101242e6.13
push edi
call fcn.101120fc
add esp, 4
mov dword [esi], eax
jmp case.0x101242e6.13
test edi, edi
je case.0x101242e6.13
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.101286c0
push 0x10
push edi
call fcn.10128710
add esp, 0xc
mov dword [esi + 0x1c], eax
jmp case.0x101242e6.13
push edi
push esi
call fcn.101245d0
add esp, 8
jmp case.0x101242e6.13
test edi, edi
je case.0x101242e6.13
mov edx, dword [esi + 0x18]
push edx
call fcn.101286c0
push 0x10
push edi
call fcn.10128710
add esp, 0xc
mov dword [esi + 0x18], eax
jmp case.0x101242e6.13
test edi, edi
je case.0x101242e6.13
mov eax, dword [esi + 0x28]
push eax
call fcn.101286c0
push 0x10
push edi
call fcn.10128710
add esp, 0xc
mov dword [esi + 0x28], eax
jmp case.0x101242e6.13
test edi, edi
jne 0x10124403
mov edi, str.d:t:o__tmp_client.trace
push edi
call fcn.100a8c50
jmp case.0x101242e6.13
or dword [esi + 0x14], 2
jmp case.0x101242e6.13
mov ecx, dword [esi + 0x38]
push ecx
call fcn.101286c0
push 0x10
push edi
call fcn.10128710
add esp, 0xc
mov dword [esi + 0x38], eax
jmp case.0x101242e6.13
mov edx, dword [esi + 0x3c]
push edx
call fcn.101286c0
push 0x10
push edi
call fcn.10128710
add esp, 0xc
mov dword [esi + 0x3c], eax
jmp case.0x101242e6.13
or dword [esi + 0x14], 0x400
jmp case.0x101242e6.13
test edi, edi
je 0x10124478
push edi
call fcn.101120fc
add esp, 4
test eax, eax
jne 0x10124478
and dword [esi + 0x14], 0xffffff7f
jmp case.0x101242e6.13
or dword [esi + 0x14], 0x80
jmp case.0x101242e6.13
and dword [esi + 0x14], 0x80
jmp case.0x101242e6.13
mov byte [esi + 0x5f], 1
jmp case.0x101242e6.13
mov byte [esi + 0x61], 0
jmp case.0x101242e6.13
mov byte [esi + 0x60], 1
jmp case.0x101242e6.13
test edi, edi
je case.0x101242e6.13
push edi
call fcn.101120fc
add esp, 4
mov dword [esi + 0x58], eax
jmp case.0x101242e6.13
push 0
push 0x10376b50
push edi
call fcn.10129330
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esi + 0x10], eax
je 0x10124527
jmp case.0x101242e6.13
mov eax, dword [esi + 0x54]
cmp eax, dword [str.MYSQL]
je 0x101244df
push eax
call fcn.101286c0
add esp, 4
push 0x10
push edi
call fcn.10128710
add esp, 8
mov dword [esi + 0x54], eax
jmp case.0x101242e6.13
or dword [esi + 0x14], 0x20000
jmp case.0x101242e6.13
or dword [esi + 0x14], 0x30000
jmp case.0x101242e6.13
mov byte [esi + 0x6c], 1
mov eax, dword [ebp + 4]
add ebp, 4
test eax, eax
jne 0x10124272
mov eax, dword [esp + 0xc]
push eax
call fcn.10128de0
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0x18
ret
push edi
push str.Unknown_option_to_protocol:__s_n
push 0x10372f90
call fcn.10112f81
add esp, 0xc
push 1
call fcn.10115e25
lea ecx, [ecx]
in eax, dx
inc edx
adc dl, byte [eax]
push es
inc ebx
adc dl, byte [eax]
sub al, byte [ebx + 0x12]
adc byte [ebx + eax*2], bh
adc dl, byte [eax]
pushal
inc ebx
adc dl, byte [eax]
inc ebx
adc dl, byte [eax]
jg 0x101245a1
adc dl, byte [eax]
mov dword [0xb2101243], eax
inc ebx
adc dl, byte [eax]
salc
inc ebx
adc dl, byte [eax]
cli
inc ebx
adc dl, byte [eax]
push cs
inc esp
adc dl, byte [eax]
add eax, 0x5101245
inc ebp
adc dl, byte [eax]
add eax, 0x5101245
inc ebp
adc dl, byte [eax]
pop ss
inc esp
adc dl, byte [eax]
xor eax, dword [edx + edx + 0x10]
dec edi
inc esp
adc dl, byte [eax]
inc ebx
adc dl, byte [eax]
pop ebx
inc esp
adc dl, byte [eax]
test byte [edx + edx + 0x10], al
lea eax, [edx + edx + 16]
xchg ebx, eax
inc esp
adc dl, byte [eax]
cdq
inc esp
adc dl, byte [eax]
add eax, 0x9f101245
inc esp
adc dl, byte [eax]
mov cl, 0x44
adc dl, byte [eax]
retf