Function at 0x48dca0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1dc
mov eax, dword [0x500144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x1ac], edx
push 0x2c
lea eax, [ebp - 0x1d8]
mov dword [ebp - 0x19c], esi
mov ebx, ecx
mov edi, esi
push esi
push eax
mov dword [ebp - 0x1a8], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x1a0], esi
lea eax, [ebp - 0x198]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x1a4], eax
test eax, eax
je 0x48dd4a
mov eax, dword [section..data]
cmp eax, section..data
je 0x48dd40
test byte [eax + 0x1c], 1
je 0x48dd40
cmp byte [eax + 0x19], 2
jb 0x48dd40
call fcn.0042386b
push dword [ebp - 0x1a4]
mov edx, 0x4151e8
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x20
pop ecx
call fcn.00421fda
mov edi, 0x80004005
jmp 0x48df3d
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x1d8], 0x20002
push eax
lea eax, [ebp - 0x1d8]
mov dword [ebp - 0x1d4], esi
push eax
push esi
push 0xc
push esi
push ebx
mov dword [ebp - 0x1d0], 1
mov dword [ebp - 0x1cc], 6
call dword [sym.imp.WS2_32.dll_GetAddrInfoExW]
mov ebx, eax
test ebx, ebx
je 0x48ddd2
mov eax, dword [section..data]
cmp eax, section..data
je 0x48ddc8
test byte [eax + 0x1c], 1
je 0x48ddc8
cmp byte [eax + 0x19], 2
jb 0x48ddc8
call fcn.0042386b
push ebx
push eax
mov eax, dword [section..data]
mov edx, 0x4151e8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x21
pop ecx
call fcn.00421fda
mov edi, 0x80004005
jmp 0x48df3a
mov eax, dword [ebp - 0x19c]
test eax, eax
je 0x48df32
cmp dword [eax + 0x14], esi
je 0x48df32
push dword [eax + 0x14]
push dword [ebp - 0x1a8]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
je 0x48df32
mov ecx, dword [ebp - 0x19c]
lea eax, [ebp - 0x1a0]
push eax
mov edx, 0x104
mov ecx, dword [ecx + 0x14]
call fcn.0044faa2
mov edi, eax
test edi, edi
jns 0x48de70
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x48df3a
test byte [ecx + 0x1c], 8
je 0x48df3a
cmp byte [ecx + 0x19], 2
jb 0x48df3a
call fcn.0042386b
push edi
push 0x40d1bc
push eax
mov eax, dword [section..data]
mov edx, 0x4151e8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x22
pop ecx
call fcn.0042371b
jmp 0x48df3a
mov edi, dword [ebp - 0x1a0]
xor ecx, ecx
push 2
pop ebx
lea eax, [edi + 1]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004fb25b
mov esi, eax
pop ecx
test esi, esi
jne 0x48ded5
mov eax, dword [section..data]
cmp eax, section..data
je 0x48dece
test byte [eax + 0x1c], 8
je 0x48dece
cmp byte [eax + 0x19], bl
jb 0x48dece
call fcn.0042386b
push 0x41504c
push eax
mov eax, dword [section..data]
mov edx, 0x4151e8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x23
pop ecx
call fcn.0042200a
mov edi, 0x8007000e
jmp 0x48df3a
mov eax, dword [ebp - 0x19c]
lea edx, [edi + 1]
mov ecx, esi
push dword [eax + 0x14]
call fcn.0041f6cc
mov edi, eax
test edi, edi
jns 0x48df32
mov eax, dword [section..data]
cmp eax, section..data
je 0x48df29
test byte [eax + 0x1c], 8
je 0x48df29
cmp byte [eax + 0x19], bl
jb 0x48df29
call fcn.0042386b
push edi
push 0x409728
push eax
mov eax, dword [section..data]
mov edx, 0x4151e8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x24
pop ecx
call fcn.0042371b
push esi
call fcn.004fb234
pop ecx
jmp 0x48df3a
mov eax, dword [ebp - 0x1ac]
mov dword [eax], esi
xor esi, esi
inc esi
mov eax, dword [ebp - 0x19c]
test eax, eax
je 0x48df4e
push eax
call dword [sym.imp.WS2_32.dll_FreeAddrInfoExW]
test esi, esi
je 0x48df58
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fb5e0
leave
ret