joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445248
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x445264
cmp dword [esi + 4], 0
je 0x445291
test byte [ebx + 0x45], 1
jne 0x445283
mov eax, ebx
call fcn.004441c0
test eax, eax
jne 0x445283
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4453a1
mov edx, esi
mov eax, ebx
call fcn.00444ec0
jmp 0x4453a1
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44539a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00447134
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00442314
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00445248
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00447134
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4453a1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c554
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.00403c0c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44c5b5
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x44c5b5
cmp byte [ebp - 0x102], 0
je 0x44c5b5
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403e38
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456370
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x586154]
cmp dword [eax], 2
je 0x45638a
push 0
push 1
call sub.user32.dll_ExitWindowsEx
mov al, 1
pop ebp
ret
call fcn.004562f0
test al, al
je 0x45639e
push 0
push 9
call sub.user32.dll_ExitWindowsEx
mov al, 1
pop ebp
ret

Function at 0x45647c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040403c
xor eax, eax
push ebp
push 0x4564d5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00456440
mov eax, dword [ebp - 4]
call fcn.0040404c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4564b9
test al, 0x10
jne 0x4564bd
xor ebx, ebx
jmp 0x4564bf
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4564dc
lea eax, [ebp - 4]
call fcn.00403c0c
ret

Function at 0x456814
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00403ca4
mov eax, dword [ebp - 4]
call fcn.00403e88
mov edi, eax
test edi, edi
jle 0x45687a
mov ebx, 1
mov eax, dword [ebp - 8]
call fcn.00404058
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [ebp - 8]
mov eax, dword [eax]
movzx eax, byte [eax + ebx - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec edi
jne 0x456843
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x456ca0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
push ebp
call fcn.00456c5c
pop ecx
mov edx, eax
mov eax, ebx
call fcn.004041b8
mov eax, dword [ebx]
call fcn.0040404c
mov esi, eax
mov ebx, 1
mov eax, dword [ebp - 4]
call fcn.00403e88
mov dword [ebp - 8], eax
cmp ebx, dword [ebp - 8]
jg 0x456e3f
mov eax, dword [ebp - 4]
dec ebx
cmp ebx, dword [eax - 4]
jb 0x456ced
call fcn.00402ee8
inc ebx
movzx eax, byte [eax + ebx - 1]
shr eax, 2
and eax, 0x3f
inc eax
mov edx, 0x456e50
dec eax
cmp eax, dword [edx - 4]
jb 0x456d0a
call fcn.00402ee8
inc eax
mov al, byte [edx + eax - 1]
mov byte [esi], al
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jg 0x456d54
mov eax, dword [ebp - 4]
dec ebx
cmp ebx, dword [eax - 4]
jb 0x456d27
call fcn.00402ee8
inc ebx
movzx eax, byte [eax + ebx - 1]
shl eax, 4
and eax, 0x30
lea edx, [ebx + 1]
mov ecx, dword [ebp - 4]
dec edx
cmp edx, dword [ecx - 4]
jb 0x456d44
call fcn.00402ee8
inc edx
movzx edx, byte [ecx + edx - 1]
shr edx, 4
and edx, 0xf
or eax, edx
jmp 0x456d6e
mov eax, dword [ebp - 4]
dec ebx
cmp ebx, dword [eax - 4]
jb 0x456d62
call fcn.00402ee8
inc ebx
movzx eax, byte [eax + ebx - 1]
shl eax, 4
and eax, 0x30
inc eax
mov edx, 0x456e50
dec eax
cmp eax, dword [edx - 4]
jb 0x456d7f
call fcn.00402ee8
inc eax
mov al, byte [edx + eax - 1]
mov byte [esi + 1], al
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jg 0x456deb
lea eax, [ebx + 1]
mov edx, dword [ebp - 4]
dec eax
cmp eax, dword [edx - 4]
jb 0x456da0
call fcn.00402ee8
inc eax
movzx eax, byte [edx + eax - 1]
shl eax, 2
and eax, 0x3c
lea edx, [ebx + 2]
cmp edx, dword [ebp - 8]
jg 0x456dd0
mov ecx, dword [ebp - 4]
dec edx
cmp edx, dword [ecx - 4]
jb 0x456dc2
call fcn.00402ee8
inc edx
movzx edx, byte [ecx + edx - 1]
shr edx, 6
and edx, 3
or eax, edx
inc eax
mov edx, 0x456e50
dec eax
cmp eax, dword [edx - 4]
jb 0x456de1
call fcn.00402ee8
inc eax
mov al, byte [edx + eax - 1]
mov byte [esi + 2], al
jmp 0x456def
mov byte [esi + 2], 0x3d
lea eax, [ebx + 2]
cmp eax, dword [ebp - 8]
jg 0x456e2c
mov edx, dword [ebp - 4]
dec eax
cmp eax, dword [edx - 4]
jb 0x456e05
call fcn.00402ee8
inc eax
mov al, byte [edx + eax - 1]
and al, 0x3f
and eax, 0xff
inc eax
mov edx, 0x456e50
dec eax
cmp eax, dword [edx - 4]
jb 0x456e22
call fcn.00402ee8
inc eax
mov al, byte [edx + eax - 1]
mov byte [esi + 3], al
jmp 0x456e30
mov byte [esi + 3], 0x3d
add ebx, 3
add esi, 4
cmp ebx, dword [ebp - 8]
jle 0x456cdf
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x457278
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], eax
lea edi, [ebp - 0x60]
xor eax, eax
push ebp
push 0x45742c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [edi + 0x18], eax
xor eax, eax
mov dword [edi + 0x5c], eax
lea eax, [edi + 0x1c]
xor ecx, ecx
mov edx, 0x40
call fcn.00402c18
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
mov dword [edi + 0x10], 0xc3d2e1f0
mov eax, dword [ebp - 0x64]
call fcn.00403e88
mov esi, eax
mov eax, 8
mov ebx, dword [edi + 0x18]
add dword [edi + 0x18], esi
cmp ebx, dword [edi + 0x18]
jle 0x4572fa
inc dword [edi + 0x14]
dec eax
jne 0x4572ec
mov ebx, 1
test esi, esi
jle 0x457345
mov eax, dword [ebp - 0x64]
dec ebx
cmp ebx, dword [eax - 4]
jb 0x457314
call fcn.00402ee8
inc ebx
mov al, byte [eax + ebx - 1]
mov edx, dword [edi + 0x5c]
cmp edx, 0x3f
jbe 0x457326
call fcn.00402ee8
mov byte [edi + edx + 0x1c], al
inc ebx
inc dword [edi + 0x5c]
dec esi
cmp dword [edi + 0x5c], 0x40
jne 0x457341
xor eax, eax
mov dword [edi + 0x5c], eax
push ebp
call fcn.00456fc0
pop ecx
test esi, esi
jg 0x457306
mov eax, dword [edi + 0x5c]
cmp eax, 0x3f
jbe 0x457352
call fcn.00402ee8
mov byte [edi + eax + 0x1c], 0x80
cmp dword [edi + 0x5c], 0x38
jl 0x457364
push ebp
call fcn.00456fc0
pop ecx
mov eax, dword [edi + 0x14]
test eax, eax
jns 0x457370
call fcn.00402ee8
call fcn.00456f90
lea edx, [edi + 0x54]
mov dword [edx], eax
mov eax, dword [edi + 0x18]
test eax, eax
jns 0x457386
call fcn.00402ee8
call fcn.00456f90
lea edx, [edi + 0x58]
mov dword [edx], eax
push ebp
call fcn.00456fc0
pop ecx
mov eax, dword [edi]
call fcn.00456f90
mov dword [edi], eax
mov eax, dword [edi + 4]
call fcn.00456f90
mov dword [edi + 4], eax
mov eax, dword [edi + 8]
call fcn.00456f90
mov dword [edi + 8], eax
mov eax, dword [edi + 0xc]
call fcn.00456f90
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
call fcn.00456f90
mov dword [edi + 0x10], eax
lea edx, [ebp - 0x7c]
mov eax, edi
mov ecx, 0x14
call fcn.0040282c
mov eax, dword [ebp - 0x68]
mov edx, dword [0x585ebc]
mov edx, dword [edx]
call fcn.00403ca4
mov ebx, 0x14
lea esi, [ebp - 0x7c]
lea ecx, [ebp - 0x80]
xor eax, eax
mov al, byte [esi]
mov edx, 2
call fcn.00408f88
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x68]
call fcn.00403e90
mov eax, dword [ebp - 0x68]
inc esi
dec ebx
jne 0x4573f3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457433
lea eax, [ebp - 0x80]
call fcn.00403c0c
ret
Function at 0x4576fc
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test bl, bl
je 0x45771f
push esi
call sub.user32.dll_IsIconic
test eax, eax
je 0x45771f
push 9
push esi
call sub.user32.dll_ShowWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
jne 0x45772f
mov bl, 1
jmp 0x457821
mov eax, dword [0x586154]
cmp dword [eax], 2
jne 0x457743
mov eax, dword [0x585a4c]
cmp dword [eax], 4
jg 0x457777
mov eax, dword [0x586154]
cmp dword [eax], 1
jne 0x45780b
mov eax, dword [0x585a4c]
cmp dword [eax], 4
jg 0x457777
mov eax, dword [0x585a4c]
cmp dword [eax], 4
jne 0x45780b
mov eax, dword [0x585e44]
cmp dword [eax], 0
jle 0x45780b
xor ebx, ebx
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov edi, eax
push 0
push esi
call sub.user32.dll_GetWindowThreadProcessId
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push edi
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x4577c5
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 0
push edi
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
test bl, bl
jne 0x457817
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x2000
call sub.user32.dll_SystemParametersInfoA
push 2
push 0
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, dword [ebp - 8]
push eax
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
jmp 0x457817
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x45913c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push edi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, 0
mov edi, dword [0x588888]
shl edi, 2
xor edx, dword [esi + 0x587800]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x587888]
mov bl, dl
add ecx, dword [ebx*4 + 0x587c88]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x588088]
mov bl, dl
add ecx, dword [ebx*4 + 0x588488]
xor eax, ecx
xchg edx, eax
add esi, 4
cmp esi, edi
jne 0x459159
xchg edx, eax
xor eax, dword [esi + 0x587800]
xor edx, dword [esi + 0x587804]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop edi
pop esi
pop ecx
pop ebx
ret
Function at 0x4591b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, dword [0x588888]
inc esi
shl esi, 2
xor edx, dword [esi + 0x587800]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x587888]
mov bl, dl
add ecx, dword [ebx*4 + 0x587c88]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x588088]
mov bl, dl
add ecx, dword [ebx*4 + 0x588488]
xor eax, ecx
xchg edx, eax
sub esi, 4
cmp esi, 4
jne 0x4591c8
xchg edx, eax
xor eax, dword [0x587804]
xor edx, dword [0x587800]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop esi
pop ecx
pop ebx
ret
Function at 0x4594a8
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
push edi
mov dword [0x588888], 0x10
mov esi, 0x580ca0
mov edi, 0x587800
mov ecx, 0x422
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret

