Function at 0x494330
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53650a
mov eax, dword fs:[0]
push eax
sub esp, 0x4f4
mov eax, dword [0x58e5a4]
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, ecx
mov dword [ebp - 0x4b8], edi
mov ax, word [0x5441cc]
movups xmm0, xmmword [str.Computer]
push 0x2e
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x3e]
push 0
push eax
movups xmmword [ebp - 0x50], xmm0
call fcn.004d52d0
add esp, 0xc
mov dword [ebp - 0x4e4], 0x20
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov esi, dword [edi + 4]
lea eax, [ebp - 0x4b4]
push 0x58
push 0
push eax
mov dword [ebp - 0x45c], 1
call fcn.004d52d0
lea eax, [ebp - 0x258]
mov dword [ebp - 0x4b4], 0x58
mov dword [ebp - 0x498], eax
lea eax, [ebp - 0x458]
mov dword [ebp - 0x490], eax
mov eax, dword [0x596a20]
mov dword [ebp - 0x4ac], eax
xor eax, eax
mov word [ebp - 0x258], ax
mov word [ebp - 0x458], ax
lea eax, [ebp - 0x50]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x258]
mov dword [ebp - 0x494], 0x104
push 0x104
push eax
mov dword [ebp - 0x478], 0x544240
mov dword [ebp - 0x48c], 0x100
mov dword [ebp - 0x480], 0x881000
mov dword [ebp - 0x4a8], str.Autoruns_files__.arn_
mov dword [ebp - 0x4b0], esi
call fcn.004fc358
push eax
call fcn.0040f8f0
add esp, 0x20
mov dword [ebp - 0x484], str.Open_Autoruns_File_to_Compare
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x4b0]
test ecx, ecx
cmove ecx, eax
cmp dword [ebp - 0x45c], 0
lea eax, [ebp - 0x4b4]
mov dword [ebp - 0x4b0], ecx
push eax
je 0x494490
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
jmp 0x494496
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x4946d1
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x4cc], 0
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4d0]
push 0
push eax
lea eax, [ebp - 0x258]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x4c4], xmm0
call fcn.0047ec10
add esp, 0xc
test al, al
jne 0x49450f
mov ecx, dword [edi + 4]
push 0x10
push ecx
mov eax, esp
push ecx
mov dword [eax], 0x81
mov eax, esp
push ecx
mov dword [eax], str.Failed_to_load_scanned_data
call fcn.00477060
add esp, 0x10
jmp 0x49461e
push 0x7f02
push 0
mov dword [ebp - 0x4dc], 0
mov byte [ebp - 0x4d8], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
mov dword [ebp - 0x4e0], eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x4dc], eax
mov byte [ebp - 0x4d8], 1
mov byte [ebp - 4], 2
lea eax, [ebp - 0x4bc]
push 1
push eax
call fcn.004b0350
mov byte [ebp - 4], 3
mov edi, dword [eax]
lea eax, [ebp - 0x4d4]
push 0
push eax
call fcn.004b0350
add esp, 0x10
mov byte [ebp - 4], 4
mov esi, dword [eax]
mov eax, dword [ebp - 0x4b8]
mov eax, dword [eax + 0x308]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x34]
add ecx, 0x34
mov eax, dword [eax + 4]
call eax
push edi
push esi
lea ecx, [ebp - 0x4d0]
push ecx
push eax
lea ecx, [ebp - 0x500]
call fcn.0047ac70
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x500]
call fcn.0047b180
test al, al
je 0x4947a3
lea ecx, [ebp - 0x500]
call fcn.0047be30
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
jne 0x4946f0
mov eax, dword [ebp - 0x4b8]
push 0x40
mov ecx, dword [eax + 4]
push ecx
mov eax, esp
push ecx
mov dword [eax], 0x81
mov eax, esp
push ecx
mov dword [eax], str.No_difference_detected.
call fcn.00477060
add esp, 0x10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4f0]
call fcn.004a2230
mov byte [ebp - 4], 0
push dword [ebp - 0x4dc]
mov eax, dword [sym.imp.USER32.dll_SetCursor]
call eax
mov byte [ebp - 0x4d8], 0
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x4d0]
test edi, edi
je 0x4946d1
mov esi, dword [ebp - 0x4cc]
mov dword [ebp - 0x4b8], esi
cmp edi, esi
je 0x494680
mov eax, esi
mov esi, dword [edi + 4]
test esi, esi
je 0x494673
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x49466d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x49466d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x4b8]
add edi, 8
cmp edi, eax
jne 0x494645
mov edi, dword [ebp - 0x4d0]
mov ecx, dword [ebp - 0x4c8]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x4946a9
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49487f
push ecx
push edi
call fcn.004d24a7
mov dword [ebp - 0x4c8], 0
add esp, 8
mov dword [ebp - 0x4cc], 0
mov dword [ebp - 0x4d0], 0
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.004d2a60
mov esp, ebp
pop ebp
ret 0x10
push str.Compare_with
lea ecx, [ebp - 0x4bc]
call fcn.0040c130
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x258]
push ecx
push eax
lea eax, [ebp - 0x4d4]
push eax
call fcn.0040c040
add esp, 0xc
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x4b8]
mov edi, dword [eax]
xor eax, eax
mov edx, dword [esi + 0x224]
test edx, edx
jle 0x494767
mov ecx, dword [esi + 0x228]
nop dword [eax]
cmp dword [ecx], 0x16
je 0x49474f
inc eax
add ecx, 4
cmp eax, edx
jl 0x494740
jmp 0x494767
cmp eax, 0xffffffff
je 0x494767
push edi
push eax
push 0x40b
push dword [esi + 0x204]
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4d4]
call fcn.0040c110
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4bc]
call fcn.0040c110
lea ecx, [ebp - 0x500]
call fcn.0047be30
push eax
mov ecx, esi
call fcn.0049ed80
mov eax, dword [esi + 0x3c]
lea ecx, [esi + 0x3c]
call dword [eax + 0x2c]
jmp 0x4947c9
mov eax, dword [ebp - 0x4b8]
push 0x10
mov ecx, dword [eax + 4]
push ecx
mov eax, esp
push ecx
mov dword [eax], 0x81
mov eax, esp
push ecx
mov dword [eax], str.Error_while_comparing.
call fcn.00477060
add esp, 0x10
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x4f0]
call fcn.004a2230
mov byte [ebp - 4], 0
push dword [ebp - 0x4dc]
mov eax, dword [sym.imp.USER32.dll_SetCursor]
call eax
mov byte [ebp - 0x4d8], 0
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x4d0]
test edi, edi
je 0x4946d1
mov esi, dword [ebp - 0x4cc]
mov dword [ebp - 0x4b8], esi
cmp edi, esi
je 0x494852
mov eax, esi
mov esi, dword [edi + 4]
test esi, esi
je 0x494845
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x49483f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x49483f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x4b8]
add edi, 8
cmp edi, eax
jne 0x494817
mov edi, dword [ebp - 0x4d0]
mov ecx, dword [ebp - 0x4c8]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x4946a9
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4946a9
call fcn.004e0791
int3