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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x452610]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4525f1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452600
or bl, 4
test esi, 0x20000000
je 0x45260b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458cb8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458cca
add esp, 0xfffffff0
call fcn.004035cc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419540
mov eax, dword [0x474830]
mov dword [eax + 4], ebx
mov dword [eax], 0x45905c
mov eax, dword [0x47483c]
mov dword [eax + 4], ebx
mov dword [eax], 0x459068
mov eax, ebx
call fcn.00459074
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411820]
call fcn.00403278
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411820]
call fcn.00403278
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411820]
call fcn.00403278
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411820]
call fcn.00403278
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411820]
call fcn.00403278
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, 0x455490
push eax
push 0
push 0
mov eax, dword [0x474990]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41afbc]
call fcn.0041c730
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41afbc]
call fcn.0041c730
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41afbc]
call fcn.0041c730
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00459494
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459370
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459370
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459370
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458e07
call fcn.00403624
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x459154
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 0x4592ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4592e0
mov dl, 1
mov eax, dword [0x411c3c]
call fcn.00403278
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ff8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4592cf
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.004464d8
test al, al
je 0x4592c2
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, 0x459310
lea eax, [ebp - 0x254]
call fcn.00408cfc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4592c2
xor eax, eax
push ebp
push 0x4592bb
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 0x459348
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4592a4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404268
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 0x4592a4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404268
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4592c2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4591c5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415730
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 0x459306
lea eax, [ebp - 0x260]
call fcn.00403ff8
ret

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

Disassembly:
push ecx
mov eax, dword [0x475bb0]
cmp byte [eax + 0xa5], 0
jne 0x459ca5
cmp dword [0x475bc8], 0
jne 0x459c66
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459bf0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x475bc8], eax
cmp dword [0x475bc4], 0
jne 0x459c81
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x475bc4], eax
cmp dword [0x475bcc], 0
jne 0x459ca5
push esp
push 0
push 0
push 0x459b94
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x475bcc], eax
pop edx
ret
Function at 0x459d9c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459db3
add esp, 0xfffffff0
call fcn.004035cc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419540
mov eax, dword [0x47497c]
cmp word [eax + 2], 0
jne 0x459ddb
mov eax, dword [0x47497c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b504
mov eax, dword [0x474a2c]
cmp word [eax + 2], 0
jne 0x459df5
mov eax, dword [0x474a2c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b6fc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411820]
call fcn.00403278
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411820]
call fcn.00403278
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 [0x41ba9c]
call fcn.0042327c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x459f7c
mov eax, dword [0x4748a0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042364c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45bc9c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4748a0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040c3c4
test eax, eax
je 0x459eea
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004086f0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c3ec
test eax, eax
je 0x459efe
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.00404268
mov eax, dword [0x47477c]
cmp byte [eax], 0
jne 0x459f32
mov eax, ebx
call fcn.0045a0a4
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.0045be78
mov eax, ebx
call fcn.0045c83c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459f72
call fcn.00403624
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a324
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x475bb0]
cmp dword [eax + 0x30], 0
je 0x45a3ce
cmp dword [ebx + 0x94], 0
jne 0x45a3c8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a2b4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a3c8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45a38e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a3c8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413b88
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a39d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45af30
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45af65
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004040e8
jmp 0x45af72
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040404c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45c054
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c095
mov eax, esi
call fcn.00441a7c
test al, al
je 0x45c095
mov eax, dword [ebx + 0x84]
call fcn.00441778
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c095
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441778
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45f75c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45f78a
mov eax, ebx
call fcn.00460210
cmp dword [ebx + 0x40], 0
je 0x45f783
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45f7fb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45f7ed
cmp dword [ebx + 8], 0
je 0x45f7ac
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45f7be
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45f7ed
cmp dword [ebx + 8], 0
je 0x45f79f
cmp eax, 3
je 0x45f7d1
dec eax
jne 0x45f79f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45f79f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45f79f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45f819
cmp dword [ebx + 0x14], 0xcc
je 0x45f819
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045f824
pop ebx
ret
Function at 0x46fff0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x10c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x470079
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetLogicalDriveStringsA
lea ebx, [ebp - 0x105]
jmp 0x47005b
push ebx
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x470051
lea eax, [ebp - 0x10c]
mov edx, ebx
call fcn.004041f0
mov edx, dword [ebp - 0x10c]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, ebx
call fcn.004086cc
inc eax
mov ebx, eax
cmp byte [ebx], 0
jne 0x47002c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470080
lea eax, [ebp - 0x10c]
call fcn.00403ff8
ret

