joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ff34
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4400b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
lea edx, [ebp - 5]
mov ecx, 1
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f6
jb 0x43ff93
cmp byte [ebp - 5], 0x80
jb 0x43ff93
and byte [ebp - 5], 0x7f
mov byte [ebp - 6], 1
xor edx, edx
mov dl, byte [ebp - 5]
mov eax, ebx
call fcn.00403438
xor ecx, ecx
mov cl, byte [ebp - 5]
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f4
jb 0x440086
cmp byte [esi + 0x37], 0
je 0x43fff6
mov eax, dword [0x528b20]
mov edx, dword [esi + 0x33]
call fcn.0040544c
je 0x43ffe5
mov eax, dword [esi + 0x33]
call fcn.00432f00
mov eax, 0x528b20
mov edx, dword [esi + 0x33]
call fcn.00405078
xor ecx, ecx
mov cl, byte [ebx]
lea edx, [ebx + 1]
lea eax, [ebx + 1]
call fcn.00432fa0
jmp 0x44002f
cmp byte [ebx], 0
je 0x44002f
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00405288
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.004331dc
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x4400cc
call fcn.0040534c
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, 0xff
call fcn.004052dc
cmp byte [ebp - 6], 0
je 0x440098
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00405288
push dword [ebp - 0x1c]
push 0x4400d8
lea ecx, [ebp - 0x120]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0043ff34
lea edx, [ebp - 0x120]
lea eax, [ebp - 0x20]
call fcn.00405288
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004053c0
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, 0xff
call fcn.004052dc
jmp 0x440098
xor edx, edx
mov dl, byte [ebx]
test edx, edx
jle 0x440098
lea eax, [ebx + 1]
xor byte [eax], 0x62
inc eax
dec edx
jne 0x440091
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4400ba
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00405048
ret

Function at 0x443ef0
Capabilities:
Hide graphical window

Disassembly:
push ebx
call sub.KERNEL32.DLL_GetCurrentProcessId
call fcn.0043de14
mov ebx, eax
test ebx, ebx
je 0x443f44
push ebx
call sub.user32.dll_IsIconic
test eax, eax
je 0x443f2d
push 0
push 0xf120
push 0x112
push ebx
call sub.user32.dll_SendMessageA
push 5
push ebx
call sub.user32.dll_ShowWindow
push ebx
call sub.user32.dll_SetForegroundWindow
jmp 0x443f44
push ebx
call sub.user32.dll_GetLastActivePopup
mov ebx, eax
call sub.user32.dll_GetForegroundWindow
cmp ebx, eax
je 0x443f44
push ebx
call sub.user32.dll_SetForegroundWindow
pop ebx
ret
Function at 0x449e24
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
cmp byte [0x51c10c], 0
jne 0x449e71
xor esi, esi
mov edx, 0x528dd8
mov eax, esi
mov ebx, 8
test al, 1
je 0x449e57
shr eax, 1
xor eax, 0xedb88320
jmp 0x449e59
shr eax, 1
dec ebx
jne 0x449e4a
mov dword [edx], eax
inc esi
add edx, 4
cmp esi, 0x100
jne 0x449e43
mov byte [0x51c10c], 1
mov eax, dword [esp + 4]
dec eax
test eax, eax
jl 0x449e9e
inc eax
xor esi, esi
mov edx, dword [esp]
movzx edx, byte [edx + esi]
xor edx, edi
and edx, 0xff
mov edx, dword [edx*4 + 0x528dd8]
shr edi, 8
xor edx, edi
mov edi, edx
inc esi
dec eax
jne 0x449e7d
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x44af88
Capabilities:
Query environment variable

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, eax
push 0x800
lea eax, [esp + 4]
push eax
mov eax, dword [ebx]
call fcn.00405500
push eax
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov edx, esp
mov ecx, ebx
xchg ecx, eax
call fcn.00405114
add esp, 0x800
pop ebx
ret
Function at 0x44ccfc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004054f0
mov eax, dword [ebp - 8]
call fcn.004054f0
mov eax, dword [ebp - 0xc]
call fcn.004054f0
xor eax, eax
push ebp
push 0x44cef6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x44cf10
mov eax, 0x80000000
call fcn.00427730
lea eax, [ebp - 0x14]
call fcn.0044af88
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.00403998
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x10
call fcn.00403998
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 3
lea eax, [ebp - 0x1c]
mov ecx, dword [0x528928]
mov edx, 0x44cf34
call fcn.0040534c
push 0x44cf44
push dword [ebp - 4]
push 0x44cf54
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.0044cc18
push dword [ebp - 0x78]
push 0x44cf68
lea eax, [ebp - 0x80]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.0040534c
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.0044cc18
push dword [ebp - 0x7c]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.004053c0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x44cf78
mov eax, dword [ebp - 0x14]
call fcn.004274ec
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x4000020
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00405500
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x44ceae
xor ebx, ebx
mov eax, dword [ebp - 0x74]
mov esi, eax
push 0x2710
push eax
call sub.user32.dll_WaitForInputIdle
push 0x7d0
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [ebp - 0x6c]
call fcn.0043de14
test eax, eax
je 0x44ce7d
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call sub.user32.dll_SetWindowPos
push 0xffffffffffffffff
push esi
call sub.KERNEL32.DLL_WaitForSingleObject
cmp eax, 0xffffffff
je 0x44ce9a
lea eax, [ebp - 0x20]
push eax
push esi
call sub.KERNEL32.DLL_GetExitCodeProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0x70]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
mov eax, dword [ebp - 0x74]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
jmp 0x44cecb
call sub.KERNEL32.DLL_GetLastError_1
lea edx, [ebp - 0x84]
call fcn.0040fd0c
mov edx, dword [ebp - 0x84]
mov al, 4
call fcn.0043db14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cefd
lea eax, [ebp - 0x84]
mov edx, 4
call fcn.00405048
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00405048
ret
Function at 0x44dfe0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.advapi32.dll_GetUserNameA
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00405294
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44e91c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44e990
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x44e99c]
call fcn.004034bc
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0040c458
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x44e9a8
call fcn.0040534c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e997
lea eax, [ebp - 0x24]
call fcn.00405024
ret

