joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d1dd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6327a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.005d1980
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.005d1a00
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.005d1a00
lea ecx, [esi + 0xc]
call fcn.0061a810
lea ecx, [esi + 0x10]
call fcn.0061a810
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.005d2f90
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.005d2f90
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.005d2f90
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0061a885
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0061a885
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5ec730
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xb75094]
xor edx, edx
cmp eax, edx
jne 0x5ec756
xor eax, eax
mov byte [eax + 0xb74f94], al
inc eax
cmp eax, 0x100
jl 0x5ec73e
mov dword [0xb75094], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xb74f94
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x5ec7e7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x5ec7ba
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x5ec788
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x5ec7f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x5ec843
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x5ec82a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5f31b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x632f0e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.005f3ad0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0xae1ccc
call fcn.0061a5c6
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x5f3243
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0061a5c6
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x5f323c
push 0
mov ecx, eax
call fcn.005ea3a0
mov dword [esi + 0xc], eax
jmp 0x5f3245
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x5f3245
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4010cd
Capabilities:
Create process on windows

Disassembly:
call fcn.0040191f
mov ecx, 0xa
push ecx
push 0x64
call sub.kernel32.dll_Sleep
pop ecx
loop 0x4010d7
jmp 0x4010ee
push str.05387337392A20730D545F6985EB80691B51F7690E5FFF65803ABB6E015474081D15482073A5C76715
push 0
push dword [0x405534]
call sub.kernel32.dll_OpenMutexA
cmp eax, 0
je 0x40110c
push 0
call sub.kernel32.dll_ExitProcess
call fcn.004014f1
call fcn.00401981
cmp byte [0x403c49], 0
jbe 0x401121
jmp 0x401138
push 5
push 0
push 0
push 0x406097
push str.open
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x4010d2
Function at 0x4014f1
Capabilities:
Set registry value

Disassembly:
push 0x406097
call fcn.00401e40
mov dword [0x40402d], eax
push 0x406497
push 0xf003f
push 0
push str.1A2466363E2F7236296D0C0A1E4353060D54373E074E000A57347C2D100652080B15244501160E080B1539550C356E2047332065686C2C20686B206B5B6E206454617514585347165E20533417415651555C
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
push dword [0x40402d]
push 0x406097
push 1
push 0
push str.050A59071B1D451000520C1D150C730C1956020A0B4D0B0B49334F1C6574206D656172207365676765
push dword [0x406497]
call sub.advapi32.dll_RegSetValueExA
push dword [0x406497]
call sub.advapi32.dll_RegCloseKey
jmp 0x401551
call fcn.004018a1
call fcn.00401784
push 0x405f97
push 0x40669f
call fcn.00401da0
cmp eax, 0
jbe 0x401576
call fcn.004015e4
jmp 0x4015d8
push 0x40689f
push 0x40669f
call fcn.00401da0
cmp eax, 0
jbe 0x401591
call fcn.00401605
jmp 0x4015d8
push 0x406a9f
push 0x40669f
call fcn.00401da0
cmp eax, 0
jbe 0x4015ac
call fcn.00401649
jmp 0x4015d8
push 0x406c9f
push 0x40669f
call fcn.00401da0
cmp eax, 0
jbe 0x4015c7
call fcn.0040168d
jmp 0x4015d8
call fcn.004015d9
jmp 0x4015d8
ret

Function at 0x4016d1
Capabilities:
Create process on windows
Set registry value

Disassembly:
push 0x406497
push 0xf003f
push 0
push str.1A2466363E2F7236296D0C0A1E4353060D54373E074E000A57340020312863181713174E073302151620044E3E20034114100023000049002C1345081C1A490B0B0008501A0C1B4E1E3961721036555F5727
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
push 0x40649b
push 0x406e9f
push dword [0x406497]
call sub.advapi32.dll_RegCreateKeyA
push 1
push 0x403c48
push 1
push 0
push str.0D0E42170E09450175205F696CEC80696B3E2A69AEE8C4652347206E6174206D6561722073A5C76785
push dword [0x40649b]
call sub.advapi32.dll_RegSetValueExA
push 5
push 0
push 0
push 0x406297
push str.open
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x40173f
push 0x406d9f
call fcn.00401e40
mov dword [0x40402d], eax
push dword [0x40402d]
push 0x406d9f
push 1
push 0
push str.0D0E42170E09450175205F696CEC80696B3E2A69AEE8C4652347206E6174206D6561722073A5C76785
push dword [0x40649b]
call sub.advapi32.dll_RegSetValueExA
push dword [0x40649b]
call sub.advapi32.dll_RegCloseKey
push dword [0x406497]
call sub.advapi32.dll_RegCloseKey
ret
Function at 0x401784
Capabilities:
Set registry value

