joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f0d88
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 0x5f0f38
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5f0f17
mov dl, 1
mov eax, dword [0x483a90]
call fcn.004af550
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040a06c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5f0f06
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.0054bb68
test al, al
je 0x5f0ef9
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5f0f48
lea eax, [ebp - 0x394]
call fcn.004263fc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x5f0ef9
xor eax, eax
push ebp
push 0x5f0ef2
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 0x5f0fb8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x5f0ed9
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040abf0
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 0x5f0ed9
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040abf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f0ef9
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5f0df9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004af478
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 0x5f0f3f
lea eax, [ebp - 0x3a0]
call fcn.0040a06c
pop eax
jmp eax

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

Disassembly:
push ecx
mov eax, dword [0x66ac2c]
cmp byte [eax + 0xc5], 0
jne 0x5f1bc2
cmp dword [0x66ac50], 0
jne 0x5f1b82
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x662610]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x66ac50], eax
cmp dword [0x66ac4c], 0
jne 0x5f1b9d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x66ac4c], eax
cmp dword [0x66ac54], 0
jne 0x5f1bc2
push esp
push 0
push 0
mov eax, dword [0x66260c]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x66ac54], eax
pop edx
ret
Function at 0x5f1fbc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5f1fd3
add esp, 0xfffffff0
call fcn.004088ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004bfdc8
mov eax, dword [0x662cf4]
cmp byte [eax], 0
jne 0x5f2000
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x19c], al
mov eax, dword [0x663200]
cmp word [eax + 2], 0
jne 0x5f201a
mov eax, dword [0x663200]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005f4480
mov eax, dword [0x6633d0]
cmp word [eax + 2], 0
jne 0x5f2034
mov eax, dword [0x6633d0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005f4898
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x50704c]
call fcn.0050dbc8
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5f4e44
mov dl, 1
mov eax, dword [0x47fd44]
call fcn.00408288
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x47fd44]
call fcn.00408288
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 + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x50c1bc]
call fcn.00518160
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5f2224
mov eax, dword [0x662ff8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0051867c
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5f5130
mov dl, 1
mov eax, dword [0x47fd44]
call fcn.00408288
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x662ff8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004261fc
test eax, eax
je 0x5f2147
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00426054
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004261e0
test eax, eax
je 0x5f215f
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040abf0
push ebx
push 0x5f3e54
call fcn.005e6714
mov dword [ebx + 0x198], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x662cf4]
cmp byte [eax], 0
jne 0x5f21b0
mov eax, ebx
call fcn.005f23ec
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.005f54d8
mov eax, ebx
call fcn.005f6190
mov byte [ebx + 0x19e], 0
mov byte [ebx + 0xf5], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5f221b
call fcn.00408904
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5f271c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5f27be
cmp dword [ebx + 0xac], 0
jne 0x5f27b8
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5f265c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5f27b8
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 0x5f277e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5f27b8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004aa328
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5f278d
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x66ac2c]
cmp dword [eax + 0x190], 0
je 0x5f2c69
test bl, bl
jne 0x5f2bbc
cmp dword [esi + 0xb4], 0
jne 0x5f2bb1
mov eax, esi
call fcn.005f5fe0
push eax
push 0x5f2a00
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5f2b82
mov eax, dword [0x66ac2c]
cmp byte [eax + 0xeb], 0
je 0x5f2b82
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5f2b63
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5f2b82
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 0x5f2b6b
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5f2bb1
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004aa328
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5f2b91
inc dword [esi + 0xb4]
jmp 0x5f2c69
cmp dword [esi + 0xb4], 0
jle 0x5f2c69
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5f2c69
cmp dword [esi + 0x58], 0
je 0x5f2c1e
mov eax, dword [0x66ac2c]
cmp byte [eax + 0xeb], 0
je 0x5f2c1e
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5f2bff
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5f2c1e
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 0x5f2c07
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5f2c4d
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004aa328
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5f2c2d
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5e2bb4]
call fcn.0040ced8
pop edi
pop esi
pop ebx
ret
Function at 0x5f3a60
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 0x5f3abd
cmp byte [ebx + 0xeb], 0
jne 0x5f3abd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a204
mov eax, dword [esi]
test eax, eax
je 0x5f3aaa
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5f3aca
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a45c
jmp 0x5f3aca
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a45c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5f56ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5f575d
mov eax, esi
call fcn.00545640
test al, al
je 0x5f575d
mov eax, dword [ebx + 0x98]
call fcn.005451d8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5f575d
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x160]
test al, al
je 0x5f574e
push 0
mov eax, dword [ebx + 0x98]
call fcn.005451d8
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0053b510
jmp 0x5f575d
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005f54f8
pop esi
pop ebx
ret
Function at 0x5fe09c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x94], 0
jne 0x5fe122
mov eax, dword [ebx + 8]
call fcn.005451d8
mov ecx, eax
mov dl, 1
mov eax, dword [0x557c0c]
call fcn.0053eda0
mov dword [ebx + 0x94], eax
mov esi, dword [ebx + 0x94]
xor edx, edx
mov eax, esi
call fcn.00565e30
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2d8], 0x5fd96c
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.005451d8
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.005451d8
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa4], 0
jne 0x5fe1a4
mov eax, dword [ebx + 8]
call fcn.005451d8
mov ecx, eax
mov dl, 1
mov eax, dword [0x557c0c]
call fcn.0053eda0
mov dword [ebx + 0xa4], eax
mov esi, dword [ebx + 0xa4]
mov dl, 1
mov eax, esi
call fcn.00565e30
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2d8], 0x5fd9b8
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa4]
call fcn.005451d8
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa4]
call fcn.005451d8
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5fe222
mov eax, dword [ebx + 8]
call fcn.005451d8
mov ecx, eax
mov dl, 1
mov eax, dword [0x558700]
call fcn.0053eda0
mov dword [ebx + 0x9c], eax
mov esi, dword [ebx + 0x9c]
mov byte [esi + 0x2b0], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.005451d8
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.005451d8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x60c1d4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x60c225
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x60c20c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x60c1fc
jmp 0x60c225
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x60c20d
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x621c74
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x66b0d8], 0
jne 0x621c8b
call fcn.00621c30
mov eax, edi
dec eax
test eax, eax
jl 0x621cb3
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x66acd8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x621c95
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x624d0c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x624d3d
dec al
je 0x624d78
dec al
je 0x624dbc
dec al
je 0x624e2e
jmp 0x624ec9
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x624ec9
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x624d4d
jmp 0x624ec9
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x624ec9
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
movzx ecx, al
mov ecx, dword [ebx + ecx*4 + 0x40]
add dl, byte [ecx + esi]
and dl, 0xff
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x624d88
jmp 0x624ec9
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x624ec9
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
jbe 0x624def
xor edx, edx
mov dword [esp + 4], edx
jmp 0x624e04
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov ebp, dword [ebx + edx*4 + 0x40]
movzx edx, byte [ebp + esi]
add eax, dword [esp + 4]
sar eax, 1
jns 0x624e1c
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x624dcc
jmp 0x624ec9
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x624ec9
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
ja 0x624e95
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 8], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 8]
push eax
movzx eax, byte [esp + 8]
pop edx
call fcn.00621cbc
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [esp]
and al, 0xff
mov byte [edx + esi], al
inc esi
dec edi
jne 0x624e4a
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x648960
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x648a6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x66b1cc]
call fcn.005eefe8
push 0x648a88
push ebx
push 0x648a98
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040ae28
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00407aa8
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], di
mov eax, dword [0x663378]
mov eax, dword [eax]
call fcn.005f4030
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
call fcn.00425d88
mov eax, dword [ebp - 0x5c]
call fcn.0040ab3c
push eax
push 0
push 0x30
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040ab3c
push eax
push 0
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
test bl, bl
je 0x648a41
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
push 0x66b46c
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x66b1cc]
call fcn.005eeff0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x648a72
lea eax, [ebp - 0x5c]
call fcn.0040a06c
lea eax, [ebp - 4]
call fcn.0040a06c
pop eax
jmp eax
Function at 0x403940
Capabilities:
Accept command line arguments

