Function at 0x100747e0
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x1017572d
mov eax, dword fs:[0]
push eax
sub esp, 0x3e0
mov eax, dword [0x101c8fb4]
xor eax, esp
mov dword [esp + 0x3dc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c8fb4]
xor eax, esp
push eax
lea eax, [esp + 0x3f4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x404]
mov edi, dword [esp + 0x40c]
xor ebp, ebp
push 0x1ff
lea eax, [esp + 0x1f5]
push ebp
mov dword [esp + 0x1c], ebp
push eax
mov dword [esp + 0x48], esi
mov byte [esp + 0x1fc], 0
call fcn.10112240
add esp, 0xc
xor eax, eax
lea ecx, [esp + 0x40]
push ecx
push 0x202
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ax, word [esp + 0x40]
cmp al, 2
jne 0x10074a60
cmp ah, al
jne 0x10074a60
lea ecx, [esp + 0x28]
call fcn.10102d5b
mov dword [esp + 0x3fc], 1
push ebp
lea edx, [esp + 0x2c]
push edx
push 0x1017ba38
push edi
call fcn.1005deb0
mov ebx, eax
add esp, 0x10
xor edi, edi
cmp ebx, ebp
jle 0x100748ea
cmp edi, ebp
jl 0x10074a5b
cmp edi, dword [esp + 0x30]
jge 0x10074a5b
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + edi*4]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.1006e9b0
add esp, 8
test eax, eax
jne 0x100748ea
add edi, 1
cmp edi, ebx
jl 0x100748b8
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dl, 0x25
mov al, 0x64
mov cl, 0x30
mov byte [esp + 0x1d0], dl
mov byte [esp + 0x1d5], dl
mov byte [esp + 0x1da], dl
mov byte [esp + 0x1df], dl
mov byte [esp + 0x1e4], dl
mov byte [esp + 0x1e9], dl
movzx edx, word [esp + 0x24]
push edx
movzx edx, word [esp + 0x22]
mov byte [esp + 0x1d7], al
mov byte [esp + 0x1dc], al
mov byte [esp + 0x1e1], al
mov byte [esp + 0x1e6], al
mov byte [esp + 0x1eb], al
mov byte [esp + 0x1f0], al
movzx eax, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x22]
mov byte [esp + 0x1d9], cl
mov byte [esp + 0x1de], cl
mov byte [esp + 0x1e3], cl
mov byte [esp + 0x1e8], cl
mov byte [esp + 0x1ed], cl
mov byte [esp + 0x1f2], cl
movzx ecx, word [esp + 0x28]
push ecx
movzx ecx, word [esp + 0x24]
push edx
push eax
push ecx
mov bl, 0x32
lea edx, [esp + 0x1e8]
push edx
lea eax, [esp + 0x20c]
push eax
mov byte [esp + 0x1f2], 0x34
mov byte [esp + 0x1f4], 0x2d
mov byte [esp + 0x1f7], bl
mov byte [esp + 0x1f9], 0x2d
mov byte [esp + 0x1fc], bl
mov byte [esp + 0x1fe], 0x20
mov byte [esp + 0x201], bl
mov byte [esp + 0x203], 0x3a
mov byte [esp + 0x206], bl
mov byte [esp + 0x208], 0x3a
mov byte [esp + 0x20b], bl
mov byte [esp + 0x20d], 0
call fcn.10112d57
lea eax, [esp + 0x210]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebp
add esp, 0x20
mov byte [esi + 4], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10074a25
sub eax, ecx
push eax
lea ecx, [esp + 0x1f4]
push ecx
mov ecx, esi
call fcn.10004080
mov dword [esp + 0x14], 1
mov byte [esp + 0x3fc], 0
lea ecx, [esp + 0x28]
call fcn.101030a3
jmp 0x10074aaa
jmp fcn.10100646
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea eax, [esp + 0x1f0]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebp
mov byte [esi + 4], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10074a80
sub eax, edx
push eax
lea edx, [esp + 0x1f4]
push edx
mov ecx, esi
call fcn.10004080
mov dword [esp + 0x3fc], ebp
mov dword [esp + 0x14], 1
mov eax, esi
mov ecx, dword [esp + 0x3f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3dc]
xor ecx, esp
call fcn.10111b17
add esp, 0x3ec
ret