Function at 0x1003d4c0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004a222
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x1007c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c0], edi
xorps xmm0, xmm0
mov byte [edi + 0xb9c], 0
movq qword [edi + 0xb9d], xmm0
mov dword [edi + 0xba5], 0
mov word [edi + 0xba9], 0
mov byte [edi + 0xbab], 0
mov dword [edi + 0xbf0], 0
mov dword [edi + 0xbf4], 0
mov dword [edi + 0xbf8], 0
lea ecx, [edi + 0xbfc]
mov dword [ebp - 4], 0
push 0x14
movups xmmword [ecx], xmm0
push str.SCCT_Versus_Reloaded
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10009090
lea eax, [ebp - 0x1a4]
mov byte [ebp - 4], 1
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1003d605
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x1ac], 0
push str.WSAStartup_failed.
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 0x1a8], 0
movups xmmword [ebp - 0x1bc], xmm0
call fcn.10009090
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 2
call fcn.1003ad80
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1a8]
cmp ecx, 0xf
jbe 0x1003d605
mov edx, dword [ebp - 0x1bc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d5fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003d5fb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10045a15
add esp, 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 2
push 0
push 0
push 0
push 0
push 0x7d0
call dword [sym.imp.miniupnpc.dll_upnpDiscover]
add esp, 0x1c
mov dword [edi], eax
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.upnpDiscover:
call fcn.10008020
push dword [ebp - 0x14]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push 0x100084c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x40
lea eax, [edi + 0xbac]
push eax
lea eax, [edi + 0x18]
push eax
lea eax, [edi + 4]
push eax
push dword [edi]
call dword [sym.imp.miniupnpc.dll_UPNP_GetValidIGD]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add esp, 0x14
mov edx, str.status:
mov esi, eax
call fcn.10008020
push esi
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push 0x100084c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp esi, 1
mov eax, edi
sete cl
mov byte [edi + 0xbec], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10045a07
mov esp, ebp
pop ebp
ret