Disassembly:
push edi
mov edi, edx
test eax, eax
jne 0x40396e
sub esp, 0x104
mov ecx, esp
push 0x104
push ecx
push 0
call sub.kernel32.dll_GetModuleFileNameA
xchg ecx, eax
mov edx, esp
mov eax, edi
call fcn.00401668
add esp, 0x104
pop edi
ret
push eax
call sub.kernel32.dll_GetCommandLineA
pop ecx
inc ecx
call fcn.0040b964
mov edx, eax
call fcn.0040b974
loop 0x403976
mov ecx, eax
sub ecx, edx
cmp ecx, 2
jl 0x40399a
cmp byte [edx], 0x22
jne 0x40399a
cmp byte [eax - 1], 0x22
jne 0x40399a
inc edx
dec eax
sub eax, edx
xchg ecx, eax
xchg edi, eax
call fcn.00401668
pop edi
ret

Function at 0x4039a8
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
xor eax, eax
mov dword [esp + 4], eax
push 0x4001
push 0x160
lea eax, [esp + 8]
push eax
push 0
mov eax, ebx
call fcn.004019e4
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop ebx
ret

Function at 0x403e5c
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
xor eax, eax
mov dword [esp + 4], eax
push 0x4011
push 0x160
lea eax, [esp + 8]
push eax
push 0x10
mov eax, ebx
call fcn.004019e4
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop ebx
ret

