Function at 0x405ba0
Capabilities:
Initialize winsock library
Read file on windows
Set socket configuration
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1448
call fcn.00410f80
mov eax, dword [0x439040]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x20]
push ebx
push esi
mov esi, ecx
mov byte [ebp - 0x13e1], dl
push edi
mov dword [ebp - 0x1384], eax
xor ecx, ecx
nop dword [eax]
movzx eax, word [ecx + 0xebd688]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x80e], ax
test ax, ax
jne 0x405bd0
lea ecx, [ebp - 0x80c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x405bf0
mov eax, dword [str..log]
mov dword [ecx], eax
mov eax, dword [0x436f8c]
mov dword [ecx + 4], eax
mov ax, word [0x436f90]
push 1
mov word [ecx + 8], ax
call fcn.00414151
add esp, 4
push eax
lea eax, [ebp - 0x80c]
push 0x436684
push eax
call fcn.00419e9d
add esp, 0xc
push 0x11e4
push 0
push 0x43a7e8
call fcn.00411cc0
add esp, 0xc
push 0x165d0
push 0
push 0xebfa60
call fcn.00411cc0
add esp, 0xc
cmp byte [0x43b9cc], 0
je 0x405d36
xor ecx, ecx
nop dword [eax + eax]
movzx eax, word [ecx + 0xebd688]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x20e], ax
test ax, ax
jne 0x405c70
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x405c90
mov eax, dword [str..hst]
mov dword [ecx], eax
mov eax, dword [0x43689c]
mov dword [ecx + 4], eax
mov ax, word [0x4368a0]
mov word [ecx + 8], ax
lea eax, [ebp - 0x20c]
push 0x4362a4
push eax
lea eax, [ebp - 0x137c]
push eax
call fcn.004145ea
add esp, 0xc
test eax, eax
je 0x405cf7
lea ecx, [ebp - 0x20c]
cmp eax, 2
push ecx
mov edx, str.File_non_trovato:_errore__d__s_n
mov ecx, str.Errore_lettura_file:_errore__d__s_n
push eax
cmove ecx, edx
push ecx
call fcn.004010d0
add esp, 0xc
jmp 0x405d36
mov eax, dword [ebp - 0x137c]
test eax, eax
je 0x405d36
push eax
call fcn.0041a7e2
add esp, 4
test eax, eax
jne 0x405d28
push dword [ebp - 0x137c]
push 1
push 0x165d0
push 0xebfa60
call fcn.0041a9f4
add esp, 0x10
push dword [ebp - 0x137c]
call fcn.004146a8
add esp, 4
xor eax, eax
mov dword [0x43a7e8], 0x200004
mov dword [0x43a7f4], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x1378]
mov dword [0x43a7ec], 0x10
push eax
lea eax, [ebp - 0x1380]
mov dword [0x43a7f0], 0
push eax
lea eax, [ebp - 0x1388]
movlpd qword [0x43a7f8], xmm0
push eax
lea eax, [ebp - 0x137c]
mov dword [0x43a800], 0xe1af8308
push eax
lea eax, [ebp - 0x1394]
mov dword [0x43a804], 0x11c95d1f
push eax
lea eax, [ebp - 0x13a8]
mov dword [0x43a808], 0x8a491
push eax
push str._x:_x:_x:_x:_x:_x
push esi
mov dword [0x43a80c], 0xfaa0142b
call fcn.00401200
add esp, 0x20
cmp eax, 6
je 0x405de8
xor al, al
mov byte [ebp - 0x138a], 0
xor dl, dl
mov byte [ebp - 0x138e], 0
mov byte [ebp - 0x138d], 0
xor cl, cl
jmp 0x405e1e
mov al, byte [ebp - 0x13a8]
mov dl, byte [ebp - 0x1380]
mov cl, byte [ebp - 0x1378]
mov byte [ebp - 0x138a], al
mov al, byte [ebp - 0x1394]
mov byte [ebp - 0x138e], al
mov al, byte [ebp - 0x137c]
mov byte [ebp - 0x138d], al
mov al, byte [ebp - 0x1388]
movzx edi, al
xorps xmm0, xmm0
movzx ecx, cl
movzx esi, dl
mov eax, ecx
shl eax, 8
add eax, esi
movlpd qword [0xee7690], xmm0
shl eax, 8
add eax, edi
movlpd qword [0xee7698], xmm0
mov dword [ebp - 0x1388], eax
add eax, 0x1000000
mov dword [ebp - 0x1378], eax
mov dword [0x43a810], eax
mov eax, ecx
cdq
mov ebx, eax
movlpd qword [0xee76bc], xmm0
mov ecx, edx
movlpd qword [0xee76c4], xmm0
shld ecx, ebx, 8
mov eax, esi
mov dword [0xee768c], 1
cdq
shl ebx, 8
add ebx, eax
mov dword [0xee76a4], 0xdea00001
mov eax, edi
mov dword [0xee76b4], 1
adc ecx, edx
mov dword [0xee76a8], 0x11d16c97
shld ecx, ebx, 8
cdq
shl ebx, 8
add ebx, eax
mov dword [0xee76ac], 0xa0007182
movzx eax, byte [ebp - 0x138d]
adc ecx, edx
mov dword [0xee76b0], 0x7ddf4224
shld ecx, ebx, 8
movzx ecx, byte [ebp - 0x138a]
xor esi, esi
cdq
shl ebx, 8
add ebx, eax
mov dword [0xee76b8], 1
movzx eax, byte [ebp - 0x138e]
shl eax, 8
add eax, ecx
mov dword [ebp - 0x137c], ebx
shl eax, 0x10
cdq
add eax, esi
mov dword [0x43a814], 0x1010000
mov dword [ebp - 0x1380], esi
adc edx, ebx
mov dword [0x43a820], esi
add eax, 0xa491
mov dword [0x43a824], 3
mov dword [0x43a818], eax
lea ebx, [esi + 2]
mov eax, dword [0x43b9dc]
adc edx, esi
mov dword [0x43a828], eax
xor eax, eax
mov dword [0xee7688], eax
movups xmm0, xmmword [0xee7688]
mov dword [0xee76a0], ebx
mov dword [0x43a81c], edx
movups xmmword [0x43a838], xmm0
mov dword [0x43a82c], 0xffff0002
movups xmm0, xmmword [0xee7698]
mov dword [0x43a830], 0x4cffff
mov dword [0x43a834], eax
movups xmmword [0x43a848], xmm0
mov dword [0xee76cc], eax
movups xmm0, xmmword [0xee76a8]
mov dword [0xee76d0], 1
movups xmmword [0x43a858], xmm0
movups xmm0, xmmword [0xee76b8]
lea eax, [ebp - 0x1374]
mov dword [0x43a880], 1
movups xmmword [0x43a868], xmm0
push eax
movq xmm0, qword [0xee76c8]
push 0x202
movq qword [0x43a878], xmm0
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x407bda
push 0x11
push ebx
push ebx
call dword [sym.imp.WS2_32.dll_socket]
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
xorps xmm0, xmm0
mov edi, eax
movups xmmword [ebp - 0x11e4], xmm0
push 0xee88e8
mov dword [ebp - 0x13a8], edi
mov word [ebp - 0x11e4], bx
call esi
mov dword [ebp - 0x11e0], eax
lea eax, [ebp - 0x11e4]
push 0x10
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
push 0x8894
mov word [ebp - 0x13a4], bx
call dword [sym.imp.WS2_32.dll_htons]
push 0xee6268
mov word [ebp - 0x13a2], ax
call esi
push 4
mov dword [ebp - 0x13a0], eax
lea eax, [ebp - 0x13e8]
push eax
push 0x1006
push 0xffff
push edi
mov dword [ebp - 0x13e8], 0xbb8
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
js 0x407bf5
mov ebx, dword [ebp + 0x18]
mov eax, ebx
or eax, dword [ebp + 0x1c]
movups xmm0, xmmword [ebp - 0x13a4]
movups xmm1, xmmword [ebp - 0x13a4]
jne 0x4065a1
sub esp, 0x10
mov dword [0x43b9dc], 0
mov eax, esp
mov edx, 0x10
sub esp, 0x10
mov ecx, edi
movups xmmword [eax], xmm1
mov eax, esp
push 1
push 0x9c
movups xmmword [eax], xmm0
call fcn.004052d0
mov edx, 1
mov ecx, edi
call fcn.004035d0
push dword [0xebd8a5]
push str._08x__n
call fcn.00401180
add esp, 0x30
xor esi, esi
nop dword [eax + eax]
movzx eax, byte [esi + 0x43cbc8]
push eax
push str._02x
call fcn.00401180
inc esi
add esp, 8
cmp esi, 0x14
jl 0x4060f0
mov eax, dword [0xebd8a5]
cmp eax, 0xdea00000
jb 0x406122
cmp eax, 0xdea00003
jbe 0x40658b
mov eax, dword [ebp - 0x1378]
mov esi, dword [0x43b9dc]
inc esi
mov dword [0x43a810], eax
mov al, byte [0x43b9e4]
mov dword [0x43b9dc], esi
mov dword [0x43a828], esi
mov byte [0x43a7ec], al
test al, al
jne 0x4064bb
mov ecx, dword [0x43a7f0]
mov edx, ecx
mov eax, ecx
shl edx, 0x10
shr ecx, 8
and eax, 0xff00
or edx, eax
and ecx, 0xff00
movzx eax, byte [0x43a7f3]
shl edx, 8
or edx, ecx
mov ecx, dword [0x43a7f4]
or edx, eax
shl ecx, 8
movzx eax, byte [0x43a7f5]
or cx, ax
mov dword [0x43a7f0], edx
movzx eax, byte [0x43a7f7]
mov word [0x43a7f4], cx
movzx ecx, word [0x43a7f6]
shl cx, 8
or cx, ax
mov word [0x43a7f6], cx
mov ecx, dword [0x43a800]
mov edx, ecx
mov eax, ecx
shl edx, 0x10
shr ecx, 8
and eax, 0xff00
or edx, eax
and ecx, 0xff00
movzx eax, byte [0x43a803]
shl edx, 8
or edx, ecx
mov ecx, dword [0x43a804]
or edx, eax
shl ecx, 8
movzx eax, byte [0x43a805]
or cx, ax
mov dword [0x43a800], edx
movzx eax, byte [0x43a807]
mov word [0x43a804], cx
movzx ecx, word [0x43a806]
shl cx, 8
or cx, ax
mov eax, dword [ebp - 0x1378]
mov word [0x43a806], cx
mov ecx, dword [0x43a814]
bswap eax
shl ecx, 8
mov dword [0x43a810], eax
movzx eax, byte [0x43a815]
or cx, ax
movzx eax, byte [0x43a817]
mov word [0x43a814], cx
movzx ecx, word [0x43a816]
shl cx, 8
or cx, ax
mov word [0x43a816], cx
mov ecx, dword [0x43a820]
mov edx, ecx
shl edx, 0x10
mov eax, ecx
and eax, 0xff00
shr ecx, 8
or edx, eax
and ecx, 0xff00
movzx eax, byte [0x43a823]
shl edx, 8
or edx, ecx
mov ecx, dword [0x43a824]
or edx, eax
mov eax, ecx
mov dword [0x43a820], edx
and eax, 0xff00
mov edx, ecx
shr ecx, 8
shl edx, 0x10
or edx, eax
shl edx, 8
and ecx, 0xff00
or edx, ecx
movzx eax, byte [0x43a827]
or edx, eax
mov ecx, esi
shr ecx, 0x10
mov eax, esi
and eax, 0xff0000
mov dword [0x43a824], edx
or ecx, eax
mov eax, esi
shr ecx, 8
and esi, 0xff00
shl eax, 0x10
or eax, esi
shl eax, 8
or ecx, eax
movzx eax, byte [0x43a82d]
mov dword [0x43a828], ecx
mov ecx, dword [0x43a82c]
shl ecx, 8
or cx, ax
movzx eax, byte [0x43a82f]
mov word [0x43a82c], cx
movzx ecx, word [0x43a82e]
shl cx, 8
or cx, ax
movzx eax, byte [0x43a831]
mov word [0x43a82e], cx
mov ecx, dword [0x43a830]
shl ecx, 8
or cx, ax
movzx eax, byte [0x43a833]
mov word [0x43a830], cx
movzx ecx, word [0x43a832]
shl cx, 8
or cx, ax
movzx eax, byte [0x43a835]
mov word [0x43a832], cx
mov ecx, dword [0x43a834]
shl ecx, 8
or cx, ax
mov word [0x43a834], cx
mov ecx, dword [0xee768c]
mov edx, ecx
shl edx, 0x10
mov eax, ecx
and eax, 0xff00
shr ecx, 8
or edx, eax
and ecx, 0xff00
movzx eax, byte [0xee768f]
shl edx, 8
or edx, ecx
mov ecx, dword [0xee76a0]
or edx, eax
mov eax, ecx
mov dword [0xee768c], edx
and eax, 0xff00
mov edx, ecx
shr ecx, 8
shl edx, 0x10
and ecx, 0xff00
or edx, eax
movzx eax, byte [0xee76a3]
shl edx, 8
or edx, ecx
mov ecx, dword [0xee76b8]
or edx, eax
mov eax, ecx
mov dword [0xee76a0], edx
and eax, 0xff00
mov edx, ecx
shr ecx, 8
shl edx, 0x10
and ecx, 0xff00
or edx, eax
movzx eax, byte [0xee76bb]
shl edx, 8
or edx, ecx
or edx, eax
mov dword [0xee76b8], edx
mov ecx, dword [0xee76d0]
mov esi, ecx
mov eax, ecx
shl esi, 0x10
shr ecx, 8
and eax, 0xff00
or esi, eax
and ecx, 0xff00
movzx eax, byte [0xee76d3]
shl esi, 8
or esi, ecx
mov ecx, dword [0xee76b4]
shl ecx, 8
or esi, eax
movzx eax, byte [0xee76b5]
or cx, ax
mov dword [0xee76d0], esi
mov word [0xee76b4], cx
mov ecx, dword [0xee76a4]
mov edx, ecx
mov eax, ecx
shl edx, 0x10
and eax, 0xff00
shr ecx, 8
or edx, eax
and ecx, 0xff00
movzx eax, byte [0xee76a7]
shl edx, 8
or edx, ecx
mov ecx, dword [0xee76a8]
or edx, eax
shl ecx, 8
movzx eax, byte [0xee76a9]
or cx, ax
mov dword [0xee76a4], edx
movzx eax, byte [0xee76ab]
mov word [0xee76a8], cx
movzx ecx, word [0xee76aa]
shl cx, 8
or cx, ax
mov word [0xee76aa], cx
jmp 0x4064c1
mov esi, dword [0xee76d0]
movups xmm0, xmmword [0x43cbc8]
mov eax, dword [0x43cbd8]
push 0x1194
push 0
push 0x43a838
movups xmmword [0xee76bc], xmm0
mov dword [0xee76cc], eax
call fcn.00411cc0
movups xmm0, xmmword [0xee7688]
push ecx
mov eax, esp
mov dword [0x43a880], esi
movups xmmword [0x43a838], xmm0
sub esp, 0x10
mov edx, 0x10
movups xmm0, xmmword [0xee7698]
mov ecx, edi
movups xmmword [0x43a848], xmm0
movups xmm0, xmmword [0xee76a8]
movups xmmword [0x43a858], xmm0
movups xmm0, xmmword [0xee76b8]
movups xmmword [0x43a868], xmm0
movq xmm0, qword [0xee76c8]
movq qword [0x43a878], xmm0
movups xmm0, xmmword [ebp - 0x13a4]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x13a4]
push 2
push 0x9c
movups xmmword [eax], xmm0
call fcn.004052d0
mov edx, 2
mov ecx, edi
call fcn.004035d0
push dword [0xebd8a5]
push str._n_08x__n
call fcn.00401180
mov eax, dword [0xebd8a5]
add esp, 0x30
cmp eax, 0xdea00000
jb 0x407c01
cmp eax, 0xdea00003
ja 0x407c01
push 0x37
push 0
push 0x43cc08
call fcn.00411cc0
add esp, 0xc
push 0x38
push 0
push 0xee6200
call fcn.00411cc0
add esp, 0xc
push 0xddf
push 0
push 0xebd8e8
call fcn.00411cc0
add esp, 0xc
push 0x92501d
push 0
push 0x597480
call fcn.00411cc0
add esp, 0xc
push 0x2c
push 0
push 0xee88bc
call fcn.00411cc0
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov ecx, dword [0x43b9dc]
xorps xmm0, xmm0
mov word [ebp - 0x13b0], ax
add esp, 0xc
mov dword [ebp - 0x142e], eax
mov word [ebp - 0x142a], ax
mov word [ebp - 0x140a], ax
mov word [ebp - 0x13f6], ax
mov word [ebp - 0x13f2], ax
mov eax, 5
mov word [0x43a82c], ax
mov eax, 0x54
mov word [0x43a832], ax
mov dword [ebp - 0x13d4], 0
movlpd qword [ebp - 0x13c8], xmm0
lea esi, [eax - 0x14]
movlpd qword [ebp - 0x13c0], xmm0
mov eax, ebx
mov dword [ebp - 0x13b8], 0
or eax, edx
mov dword [0x43a824], 1
mov dword [ebp - 0x13e0], 0x2040
mov dword [ebp - 0x13d8], 0x2040
mov dword [ebp - 0x13dc], 0x40
mov dword [ebp - 0x1378], 0x3c000900
mov dword [ebp - 0x13cc], 1
je 0x406702
cmp ecx, 0xfde8
jbe 0x4066bd
lea ecx, [esi - 0x3f]
movups xmm0, xmmword [0xee76a4]
mov eax, 0xdea00000
mov dword [0x43a7f8], ebx
mov dword [ebp - 0x1394], eax
mov dword [0x43a7f0], eax
movzx eax, word [0xee76a8]
mov word [0x43a7f4], ax
mov ax, word [0xee76aa]
mov word [ebp - 0x138c], ax
mov word [0x43a7f6], ax
mov dword [0x43a7fc], edx
jmp 0x40672f
movups xmm0, xmmword [0x43cbec]
movups xmmword [0x43a7f0], xmm0
mov ax, word [0x43a7f6]
movups xmm0, xmmword [0xebd8a5]
mov word [ebp - 0x138c], ax
mov eax, dword [0x43a7f0]
mov dword [ebp - 0x1394], eax
cmp byte [ebp - 0x13e1], 0
movups xmmword [0x43a800], xmm0
jne 0x407072
mov eax, dword [ebp - 0x1388]
lea edx, [ecx + 1]
add eax, 0x1000001
mov dword [0x43b9dc], edx
cmp byte [0x43a7ec], 0
mov dword [0x43a828], edx
mov dword [0x43a810], eax
jne 0x4068aa
mov ecx, edx
mov dword [0x43a824], 0x1000000
and ecx, 0xff0000
mov dword [ebp - 0x13e0], 0x40200000
mov eax, edx
mov dword [ebp - 0x13d8], 0x40200000
shr eax, 0x10
mov ebx, 0x40000000
or ecx, eax
mov dword [ebp - 0x13dc], 0x40000000
shr ecx, 8
mov eax, edx
shl eax, 0x10
and edx, 0xff00
or eax, edx
mov edx, dword [ebp - 0x1394]
shl eax, 8
or ecx, eax
mov eax, 0x500
mov word [0x43a82c], ax
mov eax, 0x5400
mov word [0x43a832], ax
mov eax, edx
shr eax, 0x10
mov dword [0x43a828], ecx
mov ecx, edx
and ecx, 0xff0000
or ecx, eax
mov eax, edx
shl eax, 0x10
and edx, 0xff00
or eax, edx
shr ecx, 8
shl eax, 8
or ecx, eax
mov dword [0x43a7f0], ecx
mov ecx, dword [0x43a7f4]
mov eax, ecx
shr eax, 8
movzx eax, al
shl ecx, 8
or ax, cx
mov cx, word [ebp - 0x138c]
mov word [0x43a7f4], ax
movzx eax, byte [0x43a7f7]
shl cx, 8
or cx, ax
mov word [0x43a7f6], cx
mov ecx, dword [0x43a800]
mov edx, ecx
mov eax, ecx
and edx, 0xff0000
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
mov ecx, dword [0x43a804]
shl eax, 8
or edx, eax
mov eax, ecx
shr eax, 8
shl ecx, 8
movzx eax, al
or ax, cx
mov dword [0x43a800], edx
movzx ecx, word [0x43a806]
mov word [0x43a804], ax
movzx eax, byte [0x43a807]
shl cx, 8
or cx, ax
mov word [0x43a806], cx
jmp 0x4068ac
mov ebx, esi
push 0x1194
push 0
push 0x43a838
call fcn.00411cc0
movups xmm0, xmmword [ebp - 0x13e0]
mov esi, dword [ebp - 0x1378]
mov eax, 0xf0
mov word [ebp - 0x13ae], ax
mov edx, 0x10
movups xmmword [0x43a838], xmm0
mov dword [ebp - 0x13b4], 0x1000000
movups xmm0, xmmword [ebp - 0x13cc]
push ecx
mov eax, esp
mov dword [0x43a848], ebx
movups xmmword [0x43a850], xmm0
sub esp, 0x10
mov ecx, edi
movups xmm0, xmmword [ebp - 0x13bc]
mov dword [0x43a84c], esi
mov dword [0x43a870], 0x200000
movups xmmword [0x43a860], xmm0
xorps xmm0, xmm0
movups xmmword [0x43a874], xmm0
movq qword [0x43a884], xmm0
movups xmm0, xmmword [ebp - 0x13a4]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x13a4]
push 3
push 0xa4
movups xmmword [eax], xmm0
call fcn.004052d0
add esp, 0x28
test eax, eax
jne 0x40696b
lea edx, [eax + 3]
mov ecx, edi
call fcn.004037d0
mov eax, dword [0x43b9dc]
inc eax
mov dword [0x43b9dc], eax
mov dword [0x43a828], eax
mov eax, dword [ebp - 0x1388]
push 0x1194
add eax, 0x1000001
push 0
push 0x43a838
mov dword [0x43a810], eax
call fcn.00411cc0
movups xmm0, xmmword [ebp - 0x13e0]
mov eax, 0xf0af
mov dword [0x43a848], ebx
mov word [ebp - 0x13ae], ax
mov edx, 0x10
mov eax, dword [0x597480]
mov ecx, eax
movups xmmword [0x43a838], xmm0
shl ecx, 8
movups xmm0, xmmword [ebp - 0x13cc]
movzx eax, ah
or cx, ax
mov dword [0x43a84c], esi
movups xmmword [0x43a850], xmm0
mov word [ebp - 0x13b4], cx
movups xmm0, xmmword [ebp - 0x13bc]
push ecx
mov eax, esp
mov dword [0x43a870], 0x200000
movups xmmword [0x43a860], xmm0
sub esp, 0x10
mov ecx, edi
xorps xmm0, xmm0
movups xmmword [0x43a874], xmm0
movq qword [0x43a884], xmm0
movups xmm0, xmmword [ebp - 0x13a4]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x13a4]
push 4
push 0xa4
movups xmmword [eax], xmm0
call fcn.004052d0
add esp, 0x28
test eax, eax
jne 0x406a51
lea edx, [eax + 4]
mov ecx, edi
call fcn.004037d0
mov eax, dword [0x43b9dc]
inc eax
mov dword [0x43b9dc], eax
mov dword [0x43a828], eax
mov eax, dword [ebp - 0x1388]
push 0x1194
add eax, 0x1000001
push 0
push 0x43a838
mov dword [0x43a810], eax
call fcn.00411cc0
movups xmm0, xmmword [ebp - 0x13e0]
mov eax, 0xf1af
mov dword [0x43a848], ebx
mov word [ebp - 0x13ae], ax
mov edx, 0x10
mov eax, dword [0x597480]
mov ecx, eax
movups xmmword [0x43a838], xmm0
shl ecx, 8
movups xmm0, xmmword [ebp - 0x13cc]
movzx eax, ah
or cx, ax
mov dword [0x43a84c], esi
movups xmmword [0x43a850], xmm0
mov word [ebp - 0x13b4], cx
movups xmm0, xmmword [ebp - 0x13bc]
push ecx
mov eax, esp
mov dword [0x43a870], 0x200000
movups xmmword [0x43a860], xmm0
sub esp, 0x10
mov ecx, edi
xorps xmm0, xmm0
movups xmmword [0x43a874], xmm0
movq qword [0x43a884], xmm0
movups xmm0, xmmword [ebp - 0x13a4]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x13a4]
push 5
push 0xa4
movups xmmword [eax], xmm0
call fcn.004052d0
add esp, 0x28
test eax, eax
jne 0x406b37
lea edx, [eax + 5]
mov ecx, edi
call fcn.004037d0
mov eax, dword [0x43b9dc]
mov ecx, dword [ebp - 0x1388]
add eax, 2
push 0x1194
mov dword [0x43b9dc], eax
mov dword [0x43a828], eax
lea eax, [ecx + 0x1000001]
push 0
push 0x43a838
mov dword [0x43a810], eax
call fcn.00411cc0
movups xmm0, xmmword [ebp - 0x13e0]
mov eax, 0xcf8
mov dword [0x43a848], ebx
mov word [ebp - 0x13ae], ax
mov edx, 0x10
movups xmmword [0x43a838], xmm0
xor eax, eax
mov dword [0x43a84c], esi
movups xmm0, xmmword [ebp - 0x13cc]
mov dword [ebp - 0x13b4], eax
push ecx
movups xmmword [0x43a850], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x13bc]
mov ecx, edi
mov dword [0x43a870], 0x200000
movups xmmword [0x43a860], xmm0
xorps xmm0, xmm0
movups xmmword [0x43a874], xmm0
movq qword [0x43a884], xmm0
movups xmm0, xmmword [ebp - 0x13a4]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x13a4]
push 7
push 0xa4
movups xmmword [eax], xmm0
call fcn.004052d0
add esp, 0x28
test eax, eax
jne 0x406c11
lea edx, [eax + 7]
mov ecx, edi
call fcn.004037d0
mov eax, dword [0x43b9dc]
mov ecx, dword [ebp - 0x1388]
inc eax
push 0x1194
mov dword [0x43b9dc], eax
mov dword [0x43a828], eax
lea eax, [ecx + 0x1000001]
push 0
push 0x43a838
mov dword [0x43a810], eax
call fcn.00411cc0
movups xmm0, xmmword [ebp - 0x13e0]
mov eax, 0x20f8
mov dword [0x43a848], ebx
mov word [ebp - 0x13ae], ax
mov edx, 0x10
movups xmmword [0x43a838], xmm0
push ecx
movups xmm0, xmmword [ebp - 0x13cc]
mov eax, esp
mov dword [0x43a84c], esi
sub esp, 0x10
mov dword [0x43a870], 0x200000
movups xmmword [0x43a850], xmm0
mov ecx, edi
movups xmm0, xmmword [ebp - 0x13bc]
movups xmmword [0x43a860], xmm0
xorps xmm0, xmm0
movups xmmword [0x43a874], xmm0
movq qword [0x43a884], xmm0
movups xmm0, xmmword [ebp - 0x13a4]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x13a4]
push 8
push 0xa4
movups xmmword [eax], xmm0
call fcn.004052d0
add esp, 0x28
test eax, eax
jne 0x406ce1
lea edx, [eax + 8]
mov ecx, edi
call fcn.004037d0
mov eax, dword [0x43b9dc]
inc eax
mov dword [0x43b9dc], eax
mov dword [0x43a828], eax
mov eax, dword [ebp - 0x1388]
push 0x1194
add eax, 0x1000001
push 0
push 0x43a838
mov dword [0x43a810], eax
call fcn.00411cc0
movups xmm0, xmmword [ebp - 0x13e0]
mov eax, 0x2e0
mov dword [0x43a848], ebx
mov word [ebp - 0x13ae], ax
mov edx, 0x10
mov eax, dword [0x597480]
mov ecx, eax
movups xmmword [0x43a838], xmm0
shl ecx, 8
movups xmm0, xmmword [ebp - 0x13cc]
movzx eax, ah
or cx, ax
mov dword [0x43a84c], esi
movups xmmword [0x43a850], xmm0
mov word [ebp - 0x13b4], cx
movups xmm0, xmmword [ebp - 0x13bc]
push ecx
mov eax, esp
mov dword [0x43a870], 0x200000
movups xmmword [0x43a860], xmm0
sub esp, 0x10
mov ecx, edi
movups xmm0, xmmword [0xee88c0]
movups xmmword [0x43a874], xmm0
xorps xmm0, xmm0
movq qword [0x43a884], xmm0
movups xmm0, xmmword [ebp - 0x13a4]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x13a4]
push 9
push 0xa4
movups xmmword [eax], xmm0
call fcn.004052d0
add esp, 0x28
test eax, eax
jne 0x406dce
lea edx, [eax + 9]
mov ecx, edi
call fcn.004037d0
mov eax, dword [0x43b9dc]
inc eax
mov dword [0x43b9dc], eax
mov dword [0x43a828], eax
mov eax, dword [ebp - 0x1388]
push 0x1194
add eax, 0x1000001
push 0
push 0x43a838
mov dword [0x43a810], eax
call fcn.00411cc0
movups xmm0, xmmword [ebp - 0x13e0]
mov eax, 0x41f8
mov dword [0x43a848], ebx
mov word [ebp - 0x13ae], ax
mov edx, 0x10
mov eax, dword [0x597480]
mov ecx, eax
movups xmmword [0x43a838], xmm0
movzx eax, ah
movups xmm0, xmmword [ebp - 0x13cc]
shl ecx, 8
or cx, ax
mov dword [0x43a84c], esi
movups xmmword [0x43a850], xmm0
mov eax, 0x100
mov word [ebp - 0x13b4], cx
mov word [ebp - 0x13b2], ax
movups xmm0, xmmword [ebp - 0x13bc]
push ecx
mov eax, esp
mov dword [0x43a870], 0x200000
movups xmmword [0x43a860], xmm0
sub esp, 0x10
mov ecx, edi
movups xmm0, xmmword [0xee88c0]
movups xmmword [ebp - 0x1404], xmm0
movups xmmword [0x43a874], xmm0
xorps xmm0, xmm0
movq qword [0x43a884], xmm0
movups xmm0, xmmword [ebp - 0x13a4]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x13a4]
push 0xa
push 0xa4
movups xmmword [eax], xmm0
call fcn.004052d0
add esp, 0x28
test eax, eax
jne 0x406ece
lea edx, [eax + 0xa]
mov ecx, edi
call fcn.004037d0
cmp byte [0x43b9ce], 0
je 0x406fc5
mov eax, dword [0x43b9dc]
mov ecx, dword [ebp - 0x1388]
inc eax
push 0x1194
mov dword [0x43b9dc], eax
mov dword [0x43a828], eax
lea eax, [ecx + 0x1000001]
push 0
push 0x43a838
mov dword [0x43a810], eax
call fcn.00411cc0
movups xmm0, xmmword [ebp - 0x13e0]
mov eax, 0xf0
mov dword [ebp - 0x13b8], 0x970000
mov word [ebp - 0x13ae], ax
mov edx, 0x10
movups xmmword [0x43a838], xmm0
xor eax, eax
mov dword [0x43a848], ebx
movups xmm0, xmmword [ebp - 0x13cc]
mov word [ebp - 0x13b4], ax
push ecx
movups xmmword [0x43a850], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x13bc]
mov ecx, edi
mov dword [0x43a84c], esi
mov dword [0x43a870], 0x200000
movups xmmword [0x43a860], xmm0
movups xmm0, xmmword [ebp - 0x1404]
movups xmmword [0x43a874], xmm0
xorps xmm0, xmm0
movq qword [0x43a884], xmm0
movups xmm0, xmmword [ebp - 0x13a4]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x13a4]
push 0xb
push 0xa4
movups xmmword [eax], xmm0
call fcn.004052d0
add esp, 0x28
test eax, eax
jne 0x406fc5
lea edx, [eax + 0xb]
mov ecx, edi
call fcn.004037d0
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
movups xmm0, xmmword [0x43a7f0]
mov eax, dword [0x43b9dc]
xor ecx, ecx
mov dword [0xebe6b3], eax
movups xmmword [0xebe6b7], xmm0
nop dword [eax]
movzx eax, word [ecx + 0xebd688]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x40e], ax
test ax, ax
jne 0x406ff0
lea ecx, [ebp - 0x40c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x407010
mov eax, dword [str..hs1]
mov dword [ecx], eax
mov eax, dword [0x436884]
mov dword [ecx + 4], eax
mov ax, word [0x436888]
mov word [ecx + 8], ax
lea eax, [ebp - 0x40c]
push 0x436338
push eax
lea eax, [ebp - 0x1384]
push eax
call fcn.004145ea
add esp, 0xc
test eax, eax
je 0x407a0b
lea ecx, [ebp - 0x40c]
push ecx
push eax
push str.Error_writing_file:_error__d__s_n
call fcn.004010d0
add esp, 0xc
jmp 0x407a43
mov edx, dword [ebp - 0x1388]
movzx eax, word [ebp + 8]
add edx, 0x1000001
mov dword [0x43a810], edx
push 0x1194
push 0
push 0x43a838
sub eax, 0x8028
je 0x4078e2
sub eax, 1
je 0x407802
inc ecx
mov dword [0x43b9dc], ecx
mov dword [0x43a828], ecx
call fcn.00411cc0
add esp, 0xc
cmp byte [ebp + 0x28], 0
jne 0x4071a4
mov eax, dword [ebp - 0x1378]
sub esp, 0x10
mov cx, word [ebp + 8]
mov edx, 0x10
movups xmm0, xmmword [ebp - 0x13e0]
mov dword [0x43a84c], eax
mov eax, dword [ebp + 0xc]
bswap eax
mov dword [ebp - 0x13b8], eax
mov ah, cl
mov al, ch
mov dword [0x43a848], esi
mov word [ebp - 0x13ae], ax
mov ax, word [ebp + 0x10]
mov ch, al
mov dword [0x43a870], 0x200000
mov cl, ah
mov ax, word [ebp + 0x14]
movups xmmword [0x43a838], xmm0
ror ax, 8
movups xmm0, xmmword [ebp - 0x13cc]
mov word [ebp - 0x13b2], ax
mov eax, esp
mov word [ebp - 0x13b4], cx
sub esp, 0x10
movups xmmword [0x43a850], xmm0
mov ecx, edi
movups xmm0, xmmword [ebp - 0x13bc]
movups xmmword [0x43a860], xmm0
xorps xmm0, xmm0
movups xmmword [0x43a874], xmm0
movq qword [0x43a884], xmm0
movups xmm0, xmmword [ebp - 0x13a4]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x13a4]
push 0xf
push 0xa4
movups xmmword [eax], xmm0
call fcn.004052d0
add esp, 0x28
test eax, eax
jne 0x407196
lea edx, [eax + 0xf]
jmp 0x406fbe
or ebx, dword [ebp + 0x1c]
jne 0x4079e8
jmp 0x406fc5
xor eax, eax
mov dword [ebp - 0x1394], 0x544e50
lea esi, [ebp - 0x1394]
mov word [0x43a82c], ax
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x4071c0
sub esi, ecx
inc dword [0x43a828]
movzx eax, si
mov edx, eax
mov dword [ebp - 0x13e0], 0x3e8
add eax, 0x4e
mov dword [ebp - 0x13d8], 0x3e8
mov word [0x43a832], ax
lea eax, [esi + 0x3a]
mov dword [ebp - 0x13dc], eax
mov dword [0x43a848], eax
mov eax, 0x101
mov word [ebp - 0x1378], ax
lea eax, [esi + 0x36]
shr eax, 8
movzx ecx, al
lea eax, [edx + 0x36]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x1444], 0x6000001
mov word [ebp - 0x1376], cx
mov ecx, dword [ebp - 0x1380]
mov eax, dword [ebp - 0x1378]
add ecx, 0xe0101166
mov dword [0x43a84c], eax
mov eax, dword [ebp - 0x137c]
adc eax, 0
mov dword [ebp - 0x1440], 0x11e1d1f1
movups xmm0, xmmword [ebp - 0x13e0]
mov dword [ebp - 0x137c], eax
shrd ecx, eax, 0x10
mov eax, dword [ebp - 0x137c]
and ecx, 0xff000000
movzx eax, al
mov dword [ebp - 0x1380], ecx
xor ecx, ecx
or ecx, eax
mov dword [ebp - 0x143c], 0x20c010b0
shrd dword [ebp - 0x1380], ecx, 8
mov eax, dword [ebp - 0x137c]
sar eax, 0x18
movzx eax, al
or dword [ebp - 0x1380], eax
mov eax, dword [ebp - 0x137c]
sar eax, 8
and eax, 0xff00
shr ecx, 8
or dword [ebp - 0x1380], eax
or ecx, 0x661110e0
mov eax, dword [ebp - 0x1380]
mov dword [ebp - 0x1438], eax
mov eax, 0x100
movups xmmword [0x43a838], xmm0
mov dword [ebp - 0x1434], ecx
mov ch, dl
movups xmm0, xmmword [ebp - 0x1444]
mov word [ebp - 0x1430], ax
mov cl, dh
mov dword [ebp - 0x1428], 0xa0de
movups xmmword [0x43a850], xmm0
mov dword [ebp - 0x1414], 0x6400
movups xmm0, xmmword [ebp - 0x1434]
mov eax, dword [ebp - 0x1414]
mov dword [0x43a880], eax
lea eax, [ebp - 0x1394]
movups xmmword [0x43a860], xmm0
push esi
mov dword [ebp - 0x1424], 0xd111976c
mov dword [ebp - 0x1420], 0x7182
mov dword [ebp - 0x141c], 0x2a00010f
mov dword [ebp - 0x1418], 0x11010000
movups xmm0, xmmword [ebp - 0x1424]
push eax
push 0x43a886
mov byte [0x43a7ea], 0x28
movups xmmword [0x43a870], xmm0
mov word [0x43a884], cx
call fcn.00411e20
movups xmm0, xmmword [ebp - 0x13a4]
push ecx
mov eax, esp
movups xmmword [eax], xmm0
sub esp, 0x10
mov edx, 0x10
movups xmm0, xmmword [ebp - 0x13a4]
mov eax, esp
mov ecx, edi
push 0xf
movups xmmword [eax], xmm0
lea eax, [esi + 0x9e]
push eax
call fcn.004052d0
add esp, 0x28
test eax, eax
jne 0x4073c0
lea edx, [eax + 0xf]
mov ecx, edi
call fcn.004037d0
jmp 0x4073cb
mov eax, ebx
or eax, dword [ebp + 0x1c]
jne 0x4077e1
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1194
push 0
push 0x43a838
call fcn.00411cc0
mov esi, dword [ebp - 0x1384]
mov eax, 3
add esp, 0xc
mov word [0x43a82c], ax
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x407400
inc dword [0x43a828]
sub esi, ecx
shr esi, 1
mov edi, 0x7fff
movzx eax, si
mov dword [ebp - 0x1388], esi
mov byte [0x43a7ea], 0x28
lea edx, [esi + 0x40]
mov dword [ebp - 0x1380], eax
lea ecx, [esi + 0x46]
mov dword [ebp - 0x1394], edx
mov dword [ebp - 0x137c], ecx
cmp word [ebp + 8], di
jbe 0x407454
add eax, 0x5a
lea edx, [esi + 6]
mov word [0x43a832], ax
mov eax, ecx
jmp 0x407470
add eax, 0x54
mov dword [ebp - 0x137c], ecx
mov word [0x43a832], ax
lea ecx, [esi + 0x40]
mov eax, edx
mov dword [ebp - 0x1394], ecx
mov edx, esi
mov dword [ebp - 0x13e0], eax
mov dword [ebp - 0x13d8], eax
mov dword [ebp - 0x13dc], eax
movups xmm0, xmmword [ebp - 0x13e0]
mov dword [0x43a848], eax
mov dword [ebp - 0x1378], 0x3c000800
mov eax, dword [ebp - 0x1378]
mov dword [0x43a84c], eax
mov eax, dword [ebp + 0xc]
bswap eax
mov dword [ebp - 0x13b8], eax
mov ax, word [ebp + 8]
mov ch, al
mov cl, ah
mov ax, word [ebp + 0x10]
mov word [ebp - 0x13ae], cx
mov ch, al
movups xmmword [0x43a838], xmm0
mov cl, ah
mov ax, word [ebp + 0x14]
movups xmm0, xmmword [ebp - 0x1440]
mov word [ebp - 0x13b4], cx
mov ch, al
mov cl, ah
lea eax, [ebp - 0x11d4]
movups xmmword [ebp - 0x13c8], xmm0
mov word [ebp - 0x13b2], cx
movups xmm0, xmmword [ebp - 0x13cc]
push 0x9c4
bswap edx
movups xmmword [0x43a850], xmm0
push 0
movups xmm0, xmmword [ebp - 0x13bc]
push eax
mov dword [0x43a870], edx
movups xmmword [0x43a860], xmm0
xorps xmm0, xmm0
movups xmmword [0x43a874], xmm0
movq qword [0x43a884], xmm0
call fcn.00411cc0
mov ecx, dword [ebp - 0x1384]
add esp, 0xc
mov edi, dword [ebp - 0x13a8]
xor eax, eax
mov byte [ebp - 0x138c], 0
mov word [ebp - 0x138b], ax
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407560
sub ecx, edx
je 0x4075da
mov esi, dword [ebp - 0x1384]
lea edi, [ebp - 0x11d4]
xor ebx, ebx
nop dword [eax]
push 2
lea eax, [ebx + esi]
push eax
lea eax, [ebp - 0x138c]
push eax
call fcn.00419c70
add esp, 0xc
lea eax, [ebp - 0x138c]
push 0x10
push 0
push eax
call fcn.00415a89
mov byte [edi], al
lea edi, [edi + 1]
mov eax, esi
add esp, 0xc
add ebx, 2
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4075b5
sub eax, edx
cmp ebx, eax
jb 0x407580
mov esi, dword [ebp - 0x1388]
mov edi, dword [ebp - 0x13a8]
mov ebx, dword [ebp + 0x18]
lea eax, [esi + 0x46]
mov dword [ebp - 0x137c], eax
mov eax, 0x7fff
push esi
cmp word [ebp + 8], ax
jbe 0x407647
movzx eax, word [ebp + 0x24]
ror ax, 8
mov word [ebp - 0x13a8], ax
lea eax, [esi + 2]
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x1380]
add eax, 2
mov word [ebp - 0x13e4], 1
shl eax, 8
or ecx, eax
mov word [ebp - 0x13a6], cx
mov eax, dword [ebp - 0x13a8]
mov dword [0x43a88c], eax
mov ax, word [ebp - 0x13e4]
mov word [0x43a890], ax
lea eax, [ebp - 0x11d4]
push eax
push 0x43a892
call fcn.00411e20
jmp 0x407664
lea eax, [ebp - 0x11d4]
push eax
push 0x43a88c
call fcn.00411e20
mov eax, dword [ebp - 0x1394]
mov dword [ebp - 0x137c], eax
movups xmm0, xmmword [ebp - 0x13a4]
add esp, 0xc
mov edx, 0x10
sub esp, 0x10
mov ecx, edi
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x13a4]
push 0xf
movups xmmword [eax], xmm0
mov eax, dword [ebp - 0x137c]
add eax, 0x64
push eax
call fcn.004052d0
add esp, 0x28
test eax, eax
jne 0x4076b3
lea edx, [eax + 0xf]
mov ecx, edi
call fcn.004037d0
mov esi, dword [ebp + 0x1c]
jmp 0x4076c0
mov esi, dword [ebp + 0x1c]
mov eax, ebx
or eax, esi
jne 0x4077e1
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1194
push 0
push 0x43a838
call fcn.00411cc0
inc dword [0x43a828]
mov eax, 1
mov word [0x43a82c], ax
mov edx, 0x10
mov dword [ebp - 0x13e0], 0x3e8
mov eax, 0x34
mov dword [ebp - 0x13d8], 0x3e8
mov dword [ebp - 0x13dc], 0x20
movups xmm0, xmmword [ebp - 0x13e0]
mov word [0x43a832], ax
mov dword [ebp - 0x1378], 0x1c001401
mov eax, dword [ebp - 0x1378]
movups xmmword [0x43a838], xmm0
mov dword [0x43a84c], eax
mov eax, 0x100
movups xmm0, xmmword [ebp - 0x1440]
mov word [ebp - 0x13f8], ax
mov eax, 0x400
mov word [ebp - 0x140c], 1
movups xmmword [ebp - 0x1408], xmm0
push ecx
movups xmm0, xmmword [ebp - 0x140c]
mov word [ebp - 0x13f4], ax
mov ecx, edi
mov eax, dword [ebp - 0x13f4]
movups xmmword [0x43a850], xmm0
mov dword [0x43a868], eax
mov eax, esp
movq xmm0, qword [ebp - 0x13fc]
sub esp, 0x10
movq qword [0x43a860], xmm0
movups xmm0, xmmword [ebp - 0x13a4]
mov byte [0x43a7ea], 0x28
mov dword [0x43a848], 0x20
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x13a4]
push 0xf
push 0x84
movups xmmword [eax], xmm0
call fcn.004052d0
add esp, 0x28
test eax, eax
je 0x406fc5
or ebx, esi
je 0x406fc5
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004106cd
mov esp, ebp
pop ebp
ret
inc ecx
mov dword [0x43b9dc], ecx
mov dword [0x43a828], ecx
call fcn.00411cc0
mov eax, dword [ebp - 0x1378]
mov edx, 0x10
movups xmm0, xmmword [ebp - 0x13e0]
mov dword [0x43a84c], eax
mov eax, dword [ebp + 0xc]
bswap eax
mov dword [ebp - 0x13b8], eax
mov eax, 0x2980
mov word [ebp - 0x13ae], ax
mov ax, word [ebp + 0x10]
ror ax, 8
mov word [ebp - 0x13b4], ax
mov ax, word [ebp + 0x14]
movups xmmword [0x43a838], xmm0
mov ch, al
mov dword [0x43a848], esi
movups xmm0, xmmword [ebp - 0x13cc]
mov cl, ah
mov dword [0x43a870], 0x200000
mov word [ebp - 0x13b2], cx
movups xmmword [0x43a850], xmm0
push ecx
movups xmm0, xmmword [ebp - 0x13bc]
mov eax, esp
mov ecx, edi
sub esp, 0x10
movups xmmword [0x43a860], xmm0
xorps xmm0, xmm0
movups xmmword [0x43a874], xmm0
movq qword [0x43a884], xmm0
movups xmm0, xmmword [ebp - 0x13a4]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x13a4]
push 0xe
push 0xa4
movups xmmword [eax], xmm0
call fcn.004052d0
add esp, 0x28
test eax, eax
jne 0x407196
lea edx, [eax + 0xe]
jmp 0x406fbe
inc ecx
mov dword [0x43b9dc], ecx
mov dword [0x43a828], ecx
call fcn.00411cc0
mov ecx, dword [ebp + 0xc]
mov edx, ecx
mov eax, dword [ebp - 0x1378]
and edx, 0xff0000
movups xmm0, xmmword [ebp - 0x13e0]
mov dword [0x43a84c], eax
mov eax, ecx
shr eax, 0x10
or edx, eax
mov dword [0x43a848], esi
mov eax, ecx
shr edx, 8
and eax, 0xff00
shl ecx, 0x10
or eax, ecx
mov dword [0x43a870], 0x200000
shl eax, 8
or edx, eax
mov eax, 0x2880
mov word [ebp - 0x13ae], ax
mov ax, word [ebp + 0x10]
mov ch, al
mov dword [ebp - 0x13b8], edx
mov cl, ah
mov edx, 0x10
mov ax, word [ebp + 0x14]
movups xmmword [0x43a838], xmm0
mov word [ebp - 0x13b4], cx
mov ch, al
movups xmm0, xmmword [ebp - 0x13cc]
mov cl, ah
mov word [ebp - 0x13b2], cx
movups xmmword [0x43a850], xmm0
push ecx
movups xmm0, xmmword [ebp - 0x13bc]
mov eax, esp
mov ecx, edi
sub esp, 0x10
movups xmmword [0x43a860], xmm0
xorps xmm0, xmm0
movups xmmword [0x43a874], xmm0
movq qword [0x43a884], xmm0
movups xmm0, xmmword [ebp - 0x13a4]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x13a4]
push 0xd
push 0xa4
movups xmmword [eax], xmm0
call fcn.004052d0
add esp, 0x28
test eax, eax
jne 0x4079df
lea edx, [eax + 0xd]
jmp 0x406fbe
or ebx, dword [ebp + 0x1c]
je 0x406fc5
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0xfffffc17
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004106cd
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1384]
test eax, eax
je 0x407a43
push eax
push 1
push 0xddf
push 0xebd8e8
call fcn.0041a39b
push dword [ebp - 0x1384]
call fcn.004144c8
add esp, 0x14
push dword [ebp - 0x1384]
call fcn.004146a8
add esp, 4
xor ecx, ecx
movzx eax, word [ecx + 0xebd688]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x60e], ax
test ax, ax
jne 0x407a45
lea ecx, [ebp - 0x60c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x407a65
mov eax, dword [str..hs2]
mov dword [ecx], eax
mov eax, dword [0x436890]
mov dword [ecx + 4], eax
mov ax, word [0x436894]
mov word [ecx + 8], ax
movzx eax, word [0xebd993]
imul esi, eax, 0x92e3
lea eax, [ebp - 0x60c]
push 0x436338
push eax
lea eax, [ebp - 0x1384]
push eax
call fcn.004145ea
add esp, 0xc
test eax, eax
je 0x407acd
lea ecx, [ebp - 0x60c]
push ecx
push eax
push str.Error_writing_file:_error__d__s_n
call fcn.004010d0
add esp, 0xc
jmp 0x407b01
mov eax, dword [ebp - 0x1384]
test eax, eax
je 0x407b01
push eax
push 1
push esi
push 0x597480
call fcn.0041a39b
push dword [ebp - 0x1384]
call fcn.004144c8
add esp, 0x14
push dword [ebp - 0x1384]
call fcn.004146a8
add esp, 4
xor ecx, ecx
movzx eax, word [ecx + 0xebd688]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x20e], ax
test ax, ax
jne 0x407b03
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x407b23
mov eax, dword [str..hst]
mov dword [ecx], eax
mov eax, dword [0x43689c]
mov dword [ecx + 4], eax
mov ax, word [0x4368a0]
mov word [ecx + 8], ax
lea eax, [ebp - 0x20c]
push 0x436338
push eax
lea eax, [ebp - 0x1384]
push eax
call fcn.004145ea
add esp, 0xc
test eax, eax
je 0x407b8f
lea ecx, [ebp - 0x20c]
push ecx
push eax
push str.Error_writing_file:_error__d__s_n
call fcn.004010d0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004106cd
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1384]
test eax, eax
je 0x407bc7
push eax
push 1
push 0x165d0
push 0xebfa60
call fcn.0041a39b
push dword [ebp - 0x1384]
call fcn.004144c8
add esp, 0x14
push dword [ebp - 0x1384]
call fcn.004146a8
add esp, 4
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004106cd
mov esp, ebp
pop ebp
ret
push 0
push str.Message
push str.WSA_failed_n
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call fcn.00413c51
mov edx, edi
mov ecx, str.E_Error_setsck_n
call fcn.00403460
mov edx, edi
mov ecx, str.E_Error_u1d_n
call fcn.00403460
int3