Function at 0x5752a4
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x63
push 0
push 0
dec ecx
jne 0x5752ac
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x57573b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c8]
push eax
push 0x202
call sub.wsock32.dll_WSAStartup
call fcn.00574c2c
mov al, byte [0x65a1bc]
or al, byte [0x65a1bd]
jne 0x5756fe
lea eax, [ebp - 4]
push eax
mov eax, dword [0x65a1b8]
call fcn.0043b7b8
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 4]
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 4], eax
xor edx, edx
mov eax, 2
call fcn.0050a2e8
mov edi, eax
mov dword [ebp - 0x138], 0x128
lea edx, [ebp - 0x138]
mov eax, edi
call fcn.0050a308
neg eax
sbb ebx, ebx
neg ebx
test bl, bl
je 0x5756e0
mov eax, dword [ebp - 0x130]
call fcn.005751e8
test al, al
je 0x5756e0
call sub.kernel32.dll_GetCurrentProcessId
cmp eax, dword [ebp - 0x130]
je 0x5756e0
mov eax, dword [ebp - 0x130]
push eax
push 0xffffffffffffffff
push 0x40
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 8], eax
mov eax, 0xffff
mov esi, eax
cmp esi, 1
jb 0x5754f8
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00574c6c
cmp eax, 0xffffffff
je 0x5754ef
dec eax
je 0x5753b5
dec eax
je 0x5753c4
jmp 0x5753d1
lea eax, [ebp - 0x10]
mov edx, 0x575754
call fcn.00403fa8
jmp 0x5753d1
lea eax, [ebp - 0x10]
mov edx, 0x575760
call fcn.00403fa8
cmp byte [ebp - 9], 0
jne 0x5754ef
lea edx, [ebp - 0x2e0]
lea eax, [ebp - 0x114]
call fcn.0040a168
push dword [ebp - 0x2e0]
push 0x57576c
push dword [ebp - 0x2d4]
call sub.wsock32.dll_inet_ntoa
lea edx, [ebp - 0x2e4]
call fcn.0040a168
push dword [ebp - 0x2e4]
push 0x575780
mov ax, word [ebp - 0x2d6]
push eax
call sub.wsock32.dll_htons_1
movzx eax, ax
lea edx, [ebp - 0x2e8]
call fcn.004093ac
push dword [ebp - 0x2e8]
push 0x57578c
push dword [ebp - 0x10]
lea eax, [ebp - 0x2dc]
mov edx, 7
call fcn.00404250
mov edx, dword [ebp - 0x2dc]
mov eax, dword [0x65a1c0]
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
jge 0x5754ef
lea edx, [ebp - 0x2f0]
lea eax, [ebp - 0x114]
call fcn.0040a168
push dword [ebp - 0x2f0]
push 0x57576c
push dword [ebp - 0x2d4]
call sub.wsock32.dll_inet_ntoa
lea edx, [ebp - 0x2f4]
call fcn.0040a168
push dword [ebp - 0x2f4]
push 0x575780
mov ax, word [ebp - 0x2d6]
push eax
call sub.wsock32.dll_htons_1
movzx eax, ax
lea edx, [ebp - 0x2f8]
call fcn.004093ac
push dword [ebp - 0x2f8]
push 0x57578c
push dword [ebp - 0x10]
lea eax, [ebp - 0x2ec]
mov edx, 7
call fcn.00404250
mov edx, dword [ebp - 0x2ec]
mov eax, dword [0x65a1c0]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec esi
test esi, esi
jne 0x57538c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x5756e0
lea edx, [ebp - 0x138]
mov eax, edi
call fcn.0050a328
neg eax
sbb ebx, ebx
neg ebx
test bl, bl
je 0x5756e0
mov eax, dword [ebp - 0x130]
call fcn.005751e8
test al, al
je 0x5756e0
call sub.kernel32.dll_GetCurrentProcessId
cmp eax, dword [ebp - 0x130]
je 0x5756e0
mov eax, dword [ebp - 0x130]
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 8], eax
mov eax, 0xffff
mov esi, eax
cmp esi, 1
jb 0x5756d7
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00574c6c
cmp eax, 0xffffffff
je 0x5756ce
dec eax
je 0x575594
dec eax
je 0x5755a3
jmp 0x5755b0
lea eax, [ebp - 0x10]
mov edx, 0x575754
call fcn.00403fa8
jmp 0x5755b0
lea eax, [ebp - 0x10]
mov edx, 0x575760
call fcn.00403fa8
cmp byte [ebp - 9], 0
jne 0x5756ce
lea edx, [ebp - 0x300]
lea eax, [ebp - 0x114]
call fcn.0040a168
push dword [ebp - 0x300]
push 0x57576c
push dword [ebp - 0x2d4]
call sub.wsock32.dll_inet_ntoa
lea edx, [ebp - 0x304]
call fcn.0040a168
push dword [ebp - 0x304]
push 0x575780
mov ax, word [ebp - 0x2d6]
push eax
call sub.wsock32.dll_htons_1
movzx eax, ax
lea edx, [ebp - 0x308]
call fcn.004093ac
push dword [ebp - 0x308]
push 0x57578c
push dword [ebp - 0x10]
lea eax, [ebp - 0x2fc]
mov edx, 7
call fcn.00404250
mov edx, dword [ebp - 0x2fc]
mov eax, dword [0x65a1c0]
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
jge 0x5756ce
lea edx, [ebp - 0x310]
lea eax, [ebp - 0x114]
call fcn.0040a168
push dword [ebp - 0x310]
push 0x57576c
push dword [ebp - 0x2d4]
call sub.wsock32.dll_inet_ntoa
lea edx, [ebp - 0x314]
call fcn.0040a168
push dword [ebp - 0x314]
push 0x575780
mov ax, word [ebp - 0x2d6]
push eax
call sub.wsock32.dll_htons_1
movzx eax, ax
lea edx, [ebp - 0x318]
call fcn.004093ac
push dword [ebp - 0x318]
push 0x57578c
push dword [ebp - 0x10]
lea eax, [ebp - 0x30c]
mov edx, 7
call fcn.00404250
mov edx, dword [ebp - 0x30c]
mov eax, dword [0x65a1c0]
call fcn.00413a78
dec esi
test esi, esi
jne 0x57556b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
test bl, bl
jne 0x575506
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
push edi
call sub.kernel32.dll_CloseHandle_1
call sub.wsock32.dll_WSACleanup
jmp 0x575715
cmp byte [0x65a1bc], 0
jne 0x575715
cmp byte [0x65a1bd], 0
je 0x575715
call fcn.00575790
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x575742
lea eax, [ebp - 0x318]
mov edx, 0x10
call fcn.00403f34
lea eax, [ebp - 0x10]
call fcn.00403f10
ret