joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a334
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49b7dc
cmp dword [edi], 0
jne 0x43a3b0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x49b7d8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x498890
mov ecx, 2
call fcn.00402818
mov edx, 0x43a30c
lea eax, [esi + 5]
call fcn.0043a32c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043a32c
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 0x43a385
mov dword [0x49b7d8], 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 0x43a4cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43a51c]
test si, 4
je 0x43a4e0
or bl, 1
test si, 8
je 0x43a4ea
or bl, 4
test si, 1
je 0x43a4f4
or bl, 8
test si, 2
je 0x43a4fe
or bl, 0x10
test si, 0x10
je 0x43a508
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43a517
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43a520
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43a558]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43a539
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43a548
or bl, 4
test esi, 0x20000000
je 0x43a553
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x440788
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44079a
add esp, 0xfffffff0
call fcn.00403144
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00414180
mov eax, ebx
call fcn.00440ad4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x40e084]
call fcn.00402e14
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x40e084]
call fcn.00402e14
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x40e084]
call fcn.00402e14
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x40e084]
call fcn.00402e14
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x40e084]
call fcn.00402e14
mov dword [ebx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x43d278
push eax
push 0
push 0
mov eax, dword [0x49acfc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x415648]
call fcn.00416b08
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x415648]
call fcn.00416b08
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x415648]
call fcn.00416b08
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.00440eb4
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x440dd0
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x440dd0
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x440dd0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4408a9
call fcn.0040319c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x440bb4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x440d5f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x440d40
mov dl, 1
mov eax, dword [0x40e384]
call fcn.00402e14
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403ae8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x440d2f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0042f538
test al, al
je 0x440d22
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x440d70
lea eax, [ebp - 0x254]
call fcn.00408a84
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x440d22
xor eax, eax
push ebp
push 0x440d1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x440da8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x440d04
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d18
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x440d04
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440d22
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x440c25
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00411214
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440d66
lea eax, [ebp - 0x260]
call fcn.00403ae8
ret

