joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4468e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
movaps xmm0, xmmword [0x47d7f0]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x400
push edi
mov edi, 0xc
mov eax, dword [esi + 0x78]
lea edx, [esi + 0x1e54]
mov dword [esi + 0x70], eax
lea eax, [esi + 0x201c]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x44], 1
mov dword [esi + 0x40], 1
mov dword [esi + 0x3c], 1
mov dword [esi + 0x38], 1
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
movups xmmword [esi + 0x1e1c], xmm0
movups xmmword [esi + 0x1e2c], xmm0
nop word [eax + eax]
mov ecx, 0x10
nop word [eax + eax]
mov word [eax - 0x180], bx
mov word [eax], bx
add eax, 2
sub ecx, 1
jne 0x4469a0
mov word [edx - 0x18], bx
mov word [edx], bx
mov word [edx + 0x18], bx
mov word [edx + 0x30], bx
add edx, 2
sub edi, 1
jne 0x446990
mov eax, 0x4000400
lea edi, [esi + 0x219c]
mov ecx, 0x80
rep stosd dword es:[edi], eax
lea edi, [esi + 0x239c]
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x98]
mov eax, 0x300
add ecx, dword [esi + 0x94]
shl eax, cl
test eax, eax
je 0x446a12
mov edi, dword [esi + 0x50]
mov ecx, eax
shr ecx, 1
mov eax, 0x4000400
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, 0x4000400
lea edi, [esi + 0x249c]
mov ecx, 0x80
rep stosd dword es:[edi], eax
lea edi, [esi + 0x269c]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [esi + 0x289c]
rep stosd dword es:[edi], eax
lea edi, [esi + 0x2a9c]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov dword [esi + 0x1c], 0
lea eax, [esi + 0xbca4]
mov dword [esi + 0x18], 0
mov ecx, 0x800
mov dword [eax], 0x40000000
lea eax, [eax + 0x20]
sub ecx, 1
jne 0x446a64
mov dword [esi + 0x34], ecx
mov eax, 1
mov ecx, dword [esi + 0x9c]
mov edx, 0x100
shl eax, cl
mov ecx, dword [esi + 0x98]
dec eax
mov dword [esi + 0x4c], eax
mov eax, edx
shl eax, cl
mov ecx, dword [esi + 0x94]
shr edx, cl
sub eax, edx
pop edi
mov dword [esi + 0x48], eax
pop esi
pop ebx
pop ebp
ret

Function at 0x447140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ebx, ebx
mov edx, dword [ebp + 8]
mov edi, ebx
shr edi, 1
mov esi, ebx
shr esi, 2
mov eax, edi
and eax, 1
neg eax
shr eax, 4
movzx ecx, word [edx + esi*2 + 4]
and eax, 0x7f
shr ecx, 4
neg esi
xor ecx, eax
and esi, 0x7f0
movzx eax, word [edx + 2]
xor esi, eax
mov eax, dword [ebp + 0x14]
shr esi, 4
mov edx, dword [eax + ecx*4]
add edx, dword [eax + esi*4]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
add edx, dword [ebp + 0xc]
movzx ecx, word [eax + edi*2 + 8]
mov edi, dword [ebp + 0x10]
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [esi + eax*4]
add eax, edx
mov dword [edi + ebx*4], eax
mov eax, dword [esi + ecx*4]
add eax, edx
mov dword [edi + ebx*4 + 4], eax
add ebx, 2
cmp ebx, 8
jb 0x447148
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4481e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push esi
mov dword [eax + 0x34], 0
lea esi, [eax + 0x60]
mov word [eax + 0x1e], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x468], 0xffffffff
mov dword [eax + 0x46c], 0xffffffff
mov dword [eax + 0x30], 0x20
mov byte [eax + 0x1d], 1
mov dword [eax + 0x48], 4
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x448226
pop esi
pop ebp
ret

Function at 0x44a030
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call fcn.00465ba1
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x44a05b
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x45c02c
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x45c067

Function at 0x45c8e2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
and byte [ebp - 0x3c3], 0
invalid
invalid

