joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5bb858
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5bba03
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5bb9e4
mov dl, 1
mov eax, dword [0x487f08]
call fcn.004ab290
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00409700
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5bb9d3
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.00525000
test al, al
je 0x5bb9c6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5bba14
lea eax, [ebp - 0x394]
call fcn.00421ea4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x5bb9c6
xor eax, eax
push ebp
push 0x5bb9bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x5bba84
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5bb9a8
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a2e4
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5bb9a8
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a2e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bb9c6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5bb8c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.004ab1e0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bba0a
lea eax, [ebp - 0x3a0]
call fcn.00409700
ret

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

Disassembly:
push ecx
mov eax, dword [0x5f2768]
cmp byte [eax + 0xc5], 0
jne 0x5bc622
cmp dword [0x5f278c], 0
jne 0x5bc5e2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x5eb8f8]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5f278c], eax
cmp dword [0x5f2788], 0
jne 0x5bc5fd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5f2788], eax
cmp dword [0x5f2790], 0
jne 0x5bc622
push esp
push 0
push 0
mov eax, dword [0x5eb8f4]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5f2790], eax
pop edx
ret
Function at 0x5bca44
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5bca5b
add esp, 0xfffffff0
call fcn.00407fec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004bb94c
mov eax, dword [0x5eb970]
cmp byte [eax], 0
jne 0x5bca88
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x5ebc9c]
cmp word [eax + 2], 0
jne 0x5bcaa2
mov eax, dword [0x5ebc9c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005bed18
mov eax, dword [0x5ebdd0]
cmp word [eax + 2], 0
jne 0x5bcabc
mov eax, dword [0x5ebdd0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005bef1c
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4ecc10]
call fcn.004f2d74
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5bf494
mov dl, 1
mov eax, dword [0x48474c]
call fcn.00407950
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x48474c]
call fcn.00407950
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4f1638]
call fcn.004fc384
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5bcca4
mov eax, dword [0x5ebb54]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004fc81c
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5bf77c
mov dl, 1
mov eax, dword [0x48474c]
call fcn.00407950
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5ebb54]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00421ca4
test eax, eax
je 0x5bcbd6
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00421ae0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00421c88
test eax, eax
je 0x5bcbee
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040a2e4
push ebx
push 0x5be6f4
call fcn.005b2138
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x5eb970]
cmp byte [eax], 0
jne 0x5bcc3f
mov eax, ebx
call fcn.005bce88
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005bf9b4
mov eax, ebx
call fcn.005c0620
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5bcc9c
call fcn.00408044
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5bd1cc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5bd26e
cmp dword [ebx + 0xac], 0
jne 0x5bd268
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5bd108
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5bd268
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_GetWindowLongW
test al, 8
je 0x5bd22e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5bd268
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0xa8]
call fcn.004a6930
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5bd23d
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5bd4ac
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x5f2768]
cmp dword [eax + 0x188], 0
je 0x5bd626
test bl, bl
jne 0x5bd571
cmp dword [esi + 0xb4], 0
jne 0x5bd566
mov eax, esi
call fcn.005c0470
push eax
push 0x5bd3a0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5bd537
mov eax, dword [0x5f2768]
cmp byte [eax + 0xeb], 0
je 0x5bd537
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x5bd518
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5bd537
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5bd520
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5bd566
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.004a6930
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5bd546
inc dword [esi + 0xb4]
jmp 0x5bd626
cmp dword [esi + 0xb4], 0
jle 0x5bd626
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5bd626
cmp dword [esi + 0x58], 0
je 0x5bd5db
mov eax, dword [0x5f2768]
cmp byte [eax + 0xeb], 0
je 0x5bd5db
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5bd5bc
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5bd5db
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5bd5c4
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5bd60a
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.004a6930
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5bd5ea
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5aef98]
call fcn.0040b7e0
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5be280
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5be2dd
cmp byte [ebx + 0xeb], 0
jne 0x5be2dd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409888
mov eax, dword [esi]
test eax, eax
je 0x5be2ca
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5be2ea
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409ae0
jmp 0x5be2ea
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409ae0
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5bfb9c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5bfc0d
mov eax, esi
call fcn.0051eaec
test al, al
je 0x5bfc0d
mov eax, dword [ebx + 0x98]
call fcn.0051e71c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5bfc0d
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x118]
test al, al
je 0x5bfbfe
push 0
mov eax, dword [ebx + 0x98]
call fcn.0051e71c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x98]
call fcn.00515360
jmp 0x5bfc0d
mov cl, 1
mov edx, dword [ebx + 0x88]
mov eax, ebx
call fcn.005bf9d4
pop esi
pop ebx
ret
Function at 0x405d43
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x405d52
pop dword [ebp - 0xc]
mov eax, 0x57c2ac5c
sub eax, 0x57824f0a
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xf6bd568e
sub dword [ebp - 0x1c], 0xa86b1143
mov dword [ebp - 0x18], 0xd673c27e
sub dword [ebp - 0x18], 0xa4407639
mov dword [ebp - 0x14], 0x975059e5
sub dword [ebp - 0x14], 0x4b0415b7
mov dword [ebp - 0x10], 0xa0caefe4
add dword [ebp - 0x10], 0x5f35101c
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x50efefa5
add dword [ebp - 0x1c], 0x238279b1
mov dword [ebp - 0x18], 0x36136cb
sub dword [ebp - 0x18], 0xc1f4d556
mov dword [ebp - 0x14], 0x6e4fb375
add dword [ebp - 0x14], 0xf51fb8f7
mov dword [ebp - 0x10], 0xea7bd41
add dword [ebp - 0x10], 0xf15842bf
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x33cb1
push 0
call eax
mov ecx, 0x3b62
xor edx, edx
add edx, eax
mov edi, 0x7ee8f2d0
sub edi, 0x7ea592d0
add edi, dword [ebp - 0xc]
mov esi, 0x30039a39
add esi, 0x7cd0e1eb
xor dword [ebp - 8], edi
mov ebx, dword [edi]
xor ebx, esi
add dword [ebp - 4], edi
mov dword [edx], ebx
mov dword [ebp - 8], 0x16b213c0
add edx, 0xb1af95
sub edx, 0xb1af91
add edi, 0x3e84c098
add edi, 0xc17b3f6c
loop 0x405e66
add eax, 0xe05b
xor ebx, ebx
add ebx, eax
add eax, 0xf7870845
sub eax, 0xf7870840
mov ecx, 0x603bb3f0
sub ecx, 0x5ffbb3f0
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x406120
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422af4], 0
push esi
jne 0x406157
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406131
mov dword [ecx*4 + 0x422af0], eax
inc ecx
cmp ecx, 0x100
jl 0x40612c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406188
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422af0]
xor eax, esi
inc ecx
dec edx
jne 0x40616a
pop edi
not eax
pop esi
ret 0xc
Function at 0x6d3f1fda
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x6d3f1fe9
pop dword [ebp - 0x40]
mov eax, 0xfe9ab3e5
sub eax, 0x915b93fc
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x315fcbe0
sub dword [ebp - 0x50], 0xe30d8695
mov dword [ebp - 0x4c], 0x29f153e6
sub dword [ebp - 0x4c], 0xf7be07a1
mov dword [ebp - 0x48], 0x8de336ad
sub dword [ebp - 0x48], 0x4196f27f
mov dword [ebp - 0x44], 0x6d54c483
sub dword [ebp - 0x44], 0x6d54c483
lea eax, [ebp - 0x50]
push eax
mov eax, 0x2dfe89b7
add eax, 0x3f41f699
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x60cdf44d
sub dword [ebp - 0x50], 0xec5b8af7
mov dword [ebp - 0x4c], 0xafd5d652
add dword [ebp - 0x4c], 0x91968b23
mov dword [ebp - 0x48], 0x10f6f38d
add dword [ebp - 0x48], 0x527878df
mov dword [ebp - 0x44], 0xf3d691a6
sub dword [ebp - 0x44], 0xf3d691a6
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x1000c08b
sub eax, 0xa2c0403f
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x39724
push 0
call eax
mov ecx, 0xd156de4e
add ecx, 0x2ea9626a
mov esi, eax
mov edi, 0x5f26023
add edi, 0x674f07dd
add edi, dword [ebp - 0x40]
mov ebx, 0x88608dbd
sub ebx, 0xc52c32ae
add dword [ebp - 0x34], esi
mov edx, dword [edi]
xor dword [ebp - 0x30], esi
sub edx, ebx
add dword [ebp - 0x34], ebx
mov dword [esi], edx
xor dword [ebp - 0x10], esi
add esi, 4
add edi, 0xc4c14fa0
add edi, 0x3b3eb064
loop 0x6d3f210b
add eax, 0xbf664df2
add eax, 0x409aa7c1
xor ebx, ebx
add ebx, eax
add eax, 0xeaaaa2b9
add eax, 0x15555d4c
mov ecx, 0x6d3f0000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x6d3f378d
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x6d410030]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x6d3f3830
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.6d3f1fda
pop ecx
pop ecx
test eax, eax
je 0x6d3f3819
test ebx, ebx
je 0x6d3f380d
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.6d3f1fda
pop ecx
pop ecx
test eax, eax
jle 0x6d3f3819
push ebx
call fcn.6d3f5895
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.6d3f5874
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x6d3f37da
xor edi, edi
cmp ebx, edi
jne 0x6d3f3834
xor eax, eax
jmp 0x6d3f38a0
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x6d3f3863
call fcn.6d3f5895
pop ecx
cmp dword [ebp - 0x70], edi
je 0x6d3f3830
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x6d3f3830
call fcn.6d3f5895
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d3f3853
cmp dword [ebp - 0x70], edi
je 0x6d3f3896
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.6d3f5874
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d3f8259
add ebp, 0x9c
leave
ret
Function at 0x6d3f555d
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x294
mov eax, dword [0x6d410030]
xor eax, ebp
mov dword [ebp + 0x210], eax
mov eax, dword [ebp + 0x21c]
push ebx
push esi
push edi
push 0x10
pop edi
mov dword [ebp - 0x78], eax
call fcn.6d3f53ca
push 8
mov esi, eax
call fcn.6d3f582d
mov ebx, eax
pop ecx
lea eax, [ebp + 0xd0]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x80], ebx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x6d3f55c8
mov dword [ebx], eax
lea eax, [ebp + 0xfc]
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
test edi, edi
je 0x6d3f55cf
and dword [ebx + 4], 0
jmp 0x6d3f55e4
xor eax, eax
jmp 0x6d3f56af
lea eax, [ebp - 0x70]
push eax
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindNextFileA]
neg eax
sbb edi, edi
lea eax, [ebp - 0x44]
and edi, eax
test edi, edi
je 0x6d3f5695
push edi
call fcn.6d3f7a10
pop ecx
cmp eax, 4
jl 0x6d3f55bb
add eax, edi
cmp byte [eax - 4], 0x2e
jne 0x6d3f55bb
add eax, 0xfffffffd
push 0x6d40982c
push eax
mov dword [ebp - 0x74], eax
call fcn.6d3f8270
pop ecx
pop ecx
test eax, eax
je 0x6d3f562a
push 0x6d409828
push dword [ebp - 0x74]
call fcn.6d3f8270
pop ecx
pop ecx
test eax, eax
jne 0x6d3f55bb
push 0x3b
push edi
call fcn.6d3f93f0
pop ecx
pop ecx
test eax, eax
jne 0x6d3f55bb
push dword [ebp - 0x78]
call fcn.6d3f7a10
push edi
mov ebx, eax
call fcn.6d3f7a10
mov dword [ebp - 0x74], eax
add eax, ebx
push eax
call fcn.6d3f582d
lea ecx, [ebx - 1]
push ecx
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
push eax
call fcn.6d3f1fda
mov eax, dword [ebp - 0x74]
inc eax
push eax
push edi
mov edi, dword [ebp - 0x7c]
lea eax, [edi + ebx - 1]
push eax
call fcn.6d3f1fda
mov ecx, dword [esi + 4]
add esp, 0x24
inc ecx
call fcn.6d3f5420
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0x80]
mov dword [ecx + eax*4], edi
inc dword [esi + 4]
jmp 0x6d3f55bb
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindClose]
push dword [ebx + 4]
call fcn.6d3f5895
push ebx
call fcn.6d3f5895
pop ecx
pop ecx
mov eax, esi
mov ecx, dword [ebp + 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d3f8259
add ebp, 0x214
leave
ret

Function at 0x6d3f8259
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d410030]
jne 0x6d3f8263
repz ret
jmp fcn.6d3fe721

