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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40f8a7
pop dword [ebp - 0x4c]
mov eax, 0x6aedf225
sub eax, 0x6aacf97e
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3d3e8
push 0
mov eax, 0xae43cb9a
sub eax, 0xae017982
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x876be3b9
sub ecx, 0x876b9e19
mov edx, eax
mov ebx, 0x5eca66bf
add ebx, 0xa178ed41
add ebx, dword [ebp - 0x4c]
mov esi, 0xb426329c
sub dword [ebp - 0x38], esi
mov edi, dword [ebx]
mov dword [ebp - 0x10], 0x1b98e2a9
sub edi, esi
xor dword [ebp - 0x34], edx
mov dword [edx], edi
sub dword [ebp - 0x14], edx
add edx, 0x74e261c8
sub edx, 0x74e261c4
add ebx, 0x51636749
add ebx, 0xae9c98bb
loop 0x40f900
add eax, 0xc560ca20
sub eax, 0xc55fc0cd
mov ebx, eax
add eax, 0x1cafed4d
add eax, 0xe35012b8
mov ecx, 0xf2966665
add ecx, 0xda9999b
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x56e548
Capabilities:
Encode data using xor

Disassembly:
adc al, 0x86
push eax
add cl, dh
out 0xd6, eax
mov ah, 0x38
mov dh, 0x57
cmp eax, 0xe999c799
rcl al, 0x90
sbb edi, dword [edi]
mov bh, 0x8a
pop esp
invalid
mov edx, 0x2c7421f2
and cl, byte [edx + 0x2241f102]
inc eax
shl byte [esi + 0x27], 0x9e
xor eax, 0x7fe01599
loopne 0x56e55f
and ah, bl
push ebx
imul ecx, ecx, 0x9e578a28
int1
salc
bound eax, qword [edi + 0x7a]
xchg ebp, eax
jg 0x56e4de
inc ebp
jle 0x56e535
jecxz 0x56e49f
push ss
inc edx
pop ss
mov ch, 6
push es
add dh, al
dec ebp
cmp eax, 0xe6edc932
fisub word [edi + 0x48]
jns 0x56e4ca
out 0x18, eax
scasb al, byte es:[edi]
pop es
stosd dword es:[edi], eax
jge 0x56e582
mov dword [edx], 0x6f43a39d
ror byte [ecx], cl
dec eax
rcr dword [esi + ebx*2 + 0x6a], cl
add al, 0xea
loop 0x56e520
ljmp 0x3bc2:0xd8fce23e
fadd st(2)
cmp esi, esi
mov ecx, 0xe8c7239a
xchg esi, eax
imul eax, ebp, 0xff1b5848
lds ecx, [eax + 0x58]
sbb edi, edi
pop esp
mov bh, 0x49
int1
pop esp
pop eax
and eax, 0xb6d74173
loopne 0x56e52f
fnstcw word [eax - 0x5058280b]
jg 0x56e5a6
pop ebp
pop ebp
ficom dword [ebx - 0x7c]
mov eax, dword [0x4b33813a]
jae 0x56e4fb
add al, 0x79
clc
sbb edi, dword [edi - 0x5e7d4abd]
out dx, al
inc edx
dec edx
sbb eax, 0x540b94b9
in eax, dx
insb byte es:[edi], dx
sbb dword [eax + 0x29], 0x48
nop
xor al, 0xa0
inc ebx
cwde
test al, 0x78
jns 0x56e5cb
xor dword [edx - 0x7c], ebp
inc ebp
inc edi
dec ebx
pop ss
or byte [edx + 0x2a], ah
sysexit
scasd eax, dword es:[edi]
xchg edi, eax
add dword [ebx + 0x1fc6eaf8], esi
in al, 0
or al, 0xa2
mov edi, 0x579abf10
or ecx, ecx
xor eax, 0xffcf601f
aam 0xd8
and bl, byte [edi + 0x5f036eb5]
mov word [ecx + 0x7ff7c8ed], ds
cli
mov bl, 0xf8
ljmp 0xa20c
enter 0xffffffffffff8dd7, 0xffffffffffffff94
or ecx, edx
cmc
imul dword [ebx + 0x78277843]
ja 0x56e61c
invalid
xchg dword [esp], ecx
movsb byte es:[edi], byte [esi]
xor eax, edi
xor byte [esi - 0x37], bh
jb 0x56e5c9
add al, 0x4e
pop ss
inc ebp
push cs
mov dword [0xc969f81d], edi
lahf
movsb byte es:[edi], byte [esi]
sti
push 0x15e74ec8
salc
sti
and eax, 0x37fbee6b
in eax, dx
xchg ecx, eax
les eax, [edi]
bound ebp, qword [ebx]
movntq qword [esi + 0x714201c9], mm7
aaa
jne 0x56e650
call 0x267370a
jmp 0x561253dd
or byte [ecx + 0x1b91f23c], dl
pop ebx
fcom dword [edi - 0x502d5151]
inc ecx
invalid
mov dh, 0x32
pushfd
push esp
pop esp
sub bl, byte [eax]
imul ebp, esi, 0x16dd9bfc
xor bl, byte [ebx - 0x577837ec]
int3

Function at 0x5b89fe
Capabilities:
Encode data using xor

Disassembly:
jp 0x5b8a37
pop ecx
mov al, byte [0x60a0f28f]
jp 0x5b89dc
jns 0x5b8a3d
sbb dh, dl
mov ss, ecx
invalid

Function at 0x5b8a76
Capabilities:
Encode data using xor

Disassembly:
inc esi
push esi
lea esi, [ebx + ebp*2 - 0x2d2e7cb0]
ror dword [0xd0109144], 0x59
Function at 0x401430
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x43601c
push 0x80000002
call dword [0x43610c]
test eax, eax
jne 0x40145c
mov eax, 0xd903
jmp 0x401506
mov dword [0x436104], 0x24e1
mov ecx, dword [0x436104]
jmp loc.0045dd33
mov esp, ebp
pop ebp
ret
Function at 0x10030836
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10047018]
jne 0x10030840
repz ret
jmp fcn.10030e15
Function at 0x403054
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x523008], 0x8088405
inc edx
mov dword [ebx + 0x523008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403534
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x523024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4035cc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4035ac
xor eax, eax
push ebp
push 0x4035a5
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 0x4035e8
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 0x4035ac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x523024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x523024], ax
mov esp, ebp
pop ebp
ret

Function at 0x40432c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x53504c], 0
je 0x40438d
cmp word [0x535220], 0xd7b2
jne 0x404355
cmp dword [0x535228], 0
jbe 0x404355
mov eax, 0x53521c
call dword [0x535238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x523070
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 0x4043b4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x523034], 0
jne 0x4043a9
push 0
push 0x523068
push 0x523070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404508
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402b20
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x53504d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4044d0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406ab0
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 0x406b16
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.004047d4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403070
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406b00
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406b1d
lea eax, [ebp - 0x10]
call fcn.00404554
ret

Function at 0x40d65c
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 0x40d695
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404644
jmp 0x40d69e
mov eax, ebx
mov edx, esi
call fcn.004045a8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40e6c8
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 0x40e79e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004045ec
lea eax, [ebp - 8]
call fcn.00404a74
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a24
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40e788
mov eax, ebx
call fcn.00402b20
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40e781
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.00404a24
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40e76b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40e7b0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40e76b
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 0x40e788
mov eax, dword [ebp - 0x10]
call fcn.00402b50
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e7a5
lea eax, [ebp - 8]
call fcn.00404554
ret
Function at 0x40ed84
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 0x40ede8
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.004047d4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409bd4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40edef
lea eax, [ebp - 0xc]
call fcn.00404554
ret