Function at 0x45dcf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
invalid
test dword [edx - 8], ebx
invalid
Function at 0x4098a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
push ebx
lea ebx, [ebp - 0x30]
mov eax, 0x4baa38
call fcn.004aad94
mov word [ebx + 0x10], 8
xor edx, edx
mov dword [ebp - 4], edx
inc dword [ebx + 0x1c]
mov word [ebx + 0x10], 0x14
push 0xff
lea ecx, [ebp - 0x130]
push ecx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
lea eax, [ebp - 0x130]
push eax
call fcn.004aaa60
pop ecx
cmp eax, 3
jne 0x409930
mov word [ebx + 0x10], 0x20
lea edx, [ebp - 0x130]
lea eax, [ebp - 8]
call fcn.004b4dd8
inc dword [ebx + 0x1c]
mov ecx, 1
mov edx, 3
call fcn.004b517c
mov edx, eax
lea eax, [ebp - 4]
call fcn.004b4f68
dec dword [ebx + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004b4f38
jmp 0x409961
mov word [ebx + 0x10], 0x2c
lea edx, [ebp - 0x130]
lea eax, [ebp - 0xc]
call fcn.004b4dd8
mov edx, eax
inc dword [ebx + 0x1c]
lea eax, [ebp - 4]
call fcn.004b4f68
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b4f38
mov word [ebx + 0x10], 0x38
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004b4f68
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebx + 0x10], 0x44
push eax
lea eax, [ebp - 4]
dec dword [ebx + 0x1c]
call fcn.004b4f38
pop eax
mov word [ebx + 0x10], 0x38
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409aec
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff64
push 0x9c
push 0
lea eax, [esp + 8]
push eax
call fcn.004aa980
add esp, 0xc
mov dword [esp], 0x9c
push esp
call sub.KERNEL32.DLL_GetVersionExA
test eax, eax
jne 0x409b1b
xor eax, eax
jmp 0x409b28
cmp dword [esp + 4], 6
jb 0x409b26
mov al, 1
jmp 0x409b28
xor eax, eax
add esp, 0x9c
ret

