Function at 0x403450
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x78834c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
lea edx, [ebp - 0x414]
mov dword [ebp - 0x40c], edx
mov edx, str.client
mov dword [ebp - 0x41c], ecx
push 0
lea ecx, [ebp - 0x40c]
push ecx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x420], edx
lea edx, [ebp - 0x410]
push edx
lea ecx, [ebp - 0x420]
push ecx
mov edi, 1
push eax
mov dword [ebp - 0x410], edi
mov dword [ebp - 0x418], 0
call fcn.0040a150
add esp, 0x14
cmp dword [ebp - 0x410], edi
je 0x403ac4
mov eax, dword [ebp - 0x40c]
add eax, 4
mov dword [ebp - 0x408], eax
mov eax, dword [eax]
test eax, eax
je 0x403ac4
jmp 0x4034f0
push eax
call fcn.00408a80
add esp, 4
test al, al
jne case.default.0x403588
mov edx, dword [ebp - 0x408]
mov eax, dword [edx]
cmp byte [eax], 0x2d
jne case.default.0x403588
cmp byte [eax + 1], 0x2d
jne case.default.0x403588
push 0x3d
push eax
call fcn.004162f0
add esp, 8
xor edi, edi
cmp byte [eax], 0
je 0x403534
lea edi, [eax + 1]
mov byte [eax], 0
mov eax, dword [ebp - 0x408]
mov eax, dword [eax]
push 0x5f
push eax
call fcn.004162f0
add esp, 8
cmp byte [eax], 0
je 0x403563
lea esp, [esp]
push 0x5f
push eax
mov byte [eax], 0x2d
call fcn.004162f0
add esp, 8
cmp byte [eax], 0
jne 0x403550
mov ecx, dword [ebp - 0x408]
mov edx, dword [ecx]
push 0
add edx, 2
push 0x4d6b6c
push edx
call fcn.00415d50
dec eax
add esp, 0xc
cmp eax, 0x25
ja case.default.0x403588
jmp dword [eax*4 + 0x403b04]
test edi, edi
je case.default.0x403588
push edi
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
mov dword [esi + 0xc], eax
jmp case.default.0x403588
test edi, edi
je case.default.0x403588
mov eax, dword [esi + 0x24]
push eax
call fcn.00413e00
push 0x10
push edi
call fcn.00413e40
add esp, 0xc
mov dword [esi + 0x24], eax
jmp case.default.0x403588
or dword [esi + 0x14], 0x20
mov byte [esi + 0x5d], 1
jmp case.default.0x403588
test edi, edi
je case.default.0x403588
mov ecx, dword [esi + 0x20]
push ecx
call fcn.00413e00
push 0x10
push edi
call fcn.00413e40
add esp, 0xc
mov dword [esi + 0x20], eax
jmp case.default.0x403588
mov dword [esi + 0x10], 3
test edi, edi
je case.default.0x403588
push edi
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
mov dword [esi], eax
jmp case.default.0x403588
test edi, edi
je case.default.0x403588
mov edx, dword [esi + 0x1c]
push edx
call fcn.00413e00
push 0x10
push edi
call fcn.00413e40
add esp, 0xc
mov dword [esi + 0x1c], eax
jmp case.default.0x403588
push edi
call fcn.00403390
add esp, 4
jmp case.default.0x403588
test edi, edi
je case.default.0x403588
mov eax, dword [esi + 0x18]
push eax
call fcn.00413e00
push 0x10
push edi
call fcn.00413e40
add esp, 0xc
mov dword [esi + 0x18], eax
jmp case.default.0x403588
test edi, edi
je case.default.0x403588
mov ecx, dword [esi + 0x28]
push ecx
call fcn.00413e00
push 0x10
push edi
call fcn.00413e40
add esp, 0xc
mov dword [esi + 0x28], eax
jmp case.default.0x403588
test edi, edi
jne 0x4036a1
mov edi, str.d:t:o__tmp_client.trace
push edi
call fcn.0040f140
jmp case.default.0x403588
or dword [esi + 0x14], 2
jmp case.default.0x403588
mov edx, dword [esi + 0x40]
push edx
call fcn.00413e00
push 0x10
push edi
call fcn.00413e40
add esp, 0xc
mov dword [esi + 0x40], eax
jmp case.default.0x403588
mov eax, dword [esi + 0x44]
push eax
call fcn.00413e00
push 0x10
push edi
call fcn.00413e40
add esp, 0xc
mov dword [esi + 0x44], eax
jmp case.default.0x403588
mov ecx, dword [esi + 0x48]
push ecx
call fcn.00413e00
push 0x10
push edi
call fcn.00413e40
add esp, 0xc
mov dword [esi + 0x48], eax
jmp case.default.0x403588
mov edx, dword [esi + 0x4c]
push edx
call fcn.00413e00
push 0x10
push edi
call fcn.00413e40
add esp, 0xc
mov dword [esi + 0x4c], eax
jmp case.default.0x403588
mov eax, dword [esi + 0x50]
push eax
call fcn.00413e00
push 0x10
push edi
call fcn.00413e40
add esp, 0xc
mov dword [esi + 0x50], eax
jmp case.default.0x403588
mov eax, dword [esi + 0x84]
test eax, eax
je 0x403759
mov ecx, dword [eax + 8]
push ecx
call fcn.00413e00
add esp, 4
jmp 0x40376b
push 0x30
push 0x58
call fcn.00413d70
add esp, 8
mov dword [esi + 0x84], eax
test edi, edi
je 0x40377c
push 0x10
push edi
call fcn.00413e40
add esp, 8
jmp 0x40377e
xor eax, eax
mov edx, dword [esi + 0x84]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x84]
cmp dword [eax + 8], 0
je case.default.0x403588
mov byte [esi + 0x5c], 1
jmp case.default.0x403588
mov eax, dword [esi + 0x84]
test eax, eax
je 0x4037b8
mov ecx, dword [eax + 0xc]
push ecx
call fcn.00413e00
add esp, 4
jmp 0x4037ca
push 0x30
push 0x58
call fcn.00413d70
add esp, 8
mov dword [esi + 0x84], eax
test edi, edi
je 0x4037db
push 0x10
push edi
call fcn.00413e40
add esp, 8
jmp 0x4037dd
xor eax, eax
mov edx, dword [esi + 0x84]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x84]
cmp dword [eax + 0xc], 0
je case.default.0x403588
mov byte [esi + 0x5c], 1
jmp case.default.0x403588
test edi, edi
je 0x403ae3
mov ecx, dword [0x4d7df8]
mov edx, dword [ecx + 0x1c]
push str.required
push edi
push 0x4d7d90
call edx
add esp, 0xc
test eax, eax
jne 0x403ae3
cmp dword [esi + 0x84], eax
jne 0x403842
push 0x30
push 0x58
call fcn.00413d70
add esp, 8
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x84]
mov dword [eax + 0x54], 3
jmp case.default.0x403588
mov ecx, dword [esi + 0x38]
push ecx
call fcn.00413e00
push 0x10
push edi
call fcn.00413e40
add esp, 0xc
mov dword [esi + 0x38], eax
jmp case.default.0x403588
mov edx, dword [esi + 0x3c]
push edx
call fcn.00413e00
push 0x10
push edi
call fcn.00413e40
add esp, 0xc
mov dword [esi + 0x3c], eax
jmp case.default.0x403588
or dword [esi + 0x14], 0x400
jmp case.default.0x403588
test edi, edi
je 0x4038b6
push edi
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
test eax, eax
jne 0x4038b6
and dword [esi + 0x14], 0xffffff7f
jmp case.default.0x403588
or dword [esi + 0x14], 0x80
jmp case.default.0x403588
test edi, edi
je case.default.0x403588
push edi
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
mov dword [esi + 0x58], eax
jmp case.default.0x403588
push 0
push 0x4d6b7c
push edi
call fcn.00415d50
add esp, 0xc
mov dword [esi + 0x10], eax
test eax, eax
jne case.default.0x403588
push edi
push str.Unknown_option_to_protocol:__s_n
jmp 0x403ae9
mov eax, dword [esi + 0x54]
cmp eax, dword [str.MYSQL]
je 0x403916
push eax
call fcn.00413e00
add esp, 4
push 0x10
push edi
call fcn.00413e40
add esp, 8
mov dword [esi + 0x54], eax
jmp case.default.0x403588
or dword [esi + 0x14], 0x20000
jmp case.default.0x403588
or dword [esi + 0x14], 0x30000
jmp case.default.0x403588
mov byte [esi + 0x6c], 1
jmp case.default.0x403588
test edi, edi
je 0x403966
push edi
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
neg eax
sbb eax, eax
neg eax
mov byte [esi + 0x6d], al
jmp case.default.0x403588
mov eax, 1
mov byte [esi + 0x6d], al
jmp case.default.0x403588
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403978
sub eax, edx
cmp eax, 0x200
jb 0x40398e
mov byte [edi + 0x200], cl
push 0
lea eax, [ebp - 0x204]
push edi
push eax
call fcn.00415c00
add esp, 0xc
test eax, eax
jne case.default.0x403588
push eax
lea ecx, [ebp - 0x204]
push ecx
lea edx, [ebp - 0x404]
push edx
call fcn.00415ab0
mov eax, dword [esi + 0x84]
add esp, 0xc
test eax, eax
je 0x4039d6
mov eax, dword [eax]
push eax
call fcn.00413e00
add esp, 4
jmp 0x4039e8
push 0x30
push 0x58
call fcn.00413d70
add esp, 8
mov dword [esi + 0x84], eax
lea ecx, [ebp - 0x404]
push 0x10
push ecx
call fcn.00413e40
mov edx, dword [esi + 0x84]
add esp, 8
mov dword [edx], eax
jmp case.default.0x403588
mov eax, dword [esi + 0x84]
test eax, eax
je 0x403a1e
mov eax, dword [eax + 4]
push eax
call fcn.00413e00
add esp, 4
jmp 0x403a30
push 0x30
push 0x58
call fcn.00413d70
add esp, 8
mov dword [esi + 0x84], eax
test edi, edi
je 0x403a4a
push 0x10
push edi
call fcn.00413e40
mov ecx, dword [esi + 0x84]
add esp, 8
mov dword [ecx + 4], eax
jmp case.default.0x403588
mov ecx, dword [esi + 0x84]
xor eax, eax
mov dword [ecx + 4], eax
jmp case.default.0x403588
mov edx, dword [esi + 0x68]
push edx
call fcn.00413e00
push 0x10
push edi
call fcn.00413e40
add esp, 0xc
mov dword [esi + 0x68], eax
jmp case.default.0x403588
cmp dword [esi + 0x84], 0
jne 0x403a8b
push 0x30
push 0x58
call fcn.00413d70
add esp, 8
mov dword [esi + 0x84], eax
test edi, edi
je 0x403a9d
push edi
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
test eax, eax
je 0x403aa2
mov eax, 1
mov ecx, dword [esi + 0x84]
mov byte [ecx + 0x50], al
mov eax, dword [ebp - 0x408]
add eax, 4
mov dword [ebp - 0x408], eax
mov eax, dword [eax]
test eax, eax
jne 0x4034f0
mov edx, dword [ebp - 0x40c]
push edx
call fcn.00408cd0
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
xor ecx, ebp
pop esi
call fcn.00472ef6
mov esp, ebp
pop ebp
ret
push edi
push str.Unknown_option_to_ssl_mode:__s_n
call dword [sym.imp.MSVCR100.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0xc
push 1
call dword [sym.imp.MSVCR100.dll_exit]
invalid