joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4695e0
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 0x46978b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46976c
mov dl, 1
mov eax, dword [0x417cdc]
call fcn.00403a74
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404878
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46975b
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.004573e4
test al, al
je 0x46974e
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, 0x46979c
lea eax, [ebp - 0x254]
call fcn.0040a4ec
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46974e
xor eax, eax
push ebp
push 0x469747
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 0x4697d4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x469730
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ae8
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 0x469730
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ae8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46974e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x469651
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c404
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 0x469792
lea eax, [ebp - 0x260]
call fcn.00404878
ret

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

Disassembly:
push ecx
mov eax, dword [0x4e4bec]
cmp byte [eax + 0xa5], 0
jne 0x46a131
cmp dword [0x4e4c04], 0
jne 0x46a0f2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46a07c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4e4c04], eax
cmp dword [0x4e4c00], 0
jne 0x46a10d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4e4c00], eax
cmp dword [0x4e4c08], 0
jne 0x46a131
push esp
push 0
push 0
push 0x46a020
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4e4c08], eax
pop edx
ret
Function at 0x46a228
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46a23f
add esp, 0xfffffff0
call fcn.00403dc8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042097c
mov eax, dword [0x4e3700]
cmp word [eax + 2], 0
jne 0x46a267
mov eax, dword [0x4e3700]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046b918
mov eax, dword [0x4e3878]
cmp word [eax + 2], 0
jne 0x46a281
mov eax, dword [0x4e3878]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046bb10
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417678]
call fcn.00403a74
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417678]
call fcn.00403a74
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 [0x422f50]
call fcn.0042abb8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46a408
mov eax, dword [0x4e3558]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042af88
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46c0c0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4e3558]
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.0040e80c
test eax, eax
je 0x46a376
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409ecc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e834
test eax, eax
je 0x46a38a
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.00404ae8
mov eax, dword [0x4e32cc]
cmp byte [eax], 0
jne 0x46a3be
mov eax, ebx
call fcn.0046a530
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.0046c29c
mov eax, ebx
call fcn.0046cc60
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46a3fe
call fcn.00403e20
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46a7b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4e4bec]
cmp dword [eax + 0x30], 0
je 0x46a85a
cmp dword [ebx + 0x94], 0
jne 0x46a854
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46a740
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46a854
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 0x46a81a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46a854
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.00419d30
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46a829
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46b3bc
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 0x46b3f1
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.00404968
jmp 0x46b3fe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048cc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46c478
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46c4b9
mov eax, esi
call fcn.00452988
test al, al
je 0x46c4b9
mov eax, dword [ebx + 0x84]
call fcn.00452684
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46c4b9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00452684
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46d1a4
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x4dc1cc]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x46d1e0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x46d1f8
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x46d1f1
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.004032f0
xor edx, edx
mov eax, 0x4dc3cc
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x46d262
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x46d216
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x46d5c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x46d5e1
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x46d5da
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x46d5f5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046cf8c
test bl, bl
jne 0x46d6c8
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x4e4c4c
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x46d62c
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x46d640
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046d4a0
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x46d672
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x46d621
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x46d695
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x46d6a6
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x46d6ba
jmp 0x46d783
cmp bl, 1
jne 0x46d783
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x4e4ca6
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x46d6e8
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x46d6fc
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046d4a0
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x46d72e
sub ebx, 6
inc dword [ebp - 8]
jne 0x46d6dd
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x46d755
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x46d766
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x46d77a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0046d010
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x46de08
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x46de11
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d28
xor eax, eax
push ebp
push 0x46deec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e394c]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.00402f90
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.00403434
call fcn.00402ab0
test eax, eax
jne 0x46dec9
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.004030e0
mov dx, word [ebp - 8]
test dx, dx
jbe 0x46dec3
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x4dc444]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x46de9f
cmp dword [ebp - 8], 0
jne 0x46de76
lea eax, [ebp - 0x154]
call fcn.00403100
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46def3
lea eax, [ebp - 4]
call fcn.00404878
ret