Function at 0x409b30
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, 0x4bab54
push ebx
call fcn.004aad94
mov dword [ebp - 0xc], 1
lea edx, [ebp + 8]
lea eax, [ebp + 8]
call fcn.004b4e10
inc dword [ebp - 0xc]
xor ebx, ebx
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 0x14
mov edx, 0x4ba829
lea eax, [ebp - 4]
call fcn.004b4dd8
inc dword [ebp - 0xc]
lea edx, [ebp - 4]
lea eax, [ebp + 8]
call fcn.004b5490
test eax, eax
lea eax, [ebp - 4]
sete cl
and ecx, 1
mov edx, 2
push ecx
dec dword [ebp - 0xc]
call fcn.004b4f38
pop ecx
test cl, cl
je 0x409bb9
push 0
push 6
call sub.USER32.DLL_ExitWindowsEx
mov ebx, eax
test ebx, ebx
jne 0x409bed
push 0x4ba82c
call fcn.00409d50
pop ecx
jmp 0x409bed
push 0x4ba83a
call fcn.00409c18
pop ecx
test eax, eax
je 0x409be2
push 0
push 6
call sub.USER32.DLL_ExitWindowsEx
mov ebx, eax
test ebx, ebx
jne 0x409be2
push str.Shutting_down
call fcn.00409d50
pop ecx
push str.SeShutdownPrivilege
call fcn.00409cb4
pop ecx
test ebx, ebx
mov edx, 2
setne al
and eax, 1
push eax
lea eax, [ebp + 8]
dec dword [ebp - 0xc]
call fcn.004b4f38
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409fec
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
mov ebx, dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x10c]
push edx
push 0x104
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call sub.KERNEL32.DLL_SearchPathA
test eax, eax
je 0x40a0ba
lea edx, [ebp - 0x10c]
push edx
call sub.KERNEL32.DLL_lstrlenA
mov byte [ebp + eax - 0x10b], 0
xor ecx, ecx
lea edx, [ebp - 0x10c]
mov dword [ebp - 0x230], ecx
test ebx, ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], edx
je 0x40a084
push ebx
lea ecx, [ebp - 0x210]
push ecx
call sub.KERNEL32.DLL_lstrcpyA
lea eax, [ebp - 0x210]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov byte [ebp + eax - 0x20f], 0
lea edx, [ebp - 0x210]
mov dword [ebp - 0x224], edx
jmp 0x40a08c
xor ecx, ecx
mov dword [ebp - 0x224], ecx
mov word [ebp - 0x220], 0x14
lea eax, [ebp - 0x230]
push eax
call sub.SHELL32.DLL_SHFileOperationA
test eax, eax
je 0x40a0a9
xor eax, eax
jmp 0x40a0bc
push 0x80
lea edx, [ebp - 0x210]
push edx
call sub.KERNEL32.DLL_SetFileAttributesA
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a0c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
mov eax, 0x4bacd0
call fcn.004aad94
push 0x104
lea edx, [ebp - 0x130]
push edx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
mov word [ebp - 0x1c], 0x14
lea edx, [ebp - 0x130]
lea eax, [ebp - 8]
call fcn.004b4dd8
inc dword [ebp - 0x10]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 4], edx
lea edx, [ebp - 4]
inc dword [ebp - 0x10]
call fcn.0047747c
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004b4f38
mov word [ebp - 0x1c], 8
lea eax, [ebp - 0x130]
push eax
call fcn.004a8e60
pop ecx
lea edx, [ebp - 4]
mov word [ebp - 0x1c], 0x20
mov eax, dword [ebp + 8]
call fcn.004b4f68
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebp - 0x1c], 0x2c
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0x10]
call fcn.004b4f38
pop eax
mov word [ebp - 0x1c], 0x20
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x40a618
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
mov eax, 0x4baf34
call fcn.004aad94
mov eax, 0x105
lea edx, [ebp - 0x134]
push edx
push eax
call sub.KERNEL32.DLL_GetTempPathA
test eax, eax
je 0x40a692
mov word [ebp - 0x1c], 8
lea edx, [ebp - 0x134]
lea eax, [ebp - 4]
call fcn.004b4dd8
mov edx, eax
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
call fcn.004b4f68
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebp - 0x1c], 0x14
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0x10]
call fcn.004b4f38
pop eax
mov word [ebp - 0x1c], 8
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x40a6e1
mov word [ebp - 0x1c], 0x20
mov edx, 0x4ba900
lea eax, [ebp - 8]
call fcn.004b4dd8
inc dword [ebp - 0x10]
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.004b4f68
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebp - 0x1c], 0x2c
push eax
lea eax, [ebp - 8]
dec dword [ebp - 0x10]
call fcn.004b4f38
pop eax
mov word [ebp - 0x1c], 0x20
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x41bae8
Capabilities:
Check for time delay via gettickcount
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffeb0
push ebx
push esi
push edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], edx
mov eax, 0x4c2120
call fcn.004aad94
mov dword [ebp - 0x18], 1
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.004b4e10
inc dword [ebp - 0x18]
mov word [ebp - 0x24], 8
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 0x44], eax
jmp 0x41bcde
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x104c]
push edx
push 0x1000
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x41bb6f
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0x18]
call fcn.004b4f38
pop eax
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
jmp 0x41bd0d
mov ecx, dword [ebp - 0x3c]
shr ecx, 2
mov dword [ebp - 0x40], ecx
xor edi, edi
lea esi, [ebp - 0x104c]
cmp edi, dword [ebp - 0x40]
jae 0x41bcde
mov eax, dword [esi]
test eax, eax
je 0x41bcd1
push eax
push 0
push 0x100410
call sub.KERNEL32.DLL_OpenProcess
mov ebx, eax
mov word [ebp - 0x24], 8
test ebx, ebx
je 0x41bbd6
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
push eax
push 4
push edx
push ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x41bbd6
push 0x104
lea ecx, [ebp - 0x1150]
push ecx
mov eax, dword [ebp - 0x48]
push eax
push ebx
call sub.PSAPI.DLL_GetModuleBaseNameA
xor edx, edx
lea eax, [ebp - 4]
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x10]
inc dword [ebp - 0x18]
call fcn.004b524c
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x1150]
push ecx
lea eax, [ebp - 8]
mov word [ebp - 0x24], 0x14
call fcn.004b4dd8
inc dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0xc]
inc dword [ebp - 0x18]
call fcn.004b524c
lea eax, [ebp - 0xc]
pop edx
call fcn.004b5490
test eax, eax
mov edx, 2
setne al
and eax, 1
push eax
lea eax, [ebp - 0x10]
dec dword [ebp - 0x18]
call fcn.004b4f38
dec dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b4f38
dec dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004b4f38
pop ecx
test cl, cl
je 0x41bccb
mov word [ebp - 0x24], 8
jmp 0x41bc98
push 0x3e8
push ebx
call sub.KERNEL32.DLL_WaitForSingleObject
test eax, eax
jne 0x41bc98
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov al, 1
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0x18]
call fcn.004b4f38
pop eax
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
jmp 0x41bd0d
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x38]
jb 0x41bc63
push ebx
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0x18]
call fcn.004b4f38
pop eax
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
jmp 0x41bd0d
push ebx
call sub.KERNEL32.DLL_CloseHandle
inc edi
add esi, 4
cmp edi, dword [ebp - 0x40]
jb 0x41bb89
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x38]
jb 0x41bb33
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0x18]
call fcn.004b4f38
pop eax
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4239b8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.0047adf8
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4d74cc]
cmp byte [edx + 8], 0
je 0x423a1c
mov edx, dword [0x4d74b8]
cmp dword [edx], 2
jne 0x423a1c
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x423a20
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x423ad8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004239b8
test al, al
je 0x423aba
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.0047bec8
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x423aba
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0047c224
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.0047c224
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0047bf98
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x423a73
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423adf
lea eax, [ebp - 0x2c]
call fcn.0047bde0
lea eax, [ebp - 0xc]
call fcn.0047bde0
ret

