Function at 0x4823d0
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 [0x4bd034]
xor eax, esp
mov dword [esp + 0x284], eax
push esi
push edi
lea eax, [esp + 0xf8]
xor edi, edi
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x48262b
mov eax, dword [esp + 0xf8]
cmp al, 1
jne 0x48262b
shr eax, 8
cmp al, 1
jne 0x48262b
mov eax, dword [str.1.pool.ntp.org]
xorps xmm0, xmm0
xor esi, esi
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 + 0x14], esi
test eax, eax
je 0x4825dd
nop dword [eax]
push ecx
lea ecx, [esp + 0x5c]
push ecx
push eax
lea ecx, [esp + 0xa0]
call fcn.00424787
test eax, eax
je 0x4825c7
lea eax, [esp + 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x24]
call fcn.00424334
movsd xmm0, qword [esp + 0x88]
xorps xmm1, xmm1
comisd xmm0, xmm1
movsd qword [esp + 0x28], xmm0
jb 0x482506
lea eax, [esp + 0x48]
push eax
sub esp, 8
movsd qword [esp], xmm0
call fcn.0043a350
fmul qword [0x4ad5f0]
add esp, 0xc
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
call fcn.004777f0
movsd xmm0, qword [esp + 0x28]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call fcn.004777f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add ecx, 0
adc edx, eax
add ecx, dword [esp + 0x20]
adc edx, dword [esp + 0x24]
jmp 0x482561
xorps xmm0, xmmword [0x4ad670]
lea eax, [esp + 0x50]
push eax
sub esp, 8
movsd qword [esp + 0x34], xmm0
movsd qword [esp], xmm0
call fcn.0043a350
fmul qword [0x4ad5f0]
add esp, 0xc
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
call fcn.004777f0
movsd xmm0, qword [esp + 0x28]
mov esi, eax
mov edi, edx
call fcn.004777f0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub ecx, 0
sbb edx, eax
sub ecx, esi
mov esi, dword [esp + 0x14]
sbb edx, edi
lea eax, [esp + 0xb0]
mov dword [esp + 0x30], ecx
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], edx
call fcn.00424567
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 0x4825c7
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x4825c7
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x4825f3
mov eax, dword [esi*4 + 0x4ac2f4]
inc esi
mov dword [esp + 0x14], esi
test eax, eax
jne 0x482460
xor edi, edi
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.004272e5
mov esp, ebp
pop ebp
ret
movzx ecx, word [esp + 0xc0]
movzx edi, byte [esp + 0xc2]
shl ecx, 8
or edi, ecx
movzx ecx, byte [esp + 0xc6]
shl edi, 8
or edi, ecx
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.004272e5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004272e5
mov esp, ebp
pop ebp
ret