joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52eab8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 0
je 0x52eaf0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00406e0c
push eax
mov eax, dword [ebp - 4]
call fcn.00406e0c
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_ShellExecuteW
jmp 0x52eb11
push 1
push 0
mov eax, dword [ebp - 0xc]
call fcn.00406e0c
push eax
mov eax, dword [ebp - 4]
call fcn.00406e0c
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_ShellExecuteW
mov esp, ebp
pop ebp
ret 4

Function at 0x52f410
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
xor ecx, ecx
mov dword [ebp - 0x120], ecx
test dl, dl
je 0x52f42d
add esp, 0xfffffff0
call fcn.004049a0
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52f4dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 4]
call fcn.0052f5c0
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xf003f
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1c], edx
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [ebp - 0x118], 5
jne 0x52f48f
call fcn.0052efa4
test al, al
jne 0x52f4bd
cmp dword [ebp - 0x118], 5
ja 0x52f4bd
lea edx, [ebp - 0x120]
xor eax, eax
call fcn.0052c51c
mov eax, dword [ebp - 0x120]
mov edx, 0x52f510
call fcn.004790b8
test al, al
jne 0x52f4bd
xor eax, eax
jmp 0x52f4bf
mov al, 1
mov byte [0x729664], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52f4e4
lea eax, [ebp - 0x120]
call fcn.00406d70
ret
Function at 0x52fc38
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00406e0c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegDeleteValueW
test eax, eax
sete byte [ebp - 9]
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x52fcfc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.00403b8c
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00406e0c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
sete byte [ebp - 0xd]
mov eax, dword [ebp - 0x14]
call fcn.0052f3cc
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x52fe30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52ffa3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x52ff85
lea eax, [ebp - 0x10]
xor edx, edx
call fcn.00406dd4
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x52fec6
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x10], 0
jne 0x52fe98
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
jmp 0x52febe
push dword [ebp - 0x10]
push 0x52ffbc
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x28]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00407348
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x52fe82
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x52fedf
lea eax, [ebp - 0x10]
mov edx, 0x52ffbc
call fcn.004071a4
lea eax, [ebp - 0x10]
mov edx, 0x52ffbc
call fcn.004071a4
mov dword [ebp - 0x14], 7
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x52ff19
mov eax, dword [ebp - 0x20]
sub eax, 0xa
cmp word [eax], 2
je 0x52ff19
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.00405d84
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x52ff30
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add eax, eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00406e0c
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00406e0c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x52ff85
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0x11
lea eax, [ebp - 0x30]
push eax
push 0
mov ecx, dword [0x721de8]
mov dl, 1
mov eax, dword [0x52f190]
call fcn.00481848
call fcn.00405354
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52ffaa
lea eax, [ebp - 0x28]
call fcn.00406d70
lea eax, [ebp - 0x10]
call fcn.00406d70
ret
Function at 0x52fff4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x530125
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
xor edx, edx
call fcn.00406d80
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
sar eax, 1
jns 0x53003c
adc eax, 0
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x52ffc0]
call fcn.00408964
add esp, 4
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00406e0c
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x5300e1
cmp dword [ebp - 0x14], 7
jne 0x5300e1
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x5300d1
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
cmp word [eax + edx*2], 0
je 0x5300be
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dx, word [edx + ecx*2]
call fcn.00406efc
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
call fcn.004071a4
mov eax, dword [ebp + 8]
jmp 0x5300ce
mov eax, dword [ebp + 8]
mov edx, 0x530140
call fcn.004071a4
mov eax, dword [ebp + 8]
inc dword [ebp - 0x20]
mov eax, dword [ebp - 8]
sar eax, 1
jns 0x5300db
adc eax, 0
dec eax
cmp eax, dword [ebp - 0x20]
jg 0x53008f
push 0
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x52ffc0]
call fcn.00408964
add esp, 4
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53012c
lea eax, [ebp - 0x24]
call fcn.00406d70
lea eax, [ebp - 0x10]
mov edx, dword [0x52ffc0]
call fcn.00408a84
ret
Function at 0x5302ac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53047a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x30]
xor edx, edx
call fcn.00406dd4
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00406e0c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x530420
cmp dword [ebp - 0x14], 4
jne 0x530390
mov dword [ebp - 0x1c], 0xffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00406e0c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x530370
mov eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov byte [ebp - 0x29], 1
jmp 0x53043b
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
call fcn.00479c10
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x30]
mov edx, 0x530498
call fcn.00407264
jmp 0x53043b
cmp dword [ebp - 0x14], 0xb
jne 0x5303ff
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00406e0c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x5303e2
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x29], 1
jmp 0x53043b
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x34]
call fcn.00479c10
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x30]
mov edx, 0x5304c8
call fcn.00407264
jmp 0x53043b
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x44]
call fcn.00479e1c
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x30]
mov edx, 0x5304f8
call fcn.00407264
jmp 0x53043b
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x34]
call fcn.00479c10
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x30]
mov edx, 0x530520
call fcn.00407264
cmp byte [ebp - 0x29], 0
jne 0x530457
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
call fcn.00407264
mov eax, dword [ebp - 0x4c]
call fcn.0052f2c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x530481
lea eax, [ebp - 0x4c]
mov edx, 5
call fcn.00406d78
lea eax, [ebp - 0x30]
call fcn.00406d70
ret
Function at 0x530548
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
call fcn.0052f37c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00406e0c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x5305b0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [0x721de8]
mov dl, 1
mov eax, dword [0x52f190]
call fcn.00481848
call fcn.00405354
mov esp, ebp
pop ebp
ret 8
Function at 0x5305ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x530771
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
call fcn.0052f37c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
xor edx, edx
call fcn.00406d80
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jne 0x530640
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
jmp 0x530649
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
dec eax
sub al, 2
jae 0x530657
add dword [ebp - 0x18], 2
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x5305b8]
call fcn.00408964
add esp, 4
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov edx, dword [ebp - 0x18]
call fcn.00403b8c
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00406e0c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x5306b5
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00406f3c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x5306d4
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x802
jle 0x53073b
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x5306fc
mov eax, dword [ebp - 0x2c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
push 0x53078c
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
call fcn.00479c10
push dword [ebp - 0x34]
push 0x5307cc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
call fcn.00479c10
push dword [ebp - 0x38]
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00407348
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov dl, 1
call fcn.0052f278
mov eax, dword [ebp - 0x14]
call fcn.0052f3cc
mov edx, dword [ebp + 0xc]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x530778
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00406d78
lea eax, [ebp - 0x10]
mov edx, dword [0x5305b8]
call fcn.00408a84
ret
Function at 0x532114
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd0
xor eax, eax
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x532263
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x218]
push eax
push 0x104
call sub.kernel32.dll_GetLogicalDriveStringsW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x53223d
lea eax, [ebp - 0x218]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
ja 0x53223d
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
mov edx, dword [ebp - 0x10]
call fcn.00406f3c
mov eax, dword [ebp - 0x428]
mov ecx, 2
mov edx, 1
call fcn.0040753c
mov edx, dword [ebp - 0x424]
lea eax, [ebp - 0xc]
call fcn.0040700c
push 0x104
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004068c4
push eax
call sub.kernel32.dll_QueryDosDeviceW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x532221
lea eax, [ebp - 0x42c]
lea edx, [ebp - 0x420]
mov ecx, 0x104
call fcn.00406f90
mov eax, dword [ebp - 0x42c]
push eax
lea eax, [ebp - 0x430]
mov edx, dword [ebp - 0xc]
call fcn.00406ff8
mov edx, dword [ebp - 0x430]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
pop ecx
call fcn.00495d50
jmp 0x532221
add dword [ebp - 0x10], 2
inc dword [ebp - 4]
mov eax, dword [ebp - 0x10]
cmp word [eax], 0
jne 0x53221a
add dword [ebp - 0x10], 2
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jbe 0x532180
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53226a
lea eax, [ebp - 0x430]
mov edx, 4
call fcn.00406d78
lea eax, [ebp - 0xc]
call fcn.004066c4
ret
Function at 0x532368
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc4
xor ecx, ecx
mov dword [ebp - 0x438], ecx
mov dword [ebp - 0x43c], ecx
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406d68
xor eax, eax
push ebp
push 0x53250b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00406d80
lea eax, [ebp - 0x220]
push eax
push 0x104
call sub.kernel32.dll_GetLogicalDriveStringsW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5324dd
lea eax, [ebp - 0x220]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
ja 0x5324dd
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x430]
mov edx, dword [ebp - 0x18]
call fcn.00406f3c
mov eax, dword [ebp - 0x430]
mov ecx, 2
mov edx, 1
call fcn.0040753c
mov edx, dword [ebp - 0x42c]
lea eax, [ebp - 0x14]
call fcn.0040700c
push 0x104
lea eax, [ebp - 0x428]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004068c4
push eax
call sub.kernel32.dll_QueryDosDeviceW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x5324c1
lea eax, [ebp - 0x434]
lea edx, [ebp - 0x428]
mov ecx, 0x104
call fcn.00406f90
mov eax, dword [ebp - 0x434]
mov edx, dword [ebp - 4]
call fcn.004078ac
dec eax
jne 0x5324c1
mov al, byte [0x532518]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x438]
mov edx, dword [ebp - 0x14]
call fcn.00406ff8
mov eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x43c]
lea edx, [ebp - 0x428]
mov ecx, 0x104
call fcn.00406f90
mov edx, dword [ebp - 0x43c]
mov eax, dword [ebp - 4]
pop ecx
call fcn.004838d0
jmp 0x5324dd
add dword [ebp - 0x18], 2
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
cmp word [eax], 0
jne 0x5324ba
add dword [ebp - 0x18], 2
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jbe 0x5323f2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x532512
lea eax, [ebp - 0x43c]
mov edx, 5
call fcn.00406d78
lea eax, [ebp - 0x14]
call fcn.004066c4
lea eax, [ebp - 4]
call fcn.00406d70
ret

