joyce8/EMBER2024-capa huggingface dataset:
Function at 0x20a1c9c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, 1
push edi
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x20a1cb6
xor ebx, ebx
push 0x10
mov esi, 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x20a1cca
xor esi, esi
mov ecx, dword [0x20af818]
mov edi, dword [ebp + 0xc]
lea eax, [edi - 0x21]
cmp eax, 0xd
ja case.0x20a1cdf.41
jmp dword [eax*4 + 0x20a1e27]
mov ebx, dword [0x20af818]
mov eax, dword [0x20af808]
shl eax, 3
lea ecx, [edi - 0x21]
sub ebx, eax
push 0
cmp ecx, 1
sbb eax, eax
add eax, 3
push eax
push 0
push dword [ebp + 8]
call fcn.020a164a
mov edx, dword [0x20af808]
cmp edi, 0x21
lea ecx, [ebx + edx*8]
jne 0x20a1d92
jmp 0x20a1d81
test ebx, ebx
jne 0x20a1dcf
test byte [0x20af7e0], 0x10
jne case.0x20a1cdf.41
and cl, 0xf8
add ecx, 8
cmp dword [0x20af7e8], ecx
jl 0x20a1d9a
or byte [0x20af7e0], 0x10
jmp 0x20a1da0
test ebx, ebx
je 0x20a1d52
xor ecx, ecx
jmp 0x20a1d63
test byte [0x20af7e0], 0x10
je 0x20a1d60
sub ecx, 8
jmp 0x20a1d63
and cl, 0xf8
and byte [0x20af7e0], 0xef
jmp 0x20a1da0
and byte [0x20af7e0], 0xef
dec ecx
jmp 0x20a1d81
test ebx, ebx
jne case.0x20a1cdf.41
sub ecx, 8
test ecx, ecx
jge 0x20a1da0
jmp case.0x20a1cdf.41
and byte [0x20af7e0], 0xef
inc ecx
cmp dword [0x20af7e8], ecx
jge 0x20a1da0
mov ecx, dword [0x20af7e8]
push esi
push ecx
push dword [ebp + 8]
call fcn.020a2148
jmp case.0x20a1cdf.41
test ebx, ebx
jne case.0x20a1cdf.41
add ecx, 8
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, dword [0x20af804]
jle 0x20a1d92
test byte [0x20af7e0], 0x10
je case.0x20a1cdf.41
and byte [0x20af7e0], 0xef
jmp 0x20a1d9a
test esi, esi
je 0x20a1dee
test ebx, ebx
jne case.0x20a1cdf.41
push 0
push 0x16
push dword [ebp + 8]
call fcn.020a1e5f
jmp case.0x20a1cdf.41
test ebx, ebx
je case.0x20a1cdf.41
push 0
push 3
push dword [ebp + 8]
call fcn.020a1e5f
jmp case.0x20a1cdf.41
test ebx, ebx
jne case.0x20a1cdf.41
test esi, esi
je 0x20a1e16
push 0
push 0x18
push dword [ebp + 8]
call fcn.020a1e5f
jmp case.0x20a1cdf.41
push 0x2e
push dword [ebp + 8]
call fcn.020a2312
pop edi
pop esi
pop ebx
pop ebp
ret 0x14