Function at 0x423c6c
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.00423630
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.0047c224
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
je 0x423cca
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d7404]
mov dl, 1
mov eax, dword [0x423528]
call fcn.00476a18
call fcn.0047b8dc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x423cd4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0047c224
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x423d2c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d7408]
mov dl, 1
mov eax, dword [0x423528]
call fcn.00476a18
call fcn.0047b8dc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00423660
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x424d48
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0047bde0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x424d97
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.0047c010
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42bca0
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 0x42bca6
ret

Function at 0x42e184
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 0x42e1d5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42e1bc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42e1ac
jmp 0x42e1d5
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 0x42e1bd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436d98
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4d78c4
cmp dword [edi], 0
jne 0x436e14
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4d78c0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4c2a24
mov ecx, 2
call fcn.0047ab2c
mov edx, 0x436d70
lea eax, [esi + 5]
call fcn.00436d90
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00436d90
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 0x436de9
mov dword [0x4d78c0], 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 0x436f30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x436f80]
test si, 4
je 0x436f44
or bl, 1
test si, 8
je 0x436f4e
or bl, 4
test si, 1
je 0x436f58
or bl, 8
test si, 2
je 0x436f62
or bl, 0x10
test si, 0x10
je 0x436f6c
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x436f7b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x436f84
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x436fbc]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x436f9d
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x436fac
or bl, 4
test esi, 0x20000000
je 0x436fb7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x43d50c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x43d51e
add esp, 0xfffffff0
call fcn.0047b484
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0046df64
mov eax, ebx
call fcn.0043d858
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x465400]
call fcn.0047b114
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x465400]
call fcn.0047b114
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x465400]
call fcn.0047b114
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x465400]
call fcn.0047b114
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x465400]
call fcn.0047b114
mov dword [ebx + 0x70], eax
push 0
call sub.USER32.DLL_GetDC
mov esi, eax
push 0x5a
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x439ffc
push eax
push 0
push 0
mov eax, dword [0x4d749c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42b1c8]
call fcn.0042c700
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x42b1c8]
call fcn.0042c700
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x42b1c8]
call fcn.0042c700
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.0043dc38
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43db54
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43db54
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43db54
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43d62d
call fcn.0047b4dc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret