Function at 0x1005b8a0
Capabilities:
Initialize winsock library

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d926
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x250
mov eax, dword [0x101c7100]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov al, byte [0x1082983c]
cmp al, 3
jae 0x1005bb37
mov ecx, dword [0xb7cb84]
cmp ecx, dword [0x10829844]
jb 0x1005bb37
inc al
mov dword [ebp - 4], 0
mov byte [0x1082983c], al
lea eax, [ecx + 0x3e8]
mov ecx, dword [0x101e98fc]
mov dword [0x10829844], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1082a680]
cmp eax, dword [ecx + 4]
jg 0x1005bb55
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
mov ax, word [0x101a63ac]
movups xmmword [ebp - 0x4c], xmm0
mov word [ebp - 0x4c], ax
mov al, byte [0x101a63ae]
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4a], al
mov byte [ebp - 0x49], 0
push ecx
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 6
push eax
push eax
lea ecx, [ebp - 0x28]
call fcn.1005c280
push 0
push 0x7d0
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x4c]
mov ecx, 0x1082a5b8
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.10058260
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x1005ba0a
mov edx, dword [ebp - 0x20]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1005ba00
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005bcd4
push edx
push ecx
call fcn.100eb0f7
add esp, 8
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x1005ba3e
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005ba34
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005bd00
push ecx
push edx
call fcn.100eb0f7
add esp, 8
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0xf
jbe 0x1005ba84
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005ba7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005bd00
push ecx
push edx
call fcn.100eb0f7
add esp, 8
mov esi, dword [ebp - 0x240]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
test esi, esi
je 0x1005bb03
mov edi, dword [ebp - 0x23c]
cmp esi, edi
je 0x1005bac4
nop word [eax + eax]
mov ecx, esi
call fcn.100581d0
add esi, 0x30
cmp esi, edi
jne 0x1005bab0
mov esi, dword [ebp - 0x240]
mov eax, dword [ebp - 0x238]
sub eax, esi
sar eax, 4
imul eax, eax, 0xaaaaaaab
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 4
cmp ecx, 0x1000
jb 0x1005baf9
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005bd00
push ecx
push esi
call fcn.100eb0f7
add esp, 8
lea ecx, [ebp - 0x9c]
call fcn.100598a0
jmp 0x1005bb37
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100eaab6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x1082a680
call fcn.100eab45
add esp, 4
cmp dword [0x1082a680], 0xffffffff
jne 0x1005b93d
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push eax
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x234], 0x1f
call fcn.10038b90
movups xmm0, xmmword [str.http:__80.66.82.242:825]
mov ecx, dword [ebp - 0x234]
mov edx, eax
mov dword [ebp - 0x34], edx
add esp, 8
mov dword [ebp - 0x24], 0x17
mov dword [ebp - 0x20], ecx
movups xmmword [edx], xmm0
mov eax, dword [0x101a63a4]
mov dword [edx + 0x10], eax
mov ax, word [0x101a63a8]
mov word [edx + 0x14], ax
mov al, byte [0x101a63aa]
mov byte [edx + 0x16], al
mov byte [edx + 0x17], 0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
push eax
push 0x202
mov byte [0x1082a5b8], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1005bc2a
push str.WSAStartup_failed
push 0x101ce970
push eax
lea ecx, [ebp - 0x264]
call fcn.10055bb0
push 0x101c4fd0
lea eax, [ebp - 0x264]
push eax
call fcn.100ec9c7
mov eax, dword [ebp - 0x230]
cmp al, 2
jne 0x1005bcd9
shr eax, 8
cmp al, 2
jne 0x1005bcd9
mov word [0x1082a5b8], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
mov eax, dword [ebp - 0x24]
cmova ecx, dword [ebp - 0x34]
add eax, ecx
cmp dword [ebp - 0x20], 0xf
lea ecx, [ebp - 0x34]
cmova ecx, dword [ebp - 0x34]
push eax
push ecx
mov ecx, 0x1082a5bc
call fcn.1005c320
mov byte [ebp - 4], 1
add esp, 8
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1005bcb5
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bca9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005bca9
call fcn.100f1ae9
push ecx
push edx
call fcn.100eb0f7
add esp, 8
jmp 0x1005bcb5
push 0x10125a50
call fcn.100eb0dd
add esp, 4
push 0x1082a680
call fcn.100eaaf4
add esp, 4
jmp 0x1005b93d
call fcn.100f1ae9
call dword [sym.imp.WS2_32.dll_WSACleanup]
push str.Invalid_WinSock_version
lea ecx, [ebp - 0x250]
call fcn.10055b40
push 0x101c5108
lea eax, [ebp - 0x250]
push eax
call fcn.100ec9c7
call fcn.100f1ae9
int3