Function at 0x470d84
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x470db2
mov eax, ebx
call fcn.00471838
cmp dword [ebx + 0x40], 0
je 0x470dab
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x470e23
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x470e15
cmp dword [ebx + 8], 0
je 0x470dd4
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 0x470de6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x470e15
cmp dword [ebx + 8], 0
je 0x470dc7
cmp eax, 3
je 0x470df9
dec eax
jne 0x470dc7
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 0x470dc7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x470dc7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x470e41
cmp dword [ebx + 0x14], 0xcc
je 0x470e41
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.00470e4c
pop ebx
ret

Function at 0x4829dc
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 0x482a2d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x482a14
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x482a04
jmp 0x482a2d
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 0x482a15
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x490e38
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x490e62
cmp dword [ebx + 0x64], 0
jne 0x490e62
cmp dword [ebx + 0x6c], 0
jne 0x490e62
mov edi, esi
jmp 0x490ee9
cmp edi, 0xffffffff
jne 0x490e6a
dec edi
jmp 0x490ee9
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x490ee9
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00490234
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x490eb7
mov cx, word [esp]
sub cx, si
jmp 0x490eb9
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x490ea0
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x490edf
mov cx, word [esp]
sub cx, si
jmp 0x490ee1
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x490ec8
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x490f46
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.00490bd4
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x490f31
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x490f46
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x490e42
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49719c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4e4cdc
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4971be
shr eax, 1
xor eax, 0xedb88320
jmp 0x4971c0
shr eax, 1
dec edx
jne 0x4971ac
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4971a5
mov byte [0x4e50dc], 1
pop esi
pop ebx
ret

Function at 0x4971dc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4e50dc], 0
jne 0x4971f3
call fcn.0049719c
mov eax, edi
dec eax
test eax, eax
jl 0x49721c
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e4cdc]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4971fd
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x49d55c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x49d594]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x49d572
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x49d581
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x49d590
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x49de28
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x447aa8]
call fcn.00403c30
test al, al
je 0x49de6a
mov eax, dword [0x4e3824]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x49de6a
mov edx, dword [0x4e3824]
xor edx, edx
call fcn.00464dfc
push 0
mov eax, dword [0x4e3824]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x49e348
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416e14]
call fcn.00405230
xor eax, eax
push ebp
push 0x49e48c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4df4e8], 0
jne 0x49e39b
mov ecx, dword [0x4e32f8]
mov dl, 1
mov eax, dword [0x407dbc]
call fcn.0040d8cc
call fcn.00404230
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004032f0
mov eax, ebx
call fcn.004050e0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x49e49c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004062fc
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004050f0
test eax, eax
jle 0x49e433
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x49e42c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404b00
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404ae8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408d40
test eax, eax
jne 0x49e42c
mov ebx, 0x15
jmp 0x49e438
mov ebx, 0x10
jmp 0x49e438
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4df4e8]
call fcn.0049e244
mov eax, dword [ebp - 8]
call fcn.0049e244
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406314
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e493
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040489c
lea eax, [ebp - 0x10]
mov edx, dword [0x416e14]
call fcn.00405300
ret
Function at 0x4b3bf8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4b3c52
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004b3be8
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004a3274
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004a2e74
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3c59
lea eax, [ebp - 4]
call fcn.00404878
ret

Function at 0x4b8bcc
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407768
ret

Function at 0x4bb098
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bb209
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bb1e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404a60
lea eax, [ebp - 0x118]
mov edx, 0x4bb220
call fcn.00404b40
mov eax, dword [ebp - 0x118]
call fcn.00404d38
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4bb156
lea eax, [ebp - 0x111]
call fcn.00409e90
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404968
jmp 0x4bb15d
mov eax, esi
call fcn.00404878
cmp bl, 0x61
jae 0x4bb17e
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040e6e0
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.004048cc
jmp 0x4bb198
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040e654
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.004048cc
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4bb22c
call fcn.0040a56c
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.004048cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb1eb
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret