Function at 0x1001cd50
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 0x10056ac6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1e8
mov eax, dword [0x1007e0c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 0x1001d160
mov dword [ebp - 0x1b0], 0
cdq
mov ecx, 0x2a
mov dword [ebp - 0x1e0], eax
mov eax, 0x1001d0f0
mov word [ebp - 0x1e8], cx
mov ecx, 0x10
mov dword [ebp - 0x1dc], edx
cdq
push 0x20
mov word [ebp - 0x1d8], cx
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], edx
mov dword [ebp - 0x1ac], 0
call fcn.1001a4c9
add esp, 4
mov dword [ebp - 0x1b4], eax
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 4], 0
lea edi, [ebp - 0x1e8]
push edi
push eax
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.10006530
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x1c8], xmm0
mov dword [ebp - 0x1c0], eax
test al, al
jne 0x1001ceb4
cmp dword [ebp - 0x1ac], 0x7ffffff
je 0x1001d0c7
mov esi, dword [ebp - 0x1b0]
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 4], 1
push 0x20
mov dword [ebp - 0x1b8], 0
call fcn.1001a4c9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1b0]
movups xmm0, xmmword [edi]
add esp, 4
mov dword [ebp - 0x1b8], 0
movups xmmword [eax + 0x10], xmm0
mov dword [eax], esi
push eax
push dword [ebp - 0x1c4]
mov dword [eax + 4], esi
push dword [ebp - 0x1c8]
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.10006320
add edi, 0x10
lea eax, [ebp - 0x1c8]
cmp edi, eax
je 0x1001cecc
mov eax, dword [ebp - 0x1b4]
jmp 0x1001ce12
mov dword [ebp - 4], 2
mov edi, dword [0x1007f3f0]
push 0x30
call fcn.1001a4c9
mov esi, eax
add esp, 4
mov dword [ebp - 0x1b4], esi
mov byte [ebp - 4], 3
lea ecx, [esi + 0x18]
mov eax, edi
mov word [esi + 4], 0
cdq
mov dword [esi + 8], eax
xor eax, eax
mov word [esi + 0x14], ax
lea eax, [ebp - 0x1b0]
push eax
mov dword [esi], vtable.PLH::VFuncSwapHook.0
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], 0
call fcn.1001a2a0
mov byte [ebp - 4], 4
lea edi, [esi + 0x20]
mov dword [ebp - 0x1b8], edi
push 0x20
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.1001a4c9
mov byte [ebp - 4], 2
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
mov dword [esi + 0x28], 0x1007f24c
mov dword [esi], vtable.PLH::VFuncSwapHook.0
mov ecx, dword [0x1007f3a8]
mov dword [0x1007f3a8], esi
test ecx, ecx
je 0x1001cf81
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [0x1007f3a8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [0x1007e374]
dec eax
cmp eax, 5
ja case.default.0x1001cf97
jmp dword [eax*4 + 0x1001d0cc]
push 0x1001dc40
push dword [0x1007f450]
call fcn.100010f0
push 0x1001db40
push dword [0x1007f43c]
mov dword [0x1007f118], eax
call fcn.100010f0
push 0x1001d4a0
push dword [0x1007f434]
mov dword [0x1007f110], eax
call fcn.100010f0
push 0x1001d2d0
push dword [0x1007f430]
mov dword [0x1007f10c], eax
call fcn.100010f0
push str.user32.dll
mov dword [0x1007f108], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x1001d01c
push str.GetFocus
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001d01c
push 0x1001dc70
push eax
call fcn.100010f0
lea eax, [ebp - 0x1a8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
jmp case.default.0x1001cf97
push 0x1001d4a0
push dword [0x1007f434]
call fcn.100010f0
push 0x1001d2d0
push dword [0x1007f430]
mov dword [0x1007f10c], eax
call fcn.100010f0
mov dword [0x1007f108], eax
jmp case.default.0x1001cf97
push 0x1001d4a0
push dword [0x1007f434]
call fcn.100010f0
push 0x1001d2d0
push dword [0x1007f430]
mov dword [0x1007f10c], eax
call fcn.100010f0
push 0x1001dc00
push dword [0x1007f40c]
mov dword [0x1007f108], eax
call fcn.100010f0
mov dword [0x1007f114], eax
lea eax, [ebp - 0x1b0]
push eax
mov ecx, eax
call fcn.100067e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001a4bb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10006790
sahf
iretd