joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444cc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4605d8]
xor eax, ebp
mov dword [ebp - 8], eax
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004288a0
add esp, 0xc
push 0x103
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 1
push 0x457128
call fcn.00443a70
add esp, 8
push 0x457154
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x444deb
push str.ZwSetSystemTime
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x444de1
mov word [ebp - 0x224], 0x2f0f
mov word [ebp - 0x21e], 1
mov word [ebp - 0x21c], 1
mov word [ebp - 0x216], 1
mov word [ebp - 0x21a], 1
mov word [ebp - 0x222], 1
mov word [ebp - 0x218], 1
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x234], eax
push 0
lea ecx, [ebp - 0x238]
push ecx
call dword [ebp - 0x214]
mov dword [ebp - 0x230], eax
mov edx, dword [ebp - 0x230]
push edx
push str.mysetsystemtime0x_08x_n
call fcn.0042a2a2
add esp, 8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00428c24
mov esp, ebp
pop ebp
ret

Function at 0x444ea0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4605d8]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], str.e:_test_abcd.exe
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004288a0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], 0
jmp 0x444f00
mov ecx, dword [ebp - 0x218]
add ecx, 1
mov dword [ebp - 0x218], ecx
cmp dword [ebp - 0x218], 0x64
jge 0x444f26
push 0x103
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x214]
push eax
push 0
call dword [sym.imp.USERENV.dll_ExpandEnvironmentStringsForUserW]
jmp 0x444ef1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
push 0x4570e4
call fcn.0042a2a2
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], 0
jmp 0x444f67
mov edx, dword [ebp - 0x21c]
add edx, 1
mov dword [ebp - 0x21c], edx
cmp dword [ebp - 0x21c], 0x64
jge 0x444fa0
push 0x25
mov eax, dword [ebp - 0x214]
push eax
call fcn.0040f010
add esp, 8
test eax, eax
je 0x444f9e
push 0x103
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x444f58
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push 0x4570ec
call fcn.0042a2a2
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00428c24
mov esp, ebp
pop ebp
ret
Function at 0x445450
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x4605d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x464], 0xffffffff
mov word [ebp - 0x460], 0
push 0x206
push 0
lea eax, [ebp - 0x45e]
push eax
call fcn.004288a0
add esp, 0xc
push str.c:windows_system32.
push 0x103
lea ecx, [ebp - 0x460]
push ecx
call fcn.004296aa
add esp, 0xc
lea edx, [ebp - 0x258]
push edx
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0xffffffff
je 0x445560
mov word [ebp - 0x670], 0
push 0x206
push 0
lea ecx, [ebp - 0x66e]
push ecx
call fcn.004288a0
add esp, 0xc
lea edx, [ebp - 0x22c]
push edx
push str.c:windows_system32_s
push 0x103
lea eax, [ebp - 0x670]
push eax
call fcn.004296aa
add esp, 0x10
lea ecx, [ebp - 0x670]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x468], eax
mov edx, dword [ebp - 0x468]
and edx, 0x10
jne 0x445541
cmp dword [ebp - 0x468], 0xffffffff
je 0x445541
lea eax, [ebp - 0x670]
push eax
call fcn.00444650
add esp, 4
lea ecx, [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x464]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44555b
jmp 0x445560
jmp 0x4454bf
mov eax, dword [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428c24
mov esp, ebp
pop ebp
ret
Function at 0x445630
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4605d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
mov byte [ebp - 3], 0x27
push 2
lea eax, [ebp - 4]
push eax
push 9
push str.RELAX
call fcn.0044b330
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0x455d50
call fcn.0042a2a2
add esp, 8
push 0x455d68
push str.e:_test.log
call fcn.0042d41c
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x445768
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0042c213
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.0042d5c7
add esp, 4
mov dword [ebp - 0x10], eax
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.0042c213
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042837a
add esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x28]
push edx
call fcn.004288a0
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0042a92a
add esp, 0x10
mov byte [ebp - 0x20], 0x27
mov byte [ebp - 0x1f], 0x52
mov byte [ebp - 0x1e], 0x45
mov byte [ebp - 0x1d], 0x4c
mov byte [ebp - 0x1c], 0x41
mov byte [ebp - 0x1b], 0x58
mov byte [ebp - 0x1a], 0x85
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x18], 0x27
push 9
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0044b330
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
push str.npos___d_n
call fcn.0042a2a2
add esp, 8
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.00428c38
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.0042aa90
add esp, 4
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00428c24
mov esp, ebp
pop ebp
ret
Function at 0x445900
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x4605d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.004288a0
add esp, 0xc
mov dword [ebp - 0x130], 0
mov ecx, dword [ebp - 0x130]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.004027c0
mov dword [ebp - 0x134], str.mswsock.dll
push 0x5c
mov edx, dword [ebp - 0x134]
push edx
call fcn.0042d650
add esp, 8
test eax, eax
je 0x4459b4
push 0x104
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jbe 0x4459b2
mov dword [ebp - 0x244], 1
lea ecx, [ebp - 0x12c]
call fcn.00402840
mov eax, dword [ebp - 0x244]
jmp 0x445a4b
jmp 0x445a30
mov byte [ebp - 0x240], 0
push 0x103
push 0
lea edx, [ebp - 0x23f]
push edx
call fcn.004288a0
add esp, 0xc
mov eax, dword [ebp - 0x134]
push eax
push str._SystemRoot_
push str._s_system32_s
push 0x103
lea ecx, [ebp - 0x240]
push ecx
call fcn.0042d70e
add esp, 0x14
push 0x104
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jbe 0x445a30
mov dword [ebp - 0x248], 1
lea ecx, [ebp - 0x12c]
call fcn.00402840
mov eax, dword [ebp - 0x248]
jmp 0x445a4b
mov dword [ebp - 0x24c], 0
lea ecx, [ebp - 0x12c]
call fcn.00402840
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428c24
mov esp, ebp
pop ebp
ret

