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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5229ad
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x254]
push eax
lea edx, [ebp - 0x258]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004bb98c
lea eax, [ebp - 0x258]
mov edx, 0x5229c8
call fcn.00407bd4
mov eax, dword [ebp - 0x258]
call fcn.00407854
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x522987
lea eax, [ebp - 4]
lea edx, [ebp - 0x228]
mov ecx, 0x104
call fcn.004079c0
mov eax, dword [ebp - 4]
test eax, eax
je 0x522877
sub eax, 4
mov eax, dword [eax]
cmp eax, 9
jl 0x5228ac
lea eax, [ebp - 0x25c]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00407fa0
mov eax, dword [ebp - 0x25c]
mov edx, 0x5229ec
call fcn.00411864
test eax, eax
sete al
jmp 0x5228ae
xor eax, eax
test al, al
je 0x5228d7
mov eax, 0x5229f8
mov edx, dword [ebp - 4]
movzx esi, word [edx + 0xa]
cmp si, 0x100
jae 0x5228cf
mov edx, esi
movzx edx, dl
bt dword [eax], edx
jb 0x5228d3
xor eax, eax
jmp 0x5228d9
mov al, 1
jmp 0x5228d9
xor eax, eax
test al, al
je 0x522902
mov eax, 0x5229f8
mov edx, dword [ebp - 4]
movzx esi, word [edx + 0xc]
cmp si, 0x100
jae 0x5228fa
mov edx, esi
movzx edx, dl
bt dword [eax], edx
jb 0x5228fe
xor eax, eax
jmp 0x522904
mov al, 1
jmp 0x522904
xor eax, eax
test al, al
je 0x52292d
mov eax, 0x5229f8
mov edx, dword [ebp - 4]
movzx esi, word [edx + 0xe]
cmp si, 0x100
jae 0x522925
mov edx, esi
movzx edx, dl
bt dword [eax], edx
jb 0x522929
xor eax, eax
jmp 0x52292f
mov al, 1
jmp 0x52292f
xor eax, eax
test al, al
je 0x52296c
mov eax, dword [ebp - 4]
cmp word [eax + 0x10], 0x2e
jne 0x52296c
lea eax, [ebp - 0x260]
push eax
mov ecx, 3
mov edx, 6
mov eax, dword [ebp - 4]
call fcn.00407fa0
mov eax, dword [ebp - 0x260]
call fcn.00412898
mov edx, dword [ebp + 8]
mov byte [edx + eax - 0x3ec], 1
lea eax, [ebp - 0x254]
push eax
push ebx
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x522858
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5229b4
lea eax, [ebp - 0x260]
mov edx, 3
call fcn.004077c0
lea eax, [ebp - 4]
call fcn.004077b8
ret
Function at 0x526418
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
nop
mov dword [ebp - 0x12], eax
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0xe], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [ebp - 0xa], eax
call fcn.005262ec
lea eax, [ebp - 0x12]
push eax
push 0
push 0x4a
mov eax, dword [0x560e34]
push eax
call sub.user32.dll_SendMessageW
mov ebx, eax
mov eax, dword [esi]
xor edx, edx
mov dword [esi], edx
call fcn.00405320
cmp ebx, 0x6c840001
jne 0x52646c
call fcn.004171ec
mov eax, ebx
and eax, 0xffff0000
cmp eax, 0x6c830000
je 0x526490
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x526544
call fcn.004f516c
mov word [ebp - 6], bx
xor esi, esi
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
call dword [ebp - 4]
call sub.kernel32.dll_GetTickCount_1
mov edx, eax
sub edx, ebx
cmp edx, 0xa
jb 0x5264e8
mov ebx, eax
mov edx, 1
movzx eax, word [ebp - 6]
call fcn.0052636c
mov esi, eax
mov eax, esi
sub ax, 2
je 0x5264e8
dec eax
sub ax, 2
jb 0x5264fc
movzx eax, si
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x5265a4
call fcn.004f516c
push 0xff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x52649d
mov edx, 2
movzx eax, word [ebp - 6]
call fcn.0052636c
movzx ebx, ax
mov edx, 3
movzx eax, word [ebp - 6]
call fcn.0052636c
movzx eax, ax
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
cmp si, 3
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x526d78
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x526d82
mov eax, dword [esp + 0x2000]
add esp, 4
mov edi, edx
mov esi, eax
nop
push 0x526e38
push 0x526e6c
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040c7d4
mov ebx, eax
test ebx, ebx
je 0x526e22
mov eax, esi
call fcn.00407854
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x526e22
test al, 0x10
je 0x526dd3
mov ebp, 0x2000000
jmp 0x526dd5
xor ebp, ebp
push 0
push ebp
push 3
push 0
push 7
push 0
mov eax, esi
call fcn.00407854
push eax
call sub.kernel32.dll_CreateFileW
mov ebp, eax
cmp ebp, 0xffffffff
je 0x526e22
push 0
push 0x1000
lea eax, [esp + 8]
push eax
push ebp
call ebx
mov ebx, eax
push ebp
call sub.kernel32.dll_CloseHandle_1
test ebx, ebx
jle 0x526e22
cmp ebx, 0xff0
jge 0x526e22
mov edx, edi
mov eax, esp
call fcn.00526c90
jmp 0x526e2b
mov eax, edi
mov edx, esi
call fcn.004077c8
add esp, 0x2000
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x526e88
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x20c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x526f1c
push dword fs:[eax]
mov dword fs:[eax], esp
nop
lea eax, [ebp - 0x208]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryW_1
mov ebx, eax
test ebx, ebx
jle 0x526ef0
cmp ebx, 0x104
jge 0x526ef0
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.004079c0
mov eax, dword [ebp - 0x20c]
mov edx, esi
call fcn.00526d78
jmp 0x526f03
mov eax, 0x526f38
call fcn.004f531c
mov eax, esi
xor edx, edx
call fcn.004077c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x526f23
lea eax, [ebp - 0x20c]
call fcn.004077b8
ret

Function at 0x526f60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5270b0
push dword fs:[eax]
mov dword fs:[eax], esp
nop
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00526d78
lea eax, [ebp - 8]
call fcn.00526e88
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x3c
call fcn.004048b0
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 0x800540
mov eax, 0x5270c0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
call fcn.00407854
mov dword [ebp - 0x3c], eax
mov eax, esi
call fcn.00407854
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
call fcn.00407854
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 1
lea eax, [ebp - 0x4c]
push eax
call sub.shell32.dll_ShellExecuteExW
test eax, eax
jne 0x52700c
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x4c7
jne 0x527002
call fcn.004171e4
mov eax, 0x5270d8
call fcn.004f5268
cmp dword [ebp - 0x14], 0
jne 0x52701c
mov eax, 0x527104
call fcn.004f5114
xor edx, edx
push ebp
push 0x52708e
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.00526a7c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x14]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x52702a
cmp eax, 0xffffffff
jne 0x527057
mov eax, 0x527158
call fcn.004f5268
call fcn.00526a7c
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x527077
mov eax, 0x527198
call fcn.004f5268
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x527095
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
Function at 0x5271c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x527290
push dword fs:[eax]
mov dword fs:[eax], esp
nop
mov dl, 1
mov eax, dword [0x526854]
call fcn.005272b8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x527269
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x5272a8
call fcn.00413a4c
mov edx, dword [ebp - 8]
mov eax, dword [0x55a294]
mov eax, dword [eax]
call fcn.004b9200
call fcn.00526a7c
call sub.user32.dll_GetFocus
mov edx, dword [0x55a294]
mov edx, dword [edx]
cmp eax, dword [edx + 0x170]
jne 0x52724c
push 0x7a
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x527253
call sub.user32.dll_WaitMessage
jmp 0x527226
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x527270
mov eax, dword [ebp - 4]
call fcn.00405320
ret

Function at 0x52cddc
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x52cde4
push ecx
push ebx
xor eax, eax
push ebp
push 0x52cf2f
push dword fs:[eax]
mov dword fs:[eax], esp
nop
lea eax, [ebp - 0x10]
call fcn.004f58ac
mov edx, dword [ebp - 0x10]
mov eax, 0x560ee4
call fcn.004077c8
lea eax, [ebp - 0x14]
mov ecx, dword [0x560ee4]
mov edx, 0x52cf48
call fcn.00407c94
mov eax, dword [ebp - 0x14]
call fcn.004fa254
mov eax, dword [0x55a364]
cmp byte [eax], 0
je 0x52ce40
mov eax, dword [0x560ee4]
call fcn.004f9950
lea edx, [ebp - 0x18]
mov eax, dword [0x560ee4]
call fcn.004bb98c
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0x52cf90
call fcn.00407c94
push 0
mov eax, dword [ebp - 4]
call fcn.00407854
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x52ced6
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov al, 0x36
call fcn.004f2c88
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.00412848
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.004bdff8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
mov ecx, 2
mov al, 0x68
call fcn.004f2c58
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x40e0d4]
call fcn.004171f8
call fcn.00405de0
lea eax, [ebp - 8]
call fcn.004fb070
cmp dword [ebp - 8], 0
je 0x52cf07
lea eax, [ebp - 0xc]
mov ecx, 0x52cfac
mov edx, dword [ebp - 4]
call fcn.00407c94
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0052cd80
mov eax, dword [ebp - 0xc]
call fcn.004fb0cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52cf36
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.004077c0
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.004077c0
ret
Function at 0x532d7c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
nop
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, 3
lea ebx, [ebp - 8]
lea esi, [ebp - 0xc]
lea edi, [ebp - 4]
movzx eax, byte [esi]
movzx edx, byte [ebx]
sub eax, edx
imul dword [ebp - 0x10]
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
movzx edx, byte [ebx]
add eax, edx
mov byte [edi], al
inc edi
inc esi
inc ebx
dec ecx
jne 0x532da2
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x534b38
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x534b64
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jae 0x534b6d
call fcn.0053384c
mov eax, 0xa
call 0x4be400
call fcn.0053384c
call fcn.00534b04
test al, al
jne 0x534b42
pop ebx
ret

Function at 0x535094
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
nop
mov eax, dword [0x559de8]
cmp dword [eax], 0
je 0x535140
mov eax, dword [0x559de8]
mov eax, dword [eax]
call fcn.00492e38
test al, al
je 0x535140
mov eax, dword [0x559de8]
mov eax, dword [eax]
cmp byte [eax + 0x1ea], 0
je 0x5350ea
cmp byte [ebx + 0x399], 0
jne 0x5350ea
mov eax, dword [0x55a294]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x5350ee
xor eax, eax
jmp 0x5350f0
mov al, 1
mov ebx, eax
push 0xfffffffffffffff0
mov eax, dword [0x559de8]
mov eax, dword [eax]
call fcn.00492a8c
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x10000000
setne al
cmp bl, al
je 0x535140
test bl, bl
je 0x53512c
push 5
mov eax, dword [0x559de8]
mov eax, dword [eax]
call fcn.00492a8c
push eax
call sub.user32.dll_ShowWindow
jmp 0x535140
push 0
mov eax, dword [0x559de8]
mov eax, dword [eax]
call fcn.00492a8c
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x5351f8
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
add esp, 0xffffffd8
nop
mov byte [0x561176], 0
push 0x5352d0
call sub.kernel32.dll_GetModuleHandleW_2
mov ebx, eax
push 0x5352ec
push ebx
call fcn.0040c7d4
test eax, eax
je 0x535285
lea edx, [esp + 4]
push edx
call eax
push 0x535314
push ebx
call fcn.0040c7d4
mov esi, eax
test esi, esi
je 0x53528f
push esp
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x53528f
cmp dword [esp], 0
je 0x53528f
call 0x4f4378
test al, al
je 0x53528f
push 0x535334
push ebx
call fcn.0040c7d4
test eax, eax
je 0x53528f
push 0x535368
push 0x535388
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040c7d4
test eax, eax
je 0x53528f
mov byte [0x561176], 1
jmp 0x53528f
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo_1
movzx eax, word [esp + 4]
sub ax, 1
jb 0x5352a8
sub ax, 5
je 0x5352b1
sub ax, 3
je 0x5352ba
jmp 0x5352c3
mov byte [0x5598f0], 1
jmp 0x5352ca
mov byte [0x5598f0], 3
jmp 0x5352ca
mov byte [0x5598f0], 2
jmp 0x5352ca
mov byte [0x5598f0], 0
add esp, 0x28
pop esi
pop ebx
ret
Function at 0x5353a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push 0
push 1
lea eax, [ebp - 4]
push eax
mov ecx, 0x535414
mov edx, 0x80000002
xor eax, eax
call fcn.004bd484
test eax, eax
jne 0x53540d
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x535468
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x535404
cmp dword [ebp - 0xc], 4
jne 0x535404
cmp dword [ebp - 8], 4
jne 0x535404
movzx eax, word [ebp - 0x10]
mov word [0x56118c], ax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov esp, ebp
pop ebp
ret

Function at 0x535610
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffdd0
nop
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x5356c0
movzx eax, byte [esp + 4]
shl eax, 0x18
movzx edx, byte [esp + 8]
shl edx, 0x10
or eax, edx
movzx edx, word [esp + 0xc]
or eax, edx
mov dword [0x561188], eax
cmp byte [0x561175], 0
je 0x5356c0
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x5356b1
mov dword [esp + 0x114], 0x11c
lea eax, [esp + 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x5356c0
movzx eax, byte [esp + 0x228]
shl eax, 8
movzx edx, byte [esp + 0x22a]
or ax, dx
mov word [0x56118c], ax
movzx eax, byte [esp + 0x22e]
mov byte [0x56118e], al
movzx eax, word [esp + 0x22c]
mov word [0x561190], ax
jmp 0x5356c0
cmp eax, 4
jne 0x5356c0
call fcn.005353a4
call fcn.00535480
add esp, 0x230
ret
Function at 0x541830
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x541a02
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 4]
mov ecx, 0x200
xor edx, edx
call fcn.00407904
push 0
movzx eax, byte [ebp + 8]
mov eax, dword [eax*4 + 0x559d6c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407854
mov ecx, eax
mov edx, esi
mov eax, ebx
call fcn.004bd484
test eax, eax
jne 0x5419e7
xor eax, eax
push ebp
push 0x5419dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [edi + 4]
mov eax, dword [edi]
xor ecx, ecx
call fcn.004ce600
xor ebx, ebx
mov esi, dword [ebp - 4]
test esi, esi
je 0x5418c1
sub esi, 4
mov esi, dword [esi]
mov dword [ebp - 0x18], esi
cmp byte [ebp + 8], 0
je 0x5418ee
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.0040826c
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov dword [ebp - 0x1c], eax
jmp 0x541910
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.0040826c
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumValueW
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
sub eax, 1
jb 0x541986
sub eax, 0xe9
je 0x54192a
sub eax, 0x19
je 0x5419c5
jmp 0x54197f
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x541941
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x10000
jl 0x541954
call fcn.00405ed4
jmp 0x5419e7
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x54196b
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00407904
jmp 0x5418b5
call fcn.00405ed4
jmp 0x5419e7
lea ecx, [ebx + 1]
mov edx, dword [edi + 4]
mov eax, dword [edi]
call fcn.004ce600
lea eax, [ebp - 4]
call fcn.0040826c
mov edx, eax
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x18]
call fcn.00407904
lea ecx, [ebp - 0x30]
mov eax, edi
mov edx, ebx
call fcn.004dff50
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
call fcn.004cc67c
inc ebx
jmp 0x5418b5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5419e3
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x541a09
lea eax, [ebp - 8]
mov edx, 2
call fcn.004077c0
ret
Function at 0x547438
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x5474bc
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x5474a4
mov ebx, esi
test ebx, ebx
je 0x54746a
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.00407854
push eax
push 1
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x5474d8
call fcn.00407c94
mov eax, dword [ebp - 8]
call fcn.00407854
push eax
push edi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
sete al
mov ebx, eax
jmp 0x5474a6
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5474c3
lea eax, [ebp - 8]
call fcn.004077b8
ret

Function at 0x54bcc0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x54bd69
push dword fs:[eax]
mov dword fs:[eax], esp
nop
push 0x54bd84
push ebx
push 0x54bd94
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00407d78
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004048b0
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00407854
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x54bd47
mov eax, dword [0x55a2a4]
mov eax, dword [eax + 0x1a8]
call fcn.0054bc14
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [ebp - 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54bd70
lea eax, [ebp - 4]
call fcn.004077b8
ret
Function at 0x54c70c
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x54c8fb
push dword fs:[eax]
mov dword fs:[eax], esp
nop
lea eax, [ebp - 0x10]
call fcn.004bd020
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004f572c
test al, al
jne 0x54c77a
xor eax, eax
push ebp
push 0x54c770
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
xor eax, eax
call fcn.004f5c20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54c77a
push 0
mov eax, dword [ebp - 4]
call fcn.00407854
push eax
mov eax, dword [0x561284]
call fcn.00407854
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x54c7a9
mov eax, dword [0x55a2a4]
mov eax, dword [eax + 0x1a4]
call fcn.0054bc14
push 0x80
mov eax, dword [ebp - 4]
call fcn.00407854
push eax
call sub.kernel32.dll_SetFileAttributesW
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x55dc40]
push eax
push 0
mov ecx, 0x54c90c
mov edx, 0x54c910
xor eax, eax
call fcn.0040d3dc
mov dword [ebp - 8], eax
push 0x54bdd8
push 0xfffffffffffffffc
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowLongW
mov dword [0x5612b0], eax
xor eax, eax
push ebp
push 0x54c8c4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x55a294]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.004bc9e8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x54c92c
call fcn.00413a4c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
call fcn.004bc8c8
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00407bd4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0054bcc0
mov dword [ebp - 0xc], eax
call fcn.0054bd9c
test al, al
jne 0x54c8a4
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x54c882
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54c8cb
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyWindow
ret