Function at 0x44e9ac
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44ea20
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x44ea2c]
call fcn.004034bc
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0040c458
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x44ea38
call fcn.0040534c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ea27
lea eax, [ebp - 0x24]
call fcn.00405024
ret
Function at 0x45359c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x453698
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, pe_nt_image_headers32
push ebx
lea eax, [ebp - 0x104]
push eax
call sub.user32.dll_GetFocus
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x45366b
mov eax, esi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00405294
lea eax, [ebp - 0x10c]
call fcn.00453544
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.0040bff4
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 4]
call fcn.0040c26c
mov edx, dword [ebp - 4]
mov eax, 0x4536b0
call fcn.00405644
test eax, eax
jle 0x453672
push 0xfffffffffffffff0
call sub.user32.dll_GetFocus
push eax
call sub.user32.dll_GetWindowLongA
test al, 0x20
je 0x453672
mov eax, dword [esi]
call fcn.00405300
mov edi, eax
test edi, edi
jbe 0x453672
mov ebx, 1
mov eax, esi
call fcn.00405558
mov byte [eax + ebx - 1], 0x2a
inc ebx
dec edi
jne 0x453659
jmp 0x453672
mov eax, esi
call fcn.00405024
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45369f
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00405048
lea eax, [ebp - 4]
call fcn.00405024
ret