Function at 0x4415ac
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x49b7cc]
cmp byte [eax + 0x95], 0
jne 0x44161d
cmp dword [0x49b7e8], 0
jne 0x4415de
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x441568
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49b7e8], eax
cmp dword [0x49b7e4], 0
jne 0x4415f9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49b7e4], eax
cmp dword [0x49b7ec], 0
jne 0x44161d
push esp
push 0
push 0
push 0x44150c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x49b7ec], eax
pop edx
ret
Function at 0x441714
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44172b
add esp, 0xfffffff0
call fcn.00403144
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00414180
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40e084]
call fcn.00402e14
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40e084]
call fcn.00402e14
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x415f60]
call fcn.0041d524
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x4418a0
mov eax, dword [0x49abcc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041d8f4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4432c4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49abcc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040bb28
test eax, eax
je 0x44181e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408438
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bb50
test eax, eax
je 0x441832
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403d18
mov eax, dword [0x49aa24]
cmp byte [eax], 0
jne 0x441863
mov eax, ebx
call fcn.0044198c
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x441895
call fcn.0040319c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x441bfc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49b7cc]
cmp dword [eax + 0x24], 0
je 0x441c9f
cmp dword [ebx + 0x84], 0
jne 0x441c99
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x441b8c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x441c99
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x441c62
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x441c99
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0040f748
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x441c71
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x4426ac
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x4426e1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403bd0
jmp 0x4426eb
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403b3c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x443638
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x443670
mov eax, esi
call fcn.0042b2c8
test al, al
je 0x443670
mov eax, dword [ebx + 0x74]
call fcn.0042afcc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x443670
push 0
mov eax, dword [ebx + 0x74]
call fcn.0042afcc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
mov ebx, 0x498bb8
test edx, edx
jne 0x44a5f8
xor eax, eax
pop esi
pop ebx
ret
xor eax, 0xffffffff
cmp ecx, 8
jb 0x44a6c0
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
sub ecx, 8
cmp ecx, 8
jae 0x44a604
test ecx, ecx
je 0x44a6df
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
mov esi, dword [ebx + esi*4]
shr eax, 8
xor esi, eax
mov eax, esi
inc edx
dec ecx
test ecx, ecx
jne 0x44a6c4
xor eax, 0xffffffff
pop esi
pop ebx
ret
Function at 0x44e6e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x44e70a
cmp dword [ebx + 0x64], 0
jne 0x44e70a
cmp dword [ebx + 0x6c], 0
jne 0x44e70a
mov esi, edi
jmp 0x44e798
cmp esi, 0xffffffff
jne 0x44e715
dec esi
jmp 0x44e798
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x44e798
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.0044a528
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x44e760
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x44e765
mov word [edx], 0
dec eax
test eax, eax
jne 0x44e746
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x44e78c
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x44e791
mov word [edx], 0
dec eax
test eax, eax
jne 0x44e772
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x44e7f6
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.0044e474
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x44e7e1
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x44e7f6
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x44e6ea
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x452510
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, esi
call fcn.00452734
mov ebx, eax
mov eax, esi
call fcn.00452468
mov edi, eax
dec edi
test edi, edi
jl 0x452546
inc edi
mov eax, dword [esi + 8]
cdq
xor eax, edx
sub eax, edx
mov edx, eax
mov eax, ebx
xor ecx, ecx
call fcn.00402b20
add ebx, dword [esi + 8]
dec edi
jne 0x45252d
pop edi
pop esi
pop ebx
ret
Function at 0x456cc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov edi, eax
mov eax, dword [0x49ad90]
mov eax, dword [eax]
cmp byte [eax + 0x8d], 0
jne 0x456d1f
mov ax, word [0x456f38]
mov word [edi + 0x158], ax
mov ax, word [0x456f38]
mov word [edi + 0x15a], ax
mov ax, word [0x456f38]
mov word [edi + 0x15c], ax
mov ax, word [0x456f38]
mov word [edi + 0x15e], ax
mov ax, word [0x456f38]
mov word [edi + 0x160], ax
jmp 0x456f2d
mov bp, word [edi + 0x158]
mov ax, word [0x456f38]
mov word [edi + 0x158], ax
mov eax, esp
xor ecx, ecx
mov edx, 0x10
call fcn.00402b20
cmp byte [edi + 0x184], 0
jne 0x456e2f
push esp
mov eax, dword [edi + 4]
push eax
call sub.winmm.dll_joyGetPos
test eax, eax
jne 0x456e2f
mov eax, dword [esp]
cmp eax, dword [edi + 0x164]
jae 0x456d7f
mov ax, word [0x456f3c]
or ax, word [edi + 0x158]
mov word [edi + 0x158], ax
mov eax, dword [esp]
cmp eax, dword [edi + 0x168]
jbe 0x456d9e
mov ax, word [0x456f40]
or ax, word [edi + 0x158]
mov word [edi + 0x158], ax
mov eax, dword [esp + 4]
cmp eax, dword [edi + 0x16c]
jae 0x456dbe
mov ax, word [0x456f44]
or ax, word [edi + 0x158]
mov word [edi + 0x158], ax
mov eax, dword [esp + 4]
cmp eax, dword [edi + 0x170]
jbe 0x456dde
mov ax, word [0x456f48]
or ax, word [edi + 0x158]
mov word [edi + 0x158], ax
test byte [esp + 0xc], 1
je 0x456df9
mov ax, word [0x456f4c]
or ax, word [edi + 0x158]
mov word [edi + 0x158], ax
test byte [esp + 0xc], 2
je 0x456e14
mov ax, word [0x456f50]
or ax, word [edi + 0x158]
mov word [edi + 0x158], ax
test byte [esp + 0xc], 4
je 0x456e2f
mov ax, word [0x456f4c]
or ax, word [edi + 0x158]
mov word [edi + 0x158], ax
push 0x12
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x456e8a
xor ebx, ebx
xor esi, esi
xor eax, eax
mov al, bl
shl eax, 2
lea eax, [edi + eax*8]
mov eax, dword [eax + esi*4 + 0xc]
push eax
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
je 0x456e7e
mov edx, ebx
lea eax, [esp + 0x10]
mov cl, 2
call fcn.00402c60
mov ax, word [esp + 0x10]
or ax, word [edi + 0x158]
mov word [edi + 0x158], ax
inc esi
cmp esi, 8
jne 0x456e42
inc ebx
cmp bl, 0xa
jne 0x456e40
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
je 0x456ead
mov ax, word [0x456f54]
or ax, word [edi + 0x158]
mov word [edi + 0x158], ax
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
je 0x456ed0
mov ax, word [0x456f58]
or ax, word [edi + 0x158]
mov word [edi + 0x158], ax
push 0x10
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
je 0x456ef3
mov ax, word [0x456f5c]
or ax, word [edi + 0x158]
mov word [edi + 0x158], ax
push 0x11
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
je 0x456f16
mov ax, word [0x456f60]
or ax, word [edi + 0x158]
mov word [edi + 0x158], ax
not ebp
and bp, word [edi + 0x158]
or bp, word [edi + 0x15a]
mov word [edi + 0x15a], bp
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x457d28
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x457e91
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403b80
mov eax, dword [ebp - 0x10]
call fcn.00457978
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x457d7a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00403fb0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00458408
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x457e4f
xor eax, eax
push ebp
push 0x457e48
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00457b24
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00457ec0
test al, al
je 0x457e26
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403bd0
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x457e26
mov eax, dword [ebp - 0x34]
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 - 0x14]
call fcn.00403f2c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x457e20
mov eax, dword [ebp - 0x14]
call fcn.00403f2c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403ca0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00457d28
dec ebx
cmp ebx, 0xffffffff
jne 0x457dd9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457e4f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00457b24
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00403f2c
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00457b10
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457e98
lea eax, [ebp - 0x3c]
call fcn.00403ae8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403b0c
ret

Function at 0x457ec0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402b20
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 [0x49af60]
cmp byte [edx + 8], 0
je 0x457f24
mov edx, dword [0x49af54]
cmp dword [edx], 2
jne 0x457f24
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x457f28
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 0x457fe0
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.00457ec0
test al, al
je 0x457fc2
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403bd0
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x457fc2
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.00403f2c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00403f2c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403ca0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x457f7b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457fe7
lea eax, [ebp - 0x2c]
call fcn.00403ae8
lea eax, [ebp - 0xc]
call fcn.00403ae8
ret

Function at 0x457ff0
Capabilities:
Query or enumerate registry value

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 0x4580a8
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.00457ec0
test al, al
je 0x45808a
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403bd0
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x45808a
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
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.00403f2c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00403f2c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403ca0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x458043
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4580af
lea eax, [ebp - 0x2c]
call fcn.00403ae8
lea eax, [ebp - 0xc]
call fcn.00403ae8
ret