Function at 0x447660
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 [0x46b034]
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 0x4478bb
mov eax, dword [esp + 0xf8]
cmp al, 1
jne 0x4478bb
shr eax, 8
cmp al, 1
jne 0x4478bb
mov eax, dword [0x462f60]
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 0x44786d
nop dword [eax]
push ecx
lea ecx, [esp + 0x5c]
push ecx
push eax
lea ecx, [esp + 0xa0]
call fcn.00417c52
test eax, eax
je 0x447857
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.004177ff
movsd xmm0, qword [esp + 0x88]
xorps xmm1, xmm1
comisd xmm0, xmm1
movsd qword [esp + 0x28], xmm0
jb 0x447796
lea eax, [esp + 0x48]
push eax
sub esp, 8
movsd qword [esp], xmm0
call fcn.004293d0
fmul qword [0x463dc8]
add esp, 0xc
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
call fcn.0044d200
movsd xmm0, qword [esp + 0x28]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call fcn.0044d200
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 0x4477f1
xorps xmm0, xmmword [0x463e50]
lea eax, [esp + 0x50]
push eax
sub esp, 8
movsd qword [esp + 0x34], xmm0
movsd qword [esp], xmm0
call fcn.004293d0
fmul qword [0x463dc8]
add esp, 0xc
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
call fcn.0044d200
movsd xmm0, qword [esp + 0x28]
mov esi, eax
mov edi, edx
call fcn.0044d200
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.00417a32
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 0x447857
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x447857
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x447883
mov eax, dword [esi*4 + 0x462f64]
inc esi
mov dword [esp + 0x14], esi
test eax, eax
jne 0x4476f0
xor edi, edi
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.0041b4ed
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.0041b4ed
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0041b4ed
mov esp, ebp
pop ebp
ret