Disassembly:
push 0x406497
push 0xf003f
push 0
push str.1A2466363E2F7236296D0C0A1E4353060D54373E074E000A57340020312863181713174E073302151620044E3E20034114100023000049002C1345081C1A490B0B0008501A0C1B4E1E3961721036555F5727
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
push 0x40649b
push str.3A1B4F0D051D565D1058006935EB80698B5BF0690E5FFF65803ABB6E015474081D1548209AA2C76715
push dword [0x406497]
call sub.advapi32.dll_RegCreateKeyA
push 0x40689f
call fcn.00401e40
mov dword [0x40402d], eax
push dword [0x40402d]
push 0x40689f
push 1
push 0
push str.0D0E42170E09450175205F696CEC80696B3E2A69AEE8C4652347206E6174206D6561722073A5C76785
push dword [0x40649b]
call sub.advapi32.dll_RegSetValueExA
push dword [0x40649b]
call sub.advapi32.dll_RegCloseKey
jmp 0x4017f9
push 0x40649b
push str.200E5812050152165B451D0C6C2C4F0707596B690E86C565A09A616E6574206D296530207BFFFA6705
push dword [0x406497]
call sub.advapi32.dll_RegCreateKeyA
push 0x406a9f
call fcn.00401e40
mov dword [0x40402d], eax
push dword [0x40402d]
push 0x406a9f
push 1
push 0
push str.0D0E42170E09450175205F696CEC80696B3E2A69AEE8C4652347206E6174206D6561722073A5C76785
push dword [0x40649b]
call sub.advapi32.dll_RegSetValueExA
push dword [0x40649b]
call sub.advapi32.dll_RegCloseKey
push 0x40649b
push str.2F0252070F01585D105800696CEC80696B3E2A69AEE8C4652347206E6174206D6561722073A5C76785
push dword [0x406497]
call sub.advapi32.dll_RegCreateKeyA
push 0x406c9f
call fcn.00401e40
mov dword [0x40402d], eax
push dword [0x40402d]
push 0x406c9f
push 1
push 0
push str.0D0E42170E09450175205F696CEC80696B3E2A69AEE8C4652347206E6174206D6561722073A5C76785
push dword [0x40649b]
call sub.advapi32.dll_RegSetValueExA
push dword [0x40649b]
call sub.advapi32.dll_RegCloseKey
push dword [0x406497]
call sub.advapi32.dll_RegCloseKey
ret

Function at 0x401981
Capabilities:
Enumerate processes

Disassembly:
mov byte [0x403c49], 0
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov dword [0x405994], eax
mov dword [0x4057e4], 0x128
push 0x4057e4
push dword [0x405994]
call sub.kernel32.dll_Process32First
mov dword [0x404197], 1
jmp 0x4019d1
push 0x4057e4
push dword [0x405994]
call sub.kernel32.dll_Process32Next
mov dword [0x404197], eax
push 0x405808
call fcn.00401e40
mov dword [0x40402d], eax
push 5
push 0x405808
push str.0538732F26200E362D6545494C0C00494B004B494E0044450067004E4554004D454152005345474745496B20525ACF2072752065406C2C202000000900000017100022490249544906450A1B4E5301024722
call fcn.00401dd0
cmp eax, 0
je 0x4019f8
jmp 0x4019ff
mov byte [0x403c49], 1
xor eax, eax
cmp dword [0x404197], 1
je 0x4019bc
push dword [0x405994]
call sub.kernel32.dll_CloseHandle
ret
Function at 0x402e38
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040487c
test esi, esi
jne 0x402e6f
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.0040496c
jmp 0x402e90
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402cd4
mov dword [esp], eax
test esi, esi
je 0x402e90
cmp dword [ebx], 0
je 0x402e90
dec esi
jmp 0x402e77
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x40397c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x44e020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403a14
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4039f4
xor eax, eax
push ebp
push 0x4039ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403a30
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4039f4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x44e020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x44e020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4046f8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x450048], 0
je 0x404759
cmp word [0x45021c], 0xd7b2
jne 0x404721
cmp dword [0x450224], 0
jbe 0x404721
mov eax, 0x450218
call dword [0x450234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x44e090
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404780
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x44e030], 0
jne 0x404775
push 0
push 0x44e088
push 0x44e090
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4064a0
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 0x406506
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.00404aec
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403540
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4064f0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40650d
lea eax, [ebp - 0x10]
call fcn.0040487c
ret

Function at 0x40b4dc
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 0x40b515
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040496c
jmp 0x40b51e
mov eax, ebx
mov edx, esi
call fcn.004048d0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b528
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 0x40b549
mov al, byte [esp]
jmp 0x40b54b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bbe0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ba48
mov eax, dword [0x44efc0]
cmp byte [eax], 0
je 0x40bc5c
mov eax, dword [0x44edf4]
call fcn.004031e4
call fcn.00402bf4
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.00408ccc
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 0x40bca4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bc92
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x44eda8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x450664]
call fcn.0040590c
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 0x40c500
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 0x40c5d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404914
lea eax, [ebp - 8]
call fcn.00404d8c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d3c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c5c0
mov eax, ebx
call fcn.00402a68
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c5b9
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.00404d3c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c5a3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c5e8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c5a3
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 0x40c5c0
mov eax, dword [ebp - 0x10]
call fcn.00402a98
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c5dd
lea eax, [ebp - 8]
call fcn.0040487c
ret

Function at 0x40cab0
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 0x40cb14
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.00404aec
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408848
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cb1b
lea eax, [ebp - 0xc]
call fcn.0040487c
ret
Function at 0x41ad90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x450884
cmp dword [esi], 0
jne 0x41ae36
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x450880]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x44e410
mov ecx, 2
call fcn.00402c94
mov edx, 0x41ad68
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041ad88
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0041ad88
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41adfd
mov eax, dword [ebp - 8]
mov dword [0x450880], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41c00c
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 0x41c012
ret

Function at 0x41e484
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 0x41e4d5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e4bc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e4ac
jmp 0x41e4d5
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 0x41e4bd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4275dc
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 0x427528
call sub.user32.dll_EnumWindows
ret

Function at 0x4276fc
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 0x427779
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042715c
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 0x427721
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00426d5c
cmp dword [ebp - 4], 0
je 0x427763
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404d3c
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 0x427780
lea eax, [ebp - 4]
call fcn.0040487c
ret

Function at 0x42a424
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 [0x450ae8], 0
je 0x42a573
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x44ef64]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42a573
mov eax, dword [0x450aec]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x450ae8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42a542
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x450ae8]
call fcn.0041427c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42a53a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42a53a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42a53a
mov eax, dword [ebp - 0x14]
call fcn.00432fbc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42a53a
push ebp
call fcn.0042a3e0
pop ecx
test al, al
jne 0x42a53a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42a4f6
mov eax, dword [ebp - 0x14]
call fcn.00431aec
dec eax
jle 0x42a53a
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.00403d10
cmp byte [ebp - 1], 0
je 0x42a53a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42a53a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x450aec]
call fcn.00429bac
inc edi
dec ebx
jne 0x42a489
mov eax, dword [0x450aec]
cmp dword [eax + 8], 0
jle 0x42a55a
mov eax, dword [0x450aec]
call fcn.00429c3c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42a573
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042a248
pop ecx
test al, al
jne 0x42a573
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 0x42db2c
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 0x42db78
mov eax, esi
call fcn.00443068
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42db78
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42db78
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 0x42dcb7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42dbb8
cmp eax, 0x108
ja 0x42dbb8
mov eax, esi
call fcn.00443068
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42dcae
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42dcb7
jmp 0x42dcae
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42dc97
cmp eax, 0x20a
ja 0x42dc97
test byte [esi + 0x50], 0x80
jne 0x42dbea
sub eax, 0x203
je 0x42dbe7
sub eax, 3
je 0x42dbe7
sub eax, 3
jne 0x42dbea
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42dbfe
dec eax
je 0x42dc13
dec eax
je 0x42dc30
dec eax
je 0x42dc13
jmp 0x42dc37
mov ecx, ebx
mov eax, dword [0x44ef64]
mov eax, dword [eax]
mov edx, esi
call fcn.0044c940
jmp 0x42dcae
cmp byte [esi + 0x5d], 1
jne 0x42dc29
mov eax, esi
mov si, 0xffed
call fcn.00403d10
jmp 0x42dcb7
or word [esi + 0x54], 1
jmp 0x42dcae
and word [esi + 0x54], 0xfffe
jmp 0x42dcae
mov eax, dword [0x450aa4]
cmp byte [eax + 0x20], 0
je 0x42dcae
mov eax, dword [0x450aa4]
cmp dword [eax + 0x1c], 0
je 0x42dcae
mov eax, dword [ebx]
mov edx, dword [0x450aa4]
cmp eax, dword [edx + 0x1c]
jne 0x42dcae
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.00442fac
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.00403d10
jmp 0x42dcb7
cmp eax, 0xb00b
jne 0x42dcae
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042c488
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