Function at 0x53c270
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe30
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1d0], edx
mov dword [ebp - 0x1cc], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x53c58f
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x53c24c]
call fcn.004069c4
add esp, 4
mov dword [ebp - 0x18], 0x27400
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
call sub.ws2_32.dll_WSCEnumProtocols
mov ebx, eax
cmp ebx, 0xffffffff
je 0x53c530
lea eax, [ebp - 0x1c8]
push eax
push 0x101
call sub.ws2_32.dll_WSAStartup
test eax, eax
jne 0x53c530
mov eax, 0x801
call fcn.00402ff8
mov dword [ebp - 0x2c], eax
mov eax, 0x401
call fcn.00403010
mov dword [ebp - 0x30], eax
dec ebx
test ebx, ebx
jl 0x53c51b
inc ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x1c], 0
xor eax, eax
push ebp
push 0x53c505
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0xff
mov eax, dword [ebp - 0x30]
push eax
push 0xff
imul ebx, dword [ebp - 0x1c], 0x9d
mov eax, dword [ebp - 4]
lea eax, [eax + ebx*4 + 0x74]
push eax
push 0
push 0
call sub.kernel32.dll_WideCharToMultiByte_1
mov eax, dword [ebp - 0x14]
add eax, 0x58
mov edx, dword [ebp - 0x30]
call fcn.00405154
mov eax, dword [ebp - 0x14]
call fcn.0053dcfc
mov dword [ebp - 0x20], 0x400
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
lea eax, [eax + ebx*4 + 0x14]
push eax
call sub.ws2_32.dll_WSCGetProviderPath
inc eax
je 0x53c4fb
push 0
push 0
push 0x800
mov eax, dword [ebp - 0x30]
push eax
push 0x400
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
call sub.kernel32.dll_WideCharToMultiByte_1
mov byte [ebp - 0x31], 2
xor eax, eax
push ebp
push 0x53c4e9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1cc]
mov edx, dword [ebp - 0x30]
call fcn.00405154
mov eax, dword [ebp - 0x1cc]
lea edx, [ebp - 8]
call fcn.00513298
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x31]
mov eax, dword [0x603fcc]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
call fcn.00533ec8
cmp byte [ebp - 0x31], 2
je 0x53c4df
mov eax, dword [0x603fcc]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
call fcn.0053470c
test al, al
jne 0x53c4df
mov eax, dword [ebp - 8]
call fcn.00537e24
test al, al
jne 0x53c4df
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 0xc]
call fcn.0053ea34
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 8]
call fcn.0053e9fc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x78]
movzx edx, byte [ebp - 0x31]
call fcn.0053ea10
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + 0x78]
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x18], eax
lea eax, [esi + 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00404fb0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x78]
xor edx, edx
call fcn.0053ea2c
mov eax, dword [ebp - 0x14]
push eax
push 0x53dc14
mov eax, dword [ebp - 0x14]
call fcn.0042bc24
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
lea eax, [eax + ebx*4 + 0x14]
push eax
call sub.ws2_32.dll_WSCDeinstallProvider
inc eax
je 0x53c4df
lea edx, [ebp - 0x1d0]
mov eax, dword [ebp - 8]
call fcn.00510504
mov edx, dword [ebp - 0x1d0]
mov eax, dword [ebp - 0x14]
add eax, 0x58
mov ecx, 0x53c5a8
call fcn.00405274
mov eax, dword [ebp - 0x14]
call fcn.0053dc7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53c4fb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53c50f
inc dword [ebp - 0x1c]
dec dword [ebp - 0x38]
jne 0x53c32e
mov eax, dword [ebp - 0x2c]
call fcn.0040302c
mov eax, dword [ebp - 0x30]
call fcn.0040302c
call sub.ws2_32.dll_WSACleanup
push 0
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x53c24c]
call fcn.004069c4
add esp, 4
lea eax, [ebp - 4]
mov edx, dword [0x53c24c]
call fcn.00406ae4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53c596
lea eax, [ebp - 0x1d0]
mov edx, 2
call fcn.00404f80
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404f80
lea eax, [ebp - 4]
mov edx, dword [0x53c24c]
call fcn.00406ae4
ret