Function at 0x4045dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.004019e4
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
sete al
pop ebp
ret

Function at 0x406ad4
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffea0
mov ebx, edx
mov esi, eax
call fcn.00409138
mov eax, 0x4000
test bl, bl
je 0x406af1
or eax, 1
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x406b28
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
setne bl
test bl, bl
je 0x406b1d
mov edx, esi
xchg edx, eax
call fcn.0040a6ac
mov byte [esi + 0x43], 1
mov eax, ebx
add esp, 0x160
pop esi
pop ebx
ret

Function at 0x407b00
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, ebx
call fcn.00401ba4
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x407b4f
push 0xd
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x407b4a
push 0xd
call sub.user32.dll_GetClipboardData
mov esi, eax
test esi, esi
je 0x407b4a
push esi
call sub.kernel32.dll_GlobalLock
mov edi, eax
test edi, edi
je 0x407b4a
mov eax, ebx
mov edx, edi
call fcn.00401cb4
push esi
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_CloseClipboard
pop edi
pop esi
pop ebx
ret
Function at 0x408cbc
Capabilities:
Get file attributes

Disassembly:
push ebx
push eax
push 0x8001
call sub.kernel32.dll_SetErrorMode
xchg ebx, eax
call sub.kernel32.dll_GetFileAttributesA
inc eax
je 0x408cd7
dec eax
and al, 0x10
setne al
xchg ebx, eax
push eax
call sub.kernel32.dll_SetErrorMode
xchg ebx, eax
pop ebx
ret

Function at 0x4097a4
Capabilities:
Hide graphical window

Disassembly:
and byte [eax + 0x27], 0xef
test dl, dl
je 0x4097b0
or byte [eax + 0x27], 0x10
mov ecx, dword [eax + 0x1c]
jecxz 0x4097c9
push eax
je 0x4097ca
call dword [0x416134]
pop eax
push 5
push dword [eax + 0x1c]
call sub.user32.dll_ShowWindow
ret
and byte [eax + 0x37], 0xfe
push 0
push ecx
call sub.user32.dll_ShowWindow
pop eax
call dword [0x416134]
ret

Function at 0x40aef0
Capabilities:
Capture screenshot

Disassembly:
push ebx
mov ebx, eax
call fcn.0040ae08
je 0x40af22
mov eax, ebx
push edx
call fcn.004071d0
pop edx
cmp eax, edx
je 0x40af22
test edx, edx
mov eax, ebx
jne 0x40af14
pop ebx
inc edx
jmp fcn.004071c0
mov byte [ebx + 0x49], dl
xor edx, edx
call fcn.004071c0
xchg ebx, eax
cmp eax, 0
pop ebx
jne fcn.0040af40
ret
Function at 0x40ba1c
Capabilities:
Get file attributes

Disassembly:
call fcn.00402f18
push eax
call sub.kernel32.dll_GetFileAttributesA
inc eax
je 0x40ba30
dec eax
and al, 0x10
sete al
ret

Function at 0x40bac0
Capabilities:
Get common file path

Disassembly:
push ebx
xchg ebx, eax
sub esp, 0x104
push esp
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
mov eax, ebx
mov edx, esp
call fcn.00401768
mov edx, ebx
mov eax, dword [edx]
call fcn.00403aec
add esp, 0x104
pop ebx
ret
Function at 0x4119d4
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.0040126c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x4126e8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x104], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4127b9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x100]
mov edx, pe_nt_image_headers32
call fcn.00402afc
push pe_nt_image_headers32
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x104]
mov edx, ebx
call fcn.00401758
lea eax, [ebp - 0x104]
mov edx, 0x4127d0
call fcn.004017f4
mov eax, dword [ebp - 0x104]
call fcn.004019e4
push eax
call sub.kernel32.dll_QueryDosDeviceA
test eax, eax
jbe 0x41278f
push esi
lea eax, [ebp - 0x108]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.004017a4
mov eax, dword [ebp - 0x108]
mov ecx, pe_nt_image_headers32
mov edx, 5
call fcn.00401a40
jmp 0x41279b
mov eax, esi
mov edx, 0x4127dc
call fcn.004015d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4127c0
lea eax, [ebp - 0x108]
mov edx, 2
call fcn.004015a0
ret