joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464e78
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 0x465023
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x465004
mov dl, 1
mov eax, dword [0x41562c]
call fcn.00403b24
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404944
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x464ff3
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.004516cc
test al, al
je 0x464fe6
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, 0x465034
lea eax, [ebp - 0x254]
call fcn.0040a36c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x464fe6
xor eax, eax
push ebp
push 0x464fdf
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 0x46506c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x464fc8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404bac
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x464fc8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404bac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464fe6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x464ee9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a170
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46502a
lea eax, [ebp - 0x260]
call fcn.00404944
ret

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

Disassembly:
push ecx
mov eax, dword [0x531c38]
cmp byte [eax + 0xa5], 0
jne 0x465ad9
cmp dword [0x531c50], 0
jne 0x465a9a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x465a24
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x531c50], eax
cmp dword [0x531c4c], 0
jne 0x465ab5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x531c4c], eax
cmp dword [0x531c54], 0
jne 0x465ad9
push esp
push 0
push 0
push 0x4659c8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x531c54], eax
pop edx
ret
Function at 0x465c2c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x465c43
add esp, 0xfffffff0
call fcn.00403eb8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420178
mov eax, dword [0x5308c0]
cmp word [eax + 2], 0
jne 0x465c6b
mov eax, dword [0x5308c0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00467308
mov eax, dword [0x530984]
cmp word [eax + 2], 0
jne 0x465c85
mov eax, dword [0x530984]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00467500
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x414fc8]
call fcn.00403b24
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x414fc8]
call fcn.00403b24
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4226a8]
call fcn.0042a2f4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x465e0c
mov eax, dword [0x5307bc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a6c4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x467ae8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5307bc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040def0
test eax, eax
je 0x465d7a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409c88
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040df18
test eax, eax
je 0x465d8e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404bac
mov eax, dword [0x53062c]
cmp byte [eax], 0
jne 0x465dc2
mov eax, ebx
call fcn.00465f34
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00467cc4
mov eax, ebx
call fcn.00468604
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x465e02
call fcn.00403f10
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4661a8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x531c38]
cmp dword [eax + 0x30], 0
je 0x466252
cmp dword [ebx + 0x94], 0
jne 0x46624c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x466138
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46624c
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 0x466212
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46624c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417854
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x466221
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x466d30
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x466d65
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404a34
jmp 0x466d72
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404998
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x467ea0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x467ee1
mov eax, esi
call fcn.0044cdc0
test al, al
je 0x467ee1
mov eax, dword [ebx + 0x84]
call fcn.0044cabc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x467ee1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044cabc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46b868
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.00403168
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 [0x530b60]
cmp byte [edx + 0xc], 0
je 0x46b8cc
mov edx, dword [0x530b58]
cmp dword [edx], 2
jne 0x46b8cc
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 0x46b8d0
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 0x46b988
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0046b868
test al, al
je 0x46b96a
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404a34
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x46b96a
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.00404df4
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404df4
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404b34
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x46b923
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b98f
lea eax, [ebp - 0x2c]
call fcn.00404944
lea eax, [ebp - 0xc]
call fcn.00404944
ret

