joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101bd909
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x34
mov dword [ebp - 8], 0
mov dword [0x101cc88c], 0x1b77
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x101cc890], 0x68b
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101cc88c], 0x1049
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x101bd98f
mov eax, 0x24e8
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
jmp 0x101bda96
mov dword [0x101cc88c], 0x3b73
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff7
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2], 0x64
je 0x101bda4c
jmp 0x101bd954
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
je 0x101bd9d0
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x31], cl
mov al, byte [ebp - 0x31]
test al, 1
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], edx
jne 0x101bd98f
jmp 0x101bd9d0
mov eax, dword [ebp - 0x2c]
mov dword [0x101cc88c], 0x162a
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x101bd954
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101bd954
mov dword [0x101cc890], 0xcc3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x101bd954
mov dword [0x101cc88c], 0x15d5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff6
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x38]
cmp word [eax + ecx*2], 0x64
je 0x101bd966
jmp 0x101bd954
mov dword [0x101cc88c], 0x1718
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x101bd954
mov eax, 0x2d23
mov ecx, 1
mov dword [0x101cc890], 0xfd3
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
jne 0x101bd954
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [0x101cc88c], ecx
add esp, 0x34
pop esi
pop ebp
ret
Function at 0x101be023
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x101cc898], 0
mov byte [0x101cc89c], 0
mov dword [0x101cc88c], 0x1769
mov dword [0x101cc894], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov ecx, 0x1769
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jmp 0x101be072
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add eax, 0xffffe280
mov dword [0x101cc88c], eax
mov eax, ecx
mov dl, al
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], dl
mov ecx, dword [0x101cc88c]
mov esi, ecx
add esi, 0xfffff237
mov dword [0x101cc890], esi
mov esi, dword [0x101cc894]
add esi, 1
mov dword [0x101cc894], esi
cmp esi, 0x100
mov edi, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jl 0x101be072
xor eax, eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xffffe7c2
mov dword [0x101cc88c], ecx
mov dword [0x101cc894], 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, 0x100
mov dword [0x101cc8a0], 0
mov dword [0x101cc890], 0x2161
mov edx, dword [0x101cc898]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x2c], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x101cc8a0], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x101cc898], edx
mov dword [0x101cc88c], 0x2438
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
mov cl, byte [ecx + edi]
mov byte [0x101cc89c], cl
mov dword [0x101cc88c], 0x1cf5
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x101cc89c]
mov edx, dword [0x101cc898]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x101cc88c], 0x1799
mov edx, dword [0x101cc894]
add edx, 1
mov dword [0x101cc894], edx
cmp edx, 0x100
mov dword [ebp - 0x28], edx
jl 0x101be0e3
mov dword [0x101cc88c], 0x27cb
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101be327
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101cc88c], 0x13
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x101be374
mov eax, dword [ebp - 0x30]
add eax, 0x1000
mov dword [0x101cc890], 0x1744
mov dword [ebp - 0x34], eax
mov dword [0x101cc88c], 0x1b4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
jmp 0x101be488
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x101c1322]
mov dl, byte [eax + 0x101c12f3]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x101be374
lea eax, [ebp - 0x20]
mov dword [0x101cc890], 0x1499
mov dword [0x101cc88c], 0x11f8
mov dword [ebp - 0x3c], eax
call fcn.101be4b8
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.101be5b2
xor ecx, ecx
mov dword [0x101cc88c], 0x23c5
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], ecx
je 0x101be488
mov eax, dword [ebp - 0x40]
mov dword [0x101cc890], 0x185a
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x101cc88c]
add ecx, 0xfffff955
mov dword [0x101cc88c], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x30], eax
call fcn.101bdef2
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x40], ecx
mov ecx, dword [ebp - 0x30]
mov dword [edx + 0x20], ecx
mov dword [0x101cc88c], 0xfffff3db
mov dword [0x101cc890], 0x9c
cmp ecx, 0
mov dword [ebp - 0x38], eax
jne 0x101be34a
mov eax, dword [ebp - 0x38]
add esp, 0x50
pop ebp
ret
Function at 0x101bee31
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp eax, 0
sete bl
mov edi, dword [0x101cc890]
mov dword [0x101cc894], 0
mov dword [0x101cc898], 0
mov dword [0x101cc8a4], 0
mov dword [0x101cc88c], 0xa9f
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x1d], bl
mov dword [ebp - 0x24], edi
xor eax, eax
mov cl, byte [ebp - 0x1d]
test cl, 1
mov edx, dword [ebp - 0x24]
mov esi, eax
mov edi, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], eax
jne 0x101beead
jmp 0x101beec2
mov eax, dword [ebp - 0x2c]
add eax, 0xffffe56e
mov dword [0x101cc88c], eax
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
mov esi, 0x100
mov dword [0x101cc88c], 0x1b0a
add ecx, 1
mov dword [ebp - 0x38], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x101cc894], edx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x3c]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x40], edx
cdq
idiv esi
mov dword [0x101cc898], edx
mov esi, dword [ebp - 0x40]
mov cl, byte [ecx + esi]
mov byte [0x101cc89c], cl
mov dword [0x101cc88c], 0x1ba7
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x101cc89c]
mov edx, dword [0x101cc898]
mov byte [edi + edx], cl
mov dword [0x101cc88c], 0x25da
mov edx, dword [0x101cc894]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101cc898]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x101cc8a4], ebx
mov dword [0x101cc88c], 0x4df
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x38]
mov ch, byte [edx + ebx]
mov byte [0x101cc8a9], ch
mov byte [0x101cc8aa], cl
xor ch, cl
mov byte [0x101cc8a8], ch
mov dword [0x101cc890], 0xd0
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
mov edx, dword [0x101cc890]
mov esi, edx
add esi, 0xffffe557
mov dword [0x101cc88c], esi
add ebx, 1
mov esi, dword [ebp - 0x10]
cmp ebx, esi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x2c], edx
je 0x101beead
mov eax, dword [0x101cc894]
mov ecx, dword [0x101cc898]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], edx
jmp 0x101beec2
Function at 0x101befe6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x101cc890]
add eax, 0x1601
mov dword [0x101cc890], eax
call fcn.10001092
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x101bf05e
jmp 0x101bf17e
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
mov dword [0x101cc890], 0x83d
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x94], edx
mov dword [0x101cc88c], 0x5f1
call fcn.101bd909
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
je 0x101bf121
jmp 0x101bf176
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x101cc88c], 0x3bb
mov dword [esp], eax
mov dword [esp + 0x14], ecx
call fcn.101be7b6
lea ecx, [0x101be2c4]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x48], 0x138400
mov edx, dword [0x101cc878]
mov dword [esp + 0x64], edx
mov edx, dword [0x101cc87c]
mov dword [esp + 0x60], edx
mov edx, dword [0x101cc880]
mov dword [esp + 0x84], edx
mov edx, dword [0x101cc884]
mov dword [esp + 0x88], edx
mov edx, dword [0x101cc888]
mov dword [esp + 0x38], edx
mov dword [0x101cc890], 0xc9d
mov dword [0x101cc88c], 0xc7
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
jne 0x101bf10d
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x1c], ecx
je 0x101bf018
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0xc], eax
jmp 0x101bf0e6
lea eax, [esp + 0x28]
add eax, 8
mov dword [0x101cc890], 0x17ac
mov dword [esp + 8], eax
lea eax, [esp + 0x38]
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.101be327
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x101cc88c]
add ecx, 0x122d
mov dword [0x101cc88c], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x405ab4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405b1a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004041cc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c60
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405b04
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b21
lea eax, [ebp - 0x10]
call fcn.00403f5c
ret

