Function at 0x1003cf90
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.10041760
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, esi
je 0x1003d2a3
mov eax, dword [esp + 0xc]
lea ebp, [eax + 4]
mov eax, dword [ebp]
test eax, eax
je 0x1003d2a3
mov esi, dword [esp + 0x28]
cmp byte [eax], 0x2d
jne case.0x1003d076.13
cmp byte [eax + 1], 0x2d
jne case.0x1003d076.13
push 0x3d
push eax
call fcn.10042220
mov cl, byte [eax]
add esp, 8
xor edi, edi
test cl, cl
je 0x1003d02e
lea edi, [eax + 1]
mov byte [eax], 0
mov eax, dword [ebp]
push 0x5f
push eax
call fcn.10042220
mov cl, byte [eax]
add esp, 8
test cl, cl
je 0x1003d056
push 0x5f
push eax
mov byte [eax], 0x2d
call fcn.10042220
mov cl, byte [eax]
add esp, 8
test cl, cl
jne 0x1003d042
mov ecx, dword [ebp]
push 2
add ecx, 2
push 0x10077288
push ecx
call fcn.100420d0
add esp, 0xc
dec eax
cmp eax, 0x1f
ja case.0x1003d076.13
jmp dword [eax*4 + 0x1003d2d4]
test edi, edi
je case.0x1003d076.13
push edi
call fcn.1005611c
add esp, 4
mov dword [esi + 0xc], eax
jmp case.0x1003d076.13
test edi, edi
je case.0x1003d076.13
mov edx, dword [esi + 0x24]
push edx
call fcn.10041460
push 0x10
push edi
call fcn.100414b0
add esp, 0xc
mov dword [esi + 0x24], eax
jmp case.0x1003d076.13
mov eax, dword [esi + 0x14]
or eax, 0x20
mov byte [esi + 0x5d], 1
mov dword [esi + 0x14], eax
jmp case.0x1003d076.13
test edi, edi
je case.0x1003d076.13
mov eax, dword [esi + 0x20]
push eax
call fcn.10041460
push 0x10
push edi
call fcn.100414b0
add esp, 0xc
mov dword [esi + 0x20], eax
jmp case.0x1003d076.13
mov dword [esi + 0x10], 3
test edi, edi
je case.0x1003d076.13
push edi
call fcn.1005611c
add esp, 4
mov dword [esi], eax
jmp case.0x1003d076.13
test edi, edi
je case.0x1003d076.13
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.10041460
push 0x10
push edi
call fcn.100414b0
add esp, 0xc
mov dword [esi + 0x1c], eax
jmp case.0x1003d076.13
push edi
push esi
call fcn.1003d360
add esp, 8
jmp case.0x1003d076.13
test edi, edi
je case.0x1003d076.13
mov edx, dword [esi + 0x18]
push edx
call fcn.10041460
push 0x10
push edi
call fcn.100414b0
add esp, 0xc
mov dword [esi + 0x18], eax
jmp case.0x1003d076.13
test edi, edi
je case.0x1003d076.13
mov eax, dword [esi + 0x28]
push eax
call fcn.10041460
push 0x10
push edi
call fcn.100414b0
add esp, 0xc
mov dword [esi + 0x28], eax
jmp case.0x1003d076.13
test edi, edi
jne 0x1003d193
mov edi, str.d:t:o__tmp_client.trace
push edi
call fcn.1003f4f0
jmp case.0x1003d076.13
or dword [esi + 0x14], 2
jmp case.0x1003d076.13
mov ecx, dword [esi + 0x38]
push ecx
call fcn.10041460
push 0x10
push edi
call fcn.100414b0
add esp, 0xc
mov dword [esi + 0x38], eax
jmp case.0x1003d076.13
mov edx, dword [esi + 0x3c]
push edx
call fcn.10041460
push 0x10
push edi
call fcn.100414b0
add esp, 0xc
mov dword [esi + 0x3c], eax
jmp case.0x1003d076.13
or dword [esi + 0x14], 0x400
jmp case.0x1003d076.13
test edi, edi
je 0x1003d208
push edi
call fcn.1005611c
add esp, 4
test eax, eax
jne 0x1003d208
and dword [esi + 0x14], 0xffffff7f
jmp case.0x1003d076.13
or dword [esi + 0x14], 0x80
jmp case.0x1003d076.13
and dword [esi + 0x14], 0x80
jmp case.0x1003d076.13
mov byte [esi + 0x5f], 1
jmp case.0x1003d076.13
mov byte [esi + 0x61], 0
jmp case.0x1003d076.13
mov byte [esi + 0x60], 1
jmp case.0x1003d076.13
test edi, edi
je case.0x1003d076.13
push edi
call fcn.1005611c
add esp, 4
mov dword [esi + 0x58], eax
jmp case.0x1003d076.13
push 0
push 0x100772a8
push edi
call fcn.100420d0
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esi + 0x10], eax
je 0x1003d2b7
jmp case.0x1003d076.13
mov eax, dword [esi + 0x54]
cmp eax, dword [str.MYSQL]
je 0x1003d26f
push eax
call fcn.10041460
add esp, 4
push 0x10
push edi
call fcn.100414b0
add esp, 8
mov dword [esi + 0x54], eax
jmp case.0x1003d076.13
or dword [esi + 0x14], 0x20000
jmp case.0x1003d076.13
or dword [esi + 0x14], 0x30000
jmp case.0x1003d076.13
mov byte [esi + 0x6c], 1
mov eax, dword [ebp + 4]
add ebp, 4
test eax, eax
jne 0x1003d002
mov eax, dword [esp + 0xc]
push eax
or al, 0x50
call fcn.10041b80
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0x18
ret
push edi
push str.Unknown_option_to_protocol:__s_n
push 0x10124f50
call fcn.10057716
add esp, 0xc
push 1
call fcn.10057614
lea ecx, [ecx]
jge 0x1003d2a6
add edx, dword [eax]
xchg esi, eax
rol byte [ebx], 1
adc byte [edx - 0x33effc30], bh
rol byte [ebx], 1
adc al, dh
rol byte [ebx], 1
adc bh, dh
rol byte [ebx], 1
adc byte [edi], cl
rol dword [ebx], 1
adc byte [ebx], dh
rol dword [ebx], 1
adc byte [edx - 0x2f], al
add edx, dword [eax]
rol word [ebx], 1
adc byte [edx - 1643117615], cl
rol dword [ebx], 1
adc byte [ebp - 0x6aeffc2e], dl
rol byte [ebx], cl
adc byte [ebp - 0x6aeffc2e], dl
rol byte [ebx], cl
adc byte [edi - 0x3ceffc2f], ah
rol dword [ebx], 1
adc bh, bl
rol dword [ebx], 1
adc bh, dh
rol byte [ebx], 1
adc bl, ch
rol dword [ebx], 1
adc byte [edx + edx*8], dl
add edx, dword [eax]
sbb eax, 0x231003d2
rol byte [ebx], cl
adc byte [ecx], ch
rol byte [ebx], cl
adc byte [ebp + 0x2f1003d2], dl
rol byte [ebx], cl
adc byte [ecx - 0x2e], al
add edx, dword [eax]
pop ebx
rol byte [ebx], cl
adc byte [edi - 0x2e], bh
add edx, dword [eax]
mov dl, dl
add edx, dword [eax]
xchg ecx, eax
rol byte [ebx], cl
adc byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
nop
nop