Function at 0x446f80
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 [0x46a030]
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 0x4472f7
mov eax, dword [esp + 0xf8]
cmp al, 1
jne 0x4472f7
shr eax, 8
cmp al, 1
jne 0x4472f7
mov eax, dword [0x462090]
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 0x4472a9
nop word [eax + eax]
push ecx
lea ecx, [esp + 0x5c]
push ecx
push eax
lea ecx, [esp + 0xa0]
call fcn.004178f0
test eax, eax
je 0x44728f
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.0041747e
movsd xmm0, qword [esp + 0x88]
xorps xmm1, xmm1
comisd xmm0, xmm1
movsd qword [esp + 0x20], xmm0
jb 0x447143
lea eax, [esp + 0x48]
push eax
sub esp, 8
movsd qword [esp], xmm0
call fcn.004297f0
fmul qword [0x462f30]
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
add esp, 0xc
movsd xmm0, qword [0x462f38]
fstp qword [esp + 8]
movsd xmm1, qword [esp + 8]
comisd xmm1, xmm0
jb 0x4470bf
subsd xmm1, xmm0
comisd xmm0, xmm1
jbe 0x4470bf
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add esi, 0
adc edi, 0x80000000
jmp 0x4470c7
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
movaps xmm0, xmm1
call fcn.0044c560
movsd xmm1, qword [0x462f38]
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 0x447115
subsd xmm0, xmm1
comisd xmm1, xmm0
jbe 0x447115
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esi, 0
adc edi, 0x80000000
jmp 0x44711d
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
call fcn.0044c560
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 0x447229
xorps xmm0, xmmword [0x462fc0]
lea eax, [esp + 0x50]
push eax
sub esp, 8
movsd qword [esp + 0x2c], xmm0
movsd qword [esp], xmm0
call fcn.004297f0
fmul qword [0x462f30]
xorps xmm0, xmm0
add esp, 0xc
fstp qword [esp + 8]
movsd xmm1, qword [esp + 8]
movlpd qword [esp + 8], xmm0
movsd xmm0, qword [0x462f38]
comisd xmm1, xmm0
jb 0x4471a9
subsd xmm1, xmm0
comisd xmm0, xmm1
jbe 0x4471a9
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esi, 0
adc edi, 0x80000000
jmp 0x4471b1
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
movaps xmm0, xmm1
call fcn.0044c560
movsd xmm1, qword [0x462f38]
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 0x4471ff
subsd xmm0, xmm1
comisd xmm1, xmm0
jbe 0x4471ff
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esi, 0
adc edi, 0x80000000
jmp 0x447207
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
call fcn.0044c560
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.004176ae
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 0x44728f
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x44728f
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x4472bf
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [eax*4 + 0x462090]
test eax, eax
jne 0x447010
xor esi, esi
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.0041b1b6
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.0041b1b6
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0041b1b6
mov esp, ebp
pop ebp
ret