Function at 0x4700c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004044a8
mov eax, dword [ebp - 8]
call fcn.004044a8
xor eax, eax
push ebp
push 0x47022f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp - 4], 0
je 0x470214
mov eax, dword [ebp - 4]
call fcn.004042b8
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
jne 0x47012c
mov eax, dword [ebp - 4]
call fcn.004042b8
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00404558
mov edx, dword [ebp - 4]
mov eax, 0x47024c
call fcn.004045fc
test eax, eax
jne 0x470152
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404090
lea eax, [ebp - 0x10]
call fcn.00403ff8
jmp 0x470194
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x47024c
call fcn.004045fc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404518
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x47024c
call fcn.004045fc
mov edx, eax
inc edx
mov ecx, 0x7fffffff
mov eax, dword [ebp - 4]
call fcn.00404518
mov eax, dword [ebp - 0xc]
call fcn.0047062c
mov esi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.004044b8
push eax
push esi
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x470214
cmp dword [ebp - 8], 0
jne 0x4701e9
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push edi
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
jmp 0x47020b
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push edi
push 0
mov eax, dword [ebp - 8]
call fcn.004044b8
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470236
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040401c
ret
Function at 0x470250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004044a8
mov eax, dword [ebp - 8]
call fcn.004044a8
xor eax, eax
push ebp
push 0x4703fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
cmp dword [ebp - 4], 0
je 0x4703d4
mov eax, dword [ebp - 4]
call fcn.004042b8
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
jne 0x4702be
mov eax, dword [ebp - 4]
call fcn.004042b8
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00404558
mov edx, dword [ebp - 4]
mov eax, 0x470418
call fcn.004045fc
test eax, eax
jne 0x4702e4
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404090
lea eax, [ebp - 0x14]
call fcn.00403ff8
jmp 0x470326
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x470418
call fcn.004045fc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404518
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x470418
call fcn.004045fc
mov edx, eax
inc edx
mov ecx, 0x7fffffff
mov eax, dword [ebp - 4]
call fcn.00404518
mov eax, dword [ebp - 0x10]
call fcn.0047062c
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x14]
call fcn.004044b8
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4703d4
cmp dword [ebp - 8], 0
jne 0x47035c
xor ebx, ebx
jmp 0x470366
mov eax, dword [ebp - 8]
call fcn.004044b8
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4703cb
mov eax, dword [ebp - 0x20]
call fcn.004026bc
mov edi, eax
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4703c4
cmp esi, dword [ebp - 0x18]
jne 0x4703bb
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov byte [ebp - 9], 1
jmp 0x4703cb
mov eax, edi
call fcn.004026dc
jmp 0x4703cb
mov eax, edi
call fcn.004026dc
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470403
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040401c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040401c
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x409134
Capabilities:
Delete file
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x4089d0
call fcn.00405134
mov eax, 0x409264
call fcn.0040604c
test al, al
je 0x4091a0
xor edx, edx
mov eax, 0x40927c
call fcn.00406070
mov eax, 0x40927c
call fcn.004046a4
push eax
call sub.kernel32.dll_DeleteFileA
mov edx, 0x409264
mov eax, 0x40f908
call fcn.0040318c
mov edx, 0x40927c
mov eax, 0x40f908
call fcn.0040333c
call fcn.00402de4
mov edx, 7
mov eax, 0x409290
call fcn.00406070
mov eax, 0x4092a4
call fcn.0040604c
test al, al
je 0x4091fc
xor edx, edx
mov eax, 0x4092c0
call fcn.00406070
mov eax, 0x4092c0
call fcn.004046a4
push eax
call sub.kernel32.dll_DeleteFileA
mov edx, 0x4092a4
mov eax, 0x40f908
call fcn.0040318c
mov edx, 0x4092c0
mov eax, 0x40f908
call fcn.0040333c
call fcn.00402de4
mov edx, 7
mov eax, 0x4092c0
call fcn.00406070
mov eax, 0x4092dc
call fcn.0040604c
test al, al
je 0x40921a
mov eax, 0x4092dc
call fcn.004046a4
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, 0x4092f8
call fcn.0040604c
test al, al
je 0x409238
mov eax, 0x4092f8
call fcn.004046a4
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, 0x409318
call fcn.0040604c
test al, al
je 0x409256
mov eax, 0x409318
call fcn.004046a4
push eax
call sub.kernel32.dll_DeleteFileA
call fcn.00404250
add bh, bh
invalid
Function at 0x40a6d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4948fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00489561
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a752
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048743b
mov eax, dword [eax]
push 0x641ca4
push eax
call fcn.004793c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004897ec
test bl, bl
je 0x40a752
push 0x641ca4
lea ecx, [esp + 0xc]
call fcn.00489b7c
push 0x641cb0
lea ecx, [esp + 0xc]
call fcn.00489b7c
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40a78e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004897ec
jmp 0x40a859
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40a812
lea edx, [esp + 0x7c]
push 0x641cac
push edx
call fcn.004793c4
add esp, 8
test eax, eax
je 0x40a812
lea eax, [esp + 0x7c]
push 0x641ca8
push eax
call fcn.004793c4
add esp, 8
test eax, eax
je 0x40a812
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40a7a2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004897ec
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40b050
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40b0b2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40b0c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49497b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x651118]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40b1f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b126
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004897ec
xor eax, eax
jmp 0x40b26f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00489929
push esi
lea ecx, [esp + 0xc]
call fcn.00489bb8
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40b24d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040b050
test eax, eax
jne 0x40b24d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0040b050
test eax, eax
jne 0x40b24d
lea eax, [esp + 0x14]
push 0x641cc0
push eax
call fcn.0047a460
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b22c
lea ecx, [esp + 0x14]
push 0x641cbc
push ecx
call fcn.0047a3e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b22c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b22f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004898d9
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40b13e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004897ec
xor eax, eax
jmp 0x40b26f
mov byte [esi], 0
push 0x641cb8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004897ec
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4