Function at 0x49f4a0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x3b8
mov eax, dword [0x596f48]
xor eax, esp
mov dword [esp + 0x3b4], eax
cmp byte [0x58a724], 0
mov eax, dword [esp + 0x3bc]
mov dword [esp], eax
je 0x49f770
lea ecx, [esp + 4]
push ecx
call fcn.00522730
lea edx, [esp + 4]
push edx
call fcn.00523180
cmp dword [0x5980d4], 0
jne 0x49f73e
lea eax, [esp + 0x224]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x49f71d
push esi
push 0x15c
call fcn.004a3fd0
push 0x15c
mov esi, eax
push 0
push esi
mov dword [0x5980d4], esi
call fcn.00549090
add esp, 0xc
lea ecx, [esi + 0x4c]
xor eax, eax
nop
mov edx, dword [eax + 0x58c258]
mov dword [ecx], edx
add eax, 4
add ecx, 4
cmp eax, 0x110
jb 0x49f530
mov eax, dword [0x597fcc]
cmp byte [eax], 0
je 0x49f5bf
push ebp
push eax
call fcn.00521a00
mov ebp, eax
test ebp, ebp
je 0x49f5b8
push ebx
push str.HTTP_SERVER_STRINGS
push ebp
call fcn.0049f8e0
mov ebx, eax
test ebx, ebx
je 0x49f5b1
push edi
mov esi, 0x4c
mov edi, 0x58c368
sub edi, esi
jmp 0x49f580
mov eax, dword [edi + esi]
push 0
push eax
push ebx
call fcn.0049f8c0
test eax, eax
je 0x49f59f
push eax
call fcn.0051b6c0
mov ecx, dword [0x5980d4]
mov dword [esi + ecx], eax
add esi, 4
cmp esi, 0x15c
jb 0x49f580
push ebx
call fcn.0049f7d0
pop edi
push ebp
call fcn.004a4030
pop ebx
mov esi, dword [0x5980d4]
pop ebp
mov edx, dword [0x58a714]
mov dword [esi + 0x14], edx
mov eax, dword [0x597fc8]
push eax
call fcn.0051b6c0
mov ecx, dword [0x5980d4]
push 0
push 0x49f1c0
push 0
mov dword [ecx + 0x18], eax
call fcn.004bf5f0
push eax
call fcn.00411980
mov edx, dword [0x5980d4]
push 0
push 0
push 0
push 0x49f3d0
push str.EVERYTHING_HTTP_SERVER
push 0
mov dword [edx + 0x1c], eax
call fcn.004a9be0
push 0
push 0
call dword [0x597cc8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.EVERYTHING_HTTP_SERVER
push str.EVERYTHING_HTTP_SERVER
push 0
call fcn.004a9d30
mov ecx, dword [0x5980d4]
mov dword [ecx + 8], eax
mov ax, word [esp + 0x228]
cmp al, 1
je 0x49f67a
cmp ah, 1
je 0x49f67a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [0x58de7c]
push eax
mov eax, dword [edx + 0x116c]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.00523500
add esp, 0xc
jmp 0x49f6f9
mov edx, dword [0x597fc8]
cmp byte [edx], 0
je 0x49f6ed
lea eax, [esp + 0x118]
push eax
call fcn.00522730
mov eax, dword [0x597fc8]
push eax
lea ecx, [esp + 0x11c]
push ecx
call fcn.00524290
mov esi, eax
test esi, esi
je 0x49f6de
jmp 0x49f6b0
mov eax, dword [esp + 0x120]
cmp byte [eax], 0
je 0x49f6ca
lea edx, [esp + 8]
push edx
call fcn.0049a9e0
test eax, eax
je 0x49f6de
push esi
lea eax, [esp + 0x11c]
push eax
call fcn.00524290
mov esi, eax
test esi, esi
jne 0x49f6b0
lea ecx, [esp + 0x118]
push ecx
call fcn.00401260
jmp 0x49f6f9
lea edx, [esp + 8]
push edx
xor eax, eax
call fcn.0049a9e0
mov eax, dword [0x5980d4]
cmp dword [eax + 0xc], 0
pop esi
je 0x49f716
push str.HTTP_server_online._r_n
push 0
call fcn.0049a310
add esp, 8
jmp 0x49f766
call fcn.0049f0d0
jmp 0x49f73e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [0x58de7c]
mov edx, dword [ecx + 0x1180]
push eax
push edx
lea eax, [esp + 0xc]
push eax
call fcn.00523500
add esp, 0xc
mov eax, dword [esp + 0xc]
cmp byte [eax], 0
je 0x49f766
push eax
mov eax, dword [0x58de7c]
mov ecx, dword [eax + 0x1134]
mov edx, dword [eax]
mov eax, dword [esp + 4]
push ecx
push edx
push 0x10
push eax
call fcn.004a98f0
add esp, 0x14
lea ecx, [esp + 4]
push ecx
call fcn.00401260
mov ecx, dword [esp + 0x3b4]
xor ecx, esp
call fcn.0054899c
add esp, 0x3b8
ret 4