Function at 0x4318f0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x18
mov ecx, dword [esp + 0x24]
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0xc], eax
mov eax, str.client
push 0
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x24]
push ecx
mov esi, 1
push edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x34], 0
call fcn.00437d80
add esp, 0x14
cmp dword [esp + 0x10], esi
je 0x431cbc
mov ebp, dword [esp + 0xc]
mov eax, dword [ebp + 4]
add ebp, 4
test eax, eax
je 0x431cbc
mov esi, dword [esp + 0x28]
cmp eax, dword [str.____args_separator____]
je case.default.0x4319e3
cmp byte [eax], 0x2d
jne case.default.0x4319e3
cmp byte [eax + 1], 0x2d
jne case.default.0x4319e3
push 0x3d
push eax
call fcn.00438220
add esp, 8
xor edi, edi
cmp byte [eax], 0
je 0x431999
lea edi, [eax + 1]
mov byte [eax], 0
mov eax, dword [ebp]
push 0x5f
push eax
call fcn.00438220
add esp, 8
cmp byte [eax], 0
je 0x4319c3
lea esp, [esp]
push 0x5f
push eax
mov byte [eax], 0x2d
call fcn.00438220
add esp, 8
cmp byte [eax], 0
jne 0x4319b0
mov eax, dword [ebp]
push 2
add eax, 2
push 0x5100a8
push eax
call fcn.004380b0
dec eax
add esp, 0xc
cmp eax, 0x1e
ja case.default.0x4319e3
jmp dword [eax*4 + 0x431cd0]
test edi, edi
je case.default.0x4319e3
push edi
call fcn.0047dd49
add esp, 4
mov dword [esi + 0xc], eax
jmp case.default.0x4319e3
test edi, edi
je case.default.0x4319e3
mov ecx, dword [esi + 0x24]
push ecx
call fcn.00435f10
push 0x10
push edi
call fcn.00435f60
add esp, 0xc
mov dword [esi + 0x24], eax
jmp case.default.0x4319e3
or dword [esi + 0x14], 0x20
mov byte [esi + 0x5d], 1
jmp case.default.0x4319e3
test edi, edi
je case.default.0x4319e3
mov edx, dword [esi + 0x20]
push edx
call fcn.00435f10
push 0x10
push edi
call fcn.00435f60
add esp, 0xc
mov dword [esi + 0x20], eax
jmp case.default.0x4319e3
mov dword [esi + 0x10], 3
test edi, edi
je case.default.0x4319e3
push edi
call fcn.0047dd49
add esp, 4
mov dword [esi], eax
jmp case.default.0x4319e3
test edi, edi
je case.default.0x4319e3
mov eax, dword [esi + 0x1c]
push eax
call fcn.00435f10
push 0x10
push edi
call fcn.00435f60
add esp, 0xc
mov dword [esi + 0x1c], eax
jmp case.default.0x4319e3
push edi
call fcn.00431880
add esp, 4
jmp case.default.0x4319e3
test edi, edi
je case.default.0x4319e3
mov ecx, dword [esi + 0x18]
push ecx
call fcn.00435f10
push 0x10
push edi
call fcn.00435f60
add esp, 0xc
mov dword [esi + 0x18], eax
jmp case.default.0x4319e3
test edi, edi
je case.default.0x4319e3
mov edx, dword [esi + 0x28]
push edx
call fcn.00435f10
push 0x10
push edi
call fcn.00435f60
add esp, 0xc
mov dword [esi + 0x28], eax
jmp case.default.0x4319e3
test edi, edi
jne 0x431afa
mov edi, str.d:t:o__tmp_client.trace
push edi
call fcn.0044b080
jmp case.default.0x4319e3
or dword [esi + 0x14], 2
jmp case.default.0x4319e3
mov eax, dword [esi + 0x40]
push eax
call fcn.00435f10
push 0x10
push edi
call fcn.00435f60
add esp, 0xc
mov dword [esi + 0x40], eax
jmp case.default.0x4319e3
mov ecx, dword [esi + 0x44]
push ecx
call fcn.00435f10
push 0x10
push edi
call fcn.00435f60
add esp, 0xc
mov dword [esi + 0x44], eax
jmp case.default.0x4319e3
mov edx, dword [esi + 0x48]
push edx
call fcn.00435f10
push 0x10
push edi
call fcn.00435f60
add esp, 0xc
mov dword [esi + 0x48], eax
jmp case.default.0x4319e3
mov eax, dword [esi + 0x4c]
push eax
call fcn.00435f10
push 0x10
push edi
call fcn.00435f60
add esp, 0xc
mov dword [esi + 0x4c], eax
jmp case.default.0x4319e3
mov ecx, dword [esi + 0x50]
push ecx
call fcn.00435f10
push 0x10
push edi
call fcn.00435f60
add esp, 0xc
mov dword [esi + 0x50], eax
jmp case.default.0x4319e3
mov edx, dword [esi + 0x38]
push edx
call fcn.00435f10
push 0x10
push edi
call fcn.00435f60
add esp, 0xc
mov dword [esi + 0x38], eax
jmp case.default.0x4319e3
mov eax, dword [esi + 0x3c]
push eax
call fcn.00435f10
push 0x10
push edi
call fcn.00435f60
add esp, 0xc
mov dword [esi + 0x3c], eax
jmp case.default.0x4319e3
or dword [esi + 0x14], 0x400
jmp case.default.0x4319e3
test edi, edi
je 0x431bfb
push edi
call fcn.0047dd49
add esp, 4
test eax, eax
jne 0x431bfb
and dword [esi + 0x14], 0xffffff7f
jmp case.default.0x4319e3
or dword [esi + 0x14], 0x80
jmp case.default.0x4319e3
test edi, edi
je case.default.0x4319e3
push edi
call fcn.0047dd49
add esp, 4
mov dword [esi + 0x58], eax
jmp case.default.0x4319e3
push 0
push 0x5100b8
push edi
call fcn.004380b0
add esp, 0xc
mov dword [esi + 0x10], eax
test eax, eax
ja case.default.0x4319e3
push edi
push str.Unknown_option_to_protocol:__s_n
call fcn.0047fb2d
add eax, 0x40
push eax
call fcn.004820e2
add esp, 0xc
push 1
call fcn.004819f7
mov eax, dword [esi + 0x54]
cmp eax, dword [str.MYSQL]
je 0x431c69
push eax
call fcn.00435f10
add esp, 4
push 0x10
push edi
call fcn.00435f60
add esp, 8
mov dword [esi + 0x54], eax
jmp case.default.0x4319e3
or dword [esi + 0x14], 0x20000
jmp case.default.0x4319e3
or dword [esi + 0x14], 0x30000
jmp case.default.0x4319e3
mov byte [esi + 0x6c], 1
jmp case.default.0x4319e3
test edi, edi
je 0x431ca6
push edi
call fcn.0047dd49
add esp, 4
neg eax
sbb eax, eax
neg eax
jmp 0x431cab
mov eax, 1
mov byte [esi + 0x6d], al
mov eax, dword [ebp + 4]
add ebp, 4
test eax, eax
jne 0x431962
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00437050
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0x18
ret