Function at 0x532d6c
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, 0x532ddc
mov dl, 1
call fcn.00531ff8
cmp byte [0x7296e2], 0
je 0x532d97
mov eax, dword [ebp - 4]
call fcn.0053251c
mov byte [ebp - 5], al
jmp 0x532dc7
cmp byte [0x7296e1], 0
je 0x532dad
mov eax, dword [ebp - 4]
call fcn.00532788
mov byte [ebp - 5], al
jmp 0x532dc7
cmp byte [0x7296e0], 0
je 0x532dc3
mov eax, dword [ebp - 4]
call fcn.00532ac4
mov byte [ebp - 5], al
jmp 0x532dc7
mov byte [ebp - 5], 0
mov eax, 0x532ddc
xor edx, edx
call fcn.00531ff8
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x532e00
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbcc
xor ecx, ecx
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x533034
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x533040
mov dl, 1
call fcn.00531ff8
mov eax, dword [ebp - 4]
push eax
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x533007
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x532fcb
mov dword [ebp - 0x10], 0x208
mov edx, dword [ebp - 0x10]
add edx, edx
lea eax, [ebp - 0x42c]
xor ecx, ecx
call fcn.00403b8c
cmp byte [0x7296e2], 0
je 0x532f00
lea eax, [ebp - 0x42c]
xor ecx, ecx
mov edx, 0x410
call fcn.00403b8c
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x18]
mov ecx, 4
mov eax, dword [ebp - 0xc]
call fcn.00531f98
test eax, eax
je 0x532fcb
push 0x208
lea ecx, [ebp - 0x42c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00531fc8
test eax, eax
je 0x532fcb
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x42c]
mov ecx, 0x208
call fcn.00406f90
cmp dword [ebp - 0x14], 0
je 0x532fcb
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.00532088
jmp 0x532fcb
cmp byte [0x7296e1], 0
je 0x532f7a
cmp dword [0x70727c], 0
je 0x532fcb
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x42c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [0x70727c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x532fcb
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x42c]
mov ecx, 0x208
call fcn.00406f90
lea edx, [ebp - 0x430]
mov eax, dword [ebp - 0x14]
call fcn.00532368
mov edx, dword [ebp - 0x430]
lea eax, [ebp - 0x14]
call fcn.00406dd4
cmp dword [ebp - 0x14], 0
je 0x532fcb
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.00532088
jmp 0x532fcb
cmp byte [0x7296e0], 0
je 0x532fcb
cmp dword [0x707278], 0
je 0x532fcb
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [0x707278]
test eax, eax
je 0x532fcb
lea eax, [ebp - 0x434]
lea edx, [ebp - 0x42c]
mov ecx, 0x208
call fcn.00406f90
mov eax, dword [ebp - 0x434]
mov edx, dword [ebp - 8]
call fcn.00532088
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x532fde
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00533064
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53300e
cmp dword [ebp - 0xc], 0
je 0x532ffa
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, 0x533040
xor edx, edx
call fcn.00531ff8
ret

Function at 0x533744
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edx, edx
call fcn.00406d80
push 0
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x216]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x216]
mov ecx, 0x105
call fcn.00406f90
mov esp, ebp
pop ebp
ret 4
Function at 0x533790
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0xff
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x208]
mov ecx, pe_nt_image_headers32
call fcn.00406f90
mov esp, ebp
pop ebp
ret

Function at 0x5337c8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x208]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathW
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x208]
mov ecx, pe_nt_image_headers32
call fcn.00406f90
mov esp, ebp
pop ebp
ret

Function at 0x533800
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0xff
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x208]
mov ecx, pe_nt_image_headers32
call fcn.00406f90
mov esp, ebp
pop ebp
ret

Function at 0x533838
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00406d80
mov dword [ebp - 8], 0x104
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x533877
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x210]
call fcn.00406f3c
mov esp, ebp
pop ebp
ret

Function at 0x53387c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
xor edx, edx
mov dword [ebp - 0x210], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5338fb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x20c]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
test eax, eax
jbe 0x5338e2
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.00406f90
mov eax, dword [ebp - 0x210]
mov ecx, 2
mov edx, 1
call fcn.0040753c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533902
lea eax, [ebp - 0x210]
call fcn.00406d70
ret