joyce8/EMBER2024-capa huggingface dataset:
Function at 0xe5a250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xe6e808
push 0xe5e288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xe5a329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xe5a329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00e5d1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xe5a329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xe5a329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xe5a32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00e5a351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xe5ad20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xe5ad58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xe5ad60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xe5ad94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xe5ad94
push eax
push esi
call fcn.00e5d20b
add esp, 8
pop esi
ret 0x10

Function at 0xe5ada0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xe5ae22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xe5ae15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xe73320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00e5cdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xe5adda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xe5ae30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xe5aec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xe5aeb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xe73320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00e5cdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xe5aeab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xe5ae6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xe5b000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xe5b131
push esi
call fcn.00e5e145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00e4d080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xe5b131
push 0
push ebp
call fcn.00e4d3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00e4d260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xe5b08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00e4d2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xe5b121
push 0xe73918
push edi
call fcn.00e5c3f0
push eax
push ebx
push esi
call fcn.00e5af60
push 0xe738f8
push edi
call fcn.00e5c3f0
push eax
push ebx
push esi
call fcn.00e5af60
push 0xe738d8
push edi
call fcn.00e5c3f0
push eax
push ebx
push esi
call fcn.00e5af60
push 0xe738c0
push edi
call fcn.00e5c3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00e5af60
push 0xe738a0
push edi
call fcn.00e5c3f0
push eax
push ebx
push esi
call fcn.00e5af60
push 0xe73888
push edi
call fcn.00e5c3f0
push eax
push ebx
push esi
call fcn.00e5af60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xe5c1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00e5c140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00e5c140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00e5c140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00e5c140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xe5cbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xe5cc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xe6e87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xe5cc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xe5cc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x405c84
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8a959a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ecx
mov esi, dword [ebp + 8]
test esi, esi
jne 0x405cca
mov esi, dword [ebp - 0x2c]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov dword [ebp - 0x1c], eax
mov edi, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x405ced
add ecx, 1
add eax, 1
mov dl, byte [ecx]
test dl, dl
jne 0x405ce1
lea ecx, [ebp - 0x20]
push 1
mov ebx, eax
push ebx
call fcn.00404278
movzx edx, al
test edx, edx
je 0x405d20
mov edi, dword [ebp - 0x1c]
mov ecx, ebx
push ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
mov byte [ebx + edx], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
call fcn.00405ef0
push 1
mov ecx, dword [eax]
lea eax, [ebp - 0x20]
mov edx, dword [ecx]
push eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x405db3
push 1
xor eax, eax
push eax
push eax
push edx
push 0x9ef12c
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor ebx, ebx
cmp eax, 0x20
seta bl
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x405d7e
movzx edx, byte [ecx - 1]
lea eax, [ecx - 1]
test edx, edx
jne 0x405da4
push eax
call fcn.00888fb0
pop ecx
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x1c], edx
mov eax, ebx
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
cmp edx, 0xff
je 0x405d77
dec dl
mov byte [ecx - 1], dl
jmp 0x405d7e
mov edx, 0x9eebb8
jmp 0x405d43
Function at 0x40b354
Capabilities:
Get memory capacity

Disassembly:
push edi
push ebx
sub esp, 0xb4
mov eax, dword [0x979344]
mov byte [0x8cf9c4], 1
test eax, eax
je 0x40b37a
mov eax, 5
add esp, 0xb4
pop ebx
pop edi
ret
xor eax, eax
push eax
push 0x2000000
push eax
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x979344], eax
test eax, eax
je 0x40b43a
mov byte [0x979348], 0
mov al, byte [0x9ec1b4]
test al, al
je 0x40b42f
lea edi, [esp]
xor eax, eax
mov ecx, 0x25
rep stosd dword es:[edi], eax
mov dword [esp], 0x94
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x40b42f
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ebx, dword [esp + 0x9c]
mov edi, ebx
shr edi, 1
cmp ebx, 0x10000000
jbe 0x40b42f
cmp ebx, 0x18000000
ja 0x40b401
add ebx, 0xf8000000
jmp 0x40b407
add ebx, 0xf0000000
cmp edi, ebx
jbe 0x40b40d
mov edi, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x40b42f
mov byte [0x979348], 1
xor eax, eax
add esp, 0xb4
pop ebx
pop edi
ret
mov eax, 6
add esp, 0xb4
pop ebx
pop edi
ret