Function at 0x10150c03
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cwde
rcl ax, 0xa
mov dword [esp], esi
test ah, 0x66
push esp
sbb ax, ax
cmp cx, 0x454f
mov dword [esp], edi
lahf
stc
ror ah, 7
daa
push ebx
add eax, edx
push edx
aam 0x22
mov eax, dword [ebp + 8]
pushal
stc
test al, 0xdd
test eax, eax
push ebx
pushal
mov byte [esp], 0x34
push edi
lea esp, [esp + 0x48]
je 0x100f48cb
rcl dx, 1
pushal
mov esi, dword [eax + 0x3c]
sub dh, bh
and dh, 0x9d
rcl dh, cl
pushfd
add esi, eax
seta dl
mov edx, dword [esi + 0x78]
cmp bl, ch
mov byte [esp], bh
call fcn.1014d2ad
pushal
cmp ch, bl
shr ecx, 1
push 0x3a009c75
pushfd
push eax
pushfd
adc edx, edx
stc
sub ecx, 1
cmc
push ebx
shl edx, cl
test bl, bh
call fcn.1014ffc2
add eax, edx
push ecx
lea eax, [ebx + eax*4 + 0x3c0]
pushfd
mov byte [esp + 4], dl
call fcn.1014ef2a
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5db31f5
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x1495536d
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x6d4c64bc
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x6d4c650a
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d4c651b
push 0xd
pop eax
jmp 0x6d4c6545
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d4c651e
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x6d4c6ad6
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d4dc420]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d4d0741
mov ebx, eax
cmp ebx, esi
je 0x6d4c6b49
lea ecx, [ebp - 0x74]
call fcn.6d4c4db9
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d4cf9b2
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d4c6b61
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d4c6ad6
cmp eax, esi
jne 0x6d4c6b93
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], pe_nt_image_headers32
call ebx
test eax, eax
je 0x6d4c6b51
lea ecx, [ebp - 0x74]
call fcn.6d4c4db9
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d4c63e5
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d4c4db9
mov eax, esi
jmp 0x6d4c6b2f
Function at 0x6d4ca76d
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x6d4ca777
lea esi, [ecx - 0x78]
jmp 0x6d4ca779
xor esi, esi
lea eax, [esi + 0x84]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x50]
test esi, esi
je 0x6d4ca795
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8

Function at 0x6d4cadf2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
test eax, eax
je 0x6d4cae04
add eax, 0xffffff84
jmp 0x6d4cae06
xor eax, eax
and dword [ebp + 8], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
push 7
pop ecx
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x6d4d2c58
lea ecx, [eax + 4]
call fcn.6d4c8c68
test eax, eax
js 0x6d4cae6f
cmp dword [ebp + 8], 0
je 0x6d4cae6c
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor edi, edi
call esi
test ax, ax
jns 0x6d4cae44
inc edi
push 0x11
call esi
test ax, ax
jns 0x6d4cae50
add edi, 2
push 0x12
call esi
test ax, ax
jns 0x6d4cae5c
add edi, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x6d4cae6f
xor eax, eax
inc eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 8]
setne cl
mov esi, ecx
test eax, eax
je 0x6d4cae85
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
leave
ret 8