Function at 0x40ac28
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ac61
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040404c
jmp 0x40ac6a
mov eax, ebx
mov edx, esi
call fcn.00403fb0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ac74
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ac95
mov al, byte [esp]
jmp 0x40ac97
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b31c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b194
mov eax, dword [0x45108c]
cmp byte [eax], 0
je 0x40b398
mov eax, dword [0x450eac]
call fcn.00402acc
call fcn.00402824
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040849c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b3e0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b3ce
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x450e58]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x452664]
call fcn.00404fc8
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40bc34
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bd0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ff4
lea eax, [ebp - 8]
call fcn.0040446c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040441c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bcf4
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bced
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040441c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bcd7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bd1c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bcd7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bcf4
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bd11
lea eax, [ebp - 8]
call fcn.00403f5c
ret

Function at 0x40c188
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c1ec
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004041cc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407fb4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c1f3
lea eax, [ebp - 0xc]
call fcn.00403f5c
ret

Function at 0x41a31c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x452884
cmp dword [edi], 0
jne 0x41a398
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x452880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4503ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a2f4
lea eax, [esi + 5]
call fcn.0041a314
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a314
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41a36d
mov dword [0x452880], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41b5b4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41b5ba
ret
Function at 0x41d9fc
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 0x41da4d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41da34
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41da24
jmp 0x41da4d
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 0x41da35
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425a74
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004257f0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040441c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x425ad2
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x450fb8]
mov dl, 1
mov eax, dword [0x425714]
call fcn.0040b4dc
call fcn.00403998
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4291a4
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x4290f0
call sub.user32.dll_EnumWindows
ret