Function at 0x4566cc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
lea esi, [ebp - 4]
call fcn.0043eb58
mov dword [esi], eax
mov eax, dword [esi]
mov ebx, dword [eax]
dec ebx
jmp 0x4566e6
dec ebx
test ebx, ebx
jl 0x4566f5
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp dword [eax + ebx*8], 0
je 0x4566e5
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*8]
test eax, eax
je 0x456740
mov dword [0x528888], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea eax, [eax + ebx*8]
call fcn.0045657c
push eax
call sub.KERNEL32.DLL_VirtualProtect
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea eax, [eax + ebx*8]
call fcn.0045657c
mov dword [0x5288d0], eax
mov eax, 0x4566a0
mov edx, dword [0x5288d0]
mov dword [edx], eax
mov eax, dword [esi]
mov ebx, dword [eax]
dec ebx
jmp 0x456748
dec ebx
test ebx, ebx
jl 0x456758
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp dword [eax + ebx*8 + 4], 0
je 0x456747
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*8 + 4]
test eax, eax
je 0x456794
mov dword [0x52888c], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea eax, [eax + ebx*8 + 4]
call fcn.0045657c
push eax
call sub.KERNEL32.DLL_VirtualProtect
mov eax, 0x4566bc
mov edx, dword [esi]
mov edx, dword [edx + 4]
mov dword [edx + ebx*8 + 4], eax
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x45a47c
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 0x45a482
ret
Function at 0x45cdac
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 0x45cdfd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x45cde4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x45cdd4
jmp 0x45cdfd
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 0x45cde5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467724
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004054f0
xor eax, eax
push ebp
push 0x467852
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x467825
xor eax, eax
push ebp
push 0x46781e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405300
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4677f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4677e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405300
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00405500
mov edx, ebx
pop ecx
call fcn.00403188
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4677e9
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x52479c]
mov dl, 1
mov eax, dword [0x40b318]
call fcn.00410610
call fcn.00404994
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467859
lea eax, [ebp - 4]
call fcn.00405024
ret
Function at 0x467860
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x467a11
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004056f0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x467a28
call fcn.0040534c
mov eax, ebx
call fcn.00424d18
mov edi, eax
dec edi
test edi, edi
jl 0x467918
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00424cec
mov edx, dword [0x46c6c8]
call fcn.004042c8
test al, al
je 0x467914
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00424cec
lea edx, [ebp - 0x14]
call fcn.00474acc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004056f0
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053c0
inc esi
dec edi
jne 0x4678c6
mov al, byte [0x467a2c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x467a38
mov eax, dword [ebp - 0xc]
call fcn.00411b4c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004050bc
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00474acc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x467a28
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00474acc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x467a28
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x467a28
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x467a44
call fcn.0040d72c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467a18
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00405048
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405048
lea eax, [ebp - 0x14]
call fcn.00405024
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405048
ret
Function at 0x46ae94
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.00405500
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46aeec
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x524d94]
mov dl, 1
mov eax, dword [0x46aa4c]
call fcn.0041064c
call fcn.00404994
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0046ab54
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 0x46f2dc
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 0x46f228
call sub.user32.dll_EnumWindows
ret

Function at 0x46f3fc
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 0x46f479
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0046ee5c
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 0x46f421
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0046ea5c
cmp dword [ebp - 4], 0
je 0x46f463
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00405500
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 0x46f480
lea eax, [ebp - 4]
call fcn.00405024
ret
Function at 0x47261c
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 [0x529520], 0
je 0x47276b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x524b3c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x47276b
mov eax, dword [0x529524]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x529520]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x47273a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x529520]
call fcn.0041e5dc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x472732
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x472732
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x472732
mov eax, dword [ebp - 0x14]
call fcn.0047b33c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x472732
push ebp
call fcn.004725d8
pop ecx
test al, al
jne 0x472732
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4726ee
mov eax, dword [ebp - 0x14]
call fcn.00479e34
dec eax
jle 0x472732
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.00404338
cmp byte [ebp - 1], 0
je 0x472732
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x472732
mov edx, dword [ebp - 0x14]
mov eax, dword [0x529524]
call fcn.00471da4
inc edi
dec ebx
jne 0x472681
mov eax, dword [0x529524]
cmp dword [eax + 8], 0
jle 0x472752
mov eax, dword [0x529524]
call fcn.00471e34
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x47276b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00472440
pop ecx
test al, al
jne 0x47276b
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 0x475d9c
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 0x475de8
mov eax, esi
call fcn.0048b8d0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x475de8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x475de8
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 0x475f27
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x475e28
cmp eax, 0x108
ja 0x475e28
mov eax, esi
call fcn.0048b8d0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x475f1e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x475f27
jmp 0x475f1e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x475f07
cmp eax, 0x20a
ja 0x475f07
test byte [esi + 0x50], 0x80
jne 0x475e5a
sub eax, 0x203
je 0x475e57
sub eax, 3
je 0x475e57
sub eax, 3
jne 0x475e5a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x475e6e
dec eax
je 0x475e83
dec eax
je 0x475ea0
dec eax
je 0x475e83
jmp 0x475ea7
mov ecx, ebx
mov eax, dword [0x524b3c]
mov eax, dword [eax]
mov edx, esi
call fcn.004951a8
jmp 0x475f1e
cmp byte [esi + 0x5d], 1
jne 0x475e99
mov eax, esi
mov si, 0xffed
call fcn.00404338
jmp 0x475f27
or word [esi + 0x54], 1
jmp 0x475f1e
and word [esi + 0x54], 0xfffe
jmp 0x475f1e
mov eax, dword [0x5294dc]
cmp byte [eax + 0x20], 0
je 0x475f1e
mov eax, dword [0x5294dc]
cmp dword [eax + 0x1c], 0
je 0x475f1e
mov eax, dword [ebx]
mov edx, dword [0x5294dc]
cmp eax, dword [edx + 0x1c]
jne 0x475f1e
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.0048b814
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.00404338
jmp 0x475f27
cmp eax, 0xb00b
jne 0x475f1e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0047466c
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