Function at 0x446470
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 [0x467034]
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 0x4467e7
mov eax, dword [esp + 0xf8]
cmp al, 1
jne 0x4467e7
shr eax, 8
cmp al, 1
jne 0x4467e7
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 0x446799
nop word [eax + eax]
push ecx
lea ecx, [esp + 0x5c]
push ecx
push eax
lea ecx, [esp + 0xa0]
call fcn.00417cbe
test eax, eax
je 0x44677f
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.00417864
movsd xmm0, qword [esp + 0x88]
xorps xmm1, xmm1
comisd xmm0, xmm1
movsd qword [esp + 0x20], xmm0
jb 0x446633
lea eax, [esp + 0x48]
push eax
sub esp, 8
movsd qword [esp], xmm0
call fcn.00429950
fmul qword [0x45f390]
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
add esp, 0xc
movsd xmm0, qword [0x45f398]
fstp qword [esp + 8]
movsd xmm1, qword [esp + 8]
comisd xmm1, xmm0
jb 0x4465af
subsd xmm1, xmm0
comisd xmm0, xmm1
jbe 0x4465af
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add esi, 0
adc edi, 0x80000000
jmp 0x4465b7
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
movaps xmm0, xmm1
call fcn.0044bba0
movsd xmm1, qword [0x45f398]
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 0x446605
subsd xmm0, xmm1
comisd xmm1, xmm0
jbe 0x446605
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esi, 0
adc edi, 0x80000000
jmp 0x44660d
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
call fcn.0044bba0
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 0x446719
xorps xmm0, xmmword [0x45f410]
lea eax, [esp + 0x50]
push eax
sub esp, 8
movsd qword [esp + 0x2c], xmm0
movsd qword [esp], xmm0
call fcn.00429950
fmul qword [0x45f390]
xorps xmm0, xmm0
add esp, 0xc
fstp qword [esp + 8]
movsd xmm1, qword [esp + 8]
movlpd qword [esp + 8], xmm0
movsd xmm0, qword [0x45f398]
comisd xmm1, xmm0
jb 0x446699
subsd xmm1, xmm0
comisd xmm0, xmm1
jbe 0x446699
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esi, 0
adc edi, 0x80000000
jmp 0x4466a1
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
movaps xmm0, xmm1
call fcn.0044bba0
movsd xmm1, qword [0x45f398]
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 0x4466ef
subsd xmm0, xmm1
comisd xmm1, xmm0
jbe 0x4466ef
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esi, 0
adc edi, 0x80000000
jmp 0x4466f7
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
call fcn.0044bba0
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.00417a94
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 0x44677f
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x44677f
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x4467af
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [eax*4 + 0x45e4f0]
test eax, eax
jne 0x446500
xor esi, esi
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.0041b30a
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.0041b30a
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0041b30a
mov esp, ebp
pop ebp
ret