Function at 0x446190
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 [0x467040]
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 0x446507
mov eax, dword [esp + 0xf8]
cmp al, 1
jne 0x446507
shr eax, 8
cmp al, 1
jne 0x446507
mov eax, dword [0x45e4f0]
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 0x4464b9
nop word [eax + eax]
push ecx
lea ecx, [esp + 0x5c]
push ecx
push eax
lea ecx, [esp + 0xa0]
call fcn.00417c63
test eax, eax
je 0x44649f
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.00417809
movsd xmm0, qword [esp + 0x88]
xorps xmm1, xmm1
comisd xmm0, xmm1
movsd qword [esp + 0x20], xmm0
jb 0x446353
lea eax, [esp + 0x48]
push eax
sub esp, 8
movsd qword [esp], xmm0
call fcn.004298c0
fmul qword [0x45f3f8]
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
add esp, 0xc
movsd xmm0, qword [0x45f400]
fstp qword [esp + 8]
movsd xmm1, qword [esp + 8]
comisd xmm1, xmm0
jb 0x4462cf
subsd xmm1, xmm0
comisd xmm0, xmm1
jbe 0x4462cf
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add esi, 0
adc edi, 0x80000000
jmp 0x4462d7
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
movaps xmm0, xmm1
call fcn.0044b9f0
movsd xmm1, qword [0x45f400]
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 0x446325
subsd xmm0, xmm1
comisd xmm1, xmm0
jbe 0x446325
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esi, 0
adc edi, 0x80000000
jmp 0x44632d
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
call fcn.0044b9f0
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 0x446439
xorps xmm0, xmmword [0x45f480]
lea eax, [esp + 0x50]
push eax
sub esp, 8
movsd qword [esp + 0x2c], xmm0
movsd qword [esp], xmm0
call fcn.004298c0
fmul qword [0x45f3f8]
xorps xmm0, xmm0
add esp, 0xc
fstp qword [esp + 8]
movsd xmm1, qword [esp + 8]
movlpd qword [esp + 8], xmm0
movsd xmm0, qword [0x45f400]
comisd xmm1, xmm0
jb 0x4463b9
subsd xmm1, xmm0
comisd xmm0, xmm1
jbe 0x4463b9
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esi, 0
adc edi, 0x80000000
jmp 0x4463c1
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
movaps xmm0, xmm1
call fcn.0044b9f0
movsd xmm1, qword [0x45f400]
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 0x44640f
subsd xmm0, xmm1
comisd xmm1, xmm0
jbe 0x44640f
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esi, 0
adc edi, 0x80000000
jmp 0x446417
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
call fcn.0044b9f0
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.00417a39
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 0x44649f
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x44649f
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x4464cf
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [eax*4 + 0x45e4f0]
test eax, eax
jne 0x446220
xor esi, esi
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.0041b293
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.0041b293
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0041b293
mov esp, ebp
pop ebp
ret