Function at 0x426064
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4260b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00425e90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4260c9
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4260d0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00425e90
dec esi
jne 0x4260f2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x427234
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x53588c
cmp dword [edi], 0
jne 0x4272b0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x535888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5235d0
mov ecx, 2
call fcn.00402d40
mov edx, 0x42720c
lea eax, [esi + 5]
call fcn.0042722c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042722c
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 0x427285
mov dword [0x535888], 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 0x42888c
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 0x428892
ret
Function at 0x42b190
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 0x42b1e1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42b1c8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42b1b8
jmp 0x42b1e1
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 0x42b1c9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435cc8
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.00404a14
xor eax, eax
push ebp
push 0x435df6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x435dc9
xor eax, eax
push ebp
push 0x435dc2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404824
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x435d97
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 0x435d86
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404824
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404a24
mov edx, ebx
pop ecx
call fcn.00402d40
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 0x435d8d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x533c5c]
mov dl, 1
mov eax, dword [0x408358]
call fcn.0040dee4
call fcn.00403ea8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435dfd
lea eax, [ebp - 4]
call fcn.00404554
ret
Function at 0x437e6c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x437f3e
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x437f10
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x437eff
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402d40
mov eax, dword [ebp - 4]
call fcn.00437da8
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437f06
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x437f50
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x437fc2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x437f96
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.0040475c
jmp 0x437f9d
mov eax, ebx
call fcn.00404554
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437fc9
cmp dword [ebp - 8], 0
je 0x437fb9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x437ff8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x43809a
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x43806d
mov edx, ebx
mov eax, dword [0x428350]
call fcn.0042ca30
test al, al
je 0x43805d
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0042c940
call fcn.00403f54
jmp 0x4380a1
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x438028
mov ecx, dword [0x533d34]
mov dl, 1
mov eax, dword [0x408358]
call fcn.0040dee4
call fcn.00403ea8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4380a1
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x43b258
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.0043ae28
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.00404a24
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x43b2b6
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x53401c]
mov dl, 1
mov eax, dword [0x43ad20]
call fcn.0040df20
call fcn.00403ea8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43b2c0
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.00404a24
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x43b318
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x534410]
mov dl, 1
mov eax, dword [0x43ad20]
call fcn.0040df20
call fcn.00403ea8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0043ae58
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 0x455f60
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 0x455eac
call sub.user32.dll_EnumWindows
ret

Function at 0x456080
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 0x4560fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00455ae0
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x4560a5
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004556e0
cmp dword [ebp - 4], 0
je 0x4560e7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404a24
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 0x456104
lea eax, [ebp - 4]
call fcn.00404554
ret

Function at 0x459758
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 [0x535b98], 0
je 0x4598a7
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x534104]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4598a7
mov eax, dword [0x535b9c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x535b98]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x459876
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x535b98]
call fcn.0041d758
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x45986e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x45986e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x45986e
mov eax, dword [ebp - 0x14]
call fcn.004623f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45986e
push ebp
call fcn.00459714
pop ecx
test al, al
jne 0x45986e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x45982a
mov eax, dword [ebp - 0x14]
call fcn.00460f20
dec eax
jle 0x45986e
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.004038d0
cmp byte [ebp - 1], 0
je 0x45986e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x45986e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x535b9c]
call fcn.00458ee0
inc edi
dec ebx
jne 0x4597bd
mov eax, dword [0x535b9c]
cmp dword [eax + 8], 0
jle 0x45988e
mov eax, dword [0x535b9c]
call fcn.00458f70
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4598a7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0045957c
pop ecx
test al, al
jne 0x4598a7
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 0x45ce88
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 0x45ced4
mov eax, esi
call fcn.00473154
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45ced4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x45ced4
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 0x45d013
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x45cf14
cmp eax, 0x108
ja 0x45cf14
mov eax, esi
call fcn.00473154
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45d00a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x45d013
jmp 0x45d00a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x45cff3
cmp eax, 0x20a
ja 0x45cff3
test byte [esi + 0x50], 0x80
jne 0x45cf46
sub eax, 0x203
je 0x45cf43
sub eax, 3
je 0x45cf43
sub eax, 3
jne 0x45cf46
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x45cf5a
dec eax
je 0x45cf6f
dec eax
je 0x45cf8c
dec eax
je 0x45cf6f
jmp 0x45cf93
mov ecx, ebx
mov eax, dword [0x534104]
mov eax, dword [eax]
mov edx, esi
call fcn.0047cae0
jmp 0x45d00a
cmp byte [esi + 0x5d], 1
jne 0x45cf85
mov eax, esi
mov si, 0xffed
call fcn.004038d0
jmp 0x45d013
or word [esi + 0x54], 1
jmp 0x45d00a
and word [esi + 0x54], 0xfffe
jmp 0x45d00a
mov eax, dword [0x535b54]
cmp byte [eax + 0x20], 0
je 0x45d00a
mov eax, dword [0x535b54]
cmp dword [eax + 0x1c], 0
je 0x45d00a
mov eax, dword [ebx]
mov edx, dword [0x535b54]
cmp eax, dword [edx + 0x1c]
jne 0x45d00a
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.00473098
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.004038d0
jmp 0x45d013
cmp eax, 0xb00b
jne 0x45d00a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0045b7a8
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