Function at 0x457bc0
Capabilities:
Create thread
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8d30
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x647f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
mov dword [ebp - 0x150], ecx
nop dword [eax + eax]
lea eax, [ecx + 0x41]
push 0x64
mov byte [ebp + ecx - 0x1c], al
call esi
mov ecx, dword [ebp - 0x150]
inc ecx
mov dword [ebp - 0x150], ecx
cmp ecx, 0xa
jl 0x457c00
lea edx, [ebp - 0x1c]
mov ecx, 0x648fd0
call fcn.00453850
push eax
call fcn.00453b00
add esp, 4
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0x2710
call esi
push 0
push 0
push 0
call fcn.0045f7e0
push 0
push 0
push 0xc
call fcn.00494840
push 0
push 0
push 0x200002
call fcn.0045f7e0
call fcn.0045fb20
push eax
call fcn.0045bfb0
mov esi, eax
add esp, 0x28
mov dword [ebp - 0x43c], esi
test esi, esi
jne 0x457c89
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x4581e4
lea eax, [ebp - 0x430]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x457ccf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov edx, str.WSAStartup_failed._Error_code:
mov ecx, 0x6490c8
call fcn.00453850
mov ecx, eax
call fcn.004585d0
push eax
call fcn.00453b00
add esp, 4
mov eax, 1
jmp 0x4581e6
push esi
call fcn.00455830
mov edi, eax
add esp, 4
test edi, edi
jne 0x457cf5
push esi
call fcn.0045bd30
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea eax, [edi + 1]
jmp 0x4581e6
push pe_nt_image_headers32
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x457d20
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.gethostname_failed_with_error:__d_n
call fcn.004557d0
add esp, 8
lea eax, [ebp - 0x434]
mov dword [ebp - 0x174], 0
push eax
lea eax, [ebp - 0x174]
mov dword [ebp - 0x170], 2
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x16c], 1
push 0
lea eax, [ebp - 0x14c]
movlpd qword [ebp - 0x164], xmm0
push eax
movlpd qword [ebp - 0x15c], xmm0
mov dword [ebp - 0x168], 6
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x457d8a
push eax
push str.getaddrinfo_failed_with_error:__d_n
call fcn.004557d0
add esp, 8
mov ecx, dword [ebp - 0x434]
lea edx, [ebp - 0x4c]
push 0x16
push edx
mov eax, dword [ecx + 0x18]
add eax, 4
push eax
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_inet_ntop]
push 0x110
lea eax, [ebp - 0x29c]
push 0
push eax
call fcn.005a0390
add esp, 0xc
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x457f61
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], 0x114
push ecx
call eax
test eax, eax
jne 0x457f61
mov eax, dword [ebp - 0x29c]
cmp eax, 0xa
jne 0x457e69
cmp dword [ebp - 0x294], 0x55f0
jae 0x457e3b
movups xmm0, xmmword [str.Windows10]
mov ax, word [0x63ef5c]
movups xmmword [0x64d1e8], xmm0
movups xmm0, xmmword [0x63ef3c]
movups xmmword [0x64d1f8], xmm0
movups xmm0, xmmword [0x63ef4c]
jmp 0x457efb
movups xmm0, xmmword [str.Windows11]
mov ax, word [0x63ef68]
movups xmmword [0x64d1e8], xmm0
movups xmm0, xmmword [0x63ef48]
movups xmmword [0x64d1f8], xmm0
movups xmm0, xmmword [0x63ef58]
jmp 0x457efb
cmp eax, 6
jne 0x457ea2
cmp dword [ebp - 0x298], 1
jne 0x457ea7
movups xmm0, xmmword [str.Windows7]
mov ax, word [0x63ef74]
movups xmmword [0x64d1e8], xmm0
movups xmm0, xmmword [0x63ef54]
movups xmmword [0x64d1f8], xmm0
movups xmm0, xmmword [0x63ef64]
jmp 0x457efb
cmp eax, 0xa
jae 0x457ed2
movups xmm0, xmmword [str.olderWindows]
mov ax, word [str.GetComputerNameA:error:]
movups xmmword [0x64d1e8], xmm0
movups xmm0, xmmword [str.futureWindows]
movups xmmword [0x64d1f8], xmm0
movups xmm0, xmmword [str._x64]
jmp 0x457efb
movups xmm0, xmmword [str.futureWindows]
mov ax, word [0x63ef90]
movups xmmword [0x64d1e8], xmm0
movups xmm0, xmmword [str._x64]
movups xmmword [0x64d1f8], xmm0
movups xmm0, xmmword [str.GetComputerNameA:error:]
mov word [0x64d218], ax
xor esi, esi
lea eax, [ebp - 0x150]
mov dword [ebp - 0x150], esi
push eax
movups xmmword [0x64d208], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x457f36
cmp dword [ebp - 0x150], esi
mov eax, 1
cmovne esi, eax
mov ecx, str._x64
test esi, esi
mov eax, str._x86
cmovne eax, ecx
push eax
push 0x32
push 0x64d1e8
call fcn.005a8f77
add esp, 0xc
mov dword [ebp - 0x438], 0x64d1e8
jmp 0x457f6b
mov dword [ebp - 0x438], 0
call fcn.0044d690
mov dword [ebp - 0x440], eax
call fcn.0044d710
mov dword [ebp - 0x444], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea esi, [ebp - 0x1f]
mov dword [ebp - 0x150], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
mov eax, dword [ebp - 0x150]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x150], eax
test eax, eax
jne 0x457f92
push ecx
lea eax, [ebp - 0x1f]
push eax
push esi
lea ecx, [ebp - 0x18c]
call fcn.00455520
sub esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18c]
mov ecx, esp
push eax
call fcn.00451f50
push dword [ebp - 0x444]
lea edx, [ebp - 0x4c]
push dword [ebp - 0x440]
lea ecx, [ebp - 0x45c]
push dword [ebp - 0x438]
call fcn.00458210
mov esi, eax
add esp, 0x24
cmp esi, 0x648a28
je 0x458093
mov ecx, dword [0x648a3c]
cmp ecx, 0xf
jbe 0x458050
mov eax, dword [0x648a28]
inc ecx
cmp ecx, 0x1000
jb 0x458046
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458201
mov eax, edx
push ecx
push eax
call fcn.0059e516
add esp, 8
mov dword [0x648a38], 0
mov dword [0x648a3c], 0xf
mov byte [0x648a28], 0
movups xmm0, xmmword [esi]
movups xmmword [0x648a28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x648a38], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x448]
cmp ecx, 0xf
jbe 0x4580cd
mov edx, dword [ebp - 0x45c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4580c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458201
push ecx
push edx
call fcn.0059e516
add esp, 8
cmp dword [0x648a3c], 0xf
mov edx, 0x648a28
push dword [0x648a38]
cmova edx, dword [0x648a28]
call fcn.00458870
push eax
call fcn.00453b00
cmp dword [0x648a3c], 0xf
mov eax, 0x648a28
push dword [0x648a38]
cmova eax, dword [0x648a28]
push eax
push edi
call fcn.0045dee0
add esp, 0x14
push dword [ebp - 0x434]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
lea eax, [ebp - 0x154]
push eax
push 0
push edi
push 0x4559f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x45817e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, str.thread1_error:
mov ecx, 0x6490c8
call fcn.00453850
mov ecx, eax
call fcn.00451980
push eax
call fcn.00453b00
push edi
call fcn.0045ddf0
push edi
call fcn.0045cbc0
push dword [ebp - 0x43c]
call fcn.0045bd30
add esp, 0x10
jmp 0x4581a8
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0045ddf0
push edi
call fcn.0045cbc0
push dword [ebp - 0x43c]
call fcn.0045bd30
add esp, 0xc
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 0x178]
cmp ecx, 0xf
jbe 0x4581e4
mov edx, dword [ebp - 0x18c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4581da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458206
push ecx
push edx
call fcn.0059e516
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059e4d3
mov esp, ebp
pop ebp
ret
call fcn.005a920f
call fcn.005a920f
int3