Function at 0x20a23f9
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
mov ebx, dword [0x20af820]
push ebp
xor edi, edi
sub ebx, dword [0x20af81c]
je 0x20a247b
push dword [esp + 0x14]
mov esi, dword [0x20af7e4]
add esi, dword [0x20af81c]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x20a247b
lea eax, [ebx + 7]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, edi
mov ebp, eax
je 0x20a2475
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea edi, [eax + 4]
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, 1
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebp
mov eax, dword [0x20af82c]
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x20a2484
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
xor edi, edi
test byte [0x20af7e0], 8
je 0x20a24a0
and byte [0x20af7e0], 0xf7
inc dword [0x20af818]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x20a2557
mov eax, dword [0x20af82c]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x20a2551
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
mov eax, dword [eax]
add eax, dword [0x20af7e8]
cmp eax, 0x4000
ja 0x20a254a
mov eax, dword [0x20af820]
cmp dword [0x20af81c], eax
je 0x20a24f8
push 8
push dword [esp + 0x18]
call fcn.020a2312
mov edi, dword [0x20af7e4]
mov ebp, dword [esi]
add edi, dword [0x20af818]
mov eax, dword [0x20af7e8]
sub eax, dword [0x20af818]
lea ecx, [edi + ebp]
push eax
add esi, 4
push edi
push ecx
call fcn.020a8eb0
add esp, 0xc
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 1
add dword [0x20af7e8], ebp
push dword [esp + 0x14]
add dword [0x20af818], ebp
call fcn.020a15ec
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x20a2967
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push 0x500
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov dword [0x20af6a4], eax
test eax, eax
jne 0x20a2a1b
push 0x128
push 0x20af6b0
push 0x502
push esi
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
cmp byte [0x20af6b0], 0
jne 0x20a29b8
mov dword [0x20af6a4], 1
jmp 0x20a2a1b
push 0
lea eax, [ebp - 4]
push 0x20af6b0
push eax
call fcn.020a6d6a
test eax, eax
je 0x20a2a12
cmp dword [ebp + 0xc], 0
je 0x20a29db
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
push 0x100
lea eax, [ebp - 0x104]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x10
lea ecx, [ebp - 0x104]
push ecx
mov eax, dword [0x20af580]
push 0x94
push esi
push eax
call fcn.020a6534
add esp, 0x14
mov eax, 1
jmp 0x20a2a1d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x20a2dfb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 8]
push esi
push edi
xor esi, esi
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit
push MenuHelp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x20a2e83
lea eax, [ebp - 4]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 4
push eax
push 0x20ab198
push ecx
push esi
push str.FindFlags
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 4]
mov edi, dword [ebp + 8]
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0x3c
push edi
push eax
push esi
push 0x20a94f8
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x20a2e78
cmp dword [ebp - 0x10], 3
jne 0x20a2e78
cmp dword [ebp - 4], 0x3c
jne 0x20a2e78
mov esi, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x20a2e86
mov edi, dword [ebp + 8]
test esi, esi
je 0x20a2eac
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [edi + 0x30], eax
jge 0x20a2e9a
mov dword [edi + 0x30], eax
cmp dword [edi + 0x34], eax
jge 0x20a2ea2
mov dword [edi + 0x34], eax
cmp dword [edi + 0x2c], eax
jge 0x20a2efc
mov dword [edi + 0x2c], eax
jmp 0x20a2efc
mov dword [edi + 0x38], 1
push 0
call dword [sym.imp.USER32.dll_GetDC]
push 0x58
mov dword [ebp - 0xc], eax
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push dword [ebp - 0xc]
push 0
mov ebx, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, ebx
imul eax, eax, 9
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [edi + 0x2c], eax
mov eax, ebx
imul eax, eax, 5
cdq
imul ebx, ebx, 3
and edx, 3
mov dword [edi + 0x34], ebx
add eax, edx
sar eax, 2
mov dword [edi + 0x30], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x20a34c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
lea eax, [ebp - 4]
push esi
push edi
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit
push MenuHelp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x20a356f
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
xor esi, esi
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov ecx, dword [0x20ab050]
mov edi, dword [0x20ab044]
push esi
mov ebx, 0x101d
push esi
mov dword [ebp - 0x14], ecx
push ebx
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov dword [ebp - 0x10], eax
push 1
push ebx
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x3c
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0xc], eax
cmp dword [0x20ab060], 1
sbb eax, eax
push 3
inc eax
push esi
push 0x20a94f8
mov dword [ebp - 8], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
push 0x20ab198
push 4
push esi
push str.FindFlags
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
mov eax, dword [0x20ab040]
push 9
push 0x110b
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x20ab058], 0
je 0x20a3599
mov eax, dword [0x20ab058]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x20ab054], 0
je 0x20a35ae
mov eax, dword [0x20ab054]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x20a35bf
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x380
jl 0x20a35fe
cmp edi, 0x3ff
jg 0x20a35fe
mov eax, dword [0x20ab040]
cmp dword [0x20ab04c], eax
jne 0x20a35f2
push 0
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.020a5323
jmp 0x20a3601
push edi
mov esi, dword [ebp + 8]
push esi
call fcn.020a8663
jmp 0x20a3601
mov esi, dword [ebp + 8]
cmp edi, 0x288
jg 0x20a3618
je 0x20a3665
cmp edi, 0x280
je 0x20a3640
jmp case.0x20a3639.666
cmp edi, 0x300
jg case.0x20a3639.666
je 0x20a379c
sub edi, 0x291
cmp edi, 0x12
ja case.0x20a3639.666
jmp dword [edi*4 + 0x20a37a8]
mov eax, dword [0x20ab040]
cmp dword [0x20ab04c], eax
jne 0x20a3654
mov eax, dword [0x20ab044]
jmp 0x20a3659
mov eax, dword [0x20ab040]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.0x20a3639.666
push esi
call fcn.020a57c4
jmp case.0x20a3639.666
push esi
call fcn.020a66da
jmp case.0x20a3639.666
push esi
call fcn.020a41be
jmp case.0x20a3639.666
push esi
call fcn.020a4247
jmp case.0x20a3639.666
push esi
call fcn.020a7cdb
jmp case.0x20a3639.666
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
jmp case.0x20a3639.666
push 1
push esi
call fcn.020a43f6
jmp case.0x20a3639.666
push 0
mov eax, dword [0x20ab040]
push 9
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
push esi
call fcn.020a4c7d
jmp case.0x20a3639.666
push 1
push esi
call fcn.020a83c3
jmp case.0x20a3639.666
push 3
push esi
call fcn.020a83c3
jmp case.0x20a3639.666
push 0x10
call fcn.020a62c1
add esp, 4
mov edi, eax
mov eax, dword [0x20af580]
push 0x64
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push 0x20ab1a0
push edi
push esi
call dword [sym.imp.SHELL32.dll_ShellAboutA]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp case.0x20a3639.666
cmp dword [0x20ab060], 1
sbb eax, eax
and eax, 5
push eax
mov dword [0x20ab060], eax
push dword [0x20ab048]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call fcn.020a3e9f
jmp case.0x20a3639.666
push esi
call fcn.020a3e06
jmp case.0x20a3639.666
push 0
push esi
call fcn.020a43f6
jmp case.0x20a3639.666
push 0
mov eax, dword [0x20af578]
push 0xb
push eax
push esi
call dword [sym.imp.USER32.dll_WinHelpA]
jmp case.0x20a3639.666
push 4
push esi
call fcn.020a83c3
jmp case.0x20a3639.666
push 0
mov eax, dword [0x20ab040]
push 9
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
push esi
call fcn.020a5c56
jmp case.0x20a3639.666
push esi
call fcn.020a6b15
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x20a4021
Capabilities:
Get graphical window text