Function at 0x412104
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov dword [ebp - 4], edi
push 0x8cf9ec
mov edi, dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jl 0x4121af
mov eax, dword [0x9793f8]
test eax, eax
je 0x412131
call eax
test edi, edi
je 0x412191
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x404]
push edi
mov edi, dword [ebp + 0xc]
push edi
push eax
push 0x9f319c
push edx
call fcn.0089882d
add esp, 0x14
lea eax, [ebp - 0x404]
push 7
push 0
push eax
call fcn.004124c4
add esp, 0xc
mov eax, dword [0x9793f4]
test eax, eax
je 0x412170
call eax
call fcn.008a2850
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x404]
push eax
push edx
push 0x9f31ac
push ecx
call fcn.0089882d
add esp, 0x10
jmp 0x412152
push 0x8cf9ec
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
int3

Function at 0x4121c0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x200
lea eax, [esp + 0x208]
lea edx, [esp]
push eax
push dword [esp + 0x208]
push 0x200
push edx
call fcn.0089947d
add esp, 0x10
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x200
ret

Function at 0x4128cc
Capabilities:
Create thread
Resume thread

Disassembly:
push edi
push esi
mov edi, ecx
lea eax, [edi + 4]
push eax
push 4
push dword [esp + 0x14]
push 0x41cb78
push dword [esp + 0x24]
push 0
call fcn.0089950c
add esp, 0x18
mov dword [esp], eax
mov dword [edi], eax
test eax, eax
jne 0x4128fd
xor eax, eax
pop ecx
pop edi
ret 0x10
mov ecx, edi
call fcn.00412884
test eax, eax
je 0x412913
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov al, byte [esp + 0x18]
test al, al
jne 0x412923
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop ecx
pop edi
ret 0x10
Function at 0x41a308
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8aa642
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ecx
push dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
movzx eax, word [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x41a45f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41a45f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x28], eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x41a45f
mov dword [ebp - 0x18], 0
push 0x20
call fcn.00898760
mov dword [ebp - 0x20], eax
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41a455
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.00419efc
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
push eax
push edx
push 1
call fcn.00419f80
movzx eax, al
test eax, eax
jne 0x41a416
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41a3f1
push 1
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
xor eax, eax
mov dword [edx + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xc]
mov dword [edx + 4], 1
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
cmp eax, 1
je 0x41a44e
cmp eax, 2
je 0x41a44e
xor eax, eax
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 1
jmp 0x41a435
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x41a3b8
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43be40
Capabilities:
Write file on windows

Disassembly:
push esi
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x43be4f
xor eax, eax
pop ecx
ret 8
lea eax, [esp]
push 0
push eax
push edx
push dword [esp + 0x14]
push dword [ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43be6e
mov dword [esp], 0
mov eax, dword [esp]
pop ecx
ret 8

Function at 0x43be8c
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8ab80e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.004e5490
mov dword [ebp - 4], 0
push 0x80
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00406220
lea eax, [ebp - 0x14]
mov ecx, dword [ebp + 8]
push 0
push eax
call fcn.004e5490
mov dword [ebp - 4], 1
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00406220
test ebx, ebx
je 0x43bf2b
xor eax, eax
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, 0xb
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43c63c
Capabilities:
Get disk information

Disassembly:
sub esp, 8
movsx eax, byte [esp + 0xc]
lea edx, [esp]
push eax
push 0x9f6a94
push edx
call fcn.0089882d
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
je 0x43c695
cmp eax, 2
je 0x43c68c
cmp eax, 4
jne 0x43c678
mov eax, 4
add esp, 8
ret
cmp eax, 3
jne 0x43c686
mov eax, 1
add esp, 8
ret
xor eax, eax
add esp, 8
ret
mov eax, 2
add esp, 8
ret
mov eax, 3
add esp, 8
ret
Function at 0x442bbc
Capabilities:
Get disk information

Disassembly:
push edi
push esi
push ebx
sub esp, 0x19c
lea edi, [esp]
xor eax, eax
mov ecx, 0x32
rep stosd dword es:[edi], eax
lea edi, [esp]
mov esi, 0xc8
lea ebx, [esp + 0x198]
lea ecx, [esp + 0x194]
lea edx, [esp + 0x190]
lea eax, [esp + 0xc8]
push esi
push eax
push edx
push ecx
push ebx
push esi
push edi
push 0x9f7d5c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [esp + 0x198]
movzx ebx, al
mov edx, eax
and edx, 0xff00
shr edx, 8
add ebx, ebx
xor ebx, edx
mov ecx, eax
and ecx, 0xff0000
shr ecx, 0x10
add ebx, ebx
xor ebx, ecx
movzx edx, bx
test dh, 2
je 0x442c3d
xor edx, 1
movzx edx, dx
and eax, 0xff000000
shr eax, 0x18
add edx, edx
xor edx, eax
movzx eax, dx
test ah, 2
je 0x442c57
xor eax, 1
movzx eax, ax
and eax, 0x1ff
add esp, 0x19c
pop ebx
pop esi
pop edi
ret
Function at 0x44f6d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8ad71a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
mov dword [ecx], case.0x4e640c.73
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [eax], fcn.0043c40c
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.004e4b6c
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [edx + 4], 1
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x18], 0xffffffff
mov dword [esi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edx + 0x10], eax
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x30], al
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1c], 2
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x452b6c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8adffe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp + 8]
call fcn.004e4b6c
mov dword [ebp - 4], 0
lea edi, [ebp - 0x124]
xor eax, eax
mov ecx, 0x41
rep stosd dword es:[edi], eax
xor edx, edx
lea eax, [ebp - 0x124]
push edx
push 0x10
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov al, byte [ebp - 0x124]
test al, al
je 0x452bf1
add esp, 0xfffffff8
mov ecx, esp
lea eax, [ebp - 0x124]
push eax
call fcn.004061ac
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [esp + 4], ax
call fcn.004e83f4
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x452c10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8ae012
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp + 8]
call fcn.004e4b6c
mov dword [ebp - 4], 0
lea edi, [ebp - 0x124]
xor eax, eax
mov ecx, 0x41
rep stosd dword es:[edi], eax
xor edx, edx
lea eax, [ebp - 0x124]
push edx
push 5
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov al, byte [ebp - 0x124]
test al, al
je 0x452c95
add esp, 0xfffffff8
mov ecx, esp
lea eax, [ebp - 0x124]
push eax
call fcn.004061ac
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [esp + 4], ax
call fcn.004e83f4
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ca6b8
Capabilities:
Terminate thread

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi]
test eax, eax
jne 0x4ca6c5
pop edi
ret 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov al, byte [esp + 8]
test al, al
je 0x4ca6dd
mov ecx, edi
call fcn.004ca69c
pop edi
ret 4

Function at 0x4ca6e4
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx]
test eax, eax
je 0x4ca6f3
xor eax, eax
pop ebx
ret 8
xor edx, edx
lea eax, [ebx + 4]
push eax
push edx
push dword [esp + 0x14]
push dword [esp + 0x14]
push edx
push edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx], eax
xor edx, edx
test eax, eax
setne dl
mov eax, edx
pop ebx
ret 8
Function at 0x4f25f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8b7632
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
call fcn.004f7214
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [eax], 0xa0efa0
xor edx, edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
xor eax, eax
mov edi, dword [ebp - 0x14]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x34], eax
mov dword [ebx + 0x38], 3
mov byte [esi + 0x3c], 1
mov dword [edi + 0x40], eax
mov byte [edx + 0x44], al
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x45], al
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x46], al
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x48], eax
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x4c], al
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x4d], al
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x50], 0xffffffff
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x54], eax
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x58], eax
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x60], eax
mov dword [edx + 0x64], eax
mov dword [edx + 0x68], eax
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret