Function at 0x414857
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x1c
call fcn.0041bb36
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
add ebx, 8
push ebx
push 0x109
call fcn.0041bb36
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4242a7
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 0x89
call fcn.0041bb36
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4242af
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x81
rep stosb byte es:[edi], al
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 2
push 2
mov ebx, 0xa00
call fcn.0041d8a0
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
mov eax, dword [ebp - 4]
push eax
push 0x18b
call fcn.0041bb36
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 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, 0x81
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
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
push dword [ebp - 8]
call dword [sym.imp.WSOCK32.dll_WSAStartup]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4149a1
push 0x36
push 0x409c9fa
push 6
call fcn.0041bb2a
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
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.0041bf30
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 0x4149ee
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4149ec
imul eax, dword [edi]
jmp 0x4149e1
mov ecx, eax
cmp ecx, 0x101
jle 0x4149fb
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.0041bf30
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 0x414a39
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x414a37
imul eax, dword [edi]
jmp 0x414a2c
mov ecx, eax
cmp ecx, 0x81
jle 0x414a46
mov ecx, 0x81
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x81
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
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
call fcn.0041bb3c
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
mov eax, 0
sete al
jmp 0x414a90
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041bb3c
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041bb3c
add esp, 4
pop ebx
call fcn.0041bb3c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret