joyce8/EMBER2024-capa huggingface dataset:
Function at 0x606e54
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd90
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x264], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x607020
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x606ff3
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
test eax, eax
je 0x606eb1
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
jne 0x606eef
mov eax, ebx
call fcn.00605ac4
test al, al
jne 0x606ecf
mov byte [ebp - 5], 0
call fcn.004099b8
jmp 0x606ffa
lea edx, [ebp - 0x264]
mov eax, ebx
call fcn.00605788
mov ecx, dword [ebp - 0x264]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.00607278
mov byte [ebp - 5], 1
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.005c4ebc
lea eax, [ebp - 0x268]
mov edx, 0x607040
call fcn.0040b470
mov eax, dword [ebp - 0x268]
call fcn.0040b278
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x606fdc
xor eax, eax
push ebp
push 0x606fd5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.00605644
test al, al
je 0x606faa
lea eax, [ebp - 4]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.0040b318
lea edx, [ebp - 0x270]
mov eax, ebx
call fcn.005c4ebc
lea eax, [ebp - 0x270]
mov edx, dword [ebp - 4]
call fcn.0040b470
mov eax, dword [ebp - 0x270]
lea edx, [ebp - 0x26c]
call fcn.00605788
mov eax, dword [ebp - 0x26c]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 4]
mov edx, esi
call fcn.0060686c
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x606f43
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x606fdc
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x606ffa
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x607027
lea eax, [ebp - 0x270]
mov edx, 4
call fcn.0040a228
lea eax, [ebp - 4]
call fcn.0040a1c8
ret
Function at 0x607310
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x607506
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x607395
lea edx, [ebp - 0x264]
mov eax, edi
call fcn.005c5440
mov eax, dword [ebp - 0x264]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.005c4ebc
mov eax, dword [ebp - 0x268]
pop edx
call fcn.005c50cc
test eax, eax
jne 0x607395
lea edx, [ebp - 4]
mov eax, edi
call fcn.005c5418
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x6074d4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x26c]
mov eax, ebx
call fcn.005c4ebc
lea eax, [ebp - 0x26c]
mov edx, 0x607520
call fcn.0040b470
mov eax, dword [ebp - 0x26c]
call fcn.0040b278
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x6074bd
xor eax, eax
push ebp
push 0x6074b6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.00605644
test al, al
je 0x607487
lea eax, [ebp - 8]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.0040b318
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.005c50cc
test eax, eax
je 0x607487
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.00606968
test eax, eax
jne 0x607487
lea edx, [ebp - 0x274]
mov eax, ebx
call fcn.005c4ebc
lea eax, [ebp - 0x274]
mov edx, dword [ebp - 8]
call fcn.0040b470
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x270]
call fcn.00605788
mov eax, dword [ebp - 0x270]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.0060686c
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x6073fd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6074bd
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6074db
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x6077d8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.00424328
add esp, 0x208
pop ebx
ret