Function at 0x46b998
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 0x46ba50
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0046b868
test al, al
je 0x46ba32
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404a34
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x46ba32
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.00404df4
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00404df4
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404b34
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x46b9eb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ba57
lea eax, [ebp - 0x2c]
call fcn.00404944
lea eax, [ebp - 0xc]
call fcn.00404944
ret
Function at 0x47266c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x472744
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x531cb8], 0
jne 0x472728
lea eax, [ebp - 4]
mov edx, 0x47275c
call fcn.004049dc
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404df4
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x472728
mov eax, ebx
call fcn.00402768
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x472721
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47270b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x47276c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47270b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x531cb8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472728
mov eax, dword [ebp - 0xc]
call fcn.00402788
ret
mov ebx, dword [0x531cb8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47274b
lea eax, [ebp - 4]
call fcn.00404944
ret

Function at 0x484ab4
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x531cdc], 0
jne 0x484ad7
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x484a28
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x531cdc], eax
ret
Function at 0x486a8c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
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 0x486bf6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004049dc
mov eax, dword [ebp - 0x10]
call fcn.0048675c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x486adf
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404e94
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.00487270
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x486bb4
xor eax, eax
push ebp
push 0x486bad
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004868dc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00486c28
test al, al
je 0x486b8b
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404a34
mov ebx, dword [ebp - 0x38]
dec ebx
test ebx, ebx
jl 0x486b8b
inc ebx
xor esi, esi
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.00404df4
push eax
push esi
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x486b87
mov eax, dword [ebp - 0x14]
call fcn.00404df4
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404b34
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00486a8c
inc esi
dec ebx
jne 0x486b40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486bb4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004868dc
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404df4
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004868c8
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 0x486bfd
lea eax, [ebp - 0x3c]
call fcn.00404944
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404968
ret
Function at 0x486bb4
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
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 0x486bf6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004049dc
mov eax, dword [ebp - 0x10]
call fcn.0048675c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x486adf
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404e94
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.00487270
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x486bb4
xor eax, eax
push ebp
push 0x486bad
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004868dc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00486c28
test al, al
je 0x486b8b
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404a34
mov ebx, dword [ebp - 0x38]
dec ebx
test ebx, ebx
jl 0x486b8b
inc ebx
xor esi, esi
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.00404df4
push eax
push esi
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x486b87
mov eax, dword [ebp - 0x14]
call fcn.00404df4
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404b34
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00486a8c
inc esi
dec ebx
jne 0x486b40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486bb4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004868dc
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404df4
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004868c8
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 0x486bfd
lea eax, [ebp - 0x3c]
call fcn.00404944
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404968
ret

Function at 0x486c28
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.00403168
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 [0x530b60]
cmp byte [edx + 0xc], 0
je 0x486c8c
mov edx, dword [0x530b58]
cmp dword [edx], 2
jne 0x486c8c
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 0x486c90
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 0x486d48
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00486c28
test al, al
je 0x486d2a
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404a34
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x486d2a
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.00404df4
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404df4
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404b34
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x486ce3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486d4f
lea eax, [ebp - 0x2c]
call fcn.00404944
lea eax, [ebp - 0xc]
call fcn.00404944
ret

Function at 0x486d58
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 0x486e10
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00486c28
test al, al
je 0x486df2
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404a34
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x486df2
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.00404df4
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00404df4
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404b34
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x486dab
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486e17
lea eax, [ebp - 0x2c]
call fcn.00404944
lea eax, [ebp - 0xc]
call fcn.00404944
ret
Function at 0x4871e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404df4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x487224
push ebp
call fcn.00487178
pop ecx
mov eax, dword [ebp - 8]
call fcn.00486770
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

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

Disassembly:
push ebx
push esi
dec ecx
test ecx, ecx
jl 0x487809
inc ecx
mov ebx, dword [eax]
xor bl, byte [edx]
and bl, 0xff
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x52e178]
mov esi, dword [eax]
shr esi, 8
xor ebx, esi
mov dword [eax], ebx
inc edx
dec ecx
jne 0x4877e8
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404de4
xor eax, eax
push ebp
push 0x487879
push dword fs:[eax]
mov dword fs:[eax], esp
or ebx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.00404bfc
test eax, eax
jle 0x487863
mov esi, 1
mov edx, dword [ebp - 4]
mov dl, byte [edx + esi - 1]
xor dl, bl
and dl, 0xff
and edx, 0xff
mov edx, dword [edx*4 + 0x52e178]
shr ebx, 8
xor edx, ebx
mov ebx, edx
inc esi
dec eax
jne 0x48783f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487880
lea eax, [ebp - 4]
call fcn.00404944
ret

Function at 0x49fe2c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.0049fdf4
mov eax, dword [ebx]
call fcn.00404bfc
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x49fe72
mov eax, ebx
mov edx, 0x49fe80
call fcn.00404c04
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49fe84
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.0049fdf4
mov eax, dword [ebx]
call fcn.00404bfc
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x49feca
mov eax, ebx
mov edx, 0x49fed8
call fcn.00404c04
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a2db8
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
mov edx, 0x94
call fcn.00407b74
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
jb 0x4a2dec
cmp dword [esp + 8], 1
jb 0x4a2dec
cmp dword [esp + 0x10], 2
je 0x4a2df0
xor eax, eax
jmp 0x4a2df2
mov al, 1
add esp, 0x94
ret