Function at 0x532462
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x1c
call fcn.0053b7c5
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.0053b7c5
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x9d68dd
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 0xa
call fcn.0053b7c5
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x564bba
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosb byte es:[edi], al
stosb byte es:[edi], al
mov dword [ebp - 8], 0
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 2
push 2
mov ebx, 0xa00
call fcn.00540d10
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp - 4]
push eax
push 0x10f
call fcn.0053b7c5
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 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, 2
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 dword [edi], eax
add edi, 4
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_WSAStartup]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x5325a6
push 6
call fcn.0053b7dd
add esp, 4
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov edi, dword [ebp - 0x18]
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.0053bc60
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 0x5325f3
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x5325f1
imul eax, dword [edi]
jmp 0x5325e6
mov ecx, eax
cmp ecx, 0x101
jle 0x532600
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.0053bc60
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 0x53263e
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x53263c
imul eax, dword [edi]
jmp 0x532631
mov ecx, eax
cmp ecx, 2
jle 0x532648
mov ecx, 2
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 2
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 eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0053b7cb
add esp, 4
pop eax
mov ecx, 0x3e8
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.0053b7c5
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 0x3e8
add edi, 4
mov ebx, dword [0x9e2452]
call fcn.0040167b
pop edx
test ecx, ecx
je 0x5326ea
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 0x34
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x5326d7
push ebx
call fcn.0053b7cb
add esp, 4
pop ebx
call fcn.0053b7cb
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x5326bf
pop edx
pop edi
test edx, edx
je 0x53271c
mov ebx, edi
push edx
push ebx
push 0x4c
call fcn.0053b7c5
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x13
rep stosd dword es:[edi], eax
pop ebx
pop edx
add ebx, 4
dec edx
jne 0x5326f4
push dword [0x9e2452]
call fcn.0053b7cb
add esp, 4
pop eax
mov dword [0x9e2452], eax
push 0
mov ebx, 4
mov eax, 0x543870
call fcn.0053bce0
add esp, 4
mov dword [0x9e245e], eax
push 0
mov ebx, 4
mov eax, 0x543870
call fcn.0053bce0
add esp, 4
mov dword [0x9e2462], eax
push 0
mov ebx, 4
mov eax, 0x543870
call fcn.0053bce0
add esp, 4
mov dword [0x9e2466], eax
xor ecx, ecx
lea eax, [ebp - 8]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x3e8
jg 0x5327f9
mov ebx, dword [0x9e2452]
call fcn.0040167b
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x5327bc
push 4
call fcn.0053b7dd
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x5327cf
push 1
call fcn.0053b7dd
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
push 0
mov ebx, 4
mov eax, 0x543870
call fcn.0053bce0
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
pop ebx
pop ecx
jmp 0x53278b
add esp, 8
mov dword [ebp - 0xc], esp
push 0
push 0
push 4
call dword [sym.imp.KERNEL32.dll_HeapCreate]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x53282a
push 6
call fcn.0053b7dd
add esp, 4
mov dword [0x9e245a], eax
mov dword [0x9e2456], 1
mov ebx, dword [ebp - 4]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0053b7cb
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0053b7cb
add esp, 4
pop ebx
call fcn.0053b7cb
add esp, 4
mov esp, ebp
pop ebp
ret