Function at 0x60aee0
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret
Function at 0x60bbcc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040b278
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x60bc6a
mov eax, ebx
call fcn.00406f0c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x60bc63
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x60bc4d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x60bc8c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x60bc4d
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 4]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60bc7f
mov eax, dword [ebp - 0x10]
call fcn.00406f28
ret
call fcn.00429d30
dec eax
je 0x60bc7f
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0060b9f0
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x60c2fc
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0060c2b0
test al, al
jne 0x60c31d
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x60c36b
xor eax, eax
push ebp
push 0x60c35b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_CreateDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60c362
lea eax, [ebp - 0xc]
call fcn.0060c2ec
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x60c374
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0060c2b0
test al, al
jne 0x60c398
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x60c3fe
xor eax, eax
push ebp
push 0x60c3ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x24]
push eax
push edi
push esi
call sub.kernel32.dll_CreateProcessW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60c3f5
lea eax, [ebp - 0xc]
call fcn.0060c2ec
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x60c40c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0060c2b0
test al, al
jne 0x60c430
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x60c488
xor eax, eax
push ebp
push 0x60c478
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, edi
call fcn.0040b278
push eax
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_CopyFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60c47f
lea eax, [ebp - 0xc]
call fcn.0060c2ec
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x60c494
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0060c2b0
test al, al
jne 0x60c4b5
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x60c501
xor eax, eax
push ebp
push 0x60c4f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60c4f8
lea eax, [ebp - 0xc]
call fcn.0060c2ec
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x60c66c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0060c2b0
test al, al
jne 0x60c68f
mov dword [ebp - 4], 0xffffffff
jmp 0x60c6db
xor eax, eax
push ebp
push 0x60c6cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60c6d2
lea eax, [ebp - 0xc]
call fcn.0060c2ec
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x60c810
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0060c2b0
test al, al
jne 0x60c834
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x60c888
xor eax, eax
push ebp
push 0x60c878
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040b278
push eax
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_MoveFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60c87f
lea eax, [ebp - 0xc]
call fcn.0060c2ec
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x60c894
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
test edi, edi
jne 0x60c8b7
test esi, 4
je 0x60c8b7
xor edi, edi
jmp 0x60c8c0
mov eax, edi
call fcn.0040b278
mov edi, eax
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0060c2b0
test al, al
jne 0x60c8d5
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x60c924
xor eax, eax
push ebp
push 0x60c914
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push edi
mov eax, dword [ebp - 4]
call fcn.0040b278
push eax
call sub.kernel32.dll_MoveFileExW
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60c91b
lea eax, [ebp - 0x10]
call fcn.0060c2ec
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x60c9a0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0060c2b0
test al, al
jne 0x60c9c1
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x60ca0d
xor eax, eax
push ebp
push 0x60c9fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_RemoveDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60ca04
lea eax, [ebp - 0xc]
call fcn.0060c2ec
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x60ca18
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0060c2b0
test al, al
jne 0x60ca3c
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x60ca89
xor eax, eax
push ebp
push 0x60ca79
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_SetFileAttributesW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60ca80
lea eax, [ebp - 0xc]
call fcn.0060c2ec
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x60d560
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x60d568
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x60d6cb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
mov edx, ebx
call fcn.0040b2dc
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.005c52e0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.005c5500
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
call fcn.005c747c
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.005c4ebc
lea eax, [ebp - 0x2c]
mov edx, 0x60d6e8
call fcn.0040b470
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.005c5500
mov eax, dword [ebp - 0x28]
mov ecx, 1
pop edx
call fcn.0040b8a8
dec eax
je 0x60d607
push 0
push ebx
call sub.kernel32.dll_CreateDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
test bl, bl
jne 0x60d6a3
call sub.kernel32.dll_GetLastError
mov dword [esi], eax
jmp 0x60d6a3
lea eax, [ebp - 4]
call fcn.005c7d2c
cmp dword [ebp - 4], 0
jne 0x60d622
lea eax, [ebp - 4]
mov edx, 0x60d700
call fcn.0040a5f0
push 0x60d714
push dword [ebp - 4]
push 0x60d754
push 0x60d764
push 0x60d7a4
lea eax, [ebp - 8]
mov edx, 5
call fcn.0040b550
push 0
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 8]
call fcn.0040b278
push eax
call sub.advapi32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
jne 0x60d66b
call sub.kernel32.dll_GetLastError
mov dword [esi], eax
xor ebx, ebx
jmp 0x60d6a3
mov dword [ebp - 0x18], 0xc
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push ebx
call sub.kernel32.dll_CreateDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
test bl, bl
jne 0x60d69a
call sub.kernel32.dll_GetLastError
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LocalFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60d6d2
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.0040a228
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a228
ret
Function at 0x60f954
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
call fcn.0040a2ac
xor eax, eax
push ebp
push 0x60fa38
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0x18], 0
jne 0x60f99b
lea edx, [ebp + 0x18]
mov eax, edi
call fcn.005c5390
cmp dword [ebp + 0x18], 0
jne 0x60f99b
lea eax, [ebp + 0x18]
call fcn.005c74a8
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00407760
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x540
test ebx, ebx
je 0x60f9c6
mov eax, ebx
call fcn.0040b278
mov dword [ebp - 0x34], eax
mov eax, edi
call fcn.0040b278
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
call fcn.0040b278
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
call fcn.0040b278
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x60fa08
call sub.kernel32.dll_GetLastError
mov dword [esi], eax
jmp 0x60fa22
mov dword [esi], 0x103
mov eax, dword [ebp - 8]
test eax, eax
je 0x60fa22
push esi
movzx edx, byte [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
call fcn.0060f5f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60fa3f
lea eax, [ebp + 0x18]
call fcn.0040a1c8
ret

Function at 0x60fc70
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x60fc9e
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x10
call fcn.0040b318
jmp 0x60fca5
mov eax, ebx
call fcn.0040a1c8
add esp, 0x24
pop ebx
ret

Function at 0x60fcac
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
mov dword [esp], 0x101
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x60fcdd
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x101
call fcn.0040b318
jmp 0x60fce4
mov eax, ebx
call fcn.0040a1c8
add esp, 0x208
pop ebx
ret

Function at 0x60fcf4
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
call fcn.00429d30
cmp eax, 2
jne 0x60fd5c
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x60fd17
xor eax, eax
jmp 0x60fd6b
lea eax, [esp + 8]
push eax
push 0x60fd70
push 0
call sub.advapi32.dll_LookupPrivilegeValueW
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError
test eax, eax
je 0x60fd5c
xor eax, eax
jmp 0x60fd6b
push 0
push 2
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x14
ret
Function at 0x60fd98
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x60fdf2
inc esi
xor edi, edi
cmp edi, 1
jne 0x60fdbe
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x60fdcc
cmp edi, 1
jle 0x60fdcc
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0060c494
test eax, eax
jne 0x60fdf2
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x60fdf2
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x60fdf2
inc edi
dec esi
jne 0x60fdae
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x61065c
Capabilities:
Delete registry value

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, edx
mov edi, eax
test cl, cl
je 0x61066f
mov ebx, 0x80000001
jmp 0x610674
mov ebx, 0x80000002
push 0
push 2
lea eax, [esp + 8]
push eax
call fcn.005c7834
and eax, 0x7f
mov ecx, dword [eax*4 + 0x6cefc0]
mov edx, ebx
xor eax, eax
call fcn.005c7a60
test eax, eax
jne 0x6106b4
mov eax, edi
call fcn.0040b278
push eax
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegDeleteValueW
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, esi
call fcn.0040b278
push eax
call sub.gdi32.dll_RemoveFontResourceW
test eax, eax
je 0x6106d5
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendNotifyMessageW
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x6106dc
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov edi, ecx
mov esi, edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x610825
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x61083c
push 0x610864
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00414030
mov ebx, eax
lea edx, [ebp - 0xc]
movzx eax, byte [ebp - 1]
call fcn.0060c2b0
test al, al
jne 0x61073b
mov byte [ebp - 2], 0
jmp 0x61080a
xor eax, eax
push ebp
push 0x610803
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x61077f
push 0
mov eax, dword [ebp + 8]
push eax
push edi
lea edx, [ebp - 0x24]
mov eax, esi
call fcn.005c52e0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.005c4ebc
mov eax, dword [ebp - 0x20]
call fcn.0040b278
push eax
call ebx
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
jmp 0x6107ed
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.005c52e0
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.005c53b8
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.005c4ebc
mov eax, dword [ebp - 0x28]
call fcn.0040b278
push eax
call sub.kernel32.dll_GetDiskFreeSpaceW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
cmp byte [ebp - 2], 0
je 0x6107ed
mov ecx, edi
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.005c9b18
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.005c9b18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61080a
lea eax, [ebp - 0xc]
call fcn.0060c2ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61082c
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.0040a228
ret

Function at 0x610a14
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x610a38
mov eax, dword [ebp - 4]
jmp 0x610a3b
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x610a40
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x610a8d
xor ebx, ebx
jmp 0x610a82
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call fcn.00422380
test eax, eax
jne 0x610a81
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x610b38
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x610a63
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x610a99
je 0x610aa2
jmp 0x610aab
call fcn.005c8128
mov esi, eax
jmp 0x610aad
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x610aad
xor esi, esi
test si, si
je 0x610b38
xor ebx, ebx
jmp 0x610ad3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x610ad2
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x610b38
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x610aba
xor ebx, ebx
jmp 0x610b2d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov dx, 0x3ff
and dx, si
movzx edx, dx
cmp eax, edx
jne 0x610b2c
mov ax, 0x3ff
and ax, si
cmp ax, 4
jne 0x610b21
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.00610a14
push eax
mov eax, esi
call fcn.00610a14
pop edx
cmp edx, eax
jne 0x610b2c
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x610b38
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x610ae2
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4