Function at 0x45babc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or edx, edx
je 0x45badb
jecxz 0x45badb
push ebx
movzx ebx, al
xor bl, byte [edx]
shr eax, 8
and eax, 0xffffff
xor eax, dword cs:[ebx + 0x45badc]
inc edx
loop 0x45bac3
pop ebx
ret
Function at 0x45de5c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45de8f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x14], 0
jne 0x45de85
mov eax, dword [ebp - 4]
call fcn.0045c518
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45de99
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 0
jne 0x45df4f
call sub.kernel32.dll_GetTickCount
sub eax, 0xf
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x20]
jb 0x45df4f
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
xor edx, edx
push ebp
push 0x45df45
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00409244
cmp eax, 0xffffffff
jne 0x45deef
pop dword fs:[0]
add esp, 8
jmp 0x45df4f
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x18]
jle 0x45df3b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x16], 0
je 0x45df0a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45df4f
mov eax, dword [ebp - 4]
mov byte [eax + 0x2e], 1
xor eax, eax
push ebp
push 0x45df31
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045c518
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45df3b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45df4f
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x45e610
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402c18
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 [0x586164]
cmp byte [edx + 8], 0
je 0x45e677
mov edx, dword [0x586154]
cmp dword [edx], 2
jne 0x45e677
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
pop ebp
ret
Function at 0x45e67c
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 0x45e734
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.0045e610
test al, al
je 0x45e716
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403cf0
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x45e716
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.0040404c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.0040404c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403dc0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x45e6cf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e73b
lea eax, [ebp - 0x2c]
call fcn.00403c0c
lea eax, [ebp - 0xc]
call fcn.00403c0c
ret

