Function at 0x4aaa1d
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push 0x14
call fcn.005211d4
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
add ebx, 8
push ebx
push 0x109
call fcn.005211d4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x7420f7
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x101
rep stosb byte es:[edi], al
add ebx, 4
push ebx
push 0x109
call fcn.005211d4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x7420f7
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x101
rep stosb byte es:[edi], al
push 8
call fcn.005211d4
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x5f68e9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.005211d4
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x5f68e9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
push 8
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x5f68e9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x18], 0
push 8
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x5f68e9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0
push 0x18
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push 0x18
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
push 0x14
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x34], eax
mov edi, eax
mov esi, 0x7420ff
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 8
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x38], eax
mov edi, eax
mov esi, 0x5f68e9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
push 0x1c
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x4c], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], esp
mov eax, dword [ebp - 4]
push eax
push 0x208
call fcn.005211d4
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push 0x202
call dword [sym.imp.ws2_32.dll_WSAStartup]
nop
nop
nop
nop
cmp dword [ebp - 0x54], esp
je 0x4aac6d
push 0x13
push 0x4019fe3
push 6
call fcn.005211e0
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x58]
push ebx
mov edi, dword [ebp - 0x5c]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00521d70
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4aacba
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4aacb8
imul eax, dword [edi]
jmp 0x4aacad
mov ecx, eax
cmp ecx, 0x101
jle 0x4aacc7
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x101
push ebx
push edi
push 1
mov eax, 2
call fcn.00521d70
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4aad05
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4aad03
imul eax, dword [edi]
jmp 0x4aacf8
mov ecx, eax
cmp ecx, 0x101
jle 0x4aad12
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x101
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.005211da
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4aad53
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4aad4f
imul eax, dword [ebx]
jmp 0x4aad44
mov ecx, eax
test ecx, ecx
je 0x4aad6e
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005211da
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4aad59
call fcn.005211da
add esp, 4
mov eax, 0x5f68e9
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4aad9c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4aad98
imul eax, dword [ebx]
jmp 0x4aad8d
mov ecx, eax
test ecx, ecx
je 0x4aadb7
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005211da
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4aada2
call fcn.005211da
add esp, 4
mov eax, 0x5f68e9
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
call fcn.0049f678
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4aadf0
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4aadec
imul eax, dword [ebx]
jmp 0x4aade1
mov ecx, eax
test ecx, ecx
je 0x4aae0b
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005211da
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4aadf6
call fcn.005211da
add esp, 4
mov eax, 0x5f68e9
mov dword [ebp - 0x14], eax
call fcn.004ae26d
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 9
jne 0x4ac782
cmp dword [ebp + 8], 0
je 0x4ac77d
mov eax, str.File
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.004ae315
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4aae5b
push ebx
call fcn.005211da
add esp, 4
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004b6e63
mov ebx, dword [ebp - 0x1c]
call fcn.0049f6cf
xor ecx, ecx
push eax
lea eax, [ebp - 0x20]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4ab252
push 0
mov ebx, 0x350
call fcn.00522b70
add esp, 4
mov ebx, dword [ebp - 0x1c]
call fcn.0049d344
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x4aaec2
push 0x240
push 0x4019fe3
push 4
call fcn.005211e0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4aaedf
push 0x240
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x54]
cmp dword [ebx], eax
jne 0x4aaf68
mov ebx, dword [ebp - 0x1c]
call fcn.0049d344
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x4aaf1e
push 0x271
push 0x4019fe3
push 4
call fcn.005211e0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4aaf3b
push 0x271
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x5c]
mov al, byte [ebx]
and eax, 0xff
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x60], eax
jne 0x4aaf68
mov eax, 1
jmp 0x4aaf6d
mov eax, 0
test eax, eax
je 0x4ab24a
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.0049d344
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x4aafa2
push 0x2a4
push 0x4019fe3
push 4
call fcn.005211e0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4aafbf
push 0x2a4
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x24]
add ebx, 4
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.0049d344
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x4ab003
push 0x304
push 0x4019fe3
push 4
call fcn.005211e0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ab020
push 0x304
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov al, byte [ebx]
mov ebx, dword [ebp - 0x54]
mov byte [ebx], al
mov ebx, dword [ebp - 0x24]
add ebx, 8
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.0049d344
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x4ab067
push 0x33e
push 0x4019fe3
push 4
call fcn.005211e0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ab084
push 0x33e
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov al, byte [ebx]
mov ebx, dword [ebp - 0x54]
mov byte [ebx], al
mov ebx, dword [ebp - 0x24]
add ebx, 0xc
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.0049d344
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x4ab0cb
push 0x378
push 0x4019fe3
push 4
call fcn.005211e0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ab0e8
push 0x378
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov ax, word [ebx]
mov ebx, dword [ebp - 0x54]
mov word [ebx], ax
mov ebx, dword [ebp - 0x24]
add ebx, 0x10
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.0049d344
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x4ab131
push 0x3b2
push 0x4019fe3
push 4
call fcn.005211e0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ab14e
push 0x3b2
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x24]
add ebx, 0x14
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.0049d344
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x4ab195
push 0x3ec
push 0x4019fe3
push 4
call fcn.005211e0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ab1b2
push 0x3ec
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
lea eax, [ebp - 0x14]
push eax
push 4
mov eax, 2
call fcn.00521d70
add esp, 8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x58], ebx
call fcn.0049d344
mov dword [ebp - 0x5c], ecx
mov edi, dword [ebp - 0x58]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4ab20c
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x5c]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x58]
call fcn.005211fe
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x5c]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x54]
push edi
push eax
push 0x18
call fcn.005211d4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
pop eax
pop ebx
pop ecx
jmp 0x4aae7b
add esp, 0xc
mov ebx, dword [ebp - 0x14]
call fcn.0049f6cf
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4ac77a
push 0
mov ebx, 0x350
call fcn.00522b70
add esp, 4
mov ebx, dword [ebp - 0x14]
call fcn.0049d344
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4ab2ad
push 0x4db
push 0x4019fe3
push 4
call fcn.005211e0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ab2ca
push 0x4db
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x54]
cmp dword [ebx], eax
jne 0x4ab353
mov ebx, dword [ebp - 0x14]
call fcn.0049d344
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4ab309
push 0x50c
push 0x4019fe3
push 4
call fcn.005211e0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ab326
push 0x50c
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x5c]
mov al, byte [ebx]
and eax, 0xff
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x60], eax
jne 0x4ab353
mov eax, 1
jmp 0x4ab358
mov eax, 0
test eax, eax
je 0x4ac772
mov ebx, dword [ebp - 0x14]
call fcn.0049d344
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4ab387
push 0x604
push 0x4019fe3
push 4
call fcn.005211e0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ab3a4
push 0x604
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
cmp dword [ebx], 0x16019f
je 0x4ab421
mov ebx, dword [ebp - 0x14]
call fcn.0049d344
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4ab3e7
push 0x637
push 0x4019fe3
push 4
call fcn.005211e0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ab404
push 0x637
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x5c]
cmp byte [ebx], 2
je 0x4ab421
xor eax, eax
jmp 0x4ab426
mov eax, 1
test eax, eax
je 0x4ac772
mov ebx, dword [ebp - 0x14]
call fcn.0049d344
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4ab455
push 0x705
push 0x4019fe3
push 4
call fcn.005211e0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ab472
push 0x705
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x54], ebx
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 0xffffffff
mov ebx, dword [ebp - 0x54]
mov ax, word [ebx]
cwde
push eax
push dword [ebp - 0x10]
call fcn.004b7260
test eax, eax
je 0x4ac772
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x14]
call fcn.0049d344
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4ab4dc
push 0x7a0
push 0x4019fe3
push 4
call fcn.005211e0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ab4f9
push 0x7a0
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov ax, word [ebx]
cwde
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
push 0x1000
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x10]
call fcn.004b787a
test eax, eax
je 0x4ac746
mov ecx, 5
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.005211d4
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 5
add edi, 4
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
pop edx
test edx, edx
je 0x4ab56e
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x38]
call fcn.005211da
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 0
cmp eax, ecx
jl 0x4ab5a5
push 0x8a7
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x14]
call fcn.0049d344
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4ab5d4
push 0x8a7
push 0x4019fe3
push 4
call fcn.005211e0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ab5f1
push 0x8a7
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov ax, word [ebx]
cwde
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 1
cmp eax, ecx
jl 0x4ab632
push 0x8de
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
mov dword [ebx], 0xffff
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 2
cmp eax, ecx
jl 0x4ab66b
push 0x907
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
mov dword [ebx], 0x1008
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 3
cmp eax, ecx
jl 0x4ab6a4
push 0x930
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x34]
call fcn.0049d344
mov eax, 1
cmp eax, ecx
jl 0x4ab6d4
push 0x94f
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
fild dword [ebx]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
fadd qword [0x741849]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.0049c3e7
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x34]
call fcn.0049d344
mov eax, 0
cmp eax, ecx
jl 0x4ab725
push 0x979
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
push 8
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x5c], eax
mov edi, eax
mov esi, 0x5f68e9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x5c]
push eax
push 4
mov ebx, dword [ebp - 0x54]
push dword [ebx]
call fcn.004b5841
mov ebx, dword [ebp - 0x5c]
push ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 4
cmp eax, ecx
jl 0x4ab79d
push 0x9a2
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x34]
call fcn.0049d344
mov eax, 1
cmp eax, ecx
jl 0x4ab7cd
push 0x9a2
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 0
cmp eax, ecx
jl 0x4ab807
push 0x9cf
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 1
cmp eax, ecx
jl 0x4ab837
push 0x9cf
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 2
cmp eax, ecx
jl 0x4ab867
push 0x9cf
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 3
cmp eax, ecx
jl 0x4ab897
push 0x9cf
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 4
cmp eax, ecx
jl 0x4ab8c7
push 0x9cf
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x64], ebx
mov ebx, dword [ebp - 0x64]
push dword [ebx]
mov ebx, dword [ebp - 0x60]
push dword [ebx]
mov ebx, dword [ebp - 0x5c]
push dword [ebx]
mov ebx, dword [ebp - 0x58]
push dword [ebx]
mov ebx, dword [ebp - 0x54]
push dword [ebx]
mov eax, str.getsockopt
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
mov eax, str.ws2_32.dll
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x10]
call fcn.004b950d
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x4ab918
push ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4ab928
push ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 2
cmp eax, ecx
jl 0x4ab950
push 0xa5d
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 3
cmp eax, ecx
jl 0x4ab989
push 0xa86
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x34]
call fcn.0049d344
mov eax, 1
cmp eax, ecx
jl 0x4ab9b9
push 0xaa5
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
fild dword [ebx]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
fadd qword [0x739d3a]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.0049c3e7
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 0
cmp eax, ecx
jl 0x4aba0a
push 0xacf
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 1
cmp eax, ecx
jl 0x4aba3a
push 0xacf
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 2
cmp eax, ecx
jl 0x4aba6a
push 0xacf
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 3
cmp eax, ecx
jl 0x4aba9a
push 0xacf
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 4
cmp eax, ecx
jl 0x4abaca
push 0xacf
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x64], ebx
mov ebx, dword [ebp - 0x64]
push dword [ebx]
mov ebx, dword [ebp - 0x60]
push dword [ebx]
mov ebx, dword [ebp - 0x5c]
push dword [ebx]
mov ebx, dword [ebp - 0x58]
push dword [ebx]
mov ebx, dword [ebp - 0x54]
push dword [ebx]
mov eax, str.getsockopt
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
mov eax, str.ws2_32.dll
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x10]
call fcn.004b950d
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x4abb1b
push ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4abb2b
push ebx
call fcn.005211da
add esp, 4
mov ecx, 3
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.005211d4
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 3
add edi, 4
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
pop edx
test edx, edx
je 0x4abb6e
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x38]
call fcn.005211da
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 0
cmp eax, ecx
jl 0x4abba5
push 0xb83
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x14]
call fcn.0049d344
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4abbd4
push 0xb83
push 0x4019fe3
push 4
call fcn.005211e0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4abbf1
push 0xb83
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov ax, word [ebx]
cwde
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 1
cmp eax, ecx
jl 0x4abc32
push 0xbba
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x34]
call fcn.0049d344
mov eax, 1
cmp eax, ecx
jl 0x4abc62
push 0xbd9
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
fild dword [ebx]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
fadd qword [0x742062]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.0049c3e7
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x34]
call fcn.0049d344
mov eax, 0
cmp eax, ecx
jl 0x4abcb3
push 0xc03
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
push 8
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x5c], eax
mov edi, eax
mov esi, 0x5f68e9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x10
mov ebx, dword [ebp - 0x54]
push dword [ebx]
call fcn.004b5841
mov ebx, dword [ebp - 0x5c]
push ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 2
cmp eax, ecx
jl 0x4abd2b
push 0xc2c
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x34]
call fcn.0049d344
mov eax, 1
cmp eax, ecx
jl 0x4abd5b
push 0xc2c
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 0
cmp eax, ecx
jl 0x4abd95
push 0xc59
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 1
cmp eax, ecx
jl 0x4abdc5
push 0xc59
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 2
cmp eax, ecx
jl 0x4abdf5
push 0xc59
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x5c]
push dword [ebx]
mov ebx, dword [ebp - 0x58]
push dword [ebx]
mov ebx, dword [ebp - 0x54]
push dword [ebx]
mov eax, 0x74206a
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
mov eax, str.ws2_32.dll
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x10]
call fcn.004bb168
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4abe3c
push ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4abe4c
push ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x34]
call fcn.0049d344
mov eax, 0
cmp eax, ecx
jl 0x4abe74
push 0xce0
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fadd qword [0x741849]
fstp qword [ebp - 0x64]
push 8
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x68], eax
mov edi, eax
mov esi, 0x5f68e9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x3c]
push eax
fld qword [ebp - 0x64]
call fcn.0049c3e7
push eax
call fcn.004b3476
mov ebx, dword [ebp - 0x68]
push ebx
call fcn.005211da
add esp, 4
cmp dword [ebp - 0x3c], 1
jne 0x4abf72
mov ebx, dword [ebp - 0x34]
call fcn.0049d344
mov eax, 0
cmp eax, ecx
jl 0x4abf01
push 0xd6e
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fadd qword [0x739d3a]
fstp qword [ebp - 0x64]
push 8
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x68], eax
mov edi, eax
mov esi, 0x5f68e9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x3c]
push eax
fld qword [ebp - 0x64]
call fcn.0049c3e7
push eax
call fcn.004b3476
mov ebx, dword [ebp - 0x68]
push ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x30]
add ebx, 0x14
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
jmp 0x4abf9a
cmp dword [ebp - 0x3c], 2
jne 0x4abf93
mov ebx, dword [ebp - 0x30]
add ebx, 0x14
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
mov dword [ebx], 2
jmp 0x4abf9a
mov dword [ebp - 0x3c], 0xffffffff
cmp dword [ebp - 0x3c], 0xffffffff
je 0x4ac731
mov ebx, dword [ebp - 0x34]
call fcn.0049d344
mov eax, 0
cmp eax, ecx
jl 0x4abfcc
push 0xeb7
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fadd qword [0x742076]
fstp qword [ebp - 0x64]
push 8
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x68], eax
mov edi, eax
mov esi, 0x5f68e9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x40]
push eax
fld qword [ebp - 0x64]
call fcn.0049c3e7
push eax
call fcn.004b6a2c
mov ebx, dword [ebp - 0x68]
push ebx
call fcn.005211da
add esp, 4
cmp word [ebp - 0x40], 0
je 0x4ac62c
mov ebx, dword [ebp - 0x30]
add ebx, 0x10
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], esp
push dword [ebp - 0x40]
call dword [sym.imp.ws2_32.dll_htons]
nop
nop
nop
nop
cmp dword [ebp - 0x58], esp
je 0x4ac067
push 0xf78
push 0x4019fe3
push 6
call fcn.005211e0
add esp, 0xc
mov dword [ebp - 0x5c], eax
push 0x10
mov eax, dword [ebp - 0x5c]
cwde
cdq
push edx
push eax
call fcn.004bb40e
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x34]
call fcn.0049d344
mov eax, 0
cmp eax, ecx
jl 0x4ac0a8
push 0xfaf
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fadd qword [0x739d66]
fstp qword [ebp - 0x64]
push 8
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x68], eax
mov edi, eax
mov esi, 0x5f68e9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x44]
push eax
fld qword [ebp - 0x64]
call fcn.0049c3e7
push eax
call fcn.004b3476
mov ebx, dword [ebp - 0x68]
push ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x30]
add ebx, 0xc
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp - 0x44]
cdq
push edx
push eax
call fcn.004bb443
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4ac130
push ebx
call fcn.005211da
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ecx, 3
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.005211d4
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 3
add edi, 4
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
pop edx
test edx, edx
je 0x4ac179
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x38]
call fcn.005211da
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 0
cmp eax, ecx
jl 0x4ac1b0
push 0x1056
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x14]
call fcn.0049d344
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4ac1df
push 0x1056
push 0x4019fe3
push 4
call fcn.005211e0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ac1fc
push 0x1056
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov ax, word [ebx]
cwde
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 1
cmp eax, ecx
jl 0x4ac23d
push 0x108d
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x34]
call fcn.0049d344
mov eax, 1
cmp eax, ecx
jl 0x4ac26d
push 0x10ac
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
fild dword [ebx]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
fadd qword [0x742062]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.0049c3e7
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x34]
call fcn.0049d344
mov eax, 0
cmp eax, ecx
jl 0x4ac2be
push 0x10d6
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
push 8
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x5c], eax
mov edi, eax
mov esi, 0x5f68e9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x10
mov ebx, dword [ebp - 0x54]
push dword [ebx]
call fcn.004b5841
mov ebx, dword [ebp - 0x5c]
push ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 2
cmp eax, ecx
jl 0x4ac336
push 0x10ff
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x34]
call fcn.0049d344
mov eax, 1
cmp eax, ecx
jl 0x4ac366
push 0x10ff
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 0
cmp eax, ecx
jl 0x4ac3a0
push 0x112c
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 1
cmp eax, ecx
jl 0x4ac3d0
push 0x112c
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x38]
call fcn.0049d344
mov eax, 2
cmp eax, ecx
jl 0x4ac400
push 0x112c
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x5c]
push dword [ebx]
mov ebx, dword [ebp - 0x58]
push dword [ebx]
mov ebx, dword [ebp - 0x54]
push dword [ebx]
mov eax, 0x74207e
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
mov eax, str.ws2_32.dll
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x10]
call fcn.004bb168
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4ac447
push ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4ac457
push ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x34]
call fcn.0049d344
mov eax, 0
cmp eax, ecx
jl 0x4ac47f
push 0x11a0
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fadd qword [0x742076]
fstp qword [ebp - 0x64]
push 8
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x68], eax
mov edi, eax
mov esi, 0x5f68e9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x40]
push eax
fld qword [ebp - 0x64]
call fcn.0049c3e7
push eax
call fcn.004b6a2c
mov ebx, dword [ebp - 0x68]
push ebx
call fcn.005211da
add esp, 4
cmp word [ebp - 0x40], 0
je 0x4ac5ee
mov ebx, dword [ebp - 0x30]
add ebx, 8
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], esp
push dword [ebp - 0x40]
call dword [sym.imp.ws2_32.dll_htons]
nop
nop
nop
nop
cmp dword [ebp - 0x58], esp
je 0x4ac51a
push 0x123b
push 0x4019fe3
push 6
call fcn.005211e0
add esp, 0xc
mov dword [ebp - 0x5c], eax
push 0x10
mov eax, dword [ebp - 0x5c]
cwde
cdq
push edx
push eax
call fcn.004bb40e
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x34]
call fcn.0049d344
mov eax, 0
cmp eax, ecx
jl 0x4ac55b
push 0x1272
push 0x4019fe3
push 1
call fcn.005211e0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fadd qword [0x739d66]
fstp qword [ebp - 0x64]
push 8
call fcn.005211d4
add esp, 4
mov dword [ebp - 0x68], eax
mov edi, eax
mov esi, 0x5f68e9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x44]
push eax
fld qword [ebp - 0x64]
call fcn.0049c3e7
push eax
call fcn.004b3476
mov ebx, dword [ebp - 0x68]
push ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp - 0x44]
cdq
push edx
push eax
call fcn.004bb443
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4ac5e3
push ebx
call fcn.005211da
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
jmp 0x4ac627
mov ebx, dword [ebp - 0x30]
add ebx, 8
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x54], ebx
mov eax, 0x5f69a4
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4ac621
push ebx
call fcn.005211da
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
jmp 0x4ac665
mov ebx, dword [ebp - 0x30]
add ebx, 0x10
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x30]
add ebx, 0xc
mov dword [ebp - 0x54], ebx
mov eax, 0x5f69a4
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4ac65f
push ebx
call fcn.005211da
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
push dword [ebp + 0xc]
push 4
mov eax, 2
call fcn.00521d70
add esp, 8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
mov dword [ebp - 0x58], ebx
call fcn.0049d344
mov dword [ebp - 0x5c], ecx
mov edi, dword [ebp - 0x58]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4ac6a9
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x5c]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x58]
call fcn.005211fe
add esp, 8
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x5c]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x54]
push edi
push eax
push 0x18
call fcn.005211d4
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4ac705
push eax
mov ebx, eax
call fcn.0049bd83
inc eax
push eax
call fcn.005211d4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4ac726
push eax
mov ebx, eax
call fcn.0049bd83
inc eax
push eax
call fcn.005211d4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
lea eax, [ebp - 0x34]
push eax
call fcn.004bb706
mov dword [ebp - 0x54], esp
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x54], esp
je 0x4ac772
push 0x141b
push 0x4019fe3
push 6
call fcn.005211e0
add esp, 0xc
pop eax
pop ebx
pop ecx
jmp 0x4ab266
add esp, 0xc
jmp 0x4ae099
mov eax, 0x74208a
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.004a4e0a
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4ac7a3
push ebx
call fcn.005211da
add esp, 4
mov eax, 0
jmp 0x4ae0d1
mov dword [ebp - 0x54], esp
call dword [sym.imp.ws2_32.dll_WSACleanup]
nop
nop
nop
nop
cmp dword [ebp - 0x54], esp
je 0x4ae0c2
push 0x2932
push 0x4019fe3
push 6
call fcn.005211e0
add esp, 0xc
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.0049f6cf
jmp 0x4ae0d1
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005211da
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005211da
add esp, 4
pop ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4ae11c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4ae118
imul eax, dword [ebx]
jmp 0x4ae10d
mov ecx, eax
test ecx, ecx
je 0x4ae137
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005211da
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4ae122
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4ae15d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4ae159
imul eax, dword [ebx]
jmp 0x4ae14e
mov ecx, eax
test ecx, ecx
je 0x4ae178
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005211da
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4ae163
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4ae19e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4ae19a
imul eax, dword [ebx]
jmp 0x4ae18f
mov ecx, eax
test ecx, ecx
je 0x4ae1b9
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005211da
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4ae1a4
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4ae1df
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4ae1db
imul eax, dword [ebx]
jmp 0x4ae1d0
mov ecx, eax
test ecx, ecx
je 0x4ae1fa
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.005211da
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4ae1e5
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4ae225
push ebx
call fcn.005211da
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4ae239
push ebx
call fcn.005211da
add esp, 4
pop ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x38]
push ebx
call fcn.005211da
add esp, 4
mov ebx, dword [ebp - 0x4c]
push ebx
call fcn.005211da
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8