Function at 0x4292c4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x429341
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00428d24
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x4292e9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00428924
cmp dword [ebp - 4], 0
je 0x42932b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040441c
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429348
lea eax, [ebp - 4]
call fcn.00403f5c
ret
Function at 0x42c1bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x452b54], 0
je 0x42c30b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45102c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42c30b
mov eax, dword [0x452b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x452b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42c2da
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x452b54]
call fcn.004138ec
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42c2d2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42c2d2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42c2d2
mov eax, dword [ebp - 0x14]
call fcn.00434df4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42c2d2
push ebp
call fcn.0042c178
pop ecx
test al, al
jne 0x42c2d2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42c28e
mov eax, dword [ebp - 0x14]
call fcn.00433924
dec eax
jle 0x42c2d2
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403420
cmp byte [ebp - 1], 0
je 0x42c2d2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42c2d2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x452b58]
call fcn.0042b944
inc edi
dec ebx
jne 0x42c221
mov eax, dword [0x452b58]
cmp dword [eax + 8], 0
jle 0x42c2f2
mov eax, dword [0x452b58]
call fcn.0042b9d4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42c30b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042bfe0
pop ecx
test al, al
jne 0x42c30b
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f8ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x42f938
mov eax, esi
call fcn.00444ef4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42f938
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42f938
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x42fa77
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42f978
cmp eax, 0x108
ja 0x42f978
mov eax, esi
call fcn.00444ef4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42fa6e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42fa77
jmp 0x42fa6e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42fa57
cmp eax, 0x20a
ja 0x42fa57
test byte [esi + 0x50], 0x80
jne 0x42f9aa
sub eax, 0x203
je 0x42f9a7
sub eax, 3
je 0x42f9a7
sub eax, 3
jne 0x42f9aa
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42f9be
dec eax
je 0x42f9d3
dec eax
je 0x42f9f0
dec eax
je 0x42f9d3
jmp 0x42f9f7
mov ecx, ebx
mov eax, dword [0x45102c]
mov eax, dword [eax]
mov edx, esi
call fcn.0044e74c
jmp 0x42fa6e
cmp byte [esi + 0x5d], 1
jne 0x42f9e9
mov eax, esi
mov si, 0xffed
call fcn.00403420
jmp 0x42fa77
or word [esi + 0x54], 1
jmp 0x42fa6e
and word [esi + 0x54], 0xfffe
jmp 0x42fa6e
mov eax, dword [0x452b10]
cmp byte [eax + 0x20], 0
je 0x42fa6e
mov eax, dword [0x452b10]
cmp dword [eax + 0x1c], 0
je 0x42fa6e
mov eax, dword [ebx]
mov edx, dword [0x452b10]
cmp eax, dword [edx + 0x1c]
jne 0x42fa6e
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00444e38
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403420
jmp 0x42fa77
cmp eax, 0xb00b
jne 0x42fa6e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042e20c
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret