joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453924
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040415c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x453973
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004043cc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45b0dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45b114]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b0f5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b104
or bl, 4
test esi, 0x20000000
je 0x45b10f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4617bc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4617ce
add esp, 0xfffffff0
call fcn.004036b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cba8
mov eax, dword [0x46e7bc]
mov dword [eax + 4], ebx
mov dword [eax], 0x461b60
mov eax, dword [0x46e7c8]
mov dword [eax + 4], ebx
mov dword [eax], 0x461b6c
mov eax, ebx
call fcn.00461b78
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x414e4c]
call fcn.00403360
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x414e4c]
call fcn.00403360
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x414e4c]
call fcn.00403360
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x414e4c]
call fcn.00403360
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x414e4c]
call fcn.00403360
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45df94
push eax
push 0
push 0
mov eax, dword [0x46e918]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e624]
call fcn.0041fcc0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e624]
call fcn.0041fcc0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e624]
call fcn.0041fcc0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00461f98
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461e74
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461e74
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461e74
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46190b
call fcn.0040370c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x461c58
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x461e03
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x461de4
mov dl, 1
mov eax, dword [0x415268]
call fcn.00403360
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040415c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x461dd3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044fc8c
test al, al
je 0x461dc6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x461e14
lea eax, [ebp - 0x254]
call fcn.00409188
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x461dc6
xor eax, eax
push ebp
push 0x461dbf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x461e4c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x461da8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043cc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x461da8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461dc6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x461cc9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418d44
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461e0a
lea eax, [ebp - 0x260]
call fcn.0040415c
ret

Function at 0x462738
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x46fbc0]
cmp byte [eax + 0xa5], 0
jne 0x4627a9
cmp dword [0x46fbd8], 0
jne 0x46276a
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4626f4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46fbd8], eax
cmp dword [0x46fbd4], 0
jne 0x462785
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x46fbd4], eax
cmp dword [0x46fbdc], 0
jne 0x4627a9
push esp
push 0
push 0
push 0x462698
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x46fbdc], eax
pop edx
ret
Function at 0x4628a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4628b7
add esp, 0xfffffff0
call fcn.004036b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cba8
mov eax, dword [0x46e904]
cmp word [eax + 2], 0
jne 0x4628df
mov eax, dword [0x46e904]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463df4
mov eax, dword [0x46e9bc]
cmp word [eax + 2], 0
jne 0x4628f9
mov eax, dword [0x46e9bc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463fec
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x414e4c]
call fcn.00403360
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x414e4c]
call fcn.00403360
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41f02c]
call fcn.0042647c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x462a80
mov eax, dword [0x46e824]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042684c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46458c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46e824]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c8cc
test eax, eax
je 0x4629ee
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408b68
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c8f4
test eax, eax
je 0x462a02
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004043cc
mov eax, dword [0x46e6f8]
cmp byte [eax], 0
jne 0x462a36
mov eax, ebx
call fcn.00462ba8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00464768
mov eax, ebx
call fcn.0046512c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x462a76
call fcn.0040370c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46941c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
xor edx, edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040460c
lea eax, [ebp - 0x15c]
mov edx, dword [0x407368]
call fcn.00404ac8
xor eax, eax
push ebp
push 0x469627
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004028a0
call fcn.00402988
test eax, eax
jne 0x4695f0
lea ecx, [ebp - 0x15c]
mov edx, 0x3f
mov eax, 0x46963c
call fcn.00408894
test eax, eax
jne 0x4695e5
mov eax, dword [ebp - 0x150]
mov edx, 0x469648
call fcn.00404568
je 0x4695d2
mov eax, dword [ebp - 0x150]
mov edx, 0x469654
call fcn.00404568
je 0x4695d2
mov eax, dword [ebp - 0x154]
and eax, 0x10
cmp eax, 0x10
jne 0x469500
mov eax, dword [ebp - 0x150]
call fcn.0046941c
mov eax, 0x469658
call fcn.004028b4
call fcn.00402864
jmp 0x4695d2
lea edx, [ebp - 0x164]
mov eax, dword [ebp - 0x150]
call fcn.00408a28
mov eax, dword [ebp - 0x164]
lea edx, [ebp - 0x160]
call fcn.00408014
mov eax, dword [ebp - 0x160]
mov edx, 0x469664
call fcn.00404568
jne 0x4695d2
push 0
push dword [0x46e6cc]
lea eax, [ebp - 0x16c]
call fcn.00408b20
push dword [ebp - 0x16c]
push 0x469674
push dword [ebp - 0x150]
push 0x469680
lea eax, [ebp - 0x168]
mov edx, 5
call fcn.004044dc
mov eax, dword [ebp - 0x168]
call fcn.0040461c
push eax
call sub.KERNEL32.DLL_WinExec
push 0
push dword [0x46e6cc]
lea eax, [ebp - 0x174]
call fcn.00408b20
push dword [ebp - 0x174]
push 0x469674
push dword [ebp - 0x150]
push 0x469694
lea eax, [ebp - 0x170]
mov edx, 5
call fcn.004044dc
mov eax, dword [ebp - 0x170]
call fcn.0040461c
push eax
call sub.KERNEL32.DLL_WinExec
inc dword [0x46fe18]
lea eax, [ebp - 0x15c]
call fcn.004088e4
test eax, eax
je 0x4694a7
lea eax, [ebp - 0x15c]
call fcn.00408908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46962e
lea eax, [ebp - 0x174]
mov edx, 6
call fcn.00404180
lea eax, [ebp - 0x15c]
mov edx, dword [0x407368]
call fcn.00404b98
lea eax, [ebp - 4]
call fcn.0040415c
ret
Function at 0x4696a4
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff28
xor eax, eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4697e6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [0x46fe18], eax
push 0xc9
lea eax, [ebp - 0xcd]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
lea eax, [ebp - 4]
mov dl, byte [ebp - 0xcd]
call fcn.00404344
push dword [ebp - 4]
push 0x4697fc
push dword [0x46e6d0]
push 0x469818
lea eax, [ebp - 4]
mov edx, 4
call fcn.004044dc
mov eax, dword [ebp - 4]
call fcn.0040880c
test al, al
je 0x4697c0
mov eax, dword [ebp - 4]
call fcn.0046941c
cmp dword [0x46fe18], 0
jle 0x4697c0
mov eax, dword [ebp - 4]
call fcn.0040441c
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.004046bc
push 0
push dword [0x46e6cc]
push 0x469824
push dword [0x46e6d0]
push 0x46983c
lea eax, [ebp - 0xd4]
mov edx, 4
call fcn.004044dc
mov eax, dword [ebp - 0xd4]
call fcn.0040461c
push eax
call sub.KERNEL32.DLL_WinExec
push 0
push dword [0x46e6cc]
push 0x469824
push dword [0x46e6d0]
push 0x469850
lea eax, [ebp - 0xd8]
mov edx, 4
call fcn.004044dc
mov eax, dword [ebp - 0xd8]
call fcn.0040461c
push eax
call sub.KERNEL32.DLL_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4697ed
lea eax, [ebp - 0xd8]
mov edx, 2
call fcn.00404180
lea eax, [ebp - 4]
call fcn.0040415c
ret

