Function at 0x40ce30
Capabilities:
Terminate process

Disassembly:
sub esp, 0x41c
mov eax, dword [0x71a830]
xor eax, esp
mov dword [esp + 0x418], eax
mov ecx, dword [esp + 0x428]
mov eax, dword [esp + 0x424]
push ebp
push esi
mov esi, dword [esp + 0x428]
push edi
lea edx, [esp + 0x14]
mov dword [esp + 0xc], edx
mov edx, str.client
mov dword [esp + 0x1c], ecx
push 0
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
push ecx
mov edi, 1
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], 0
call fcn.004147a0
add esp, 0x14
cmp dword [esp + 0x10], edi
je 0x40d39d
mov ebp, dword [esp + 0xc]
mov eax, dword [ebp + 4]
add ebp, 4
test eax, eax
je 0x40d39d
lea esp, [esp]
push eax
call fcn.004135d0
add esp, 4
test al, al
jne case.default.0x40cf45
mov eax, dword [ebp]
cmp byte [eax], 0x2d
jne case.default.0x40cf45
cmp byte [eax + 1], 0x2d
jne case.default.0x40cf45
push 0x3d
push eax
call fcn.00419e10
add esp, 8
xor edi, edi
cmp byte [eax], 0
je 0x40ceff
lea edi, [eax + 1]
mov byte [eax], 0
mov eax, dword [ebp]
push 0x5f
push eax
call fcn.00419e10
add esp, 8
cmp byte [eax], 0
je 0x40cf25
push 0x5f
push eax
mov byte [eax], 0x2d
call fcn.00419e10
add esp, 8
cmp byte [eax], 0
jne 0x40cf12
mov edx, dword [ebp]
push 0
add edx, 2
push 0x4ae410
push edx
call fcn.0041a3d0
dec eax
add esp, 0xc
cmp eax, 0x22
ja case.default.0x40cf45
jmp dword [eax*4 + 0x40d3e4]
test edi, edi
je case.default.0x40cf45
push edi
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [esi + 0xc], eax
jmp case.default.0x40cf45
test edi, edi
je case.default.0x40cf45
mov eax, dword [esi + 0x24]
push eax
call sub.MSVCR90.dll_free
push 0x10
push edi
call fcn.0040aaf0
add esp, 0xc
mov dword [esi + 0x24], eax
jmp case.default.0x40cf45
or dword [esi + 0x14], 0x20
mov byte [esi + 0x5d], 1
jmp case.default.0x40cf45
test edi, edi
je case.default.0x40cf45
mov ecx, dword [esi + 0x20]
push ecx
call sub.MSVCR90.dll_free
push 0x10
push edi
call fcn.0040aaf0
add esp, 0xc
mov dword [esi + 0x20], eax
jmp case.default.0x40cf45
mov dword [esi + 0x10], 3
test edi, edi
je case.default.0x40cf45
push edi
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [esi], eax
jmp case.default.0x40cf45
test edi, edi
je case.default.0x40cf45
mov edx, dword [esi + 0x1c]
push edx
call sub.MSVCR90.dll_free
push 0x10
push edi
call fcn.0040aaf0
add esp, 0xc
mov dword [esi + 0x1c], eax
jmp case.default.0x40cf45
push edi
call fcn.0040cd80
add esp, 4
jmp case.default.0x40cf45
test edi, edi
je case.default.0x40cf45
mov eax, dword [esi + 0x18]
push eax
call sub.MSVCR90.dll_free
push 0x10
push edi
call fcn.0040aaf0
add esp, 0xc
mov dword [esi + 0x18], eax
jmp case.default.0x40cf45
test edi, edi
je case.default.0x40cf45
mov ecx, dword [esi + 0x28]
push ecx
call sub.MSVCR90.dll_free
push 0x10
push edi
call fcn.0040aaf0
add esp, 0xc
mov dword [esi + 0x28], eax
jmp case.default.0x40cf45
test edi, edi
jne 0x40d05e
mov edi, str.d:t:o__tmp_client.trace
push edi
call fcn.00414c80
jmp case.default.0x40cf45
or dword [esi + 0x14], 2
jmp case.default.0x40cf45
mov edx, dword [esi + 0x40]
push edx
call sub.MSVCR90.dll_free
push 0x10
push edi
call fcn.0040aaf0
add esp, 0xc
mov dword [esi + 0x40], eax
jmp case.default.0x40cf45
mov eax, dword [esi + 0x44]
push eax
call sub.MSVCR90.dll_free
push 0x10
push edi
call fcn.0040aaf0
add esp, 0xc
mov dword [esi + 0x44], eax
jmp case.default.0x40cf45
mov ecx, dword [esi + 0x48]
push ecx
call sub.MSVCR90.dll_free
push 0x10
push edi
call fcn.0040aaf0
add esp, 0xc
mov dword [esi + 0x48], eax
jmp case.default.0x40cf45
mov edx, dword [esi + 0x4c]
push edx
call sub.MSVCR90.dll_free
push 0x10
push edi
call fcn.0040aaf0
add esp, 0xc
mov dword [esi + 0x4c], eax
jmp case.default.0x40cf45
mov eax, dword [esi + 0x50]
push eax
call sub.MSVCR90.dll_free
push 0x10
push edi
call fcn.0040aaf0
add esp, 0xc
mov dword [esi + 0x50], eax
jmp case.default.0x40cf45
test edi, edi
je 0x40d3c2
mov ecx, dword [0x4adf38]
mov edx, dword [ecx + 0x1c]
push str.required
push edi
push 0x4aded0
call edx
add esp, 0xc
test eax, eax
jne 0x40d3c2
cmp dword [esi + 0x84], eax
jne 0x40d141
push 0x30
push 0x10
call fcn.0040aa20
add esp, 8
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x84]
mov dword [eax + 0xc], 3
jmp case.default.0x40cf45
mov ecx, dword [esi + 0x38]
push ecx
call sub.MSVCR90.dll_free
push 0x10
push edi
call fcn.0040aaf0
add esp, 0xc
mov dword [esi + 0x38], eax
jmp case.default.0x40cf45
mov edx, dword [esi + 0x3c]
push edx
call sub.MSVCR90.dll_free
push 0x10
push edi
call fcn.0040aaf0
add esp, 0xc
mov dword [esi + 0x3c], eax
jmp case.default.0x40cf45
or dword [esi + 0x14], 0x400
jmp case.default.0x40cf45
test edi, edi
je 0x40d1b5
push edi
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
test eax, eax
jne 0x40d1b5
and dword [esi + 0x14], 0xffffff7f
jmp case.default.0x40cf45
or dword [esi + 0x14], 0x80
jmp case.default.0x40cf45
test edi, edi
je case.default.0x40cf45
push edi
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [esi + 0x58], eax
jmp case.default.0x40cf45
push 0
push 0x4ae420
push edi
call fcn.0041a3d0
add esp, 0xc
mov dword [esi + 0x10], eax
test eax, eax
ja case.default.0x40cf45
push edi
push str.Unknown_option_to_protocol:__s_n
jmp 0x40d3c8
mov eax, dword [esi + 0x54]
cmp eax, dword [str.MYSQL]
je 0x40d215
push eax
call sub.MSVCR90.dll_free
add esp, 4
push 0x10
push edi
call fcn.0040aaf0
add esp, 8
mov dword [esi + 0x54], eax
jmp case.default.0x40cf45
or dword [esi + 0x14], 0x20000
jmp case.default.0x40cf45
or dword [esi + 0x14], 0x30000
jmp case.default.0x40cf45
mov byte [esi + 0x6c], 1
jmp case.default.0x40cf45
test edi, edi
je 0x40d265
push edi
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
neg eax
sbb eax, eax
neg eax
mov byte [esi + 0x6d], al
jmp case.default.0x40cf45
mov eax, 1
mov byte [esi + 0x6d], al
jmp case.default.0x40cf45
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d277
sub eax, edx
cmp eax, 0x200
jb 0x40d28d
mov byte [edi + 0x200], cl
push 0
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00427f50
add esp, 0xc
test eax, eax
jne case.default.0x40cf45
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x22c]
push edx
call fcn.00423ae0
mov eax, dword [esi + 0x84]
add esp, 0xc
test eax, eax
je 0x40d2d2
mov eax, dword [eax]
push eax
call sub.MSVCR90.dll_free
add esp, 4
jmp 0x40d2e4
push 0x30
push 0x10
call fcn.0040aa20
add esp, 8
mov dword [esi + 0x84], eax
lea ecx, [esp + 0x224]
push 0x10
push ecx
call fcn.0040aaf0
mov edx, dword [esi + 0x84]
add esp, 8
mov dword [edx], eax
jmp case.default.0x40cf45
mov eax, dword [esi + 0x84]
test eax, eax
je 0x40d31b
mov eax, dword [eax + 4]
push eax
call sub.MSVCR90.dll_free
add esp, 4
jmp 0x40d32d
push 0x30
push 0x10
call fcn.0040aa20
add esp, 8
mov dword [esi + 0x84], eax
test edi, edi
je 0x40d347
push 0x10
push edi
call fcn.0040aaf0
mov ecx, dword [esi + 0x84]
add esp, 8
mov dword [ecx + 4], eax
jmp case.default.0x40cf45
mov ecx, dword [esi + 0x84]
xor eax, eax
mov dword [ecx + 4], eax
jmp case.default.0x40cf45
cmp dword [esi + 0x84], 0
jne 0x40d36f
push 0x30
push 0x10
call fcn.0040aa20
add esp, 8
mov dword [esi + 0x84], eax
test edi, edi
je 0x40d381
push edi
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
test eax, eax
je 0x40d386
mov eax, 1
mov edx, dword [esi + 0x84]
mov byte [edx + 8], al
mov eax, dword [ebp + 4]
add ebp, 4
test eax, eax
jne 0x40cec0
mov eax, dword [esp + 0xc]
push eax
call fcn.004137b0
mov ecx, dword [esp + 0x428]
add esp, 4
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0046e712
add esp, 0x41c
ret
push edi
push str.Unknown_option_to_ssl_mode:__s_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0xc
push 1
call dword [sym.imp.MSVCR90.dll_exit]
nop
dec esp
iretd