Function at 0x4fc210
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Get common file path
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x632f90]
xor eax, esp
mov dword [esp + 0x184], eax
cmp dword [0x644d28], 0
push esi
push edi
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x1c], 0x1c
jne 0x4fc55d
push 0x104
lea eax, [esp + 0x84]
mov dword [0x644d28], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
test edx, edx
je 0x4fc3e9
mov ecx, str.ihplapi.dll
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4fc278
sub ecx, esi
lea eax, [edx + 2]
add eax, ecx
cmp eax, 0x104
jae 0x4fc3e9
mov edx, 0x62c864
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4fc298
lea edi, [esp + 0x80]
sub edx, esi
dec edi
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4fc2b0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, str.ihplapi.dll
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4fc2d0
lea edi, [esp + 0x80]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4fc2e1
mov ecx, edx
lea eax, [esp + 0x80]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
xor esi, esi
test edi, edi
je 0x4fc3e9
push str.GetAdaptersAddresses
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x10], eax
mov ecx, edi
test eax, eax
je 0x4fc3ca
push 0x3c00
mov dword [esp + 0xc], 0x3c00
call fcn.004ef290
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov ecx, edi
test esi, esi
je 0x4fc3ca
lea eax, [esp + 8]
push eax
push esi
push 0
push 0xe
push 0
call dword [esp + 0x24]
cmp eax, 0x6f
jne 0x4fc38f
push esi
call fcn.004ef3b0
push dword [esp + 0xc]
call fcn.004ef290
mov esi, eax
mov dword [esp + 0x1c], eax
add esp, 8
mov ecx, edi
test esi, esi
je 0x4fc3ca
lea eax, [esp + 8]
push eax
push esi
push 0
push 0xe
push 0
call dword [esp + 0x24]
mov ecx, edi
test eax, eax
jne 0x4fc3ca
mov eax, ecx
mov edi, esi
mov dword [esp + 0xc], eax
nop dword [eax]
mov esi, dword [edi + 0x10]
test esi, esi
je 0x4fc3b9
push dword [esi + 0xc]
call fcn.004fbf90
mov esi, dword [esi + 8]
add esp, 4
test esi, esi
jne 0x4fc3a7
mov edi, dword [edi + 8]
test edi, edi
jne 0x4fc3a0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
jmp 0x4fc3cd
or edi, 0xffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x4fc3e1
push esi
call fcn.004ef3b0
add esp, 4
test edi, edi
je 0x4fc55d
mov esi, dword [sym.imp.WS2_32.dll_htons]
xorps xmm0, xmm0
mov eax, 2
movaps xmmword [esp + 0x20], xmm0
push 0x35
mov word [esp + 0x24], ax
call esi
mov word [esp + 0x22], ax
lea eax, [esp + 0x24]
push eax
push str.18.244.0.188
push 2
call fcn.004f9f50
add esp, 0xc
test eax, eax
je 0x4fc573
xorps xmm0, xmm0
mov eax, 0x17
push 0x35
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x4c], xmm0
mov word [esp + 0x38], ax
call esi
mov word [esp + 0x36], ax
lea eax, [esp + 0x3c]
push eax
push str.2001:4860:b002::68
push 0x17
call fcn.004f9f50
add esp, 0xc
test eax, eax
jne 0x4fc4aa
push 0x62c408
push 0x62c414
push 0x314
push 0x62c418
push 0x62c424
push 0xdeaddead
call fcn.004fdc30
add esp, 0x18
push 0x62c448
push 0x62c454
push 0x314
push 0x62c458
push 0x62c464
jmp 0x4fc5b2
push 0x11
xorps xmm0, xmm0
mov dword [esp + 0x7c], 0
push 2
push 2
movaps xmmword [esp + 0x5c], xmm0
movaps xmmword [esp + 0x6c], xmm0
movq qword [esp + 0x7c], xmm0
call dword [sym.imp.WS2_32.dll_socket]
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
mov esi, eax
test esi, esi
js 0x4fc514
push 0x10
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x4fc511
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x54]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x4fc511
lea eax, [esp + 0x50]
push eax
call fcn.004fbf90
add esp, 4
push esi
call edi
push 0x11
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
test esi, esi
js 0x4fc55d
push 0x1c
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x4fc55a
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x64]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x4fc55a
lea eax, [esp + 0x60]
push eax
call fcn.004fbf90
add esp, 4
push esi
call edi
mov ecx, dword [esp + 0x18c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00526f37
mov esp, ebp
pop ebp
ret
push 0x62c374
push 0x62c380
push 0x30e
push 0x62c384
push 0x62c390
push 0xdeaddead
call fcn.004fdc30
add esp, 0x18
push 0x62c3b4
push 0x62c3c0
push 0x30e
push 0x62c3c4
push 0x62c3d0
push 2
call fcn.00559d7d
add esp, 4
push eax
call fcn.004212e0
add esp, 0x18
call fcn.0055d4ee
int3