Disassembly:
push esi
push 0xe
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
call esi
push 0xd
mov dword [0x20af574], eax
call esi
push 8
mov dword [0x20af570], eax
call esi
push 5
mov dword [0x20ab460], eax
call esi
push eax
mov dword [0x20af57c], eax
push dword [0x20ab054]
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
push dword [0x20af57c]
push 0
push 0x1001
push dword [0x20ab044]
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
ret
Function at 0x20a5c56
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push ebx
lea eax, [ebp - 0x204]
push esi
push edi
push 1
push eax
push dword [ebp + 0xc]
push dword [0x20ab040]
call fcn.020a5cef
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp + 8]
lea ebx, [eax + 1]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x20a5ce6
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
test eax, eax
je 0x20a5ce0
push eax
lea esi, [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp - 4]
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x20a5e04
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
push esi
push 3
push 0x110a
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x20a5ee5
push 0
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp + 8]
call fcn.020a5cef
lea ecx, [ebp - 4]
lea edx, [ebp - 0x104]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x20a5e5b
xor eax, eax
jmp 0x20a5eea
mov edi, 0xff
lea eax, [ebp - 0x104]
push eax
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub edi, eax
lea eax, [ebp - 0x104]
push edi
push eax
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x20a5ecb
push 0
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 4]
call fcn.020a5ef3
push eax
lea ecx, [ebp - 0x104]
push ecx
push 0xffff0001
push esi
push dword [ebp + 8]
call fcn.020a5db0
mov eax, ebx
push edi
inc ebx
lea ecx, [ebp - 0x104]
push ecx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x20a5e8b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push 0
push 0x1113
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x20a5ef3
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x20a5f3e
push esi
push esi
push esi
lea eax, [ebp - 8]
push esi
push esi
push esi
push esi
push eax
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x20a5f35
cmp dword [ebp - 8], esi
jbe 0x20a5f35
mov esi, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x20a6135
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
xor esi, esi
push ebp
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov cl, byte [eax]
cmp cl, 0x22
jne 0x20a615e
inc eax
mov cl, byte [eax]
test cl, cl
je 0x20a6156
cmp cl, 0x22
jne 0x20a614a
cmp byte [eax], 0x22
jne 0x20a6169
inc eax
jmp 0x20a6169
cmp cl, 0x20
jle 0x20a6169
inc eax
cmp byte [eax], 0x20
jg 0x20a6163
cmp byte [eax], 0
je 0x20a6179
cmp byte [eax], 0x20
jg 0x20a617c
inc eax
cmp byte [eax], 0
jne 0x20a616e
cmp byte [eax], 0x20
jne 0x20a6184
inc eax
cmp byte [eax], 0x20
je 0x20a617e
mov cl, byte [eax]
cmp cl, 0x2f
je 0x20a6190
cmp cl, 0x2d
jne 0x20a61f3
inc eax
cmp byte [eax], 0
je 0x20a6179
mov ebx, 1
mov cl, byte [eax]
cmp cl, 0x20
je 0x20a6179
movsx ecx, cl
cmp ecx, 0x4c
jg 0x20a61b7
je 0x20a624a
cmp ecx, 0x45
je 0x20a61df
jmp 0x20a61e5
cmp ecx, 0x65
jg 0x20a61ce
je 0x20a61df
cmp ecx, 0x52
je 0x20a624a
cmp ecx, 0x53
je 0x20a61e3
jmp 0x20a61e5
cmp ecx, 0x6c
je 0x20a624a
cmp ecx, 0x72
je 0x20a624a
cmp ecx, 0x73
je 0x20a61e3
jmp 0x20a61e5
mov esi, ebx
jmp 0x20a61e5
mov edi, ebx
push eax
call dword [sym.imp.USER32.dll_CharNextA]
cmp byte [eax], 0
jne 0x20a619b
jmp 0x20a6179
test esi, esi
jne 0x20a6225
cmp byte [eax], 0
jne 0x20a6200
xor eax, eax
jmp 0x20a624f
push eax
call fcn.020a64dc
test eax, eax
je 0x20a621e
push eax
push edi
push 0
call fcn.020a409f
push 0
call fcn.020a64dc
test eax, eax
jne 0x20a620a
mov eax, 1
jmp 0x20a624f
push eax
xor esi, esi
call fcn.020a64dc
mov ebx, eax
push esi
call fcn.020a64dc
mov ebp, eax
push esi
call fcn.020a64dc
test eax, eax
jne 0x20a624a
push ebp
push ebx
push edi
push esi
call fcn.020a420d
mov eax, 2
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x20a6254
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push MenuHelp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x20a62ba
lea eax, [ebp - 8]
lea ecx, [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
mov dword [ebp - 8], 4
push ecx
push edx
push esi
push str.DisableRegistryTools
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x20a62b1
cmp dword [ebp - 0x10], 4
jne 0x20a62b1
cmp dword [ebp - 8], 4
jne 0x20a62b1
cmp dword [ebp - 0xc], esi
je 0x20a62b1
mov esi, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x20a6312
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor esi, esi
mov edi, 0x20ab570
mov ebx, 0x20af590
mov ecx, esi
lea eax, [ebp - 0xc]
inc esi
push eax
push edi
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x100
mov dword [ebp - 0xc], 0x4000
push 0
push eax
push ebx
push ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x20a636b
push dword [ebp - 0xc]
push edi
push dword [ebp - 0x10]
push 0
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x20a6327
mov esi, 1
push 0x100
push 0x20ab470
push 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x20a63e6
mov edi, 0x20ab470
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x20a63cf
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x20a63c6
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.020a6312
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
push 0x100
inc esi
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x20a638e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x20a65e9
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
sub esp, 0x2c
push ebx
lea ecx, [ebp - 4]
push esi
mov dword [ebp - 0x10], eax
push edi
mov esi, dword [ebp + 8]
push ecx
push 9
push eax
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x20a66c7
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x14]
push eax
lea edx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
push ecx
lea eax, [ebp - 8]
push edx
lea ecx, [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
push ecx
push 0
push edx
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edi, eax
test edi, edi
je 0x20a6664
cmp edi, 0xea
je 0x20a6664
cmp edi, 0x7a
je 0x20a6664
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x20a66d1
mov eax, dword [ebp - 8]
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x20a6687
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 8
jmp 0x20a66d1
xor edi, edi
mov eax, dword [ebp - 8]
inc eax
push eax
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x20a66aa
push ebx
push dword [ebp - 4]
call fcn.020a65e9
test eax, eax
je 0x20a66ab
inc edi
cmp eax, 0x103
je 0x20a66b7
cmp edi, dword [ebp - 0xc]
jb 0x20a6689
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x20a6e36
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov dword [0x20ab45c], 0x80
push ebx
lea eax, [ebp - 0x8c]
push esi
xor ebx, ebx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov dword [0x20ab440], eax
cmp eax, 0xffffffff
je 0x20a6f12
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, 0x64
sub edx, edx
mov esi, 0x20a96e0
mov dword [0x20ab454], ebx
div ecx
mov dword [0x20ab450], eax
mov dword [0x20ab458], ebx
mov dword [0x20ab444], 0x200
call fcn.020a76cc
cmp byte [0x20a96e0], bl
je 0x20a6ebc
mov al, byte [esi]
push eax
call fcn.020a77f3
test eax, eax
je 0x20a6ebc
inc esi
cmp byte [esi], 0
jne 0x20a6eaa
cmp byte [esi], 0
jne 0x20a6efa
push 0x34
call fcn.020a77f3
mov esi, eax
call fcn.020a76cc
lea eax, [ebp - 1]
push eax
call fcn.020a7734
test eax, eax
je 0x20a6f04
push dword [ebp - 1]
call fcn.020a7841
test eax, eax
je 0x20a6f04
test esi, esi
je 0x20a6ef3
call fcn.020a70bb
jmp 0x20a6f04
call fcn.020a6f24
jmp 0x20a6f04
mov dword [0x20ab45c], 0x85
mov eax, dword [0x20ab440]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x20a6f1c
mov dword [0x20ab45c], 0x81
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4