Function at 0x45e744
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 8
call fcn.00402c18
lea eax, [ebx + 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, edi
call fcn.0040404c
push eax
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 1]
mov eax, dword [ebp - 8]
call fcn.0045e190
mov byte [ebx], al
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x45e94c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45e9dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.0045e160
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.0040404c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x45e9c7
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x585c80]
call fcn.00405c64
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x45e010]
call fcn.0040bb94
call fcn.00403680
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e9e4
lea eax, [ebp - 0x10]
call fcn.00403c0c
ret
Function at 0x45e9f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45ea8b
push dword fs:[eax]
mov dword fs:[eax], esp
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.0040404c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45ea65
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x586174]
call fcn.00405c64
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x45e010]
call fcn.0040bb94
call fcn.00403680
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045e190
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ea92
lea eax, [ebp - 0x10]
call fcn.00403c0c
ret

Function at 0x4689c8
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
test byte [ebx + 0x20], 0x10
jne 0x468a68
cmp byte [ebx + 0x25b], 0
jne 0x468a68
cmp byte [ebx + 0x220], 0
jne 0x4689f7
mov dl, 1
mov eax, ebx
call fcn.00468ab0
cmp byte [ebx + 0x220], 0
je 0x468a68
mov byte [ebx + 0x25b], 1
cmp byte [ebx + 0x25d], 0
je 0x468a38
cmp word [ebx + 0x29e], 0
je 0x468a38
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x468a38
lea edx, [ebx + 0x2bc]
mov eax, dword [ebx + 0x2a0]
call dword [ebx + 0x29c]
mov eax, dword [0x585d88]
mov eax, dword [eax]
call fcn.0043aec0
push 6
mov eax, dword [0x585d88]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x585d88]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_ShowWindow
pop ebx
pop ebp
ret
Function at 0x468ff8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x20], 0x10
jne 0x4691c8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x25b], 0
je 0x4691c8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x22c], 0
jne 0x4691c8
xor eax, eax
push ebp
push 0x4691c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x22c], 1
mov byte [ebp - 5], 0
mov byte [ebp - 7], 1
mov eax, dword [ebp - 4]
cmp word [eax + 0x2b6], 0
je 0x469075
lea ecx, [ebp - 7]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x2b8]
call dword [ebx + 0x2b4]
cmp byte [ebp - 7], 0
jne 0x469085
call fcn.00403720
jmp 0x4691c8
mov al, byte [ebp - 7]
mov byte [ebp - 5], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x25d], 0
je 0x4690e5
mov eax, dword [ebp - 4]
cmp word [eax + 0x2a6], 0
je 0x4690e5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2bc]
call fcn.00403e88
test eax, eax
jle 0x4690e5
mov byte [ebp - 6], 0
lea ecx, [ebp - 6]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x2bc]
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x2a8]
call dword [ebx + 0x2a4]
cmp byte [ebp - 6], 0
jne 0x4690e5
call fcn.00403720
jmp 0x4691c8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x258], 0
jne 0x46910a
push 0
push 0
push 0x6d81
mov eax, dword [0x585d88]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_PostMessageA
xor eax, eax
push ebp
push 0x4691a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x585d88]
mov eax, dword [eax]
call fcn.0043af08
push 9
mov eax, dword [0x585d88]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x431550]
call fcn.00403138
mov dl, 1
call fcn.004351b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x431550]
call fcn.00403138
call fcn.00447134
mov dl, 1
call fcn.004576fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4691a9
mov eax, dword [ebp - 4]
mov byte [eax + 0x25b], 0
mov eax, dword [ebp - 4]
cmp word [eax + 0x296], 0
je 0x4691a1
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x298]
call dword [ebx + 0x294]
ret
mov al, byte [ebp - 5]
pop ebx
pop ecx
pop ecx
pop ebp
ret