Function at 0x480a20
Capabilities:
Initialize winsock library
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x288
mov eax, dword [0x4ba030]
xor eax, esp
mov dword [esp + 0x284], eax
push esi
push edi
lea eax, [esp + 0xf8]
xor esi, esi
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x480d97
mov eax, dword [esp + 0xf8]
cmp al, 1
jne 0x480d97
shr eax, 8
cmp al, 1
jne 0x480d97
mov eax, dword [str.1.pool.ntp.org]
xorps xmm0, xmm0
mov dword [esp + 0x94], 0x1388
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x1c], esi
test eax, eax
je 0x480d49
nop word [eax + eax]
push ecx
lea ecx, [esp + 0x5c]
push ecx
push eax
lea ecx, [esp + 0xa0]
call fcn.004243b4
test eax, eax
je 0x480d2f
lea eax, [esp + 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x2c]
call fcn.00423f5c
movsd xmm0, qword [esp + 0x88]
xorps xmm1, xmm1
comisd xmm0, xmm1
movsd qword [esp + 0x20], xmm0
jb 0x480be3
lea eax, [esp + 0x48]
push eax
sub esp, 8
movsd qword [esp], xmm0
call fcn.0043c2a0
fmul qword [0x4ab620]
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
add esp, 0xc
movsd xmm0, qword [0x4ab628]
fstp qword [esp + 8]
movsd xmm1, qword [esp + 8]
comisd xmm1, xmm0
jb 0x480b5f
subsd xmm1, xmm0
comisd xmm0, xmm1
jbe 0x480b5f
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add esi, 0
adc edi, 0x80000000
jmp 0x480b67
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
movaps xmm0, xmm1
call fcn.00476ce0
movsd xmm1, qword [0x4ab628]
add eax, esi
xorps xmm0, xmm0
mov dword [esp + 0x18], eax
movlpd qword [esp + 8], xmm0
adc edx, edi
movsd xmm0, qword [esp + 0x20]
comisd xmm0, xmm1
mov dword [esp + 0x10], edx
jb 0x480bb5
subsd xmm0, xmm1
comisd xmm1, xmm0
jbe 0x480bb5
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esi, 0
adc edi, 0x80000000
jmp 0x480bbd
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
call fcn.00476ce0
mov ecx, eax
add ecx, esi
adc edx, edi
mov dword [esp + 0x24], edx
xor edx, edx
add edx, dword [esp + 0x18]
adc ecx, dword [esp + 0x10]
add edx, dword [esp + 0x28]
adc ecx, dword [esp + 0x2c]
jmp 0x480cc9
xorps xmm0, xmmword [0x4ab690]
lea eax, [esp + 0x50]
push eax
sub esp, 8
movsd qword [esp + 0x2c], xmm0
movsd qword [esp], xmm0
call fcn.0043c2a0
fmul qword [0x4ab620]
xorps xmm0, xmm0
add esp, 0xc
fstp qword [esp + 8]
movsd xmm1, qword [esp + 8]
movlpd qword [esp + 8], xmm0
movsd xmm0, qword [0x4ab628]
comisd xmm1, xmm0
jb 0x480c49
subsd xmm1, xmm0
comisd xmm0, xmm1
jbe 0x480c49
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esi, 0
adc edi, 0x80000000
jmp 0x480c51
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
movaps xmm0, xmm1
call fcn.00476ce0
movsd xmm1, qword [0x4ab628]
add eax, esi
xorps xmm0, xmm0
mov dword [esp + 0x10], eax
movlpd qword [esp + 8], xmm0
adc edx, edi
movsd xmm0, qword [esp + 0x20]
comisd xmm0, xmm1
mov dword [esp + 0x18], edx
jb 0x480c9f
subsd xmm0, xmm1
comisd xmm1, xmm0
jbe 0x480c9f
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esi, 0
adc edi, 0x80000000
jmp 0x480ca7
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
call fcn.00476ce0
mov ecx, dword [esp + 0x2c]
add eax, esi
adc edx, edi
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x28]
sub edx, 0
sbb ecx, eax
sub edx, dword [esp + 0x10]
sbb ecx, dword [esp + 0x18]
lea eax, [esp + 0xb0]
mov dword [esp + 0x34], ecx
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], edx
call fcn.0042418c
movups xmm0, xmmword [eax]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xe4]
push eax
movups xmmword [esp + 0xe8], xmm0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x480d2f
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x480d2f
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x480d5f
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [eax*4 + 0x4aa2e0]
test eax, eax
jne 0x480ab0
xor esi, esi
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.00426ca5
mov esp, ebp
pop ebp
ret
movzx ecx, word [esp + 0xc0]
movzx esi, byte [esp + 0xc2]
shl ecx, 8
or esi, ecx
movzx ecx, byte [esp + 0xc6]
shl esi, 8
or esi, ecx
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.00426ca5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00426ca5
mov esp, ebp
pop ebp
ret