Function at 0x445a90
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451228
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4605d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0xa
mov esi, str.c:TestTES.exe__ss
lea edi, [ebp - 0x21c]
rep movsd dword es:[edi], dword [esi]
push 0x1e0
push 0
lea eax, [ebp - 0x1f4]
push eax
call fcn.004288a0
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00444010
add esp, 4
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
push str.c:program_files___tunnelsRemoteCtrlTray.exe
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x23c]
push eax
push str.attribute___d_n
call fcn.00429eed
add esp, 8
lea ecx, [ebp - 0x238]
call fcn.004031a0
mov dword [ebp - 4], 0
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x238]
call fcn.0041cb30
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00403210
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00428c24
mov esp, ebp
pop ebp
ret
Function at 0x446130
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x4605d8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
jne 0x44614e
jmp 0x4462aa
mov dword [ebp - 0x464], 0xffffffff
mov word [ebp - 0x460], 0
push 0x206
push 0
lea eax, [ebp - 0x45e]
push eax
call fcn.004288a0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str._s.
push 0x103
lea edx, [ebp - 0x460]
push edx
call fcn.004296aa
add esp, 0x10
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x460]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0xffffffff
je 0x44629d
mov word [ebp - 0x670], 0
push 0x206
push 0
lea edx, [ebp - 0x66e]
push edx
call fcn.004288a0
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x456aec
push 0x103
lea edx, [ebp - 0x670]
push edx
call fcn.004296aa
add esp, 0x14
lea eax, [ebp - 0x670]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x468], eax
push 0x456af8
lea ecx, [ebp - 0x22c]
push ecx
call fcn.00429a56
add esp, 8
test eax, eax
je 0x44624a
push 0x456afc
lea edx, [ebp - 0x22c]
push edx
call fcn.00429a56
add esp, 8
test eax, eax
je 0x44624a
cmp dword [ebp - 0x468], 0xffffffff
jne 0x44624c
jmp 0x44627e
mov eax, dword [ebp - 0x468]
and eax, 0x10
jne 0x446268
lea ecx, [ebp - 0x670]
push ecx
call fcn.00445d90
add esp, 4
jmp 0x44627e
mov edx, dword [ebp + 0xc]
sub edx, 1
push edx
lea eax, [ebp - 0x670]
push eax
call fcn.00446130
add esp, 8
lea ecx, [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x464]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x446298
jmp 0x44629d
jmp 0x4461ae
mov eax, dword [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428c24
mov esp, ebp
pop ebp
ret
Function at 0x4464a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x4605d8]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x824], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov ax, word [0x455ce0]
mov word [ebp - 0x820], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x81e]
push ecx
call fcn.004288a0
add esp, 0xc
mov dword [ebp - 0x828], 0x80004005
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x824], eax
cmp dword [ebp - 0x824], 0
jne 0x44653a
jmp 0x4465ff
mov ecx, dword [ebp - 0x824]
push ecx
call fcn.0042837a
add esp, 4
mov dword [ebp - 0x82c], eax
mov edx, dword [ebp - 0x82c]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x446568
jmp 0x4465ff
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x824]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x446586
jmp 0x4465ff
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0x455ce4
mov edx, dword [ebp - 4]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4465a4
jmp 0x4465ff
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 2]
push edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
push ecx
push str.StringFileInfo_04x_04x_s
lea edx, [ebp - 0x820]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x820]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4465ec
jmp 0x4465ff
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00403250
mov dword [ebp - 8], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp - 4], 0
je 0x446632
mov edx, dword [ebp - 4]
mov dword [ebp - 0x830], edx
mov eax, dword [ebp - 0x830]
push eax
call fcn.00428c38
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00428c24
mov esp, ebp
pop ebp
ret
Function at 0x4473a0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4605d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004288a0
add esp, 0xc
mov dword [ebp - 0x214], 0
jmp 0x4473f3
mov ecx, dword [ebp - 0x214]
add ecx, 1
mov dword [ebp - 0x214], ecx
cmp dword [ebp - 0x214], 0xa
jae 0x447491
push 0x103
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax*4 + 0x461520]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0xffffffff
je 0x44748c
mov eax, dword [ebp - 0x218]
and eax, 0x10
jne 0x44748c
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x44748c
push 4
push 0x458104
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x44747f
mov eax, dword [ebp - 0x21c]
mov dword [eax + 8], 1
jmp 0x44748c
mov ecx, dword [ebp - 0x21c]
mov dword [ecx + 4], 1
jmp 0x4473e4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428c24
mov esp, ebp
pop ebp
ret
Function at 0x4479e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov word [ebp - 4], 0
mov word [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
push 1
push 2
lea ecx, [ebp - 4]
push ecx
call fcn.0042a92a
add esp, 0x10
cmp eax, 1
je 0x447a20
xor eax, eax
jmp 0x447aa1
movzx edx, word [ebp - 4]
sub edx, 2
mov word [ebp - 8], dx
push 1
movzx eax, word [ebp - 8]
add eax, 3
push eax
call fcn.0042a49f
add esp, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jne 0x447a50
xor eax, eax
jmp 0x447aa1
push 2
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004290b0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
push edx
push 1
movzx eax, word [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042a92a
add esp, 0x10
cmp eax, 1
je 0x447a9e
mov edx, dword [ebp - 0xc]
push edx
call fcn.00429021
add esp, 4
mov dword [ebp - 0xc], 0
xor eax, eax
jmp 0x447aa1
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x447ad0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov word [ebp - 4], 0
mov word [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
push 1
push 2
lea ecx, [ebp - 4]
push ecx
call fcn.0042a92a
add esp, 0x10
cmp eax, 1
je 0x447b10
xor eax, eax
jmp 0x447b9d
movzx edx, word [ebp - 4]
xor eax, eax
cmp dword [ebp + 0xc], 0
setne al
add eax, 1
imul edx, eax
mov word [ebp - 8], dx
push 1
movzx ecx, word [ebp - 8]
add ecx, 3
push ecx
call fcn.0042a49f
add esp, 8
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x447b4c
xor eax, eax
jmp 0x447b9d
push 2
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004290b0
add esp, 0xc
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
push eax
push 1
movzx ecx, word [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042a92a
add esp, 0x10
cmp eax, 1
je 0x447b9a
mov eax, dword [ebp - 0xc]
push eax
call fcn.00429021
add esp, 4
mov dword [ebp - 0xc], 0
xor eax, eax
jmp 0x447b9d
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x448f30
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 0xc]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x448f51
xor eax, eax
jmp 0x448fbb
lea ecx, [ebp - 8]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x448f74
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x448fbb
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 2
push 0
push 0
push 0x10
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x448fb6
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x448fbb
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4493a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x4605d8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00448f30
test eax, eax
je 0x4494e8
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.004288a0
add esp, 0xc
mov dword [ebp - 0x668], 0
push 0x424
push 0
lea ecx, [ebp - 0x664]
push ecx
call fcn.004288a0
add esp, 0xc
mov dword [ebp - 0x66c], 0xffffffff
mov dword [ebp - 0x23c], 0xffffffff
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x66c], eax
cmp dword [ebp - 0x66c], 0xffffffff
jne 0x449433
xor eax, eax
jmp 0x4494ea
mov dword [ebp - 0x238], 0x22c
mov ecx, 0x462db8
call fcn.0040f3b0
mov ecx, 0x462dc4
call fcn.0040f3b0
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x66c]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x44946c
xor eax, eax
jmp 0x4494ea
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp - 0x230]
push edx
call fcn.00448fc0
add esp, 8
test eax, eax
je 0x44949c
mov eax, dword [ebp - 0x230]
push eax
push 0x458aa8
call fcn.0042a2a2
add esp, 8
jmp 0x4494d1
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp - 0x230]
push edx
call fcn.00449380
add esp, 8
test eax, eax
je 0x4494d1
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x230]
push ecx
push str.Process__d___s__is_malicious_process_n
call fcn.0042a2a2
add esp, 0xc
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x66c]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44946c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428c24
mov esp, ebp
pop ebp
ret
Function at 0x449650
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4514ae
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4605d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0x105
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x1c]
shl eax, 1
push eax
call fcn.0042837a
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x4496b3
jmp 0x449788
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4496d4
jmp 0x4496fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x4496e3
jmp 0x4496fe
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00428c38
add esp, 4
mov dword [ebp - 0x18], 0
jmp 0x449691
cmp dword [ebp - 0x14], 0
je 0x449769
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
jmp 0x449722
mov eax, dword [ebp - 0x10]
push eax
call fcn.00428ced
add esp, 4
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
test ecx, ecx
je 0x449769
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x40]
call fcn.004031d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x462dac
call fcn.0040f150
mov ecx, eax
call fcn.00403250
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00403210
jmp 0x44970c
cmp dword [ebp - 0x18], 0
je 0x449788
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.00428c38
add esp, 4
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret