Function at 0x481fdf
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push 0x14
call fcn.0055dd8b
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.0055dd8b
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x5fb46b
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.0055dd8b
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x5fb46b
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
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.0055dd8b
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x59ab67
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0x18
call fcn.0055dd8b
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
push 0x14
call fcn.0055dd8b
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, 0x5ed0b4
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.0055dd8b
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0x59ab67
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x2c], 0
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x482112
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x48210e
imul eax, dword [ebx]
jmp 0x482103
mov ecx, eax
test ecx, ecx
je 0x48212d
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0055dd85
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x482118
call fcn.0055dd85
add esp, 4
mov eax, 0x59ab67
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov dword [ebp - 0x30], esp
mov eax, dword [ebp - 4]
push eax
push 0x208
call fcn.0055dd8b
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 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 - 0x30], esp
je 0x4821cb
push 6
call fcn.0055dd91
add esp, 4
push eax
mov ebx, dword [ebp - 0x34]
push ebx
mov edi, dword [ebp - 0x38]
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.0055e690
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 0x482218
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x482216
imul eax, dword [edi]
jmp 0x48220b
mov ecx, eax
cmp ecx, 0x101
jle 0x482225
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.0055e690
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 0x482263
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x482261
imul eax, dword [edi]
jmp 0x482256
mov ecx, eax
cmp ecx, 0x101
jle 0x482270
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.0055dd85
add esp, 4
pop eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
call fcn.0046742c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x482ea2
mov eax, str.File
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.00465e31
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4822d9
push ebx
call fcn.0055dd85
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00466c3f
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x482e9f
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x30]
cmp dword [ebx], eax
jne 0x482366
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
mov al, byte [ebx]
and eax, 0xff
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x3c], eax
jne 0x482366
mov eax, 1
jmp 0x482368
xor eax, eax
test eax, eax
je 0x482e97
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
cmp dword [ebx], 0x16019f
je 0x4823cb
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp byte [ebx], 2
je 0x4823cb
xor eax, eax
jmp 0x4823d0
mov eax, 1
test eax, eax
je 0x482e97
mov eax, dword [0x6148ec]
cmp dword [ebp - 8], eax
jne 0x4825e1
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x18], eax
push 1
mov eax, 4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x1008
push 0xffff
push dword [ebp - 0x18]
call fcn.00482f69
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x4825dc
cmp dword [ebp - 0x1c], 1
jne 0x482483
push 1
mov eax, 4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
push 0xffff
push dword [ebp - 0x18]
call fcn.00482f69
mov ebx, dword [ebp - 0x20]
add ebx, 0x14
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
jmp 0x4824a9
cmp dword [ebp - 0x1c], 2
jne 0x4824a4
mov ebx, dword [ebp - 0x20]
add ebx, 0x14
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 2
jmp 0x4824a9
jmp 0x482e97
mov ebx, dword [ebp - 0x20]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x20]
add ebx, 8
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 0x18]
call fcn.00484894
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4824f6
push ebx
call fcn.0055dd85
add esp, 4
cmp dword [ebp - 0x40], 0
je 0x4825dc
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x20]
add ebx, 0xc
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x20]
add ebx, 0x10
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 0x18]
call fcn.00484e53
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x482558
push ebx
call fcn.0055dd85
add esp, 4
push dword [ebp + 0xc]
push 4
mov eax, 2
call fcn.0055e690
add esp, 8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
mov dword [ebp - 0x34], ebx
call fcn.004227cc
mov dword [ebp - 0x38], ecx
mov edi, dword [ebp - 0x34]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x48259c
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x38]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x34]
call fcn.0055dda3
add esp, 8
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x38]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x30]
push edi
push eax
push 0x18
call fcn.0055dd8b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
jmp 0x482e97
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x30], ebx
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0xffffffff
mov ebx, dword [ebp - 0x30]
mov ax, word [ebx]
cwde
push eax
push dword [ebp + 8]
call fcn.0046705a
test eax, eax
je 0x482e97
mov ebx, dword [ebp - 0x20]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x20]
add ebx, 8
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 0x18]
call fcn.00484894
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x48267c
push ebx
call fcn.0055dd85
add esp, 4
cmp dword [ebp - 0x40], 0
je 0x482e8e
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov ax, word [ebx]
cwde
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
push 0x1000
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call fcn.0046cd96
test eax, eax
je 0x482e8e
mov ecx, 5
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.0055dd8b
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 - 0x28]
call fcn.004227cc
pop edx
test edx, edx
je 0x482712
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x28]
call fcn.0055dd85
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov ax, word [ebx]
cwde
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 0xffff
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 2
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 0x1008
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 3
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0x59abbd]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.00401145
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 8
call fcn.0055dd8b
add esp, 4
mov dword [ebp - 0x38], eax
mov edi, eax
mov esi, 0x59ab67
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x38]
push eax
push 4
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call fcn.004614b3
mov ebx, dword [ebp - 0x38]
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
lea eax, [ebp - 0x28]
push eax
mov eax, str.getsockopt
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, str.ws2_32.dll
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call fcn.004851f6
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4828d2
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4828e2
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 2
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 3
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0x59ab76]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.00401145
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
lea eax, [ebp - 0x28]
push eax
mov eax, str.getsockopt
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, str.ws2_32.dll
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call fcn.004851f6
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x482996
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4829a6
push ebx
call fcn.0055dd85
add esp, 4
mov ecx, 3
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.0055dd8b
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 - 0x28]
call fcn.004227cc
pop edx
test edx, edx
je 0x4829e9
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x28]
call fcn.0055dd85
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov ax, word [ebx]
cwde
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0x59abc5]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.00401145
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 8
call fcn.0055dd8b
add esp, 4
mov dword [ebp - 0x38], eax
mov edi, eax
mov esi, 0x59ab67
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x38]
push eax
push 0x10
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call fcn.004614b3
mov ebx, dword [ebp - 0x38]
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 2
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
lea eax, [ebp - 0x28]
push eax
mov eax, str.getpeername
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, str.ws2_32.dll
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call fcn.004851f6
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x482b67
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x482b77
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x59abbd]
fstp qword [ebp - 0x40]
push 8
call fcn.0055dd8b
add esp, 4
mov dword [ebp - 0x44], eax
mov edi, eax
mov esi, 0x59ab67
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1c]
push eax
fld qword [ebp - 0x40]
call fcn.00401145
push eax
call fcn.0045f649
mov ebx, dword [ebp - 0x44]
push ebx
call fcn.0055dd85
add esp, 4
cmp dword [ebp - 0x1c], 1
jne 0x482c6d
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x59ab76]
fstp qword [ebp - 0x40]
push 8
call fcn.0055dd8b
add esp, 4
mov dword [ebp - 0x44], eax
mov edi, eax
mov esi, 0x59ab67
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1c]
push eax
fld qword [ebp - 0x40]
call fcn.00401145
push eax
call fcn.0045f649
mov ebx, dword [ebp - 0x44]
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x20]
add ebx, 0x14
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
jmp 0x482c95
cmp dword [ebp - 0x1c], 2
jne 0x482c8e
mov ebx, dword [ebp - 0x20]
add ebx, 0x14
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 2
jmp 0x482c95
mov dword [ebp - 0x1c], 0xffffffff
cmp dword [ebp - 0x1c], 0xffffffff
je 0x482e79
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x5bcf4f]
fstp qword [ebp - 0x40]
push 8
call fcn.0055dd8b
add esp, 4
mov dword [ebp - 0x44], eax
mov edi, eax
mov esi, 0x59ab67
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
fld qword [ebp - 0x40]
call fcn.00401145
push eax
call fcn.00466870
mov ebx, dword [ebp - 0x44]
push ebx
call fcn.0055dd85
add esp, 4
cmp word [ebp - 0x2c], 0
je 0x482dd1
mov ebx, dword [ebp - 0x20]
add ebx, 0x10
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], esp
push dword [ebp - 0x2c]
call dword [sym.imp.WS2_32.dll_htons]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x482d40
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 0x38], eax
push 0x10
mov eax, dword [ebp - 0x38]
cwde
cdq
push edx
push eax
call fcn.00484c37
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x5b6e03]
fstp qword [ebp - 0x40]
mov ebx, dword [ebp - 0x20]
add ebx, 0xc
mov dword [ebp - 0x44], ebx
push 8
call fcn.0055dd8b
add esp, 4
mov dword [ebp - 0x48], eax
mov edi, eax
mov esi, 0x59ab67
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x44]
fld qword [ebp - 0x40]
call fcn.00401145
push eax
call fcn.0045f649
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.0055dd85
add esp, 4
jmp 0x482df5
mov ebx, dword [ebp - 0x20]
add ebx, 0x10
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x20]
add ebx, 0xc
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 0
push dword [ebp + 0xc]
push 4
mov eax, 2
call fcn.0055e690
add esp, 8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
mov dword [ebp - 0x34], ebx
call fcn.004227cc
mov dword [ebp - 0x38], ecx
mov edi, dword [ebp - 0x34]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x482e39
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x38]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x34]
call fcn.0055dda3
add esp, 8
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x38]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x30]
push edi
push eax
push 0x18
call fcn.0055dd8b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
call fcn.00470d9a
lea eax, [ebp - 0x18]
push eax
call fcn.004670dd
pop eax
pop ebx
pop ecx
jmp 0x4822f1
add esp, 0xc
mov dword [ebp - 0x30], esp
call dword [sym.imp.WS2_32.dll_WSACleanup]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x482ec1
push 6
call fcn.0055dd91
add esp, 4
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.0040176b
jmp 0x482ed0
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0055dd85
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0055dd85
add esp, 4
pop ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x482f1b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x482f17
imul eax, dword [ebx]
jmp 0x482f0c
mov ecx, eax
test ecx, ecx
je 0x482f36
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0055dd85
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x482f21
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
call fcn.0055dd85
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8