Function at 0x469860
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
xor eax, eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x15c]
mov edx, dword [0x407368]
call fcn.00404ac8
xor eax, eax
push ebp
push 0x46997a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x257]
xor ecx, ecx
mov edx, 0xfb
call fcn.00402d88
push 0xffffffffffffffff
push 8
lea eax, [ebp - 0x257]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
lea eax, [ebp - 4]
lea edx, [ebp - 0x257]
mov ecx, 0xfb
call fcn.004043cc
lea eax, [ebp - 4]
mov edx, 0x469990
call fcn.00404424
lea eax, [ebp - 0x25c]
mov ecx, 0x46999c
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x15c]
mov edx, 0x3f
call fcn.00408894
test eax, eax
jne 0x469938
lea eax, [ebp - 0x260]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x260]
call fcn.00408924
lea eax, [ebp - 0x15c]
call fcn.004088e4
test eax, eax
je 0x46990a
lea eax, [ebp - 0x15c]
call fcn.00408908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469981
lea eax, [ebp - 0x260]
mov edx, 2
call fcn.00404180
lea eax, [ebp - 0x15c]
mov edx, dword [0x407368]
call fcn.00404b98
lea eax, [ebp - 4]
call fcn.0040415c
ret
Function at 0x4699a4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa3c
push ebx
xor edx, edx
mov dword [ebp - 0x5c0], edx
mov dword [ebp - 0x5c4], edx
mov dword [ebp - 0x5bc], edx
mov dword [ebp - 0x5b8], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
lea eax, [ebp - 0x16c]
mov edx, dword [0x407368]
call fcn.00404ac8
xor eax, eax
push ebp
push 0x469bc5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040415c
lea edx, [ebp - 8]
mov eax, dword [0x46e754]
call fcn.004686c0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ecx, 0x469bd4
call fcn.00405ac0
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, 0x469be4
call fcn.00405ac0
push 0xffffffffffffffff
push 8
lea eax, [ebp - 0x267]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
lea eax, [ebp - 4]
lea edx, [ebp - 0x267]
mov ecx, 0xfb
call fcn.004043cc
lea eax, [ebp - 4]
mov edx, 0x469bfc
call fcn.00404424
lea eax, [ebp - 0x5b8]
mov ecx, 0x469c08
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x5b8]
lea ecx, [ebp - 0x16c]
mov edx, 0x3f
call fcn.00408894
test eax, eax
jne 0x469b63
lea eax, [ebp - 0x5bc]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x5bc]
lea edx, [ebp - 0x5b2]
mov ecx, 0x20a
call fcn.00404f34
push 0
lea eax, [ebp - 0x5b2]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
push 2
lea eax, [ebp - 0x3a8]
push eax
push 0xfb
lea eax, [ebp - 0x267]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x267]
mov ecx, 0xfb
call fcn.004043cc
mov eax, dword [ebp - 0x14]
call fcn.004087fc
test al, al
je 0x469b50
lea edx, [ebp - 0x5c4]
mov eax, dword [ebp - 0x14]
call fcn.00408a28
mov eax, dword [ebp - 0x5c4]
lea edx, [ebp - 0x5c0]
call fcn.00408014
mov eax, dword [ebp - 0x5c0]
mov edx, 0x469c18
call fcn.00404568
jne 0x469b50
mov eax, ebx
mov edx, dword [ebp - 0x14]
call fcn.004041b0
lea eax, [ebp - 0x16c]
call fcn.00408908
jmp 0x469b6e
lea eax, [ebp - 0x16c]
call fcn.004088e4
test eax, eax
je 0x469a8f
lea eax, [ebp - 0x16c]
call fcn.00408908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469bcc
lea eax, [ebp - 0x5c4]
mov edx, 4
call fcn.00404180
lea eax, [ebp - 0x16c]
mov edx, dword [0x407368]
call fcn.00404b98
lea eax, [ebp - 0x14]
call fcn.0040415c
lea eax, [ebp - 0x10]
call fcn.00405a7c
lea eax, [ebp - 0xc]
call fcn.00405a7c
lea eax, [ebp - 8]
call fcn.00405a7c
lea eax, [ebp - 4]
call fcn.0040415c
ret
Function at 0x469c20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040460c
xor eax, eax
push ebp
push 0x469ca8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0040415c
mov eax, dword [ebp - 4]
call fcn.0040441c
mov ebx, eax
test ebx, ebx
jbe 0x469c83
mov esi, 1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dl, byte [edx + esi - 1]
xor dl, 1
call fcn.00404344
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.00404424
inc esi
dec ebx
jne 0x469c62
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.004041b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469caf
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404180
ret
Function at 0x469cb8
Capabilities:
Create process on windows
Delete file
Get common file path
Move file
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff14
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x469ee4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 0xc8
lea eax, [ebp - 0xd6]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
lea eax, [ebp - 8]
lea edx, [ebp - 0xd6]
mov ecx, 0xc9
call fcn.004043cc
lea eax, [ebp - 8]
mov edx, dword [0x46e6a8]
call fcn.00404424
lea edx, [ebp - 0xe0]
xor eax, eax
call fcn.00402ad4
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0xdc]
call fcn.00408014
mov eax, dword [ebp - 0xdc]
push eax
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 8]
call fcn.00408014
mov edx, dword [ebp - 0xe4]
pop eax
call fcn.00404568
je 0x469ebe
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
call fcn.004087fc
test al, al
jne 0x469ebe
push 0x40
lea edx, [ebp - 0xe8]
xor eax, eax
call fcn.00402ad4
mov ecx, dword [ebp - 0xe8]
mov dl, 1
mov eax, dword [0x415468]
call fcn.004192a8
mov ebx, eax
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x415468]
call fcn.004192a8
mov esi, eax
push 0
push 0
mov eax, ebx
call fcn.00418e14
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
sub eax, 1
sbb edx, 0
push edx
push eax
mov edx, ebx
mov eax, esi
call fcn.00419090
call fcn.00402b34
mov eax, 0xc8
call fcn.00402da8
add al, 0xa
mov byte [ebp - 0xd], al
lea edx, [ebp - 0xd]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, ebx
call fcn.00403390
mov eax, esi
call fcn.00403390
push 7
mov eax, dword [ebp - 8]
call fcn.0040461c
mov ebx, eax
push ebx
call sub.KERNEL32.DLL_SetFileAttributesA
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [0x46e6b0]
call fcn.0040461c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
mov eax, dword [0x46e6ac]
call fcn.0040441c
mov esi, eax
push esi
mov eax, dword [0x46e6ac]
call fcn.0040461c
push eax
push 1
push 0
push 0x469ef8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
push 4
push 0
lea edx, [ebp - 0xec]
xor eax, eax
call fcn.00402ad4
mov eax, dword [ebp - 0xec]
call fcn.0040461c
push eax
call sub.KERNEL32.DLL_MoveFileExA
cmp dword [0x46fe18], 0
jle 0x469eae
push 0
push 0x469f04
call sub.KERNEL32.DLL_WinExec
jmp 0x469ebe
push 9
push 0
push 0
push ebx
push 0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469eeb
lea eax, [ebp - 0xec]
mov edx, 5
call fcn.00404180
lea eax, [ebp - 8]
call fcn.0040415c
ret
Function at 0x469f18
Capabilities:
Create process on windows
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc8
xor eax, eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x15c]
mov edx, dword [0x407368]
call fcn.00404ac8
xor eax, eax
push ebp
push 0x46a076
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
push 0
lea edx, [ebp - 0x22c]
xor eax, eax
call fcn.00402ad4
mov eax, dword [ebp - 0x22c]
call fcn.0040461c
push eax
call sub.KERNEL32.DLL_MoveFileExA
push 0xc8
lea eax, [ebp - 0x225]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
lea eax, [ebp - 4]
lea edx, [ebp - 0x225]
mov ecx, 0xc9
call fcn.004043cc
lea eax, [ebp - 4]
mov edx, 0x46a08c
call fcn.00404424
lea eax, [ebp - 0x230]
mov ecx, 0x46a098
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x15c]
mov edx, 0x3f
call fcn.00408894
lea eax, [ebp - 0x15c]
call fcn.004088e4
jmp 0x46a01d
lea eax, [ebp - 0x238]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x238]
call fcn.0040461c
mov edx, eax
lea eax, [ebp - 0x234]
call fcn.00404354
mov eax, dword [ebp - 0x234]
call fcn.00408924
lea eax, [ebp - 0x15c]
call fcn.004088e4
test eax, eax
je 0x469fe6
push 0
push 0x46a09c
call sub.KERNEL32.DLL_WinExec
mov byte [0x46fc15], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a07d
lea eax, [ebp - 0x238]
mov edx, 4
call fcn.00404180
lea eax, [ebp - 0x15c]
mov edx, dword [0x407368]
call fcn.00404b98
lea eax, [ebp - 4]
call fcn.0040415c
ret
Function at 0x46a0b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46a294
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.0040415c
lea eax, [ebp - 0x10]
call fcn.0040415c
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x46a2a0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
mov dword [ebp - 8], 0x400
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push 0x46a2d0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x46a137
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.004043cc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push 0x46a2dc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x46a17b
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.004043cc
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, 0x46a2f0
call fcn.00404468
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x46a2f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
mov dword [ebp - 8], 0x400
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push 0x46a2d0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x46a1d9
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.004043cc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
mov edx, dword [ebp - 0xc]
mov eax, 0x46a328
call fcn.00404760
dec eax
jne 0x46a204
lea eax, [ebp - 0xc]
mov ecx, 0x12
mov edx, 1
call fcn.004046bc
mov edx, dword [ebp - 0xc]
mov eax, 0x46a344
call fcn.00404760
dec eax
jne 0x46a226
lea eax, [ebp - 0xc]
mov ecx, 8
mov edx, 1
call fcn.004046bc
mov edx, dword [ebp - 0x10]
mov eax, 0x46a358
call fcn.00404760
dec eax
jne 0x46a258
lea eax, [ebp - 0x10]
mov ecx, 0xe
mov edx, 1
call fcn.004046bc
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, 0x46a370
call fcn.00404468
cmp dword [ebp - 0xc], 0
je 0x46a26d
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00404468
jmp 0x46a279
mov eax, ebx
mov edx, 0x46a37c
call fcn.004041b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a29b
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404180
ret