Function at 0x402a3b
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
jmp 0x419cc0
sub esp, 0x8fc
mov eax, dword [0x93e25c]
push ebx
push ebp
mov ebp, dword [esp + 0x908]
push esi
xor esi, esi
mov dword [esp + 0x904], eax
mov eax, dword [ebp + 0x328]
cmp eax, esi
push edi
mov dword [esp + 0x14], esi
mov dword [ebp + 0x3ac], 0x819170
mov dword [ebp], esi
mov dword [ebp + 0x2dc], esi
jne 0x419d11
cmp dword [ebp + 0x32c], esi
je 0x419d4c
cmp eax, esi
jne 0x419d11
mov eax, 0x73a4c0
mov ecx, dword [ebp + 0x32c]
push ecx
push eax
lea edx, [ebp + 0x2f8]
push edx
call fcn.00408963
mov eax, dword [ebp + 0x328]
push eax
call fcn.005d8be0
mov ecx, dword [ebp + 0x32c]
push ecx
call fcn.005d8be0
add esp, 0x14
mov dword [ebp + 0x32c], esi
mov dword [ebp + 0x328], esi
mov eax, dword [esp + 0x914]
cmp eax, esi
je 0x419d5c
cmp byte [eax], 0
jne 0x419d69
mov edx, dword [ebp + 0x310]
mov dword [esp + 0x914], edx
mov eax, dword [esp + 0x918]
cmp eax, esi
mov ecx, 0x73a01c
je 0x419d7e
cmp byte [eax], 0
jne 0x419d96
mov eax, dword [ebp + 0x314]
cmp eax, esi
mov dword [esp + 0x918], eax
jne 0x419d96
mov dword [esp + 0x918], ecx
cmp dword [esp + 0x91c], esi
jne 0x419db7
mov eax, dword [ebp + 0x318]
cmp eax, esi
mov dword [esp + 0x91c], eax
jne 0x419db7
mov dword [esp + 0x91c], ecx
mov eax, dword [esp + 0x920]
cmp eax, esi
je 0x419dc7
cmp byte [eax], 0
jne 0x419dd4
mov eax, dword [ebp + 0x320]
mov dword [esp + 0x920], eax
cmp dword [esp + 0x924], esi
jne 0x419dea
mov ecx, dword [ebp + 0x304]
mov dword [esp + 0x924], ecx
cmp dword [esp + 0x928], esi
jne 0x419e00
mov edx, dword [ebp + 0x31c]
mov dword [esp + 0x928], edx
mov eax, dword [ebp]
cmp eax, esi
mov dword [ebp + 0x2ec], 2
jne 0x41a17c
mov eax, dword [ebp + 0x308]
mov ebx, 3
cmp eax, ebx
je 0x419e6f
mov eax, dword [esp + 0x914]
test eax, eax
je 0x419e41
mov edi, 0x73a2a4
mov esi, eax
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x419e6f
mov cl, byte [0x976bb4]
test cl, cl
jne 0x419f0e
mov ecx, dword [esp + 0x928]
test ecx, ecx
jne 0x419e6f
test eax, eax
jne 0x419f0e
call fcn.004177a0
test al, al
je 0x419f0e
mov edx, dword [ebp + 0x2f8]
lea eax, [esp + 0x928]
push eax
lea ecx, [esp + 0x918]
push ecx
push edx
push ebp
call fcn.0040bbae
add esp, 0x10
cmp eax, 0xffffffff
jne 0x419ee0
cmp dword [ebp + 0x308], ebx
je 0x41a9b1
mov esi, dword [esp + 0x914]
test esi, esi
je 0x419ebf
mov edi, 0x73a2a4
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x41a9b1
mov esi, dword [esp + 0x928]
test esi, esi
je 0x419f0e
mov edi, str.MySQL
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x41a9b1
jmp 0x419f0e
push eax
call fcn.0063fcd0
mov ecx, dword [esp + 0x92c]
mov dword [ebp], eax
mov edx, dword [str.Named_pipe:___.32s]
push ecx
push edx
lea eax, [esp + 0x60]
push 0xb3
push eax
mov dword [esp + 0x28], eax
call fcn.0062b5c0
add esp, 0x14
mov eax, dword [ebp]
test eax, eax
jne 0x41a17c
mov eax, dword [ebp + 0x308]
test eax, eax
je 0x419f2c
cmp eax, 1
jne 0x41a140
mov eax, dword [esp + 0x924]
test eax, eax
mov dword [esp + 0x928], 0
jne 0x419f4f
mov ecx, dword [0x9728a0]
mov dword [esp + 0x924], ecx
mov eax, dword [esp + 0x914]
test eax, eax
jne 0x419f65
mov dword [esp + 0x914], str.localhost
mov esi, dword [esp + 0x914]
mov eax, dword [str.__.100s_via_TCP_IP]
push esi
lea edx, [esp + 0x58]
push eax
mov ecx, edx
push 0xb3
push ecx
mov dword [esp + 0x24], edx
call fcn.0062b5c0
mov eax, dword [ebp + 0x2f8]
lea edx, [esp + 0x44]
push edx
push eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], 0
call fcn.005dbb50
add esp, 0x1c
push 0
push 1
push 2
call sub.WSOCK32.dll_socket
lea edx, [esp + 0x1c]
push edx
mov ebx, eax
call fcn.005dbc10
add esp, 4
cmp ebx, 0xffffffff
jne 0x41a011
mov dword [ebp + 0x25c], 0x7d4
mov eax, dword [str.HY000]
push eax
lea ecx, [ebp + 0x255]
push ecx
call fcn.0062b5e0
add esp, 8
call sub.WSOCK32.dll_WSAGetLastError
mov edx, dword [ebp + 0x25c]
push eax
mov eax, dword [edx*4 + 0x817278]
push eax
lea ecx, [ebp + 0x55]
push 0x1ff
push ecx
call fcn.0062b5c0
add esp, 0x10
jmp 0x41a9b1
push 2
push 1
push ebx
call fcn.0063fc50
xor edx, edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edx
add esp, 0xc
mov dword [esp + 0x4c], edx
push esi
mov dword [ebp], eax
mov dword [esp + 0x54], edx
mov word [esp + 0x48], 2
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
je 0x41a04e
mov dword [esp + 0x48], eax
jmp 0x41a0da
lea eax, [esp + 0x18]
push eax
push 0x800
lea ecx, [esp + 0x110]
push ecx
lea edx, [esp + 0x30]
push edx
push esi
call fcn.005dbaf0
add esp, 0x14
test eax, eax
jne 0x41a0a3
call fcn.005dbb20
mov dword [ebp + 0x25c], 0x7d5
mov eax, dword [str.HY000]
push eax
lea ecx, [ebp + 0x255]
push ecx
call fcn.0062b5e0
mov edx, dword [esp + 0x20]
mov eax, dword [str.Unknown_MySQL_server_host___.100s___d_]
push edx
push esi
jmp 0x41a2ae
mov cx, word [eax + 0xa]
cmp cx, 4
jbe 0x41a0b4
mov ecx, 4
jmp 0x41a0b7
movsx ecx, cx
mov edx, dword [eax + 0xc]
mov esi, dword [edx]
mov eax, ecx
shr ecx, 2
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005dbb20
mov esi, dword [esp + 0x914]
mov ecx, dword [esp + 0x924]
push ecx
call sub.WSOCK32.dll_htons
push 0x10
lea edx, [esp + 0x48]
push edx
push ebx
mov word [esp + 0x52], ax
call sub.WSOCK32.dll_connect
test eax, eax
je 0x41a140
mov dword [ebp + 0x25c], 0x7d3
mov eax, dword [str.HY000]
push eax
lea ecx, [ebp + 0x255]
push ecx
call fcn.0062b5e0
add esp, 8
call sub.WSOCK32.dll_WSAGetLastError
mov edx, dword [str.Cant_connect_to_MySQL_server_on___.100s___d_]
push eax
push esi
push edx
lea eax, [ebp + 0x55]
push 0x1ff
push eax
call fcn.0062b5c0
add esp, 0x14
jmp 0x41a9b1
mov eax, dword [ebp]
test eax, eax
jne 0x41a17c
mov esi, dword [str.HY000]
mov dword [ebp + 0x25c], 0x7ff
mov ecx, dword [str.Wrong_or_unknown_protocol]
push ecx
lea edx, [ebp + 0x55]
push edx
call fcn.0062b5e0
lea eax, [ebp + 0x255]
push esi
push eax
call fcn.0062b5e0
add esp, 0x10
jmp 0x41a9b1
push eax
push ebp
call fcn.00407531
add esp, 8
test al, al
mov eax, dword [ebp]
je 0x41a1b2
push eax
call dword [eax + 0x60]
mov dword [ebp], 0
mov ecx, dword [str.HY000]
push ecx
push 0x7d8
push ebp
call fcn.0040359e
add esp, 0x10
jmp 0x41a9b1
push 1
push eax
call dword [eax + 0x78]
mov eax, dword [ebp + 0x2fc]
add esp, 8
test eax, eax
je 0x41a1cf
push eax
push ebp
call fcn.00405d3a
add esp, 8
mov eax, dword [ebp + 0x300]
test eax, eax
je 0x41a1e3
push eax
push ebp
call fcn.00401c30
add esp, 8
mov eax, dword [ebp + 0x350]
test eax, eax
je 0x41a1f0
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x2f8]
test eax, eax
mov dword [ebp + 0x2e4], 0xa
je 0x41a224
mov edx, dword [ebp]
push eax
push edx
call fcn.0063f720
add esp, 8
test al, al
je 0x41a224
call fcn.006cee9e
mov eax, dword [eax]
push eax
push str.waiting_for_initial_communication_packet
jmp 0x41a251
push ebp
call fcn.00407027
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
jne 0x41a273
cmp dword [ebp + 0x25c], 0x7dd
jne 0x41a9b1
call fcn.006cee9e
mov eax, dword [eax]
push eax
push str.reading_initial_communication_packet
mov ecx, dword [str.Lost_connection_to_MySQL_server_at__s__system_error:__d]
mov edx, dword [str.HY000]
push ecx
push edx
mov eax, 0x7dd
mov ecx, ebp
call fcn.00417750
add esp, 0x10
jmp 0x41a9b1
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax]
cmp ecx, 0xa
mov dword [ebp + 0x2e4], ecx
je 0x41a2c5
mov eax, dword [str.HY000]
push eax
lea ecx, [ebp + 0x255]
push ecx
call fcn.0062b5e0
mov edx, dword [ebp + 0x2e4]
push 0xa
mov dword [ebp + 0x25c], 0x7d7
mov eax, dword [str.Protocol_mismatch__server_version___d__client_version___d]
push edx
push eax
lea ecx, [ebp + 0x55]
push 0x1ff
push ecx
call fcn.0062b5c0
add esp, 0x1c
jmp 0x41a9b1
inc eax
push eax
call fcn.0062b6a0
mov esi, eax
mov edx, dword [esi + 1]
push 8
add esi, 5
lea eax, [ebp + 0x382]
push esi
push eax
mov dword [ebp + 0x2d0], edx
call fcn.0062b670
mov ecx, dword [ebp + 0x10]
add esi, 9
mov eax, esi
sub eax, ecx
lea edx, [eax + 1]
add esp, 0x10
cmp edi, edx
jb 0x41a306
movzx edx, word [esi]
mov dword [ebp + 0x2e0], edx
add eax, 0x12
cmp edi, eax
jb 0x41a321
movsx eax, byte [esi + 2]
mov dword [ebp + 0x2f0], eax
movzx edx, word [esi + 3]
mov dword [ebp + 0x2ec], edx
add esi, 0x12
mov eax, esi
sub eax, ecx
add eax, 0xd
cmp edi, eax
jb 0x41a343
push 0xc
lea ecx, [ebp + 0x38a]
push esi
push ecx
call fcn.0062b670
add esp, 0xc
jmp 0x41a34d
and dword [ebp + 0x2e0], 0xffff7fff
mov al, byte [ebp + 0x364]
test al, al
je 0x41a37d
mov edx, dword [esp + 0x91c]
cmp byte [edx], 0
je 0x41a37d
mov eax, dword [ebp + 0x2e0]
test ah, ah
js 0x41a37d
mov eax, dword [str.HY000]
push eax
push 0x801
jmp 0x41a9a8
push ebp
call fcn.0040a024
add esp, 4
test eax, eax
jne 0x41a9b1
mov eax, dword [esp + 0x928]
test eax, eax
je 0x41a3b0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a3a0
sub eax, edx
inc eax
mov dword [esp + 0x18], eax
jmp 0x41a3b8
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x914]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a3c2
sub eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41a3d6
sub esi, dword [ebp + 0x10]
push 0
push esi
sub eax, ecx
lea ecx, [ebp + 0x280]
push ecx
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x30]
lea ebx, [ebp + 0x27c]
push ebx
inc ecx
push ecx
lea edx, [ebp + 0x270]
push edx
inc eax
push eax
lea edi, [ebp + 0x284]
push edi
push 0
call fcn.005dba80
add esp, 0x28
test eax, eax
je 0x41a99c
mov esi, dword [esp + 0x918]
push 0
push esi
call fcn.005d8c40
add esp, 8
test eax, eax
mov dword [ebp + 0x274], eax
je 0x41a99c
mov edx, dword [esp + 0x91c]
push 0
push edx
call fcn.005d8c40
add esp, 8
test eax, eax
mov dword [ebp + 0x278], eax
je 0x41a99c
mov eax, dword [esp + 0x14]
mov ecx, dword [edi]
push eax
push ecx
call fcn.0062b5e0
mov edx, dword [esp + 0x91c]
mov eax, dword [ebp + 0x270]
push edx
push eax
call fcn.0062b5e0
mov eax, dword [esp + 0x938]
add esp, 0x10
test eax, eax
je 0x41a49d
mov ecx, dword [ebx]
push eax
push ecx
call fcn.0062b5e0
add esp, 8
jmp 0x41a4a3
mov dword [ebx], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x280]
inc edx
push edx
push eax
call fcn.0062b5e0
mov edx, dword [ebp + 0x30c]
mov ebx, dword [esp + 0x934]
mov ecx, dword [esp + 0x92c]
or edx, 0xa205
or ebx, edx
add esp, 8
test ebx, 0x10000
mov dword [ebp + 0x2d8], ecx
je 0x41a4e7
or ebx, 0x20000
mov eax, dword [ebp + 0x338]
test eax, eax
jne 0x41a519
mov eax, dword [ebp + 0x33c]
test eax, eax
jne 0x41a519
mov eax, dword [ebp + 0x340]
test eax, eax
jne 0x41a519
mov eax, dword [ebp + 0x344]
test eax, eax
jne 0x41a519
mov eax, dword [ebp + 0x348]
test eax, eax
je 0x41a520
mov byte [ebp + 0x354], 1
mov al, byte [ebp + 0x354]
test al, al
je 0x41a530
or ebx, 0x800
mov eax, dword [esp + 0x920]
test eax, eax
je 0x41a53e
or ebx, 8
mov eax, dword [ebp + 0x2e0]
or eax, 0xfffff5df
and ebx, eax
test bh, 2
mov dword [esp + 0x92c], ebx
je 0x41a593
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x290]
mov dword [esp + 0x58], ecx
xor ecx, ecx
mov dword [esp + 0x54], ebx
mov al, byte [edx]
mov dword [esp + 0x5d], ecx
mov dword [esp + 0x61], ecx
mov dword [esp + 0x65], ecx
mov dword [esp + 0x69], ecx
mov dword [esp + 0x6d], ecx
mov word [esp + 0x71], cx
mov byte [esp + 0x5c], al
mov byte [esp + 0x73], cl
lea edi, [esp + 0x74]
jmp 0x41a5b6
mov eax, dword [ebp + 0x1c]
mov dl, byte [ebp + 0x1c]
mov ecx, eax
shr ecx, 8
shr eax, 0x10
mov word [esp + 0x54], bx
mov byte [esp + 0x56], dl
mov byte [esp + 0x57], cl
mov byte [esp + 0x58], al
lea edi, [esp + 0x59]
test bh, 8
mov dword [ebp + 0x2dc], ebx
je 0x41a6bf
lea eax, [esp + 0x54]
mov edx, edi
sub edx, eax
push edx
mov ecx, eax
push ecx
push ebp
call fcn.0040944e
add esp, 0xc
test al, al
jne 0x41a691
push ebp
call fcn.0040681b
add esp, 4
test al, al
jne 0x41a691
mov edx, dword [ebp + 0x348]
mov eax, dword [ebp + 0x344]
mov ecx, dword [ebp + 0x340]
push edx
mov edx, dword [ebp + 0x33c]
push eax
mov eax, dword [ebp + 0x338]
push ecx
push edx
push eax
call fcn.0063f2c0
add esp, 0x14
test eax, eax
jne 0x41a633
mov ecx, dword [str.HY000]
push ecx
push 0x7ea
jmp 0x41a9a8
mov edx, dword [ebp + 0x2f8]
mov ecx, dword [ebp]
push edx
push ecx
push eax
mov dword [ebp + 0x26c], eax
call fcn.0063ee70
add esp, 0xc
test eax, eax
je 0x41a662
mov edx, dword [str.HY000]
push edx
push 0x7ea
jmp 0x41a9a8
test ebx, 0x40000000
je 0x41a6bf
mov eax, dword [ebp]
mov ecx, dword [ebp + 0x270]
push eax
call fcn.00418560
add esp, 4
test eax, eax
je 0x41a6bf
mov ecx, dword [str.HY000]
push ecx
push 0x7ea
jmp 0x41a9a8
call fcn.006cee9e
mov edx, dword [eax]
mov eax, dword [str.Lost_connection_to_MySQL_server_at__s__system_error:__d]
mov ecx, dword [str.HY000]
push edx
push str.sending_connection_information_to_server
push eax
push ecx
mov eax, 0x7dd
mov ecx, ebp
call fcn.00417750
add esp, 0x10
jmp 0x41a9b1
test esi, esi
je 0x41a6d4
cmp byte [esi], 0
je 0x41a6d4
push 0x10
push esi
push edi
call fcn.0062b670
add esp, 0xc
push edi
call fcn.0062b6a0
mov ebx, dword [esp + 0x920]
mov esi, eax
mov al, byte [ebx]
add esp, 4
inc esi
test al, al
je 0x41a71f
mov eax, dword [ebp + 0x2e0]
test ah, ah
push ebx
lea eax, [ebp + 0x382]
push eax
jns 0x41a711
mov byte [esi], 0x14
inc esi
push esi
call fcn.0040bb54
add esp, 0xc
add esi, 0x14
jmp 0x41a723
push esi
call fcn.00408553
add esp, 0xc
add esi, 9
jmp 0x41a723
mov byte [esi], 0
inc esi
mov edi, dword [esp + 0x920]
test edi, edi
je 0x41a756
test byte [ebp + 0x2e0], 8
je 0x41a756
push 0x40
push edi
push esi
call fcn.0062b670
inc eax
push 0x10
push edi
mov esi, eax
call fcn.005d8c40
add esp, 0x14
mov dword [ebp + 0x28c], eax
xor edi, edi
lea edx, [esp + 0x54]
sub esi, edx
push esi
mov eax, edx
push eax
push ebp
call fcn.0040944e
add esp, 0xc
test al, al
jne 0x41a971
push ebp
call fcn.0040681b
add esp, 4
test al, al
jne 0x41a971
push ebp
call fcn.00407027
add esp, 4
cmp eax, 0xffffffff
jne 0x41a7ce
cmp dword [ebp + 0x25c], 0x7dd
jne 0x41a9b1
call fcn.006cee9e
mov ecx, dword [eax]
mov edx, dword [str.Lost_connection_to_MySQL_server_at__s__system_error:__d]
mov eax, dword [str.HY000]
push ecx
push str.reading_authorization_packet
push edx
push eax
mov eax, 0x7dd
mov ecx, ebp
call fcn.00417750
add esp, 0x10
jmp 0x41a9b1
cmp eax, 1
jne 0x41a89e
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 0xfe
jne 0x41a89e
mov eax, dword [ebp + 0x2e0]
test ah, ah
jns 0x41a89e
push ebx
lea eax, [ebp + 0x382]
push eax
lea edx, [esp + 0x5c]
push edx
call fcn.00408553
push 9
lea eax, [esp + 0x64]
push eax
push ebp
call fcn.0040944e
add esp, 0x18
test al, al
jne 0x41a870
push ebp
call fcn.0040681b
add esp, 4
test al, al
jne 0x41a870
push ebp
call fcn.00407027
add esp, 4
cmp eax, 0xffffffff
jne 0x41a89e
cmp dword [ebp + 0x25c], 0x7dd
jne 0x41a9b1
call fcn.006cee9e
mov ecx, dword [eax]
mov edx, dword [str.Lost_connection_to_MySQL_server_at__s__system_error:__d]
mov eax, dword [str.HY000]
push ecx
push str.reading_final_connect_information
push edx
push eax
mov eax, 0x7dd
mov ecx, ebp
call fcn.00417750
add esp, 0x10
jmp 0x41a9b1
call fcn.006cee9e
mov ecx, dword [eax]
mov edx, dword [str.Lost_connection_to_MySQL_server_at__s__system_error:__d]
mov eax, dword [str.HY000]
push ecx
push str.sending_password_information
push edx
push eax
mov eax, 0x7dd
mov ecx, ebp
call fcn.00417750
add esp, 0x10
jmp 0x41a9b1
test byte [esp + 0x92c], 0x20
je 0x41a8ac
mov byte [ebp + 0x38], 1
test edi, edi
je 0x41a8f9
push edi
push ebp
call fcn.00407d0b
test eax, eax
je 0x41a8f9
cmp dword [ebp + 0x25c], 0x7dd
jne 0x41a9b1
call fcn.006cee9e
mov ecx, dword [eax]
mov edx, dword [str.Lost_connection_to_MySQL_server_at__s__system_error:__d]
mov eax, dword [str.HY000]
push ecx
push str.Setting_intital_database
push edx
push eax
mov eax, 0x7dd
mov ecx, ebp
call fcn.00417750
add esp, 0x10
jmp 0x41a9b1
mov eax, dword [ebp + 0x324]
test eax, eax
je 0x41a96a
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov dl, byte [ebp + 0x381]
lea ebx, [esi + ecx*4]
cmp esi, ebx
mov byte [esp + 0x13], dl
mov byte [ebp + 0x381], 0
jae 0x41a960
mov edx, dword [esi]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a927
sub eax, edi
push eax
push edx
push ebp
call fcn.0040ac13
test eax, eax
jne 0x41a9b1
mov eax, dword [ebp + 0x294]
test eax, eax
je 0x41a959
push ebp
call fcn.00418ec0
add esp, 4
test eax, eax
je 0x41a9b1
push eax
call fcn.0040a3da
add esi, 4
cmp esi, ebx
jb 0x41a920
mov al, byte [esp + 0x13]
mov byte [ebp + 0x381], al
mov eax, ebp
jmp 0x41a9fe
call fcn.006cee9e
mov ecx, dword [eax]
mov edx, dword [str.Lost_connection_to_MySQL_server_at__s__system_error:__d]
mov eax, dword [str.HY000]
push ecx
push str.sending_authentication_information
push edx
push eax
mov eax, 0x7dd
mov ecx, ebp
call fcn.00417750
add esp, 0x10
jmp 0x41a9b1
mov ecx, dword [str.HY000]
push ecx
push 0x7d8
push ebp
call fcn.0040359e
add esp, 0xc
call fcn.006cee9e
mov esi, dword [eax]
mov eax, dword [ebp]
test eax, eax
je 0x41a9cd
push eax
call dword [eax + 0x60]
add esp, 4
mov dword [ebp], 0
push ebp
call fcn.00407a18
push ebp
call fcn.004048a4
add esp, 8
call fcn.006cee9e
mov dword [eax], esi
mov esi, ebp
call fcn.00418b10
mov eax, dword [esp + 0x92c]
test eax, eax
js 0x41a9fc
mov eax, ebp
call fcn.00418a00
xor eax, eax
mov ecx, dword [esp + 0x908]
pop edi
pop esi
pop ebp
pop ebx
call fcn.006cedd0
add esp, 0x8fc
ret 0x20