Function at 0x46e7c0
Capabilities:
Check os version
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540688
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x592174]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp dword [edi + 0x70], 0
je 0x46e8f2
lea eax, [edi + 0x60]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x44]
movups xmmword [ebp - 0x44], xmm0
call fcn.0041d460
test al, al
je 0x46e8f2
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x68]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push 0x569d18
push eax
call fcn.00417ff0
lea eax, [ebp - 0x68]
add esp, 0x10
cmp esi, eax
je 0x46e86e
cmp dword [ebp - 0x54], 8
mov ecx, esi
push dword [ebp - 0x58]
cmovae eax, dword [ebp - 0x68]
push eax
call fcn.00418830
push dword [ebp - 0x38]
lea eax, [ebp - 0x68]
push 0x568f8c
push eax
call fcn.00417ff0
lea ecx, [esi + 0x18]
add esp, 0xc
lea eax, [ebp - 0x68]
cmp ecx, eax
je 0x46e89d
cmp dword [ebp - 0x54], 8
push dword [ebp - 0x58]
cmovae eax, dword [ebp - 0x68]
push eax
call fcn.00418830
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x46e8de
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e8d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46eed5
push edx
push ecx
call fcn.0050b392
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
push 0xd
push str.check_version
lea ecx, [esi + 0x30]
call fcn.00418830
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov dword [ebp - 4], 2
lea eax, [edi + 0x30]
lea ecx, [ebp - 0x80]
cmp ecx, eax
je 0x46e94a
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x46e93e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x80]
call fcn.00418830
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x80]
call fcn.00440e70
mov edi, eax
mov byte [ebp - 4], 3
lea eax, [esi + 0x48]
cmp eax, edi
je 0x46e98e
mov ecx, eax
call fcn.004185c0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi + 0x48], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x58], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x46e9cc
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e9c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46eeda
push edx
push ecx
call fcn.0050b392
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
push eax
call fcn.004415a0
mov edi, eax
mov byte [ebp - 4], 4
lea eax, [esi + 0x60]
cmp eax, edi
je 0x46ea24
mov ecx, eax
call fcn.004185c0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi + 0x60], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x70], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x46ea62
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46ea58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46eedf
push edx
push ecx
call fcn.0050b392
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.00441910
test eax, eax
mov ecx, 1
cmove eax, ecx
push eax
lea eax, [esi + 0xd8]
push 0x568f8c
push eax
call fcn.00417ff0
add esp, 0xc
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x80]
push eax
call fcn.004423b0
mov edi, eax
mov byte [ebp - 4], 5
lea eax, [esi + 0x138]
cmp eax, edi
je 0x46eaea
mov ecx, eax
call fcn.004185c0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi + 0x138], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x148], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x46eb28
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46eb1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46eee4
push edx
push ecx
call fcn.0050b392
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
push eax
call fcn.004425b0
mov edi, eax
mov byte [ebp - 4], 6
lea eax, [esi + 0x150]
cmp eax, edi
je 0x46eb89
mov ecx, eax
call fcn.004185c0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi + 0x150], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x160], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x46ebc7
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46ebbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46eee9
push edx
push ecx
call fcn.0050b392
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
lea eax, [esi + 0x108]
push eax
lea eax, [esi + 0xc0]
mov dword [ebp - 0x38], 7
push eax
lea eax, [esi + 0xa8]
push eax
lea eax, [esi + 0x90]
push eax
lea eax, [esi + 0x78]
push eax
call fcn.0046ef00
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x31]
call fcn.0047d5d0
mov edi, eax
mov byte [ebp - 4], 7
lea eax, [esi + 0x168]
cmp eax, edi
je 0x46ec4d
mov ecx, eax
call fcn.004185c0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi + 0x168], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x178], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x46ec8b
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46ec81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46eeee
push edx
push ecx
call fcn.0050b392
add esp, 8
push 1
xor eax, eax
mov dword [ebp - 0x3c], 0
lea ecx, [esi + 0x180]
mov dword [ebp - 0x38], 7
push 0x5690f0
mov word [ebp - 0x4c], ax
call fcn.00418830
push 1
mov dword [ebp - 0x50], 0
call fcn.0050b0c8
mov dword [ebp - 0x50], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp - 0x19c]
push eax
call fcn.0050d5d0
add esp, 0x10
mov dword [ebp - 0x1a0], 0x11c
lea eax, [ebp - 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x46ed05
cmp dword [ebp - 0x19c], 6
mov eax, dword [ebp - 0x50]
setae cl
mov byte [eax], cl
mov byte [ebp - 4], 8
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call edi
push eax
lea ecx, [ebp - 0x50]
call fcn.00432cc0
test al, al
jne 0x46ed2d
call edi
push eax
lea ecx, [ebp - 0x50]
call fcn.00433040
test al, al
je 0x46ed3f
push 1
push 0x569128
lea ecx, [esi + 0x180]
call fcn.00418830
push 1
push 0x5690f0
lea ecx, [esi + 0x210]
call fcn.00418830
call fcn.00433450
test al, al
je 0x46ed6c
push 1
push 0x569128
lea ecx, [esi + 0x210]
call fcn.00418830
push 1
push 0x5690f0
lea ecx, [esi + 0x1e0]
call fcn.00418830
lea ecx, [ebp - 0x31]
call fcn.00481970
test al, al
je 0x46ed9c
push 1
push 0x569128
lea ecx, [esi + 0x1e0]
call fcn.00418830
push 1
push 0x5690f0
lea ecx, [esi + 0x1f8]
call fcn.00418830
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x84], 0xf
xorps xmm0, xmm0
push eax
push 2
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x46ee22
lea ecx, [ebp - 0x30]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46ee06
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00418830
cmp dword [ebp - 0x3c], 0
setne al
mov byte [ebp - 0x1a1], al
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x46ee73
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46ee63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46eef3
push edx
push ecx
call fcn.0050b392
mov al, byte [ebp - 0x1a1]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], cx
test al, al
je 0x46ee9d
push 1
push 0x569128
lea ecx, [esi + 0x1f8]
call fcn.00418830
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00431bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.004185c0
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.0050b0b7
mov esp, ebp
pop ebp
ret 8
call fcn.0050f799
call fcn.0050f799
call fcn.0050f799
call fcn.0050f799
call fcn.0050f799
call fcn.0050f799
call fcn.0050f799
int3