Function at 0x4470d0
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 [0x46b030]
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 0x447447
mov eax, dword [esp + 0xf8]
cmp al, 1
jne 0x447447
shr eax, 8
cmp al, 1
jne 0x447447
mov eax, dword [0x462df0]
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 0x4473f9
nop word [eax + eax]
push ecx
lea ecx, [esp + 0x5c]
push ecx
push eax
lea ecx, [esp + 0xa0]
call fcn.00417c1f
test eax, eax
je 0x4473df
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.004177c7
movsd xmm0, qword [esp + 0x88]
xorps xmm1, xmm1
comisd xmm0, xmm1
movsd qword [esp + 0x20], xmm0
jb 0x447293
lea eax, [esp + 0x48]
push eax
sub esp, 8
movsd qword [esp], xmm0
call fcn.004298e0
fmul qword [0x463c90]
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
add esp, 0xc
movsd xmm0, qword [0x463c98]
fstp qword [esp + 8]
movsd xmm1, qword [esp + 8]
comisd xmm1, xmm0
jb 0x44720f
subsd xmm1, xmm0
comisd xmm0, xmm1
jbe 0x44720f
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add esi, 0
adc edi, 0x80000000
jmp 0x447217
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
movaps xmm0, xmm1
call fcn.0044c7f0
movsd xmm1, qword [0x463c98]
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 0x447265
subsd xmm0, xmm1
comisd xmm1, xmm0
jbe 0x447265
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esi, 0
adc edi, 0x80000000
jmp 0x44726d
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
call fcn.0044c7f0
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 0x447379
xorps xmm0, xmmword [0x463d10]
lea eax, [esp + 0x50]
push eax
sub esp, 8
movsd qword [esp + 0x2c], xmm0
movsd qword [esp], xmm0
call fcn.004298e0
fmul qword [0x463c90]
xorps xmm0, xmm0
add esp, 0xc
fstp qword [esp + 8]
movsd xmm1, qword [esp + 8]
movlpd qword [esp + 8], xmm0
movsd xmm0, qword [0x463c98]
comisd xmm1, xmm0
jb 0x4472f9
subsd xmm1, xmm0
comisd xmm0, xmm1
jbe 0x4472f9
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esi, 0
adc edi, 0x80000000
jmp 0x447301
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
movaps xmm0, xmm1
call fcn.0044c7f0
movsd xmm1, qword [0x463c98]
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 0x44734f
subsd xmm0, xmm1
comisd xmm1, xmm0
jbe 0x44734f
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esi, 0
adc edi, 0x80000000
jmp 0x447357
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
call fcn.0044c7f0
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.004179f7
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 0x4473df
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x4473df
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x44740f
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [eax*4 + 0x462df0]
test eax, eax
jne 0x447160
xor esi, esi
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.0041b29a
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.0041b29a
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0041b29a
mov esp, ebp
pop ebp
ret