Function at 0x478d40
Capabilities:
Acquire debug privileges
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc308
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x32c], ecx
mov eax, dword [ebp - 0x32c]
mov dword [eax], vtable.HitmanPro35::Crusader.0
mov ecx, dword [ebp - 0x32c]
add ecx, 0x1c
call fcn.004b34a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x32c]
add ecx, 0x28
call fcn.004ba6c0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x32c]
add ecx, 0x48
call fcn.004324c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x32c]
add ecx, 0x5c
call fcn.004324c0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x32c]
add ecx, 0x70
call fcn.0047f360
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [ebp - 0x32c]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x32c]
mov al, byte [ebp + 8]
mov byte [edx + 4], al
mov ecx, dword [ebp - 0x32c]
mov byte [ecx + 6], 0
mov edx, dword [ebp - 0x32c]
mov byte [edx + 7], 0
mov eax, dword [ebp - 0x32c]
mov byte [eax + 5], 0
mov ecx, dword [ebp - 0x32c]
mov byte [ecx + 8], 0
mov edx, dword [ebp - 0x32c]
mov byte [edx + 9], 0
mov eax, dword [ebp - 0x32c]
mov dword [eax + 0xc], 1
mov ecx, dword [ebp - 0x32c]
mov dword [ecx + 0x18], 0
push str.SeDebugPrivilege
call fcn.00422ca0
add esp, 4
push str.SeSystemtimePrivilege
call fcn.00422ca0
add esp, 4
push 1
mov ecx, dword [ebp - 0x32c]
call fcn.00478c50
push str.bootdelete.lst
lea ecx, [ebp - 0x298]
call fcn.004b3550
mov byte [ebp - 4], 5
push 0x25
lea edx, [ebp - 0x2a4]
push edx
call fcn.004c0e70
add esp, 8
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x334], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x298]
push ecx
mov edx, dword [ebp - 0x334]
push edx
lea eax, [ebp - 0x2b0]
push eax
call fcn.00412f50
add esp, 0xc
mov dword [ebp - 0x338], eax
mov ecx, dword [ebp - 0x338]
mov dword [ebp - 0x33c], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x33c]
push edx
mov ecx, dword [ebp - 0x32c]
add ecx, 0x1c
call fcn.004b3890
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2b0]
call fcn.004b3860
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2a4]
call fcn.004b3860
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x298]
call fcn.004b3860
mov eax, dword [ebp - 0x32c]
add eax, 0x1c
push eax
call fcn.004bc0e0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x478f43
mov edx, dword [ebp - 0x32c]
add edx, 0x1c
push edx
call fcn.004bc0c0
add esp, 4
push str.bootdelete.exe
lea ecx, [ebp - 0x2c0]
call fcn.004b3550
mov byte [ebp - 4], 8
push 0x25
lea eax, [ebp - 0x2cc]
push eax
call fcn.004c0e70
add esp, 8
mov dword [ebp - 0x340], eax
mov ecx, dword [ebp - 0x340]
mov dword [ebp - 0x344], ecx
mov byte [ebp - 4], 9
lea edx, [ebp - 0x2c0]
push edx
mov eax, dword [ebp - 0x344]
push eax
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.00412f50
add esp, 0xc
mov dword [ebp - 0x348], eax
mov edx, dword [ebp - 0x348]
push edx
call fcn.004bc0e0
add esp, 4
mov byte [ebp - 0x2b1], al
lea ecx, [ebp - 0x2d8]
call fcn.004b3860
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2cc]
call fcn.004b3860
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c0]
call fcn.004b3860
movzx eax, byte [ebp - 0x2b1]
test eax, eax
je 0x479084
push str.bootdelete.exe
lea ecx, [ebp - 0x2e4]
call fcn.004b3550
mov byte [ebp - 4], 0xa
push 0x25
lea ecx, [ebp - 0x2f0]
push ecx
call fcn.004c0e70
add esp, 8
mov dword [ebp - 0x34c], eax
mov edx, dword [ebp - 0x34c]
mov dword [ebp - 0x350], edx
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x2e4]
push eax
mov ecx, dword [ebp - 0x350]
push ecx
lea edx, [ebp - 0x2fc]
push edx
call fcn.00412f50
add esp, 0xc
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x354]
push eax
call fcn.004bc0c0
add esp, 4
lea ecx, [ebp - 0x2fc]
call fcn.004b3860
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2f0]
call fcn.004b3860
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2e4]
call fcn.004b3860
mov dword [ebp - 0x1c], 0x26
mov dword [ebp - 0x18], 0x2b
mov dword [ebp - 0x14], 0x25
mov dword [ebp - 0x10], 0x24
mov dword [ebp - 0x2c], 0
jmp 0x4790b2
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 4
jae 0x47918c
lea edx, [ebp - 0x23c]
push edx
push 0x4001
push 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + eax*4 - 0x1c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x479187
lea edx, [ebp - 0x23c]
push edx
lea ecx, [ebp - 0x30c]
call fcn.004b3550
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x30c]
push eax
mov ecx, dword [ebp - 0x32c]
add ecx, 0x4c
mov edx, dword [ebp - 0x32c]
mov eax, dword [edx + 0x4c]
mov edx, dword [eax + 8]
call edx
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x2fd], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30c]
call fcn.004b3860
movzx ecx, byte [ebp - 0x2fd]
test ecx, ecx
je 0x479187
lea edx, [ebp - 0x23c]
push edx
lea ecx, [ebp - 0x318]
call fcn.004b3550
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x318]
push eax
mov ecx, dword [ebp - 0x32c]
add ecx, 0x4c
mov edx, dword [ebp - 0x32c]
mov eax, dword [edx + 0x4c]
mov edx, dword [eax]
call edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x318]
call fcn.004b3860
jmp 0x4790a9
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
call fcn.00414b30
mov ecx, eax
call fcn.00414830
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
je 0x479322
push 0
lea ecx, [ebp - 0x24c]
call fcn.00430200
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x240]
call fcn.00478880
movzx ecx, al
test ecx, ecx
je 0x4792cc
mov dword [ebp - 0x250], 0
jmp 0x4791fb
mov edx, dword [ebp - 0x250]
add edx, 1
mov dword [ebp - 0x250], edx
lea ecx, [ebp - 0x24c]
call fcn.004b9730
cmp dword [ebp - 0x250], eax
jge 0x4792cc
lea ecx, [ebp - 0x25c]
call fcn.004b34a0
mov byte [ebp - 4], 0xf
push 1
push 0x604bd4
mov eax, dword [ebp - 0x250]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00430700
mov ecx, eax
call fcn.004b68a0
movzx ecx, al
test ecx, ecx
je 0x47924a
jmp 0x4792b8
lea edx, [ebp - 0x25c]
push edx
mov eax, dword [ebp - 0x250]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00430700
push eax
mov ecx, dword [ebp - 0x240]
call fcn.004141a0
movzx ecx, al
test ecx, ecx
je 0x4792b8
lea edx, [ebp - 0x25c]
push edx
mov ecx, dword [ebp - 0x32c]
add ecx, 0x4c
mov eax, dword [ebp - 0x32c]
mov edx, dword [eax + 0x4c]
mov eax, dword [edx + 8]
call eax
movzx ecx, al
test ecx, ecx
jne 0x4792b8
lea edx, [ebp - 0x25c]
push edx
mov ecx, dword [ebp - 0x32c]
add ecx, 0x4c
mov eax, dword [ebp - 0x32c]
mov edx, dword [eax + 0x4c]
mov eax, dword [edx]
call eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x25c]
call fcn.004b3860
jmp 0x4791ec
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x320], ecx
mov edx, dword [ebp - 0x320]
mov dword [ebp - 0x31c], edx
cmp dword [ebp - 0x31c], 0
je 0x479309
push 1
mov eax, dword [ebp - 0x31c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x31c]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x358], eax
jmp 0x479313
mov dword [ebp - 0x358], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.00430250
push 0
lea ecx, [ebp - 0x28]
call fcn.00430200
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
push ecx
call fcn.00478ba0
mov ecx, eax
call fcn.00414060
movzx edx, al
test edx, edx
je 0x479562
mov dword [ebp - 0x260], 0
jmp 0x479366
mov eax, dword [ebp - 0x260]
add eax, 1
mov dword [ebp - 0x260], eax
lea ecx, [ebp - 0x28]
call fcn.004b9730
cmp dword [ebp - 0x260], eax
jge 0x479562
mov ecx, dword [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00430700
push eax
lea ecx, [ebp - 0x270]
call fcn.004b34d0
mov byte [ebp - 4], 0x11
push 0x5c
lea ecx, [ebp - 0x270]
call fcn.004b3a80
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp - 0x270]
call fcn.004b3b40
push 0
lea edx, [ebp - 0x270]
push edx
call fcn.00478ba0
mov ecx, eax
call fcn.00414800
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
je 0x47954e
push 0
lea ecx, [ebp - 0x27c]
call fcn.00430200
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x27c]
push eax
mov ecx, dword [ebp - 0x264]
call fcn.00478880
movzx ecx, al
test ecx, ecx
je 0x4794f8
mov dword [ebp - 0x280], 0
jmp 0x479427
mov edx, dword [ebp - 0x280]
add edx, 1
mov dword [ebp - 0x280], edx
lea ecx, [ebp - 0x27c]
call fcn.004b9730
cmp dword [ebp - 0x280], eax
jge 0x4794f8
lea ecx, [ebp - 0x28c]
call fcn.004b34a0
mov byte [ebp - 4], 0x13
push 1
push 0x604bd4
mov eax, dword [ebp - 0x280]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00430700
mov ecx, eax
call fcn.004b68a0
movzx ecx, al
test ecx, ecx
je 0x479476
jmp 0x4794e4
lea edx, [ebp - 0x28c]
push edx
mov eax, dword [ebp - 0x280]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00430700
push eax
mov ecx, dword [ebp - 0x264]
call fcn.004141a0
movzx ecx, al
test ecx, ecx
je 0x4794e4
lea edx, [ebp - 0x28c]
push edx
mov ecx, dword [ebp - 0x32c]
add ecx, 0x4c
mov eax, dword [ebp - 0x32c]
mov edx, dword [eax + 0x4c]
mov eax, dword [edx + 8]
call eax
movzx ecx, al
test ecx, ecx
jne 0x4794e4
lea edx, [ebp - 0x28c]
push edx
mov ecx, dword [ebp - 0x32c]
add ecx, 0x4c
mov eax, dword [ebp - 0x32c]
mov edx, dword [eax + 0x4c]
mov eax, dword [edx]
call eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x28c]
call fcn.004b3860
jmp 0x479418
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x328], ecx
mov edx, dword [ebp - 0x328]
mov dword [ebp - 0x324], edx
cmp dword [ebp - 0x324], 0
je 0x479535
push 1
mov eax, dword [ebp - 0x324]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x324]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x35c], eax
jmp 0x47953f
mov dword [ebp - 0x35c], 0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x27c]
call fcn.00430250
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x270]
call fcn.004b3860
jmp 0x479357
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00430250
mov ecx, dword [ebp - 0x32c]
call fcn.004796b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x32c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret 4