Function at 0x45db20
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aeaaa
mov eax, dword fs:[0]
push eax
sub esp, 0x4f4
mov eax, dword [0x4e54fc]
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 [0x4b5d3c]
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.0047f8f0
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.0047f8f0
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 [0x4fc9c0]
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], 0x4b5db0
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.0048d34b
push eax
call fcn.00406930
add esp, 0x20
mov dword [ebp - 0x484], str.Open_Autoruns_File_to_Compare
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp dword [ebp - 0x4b0], 0
jne 0x45dc66
mov dword [ebp - 0x4b0], eax
cmp dword [ebp - 0x45c], 0
lea eax, [ebp - 0x4b4]
push eax
je 0x45dc7e
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
jmp 0x45dc84
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x45debf
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.0044a220
add esp, 0xc
test al, al
jne 0x45dcfd
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.004432e0
add esp, 0x10
jmp 0x45de0c
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.004759f0
mov byte [ebp - 4], 3
mov edi, dword [eax]
lea eax, [ebp - 0x4d4]
push 0
push eax
call fcn.004759f0
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.00446e40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x500]
call fcn.00447420
test al, al
je 0x45df8a
lea ecx, [ebp - 0x500]
call fcn.00447f10
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
jne 0x45dede
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.004432e0
add esp, 0x10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4f0]
call fcn.00441dd0
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 0x45debf
mov esi, dword [ebp - 0x4cc]
mov dword [ebp - 0x4b8], esi
cmp edi, esi
je 0x45de6e
mov eax, esi
mov esi, dword [edi + 4]
test esi, esi
je 0x45de61
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x45de5b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x45de5b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x4b8]
add edi, 8
cmp edi, eax
jne 0x45de33
mov edi, dword [ebp - 0x4d0]
mov ecx, dword [ebp - 0x4c8]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x45de97
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e068
push ecx
push edi
call fcn.0047dc2a
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.0047df69
mov esp, ebp
pop ebp
ret 0x10
push str.Compare_with
lea ecx, [ebp - 0x4bc]
call fcn.00405020
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x258]
push ecx
push eax
lea eax, [ebp - 0x4d4]
push eax
call fcn.00404f30
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 0x45df4e
mov ecx, dword [esi + 0x228]
cmp dword [ecx], 0x16
je 0x45df36
inc eax
add ecx, 4
cmp eax, edx
jl 0x45df27
jmp 0x45df4e
cmp eax, 0xffffffff
je 0x45df4e
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.00405000
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4bc]
call fcn.00405000
lea ecx, [ebp - 0x500]
call fcn.00447f10
push eax
mov ecx, esi
call fcn.00466830
mov eax, dword [esi + 0x3c]
lea ecx, [esi + 0x3c]
call dword [eax + 0x2c]
jmp 0x45dfb0
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.004432e0
add esp, 0x10
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x4f0]
call fcn.00441dd0
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 0x45debf
mov esi, dword [ebp - 0x4cc]
mov dword [ebp - 0x4b8], esi
cmp edi, esi
je 0x45e03b
mov eax, esi
nop
mov esi, dword [edi + 4]
test esi, esi
je 0x45e02e
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x45e028
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x45e028
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x4b8]
add edi, 8
cmp edi, eax
jne 0x45e000
mov edi, dword [ebp - 0x4d0]
mov ecx, dword [ebp - 0x4c8]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x45de97
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45de97
call fcn.00482fbf
int3