joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aed9c
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 0x4aedd1
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.004041c4
jmp 0x4aeddb
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00404130
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4afcac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x4afce4
mov eax, esi
call fcn.00496558
test al, al
je 0x4afce4
mov eax, dword [ebx + 0x74]
call fcn.0049625c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4afce4
push 0
mov eax, dword [ebx + 0x74]
call fcn.0049625c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4ba450
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ba6af
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4ba4b2
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004b9f18
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0041076c
cmp al, 1
jne 0x4ba4b2
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004ba230
test al, al
je 0x4ba63e
cmp dword [ebp - 8], 0
jge 0x4ba4d0
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004b9f18
mov eax, dword [ebp - 0x210]
call fcn.00404378
cmp ebx, eax
jge 0x4ba51a
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004b9f18
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x663edc]
and eax, 0xff
bt dword [edx], eax
jae 0x4ba51a
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0x4ba52e
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004ba42c
cmp ebx, dword [ebp - 8]
je 0x4ba630
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4ba55a
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00403490
and eax, 0x7f
movzx eax, word [eax*2 + 0x661ea0]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 1
xor eax, eax
push ebp
push 0x4ba61d
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00403490
and eax, 0x7f
movzx eax, word [eax*2 + 0x661ea0]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0049625c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00403490
and eax, 0x7f
movzx eax, word [eax*2 + 0x661ea0]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0049625c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba624
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0x4ba691
cmp dword [ebp - 8], 0
jge 0x4ba649
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004b9f18
mov eax, dword [ebp - 0x218]
call fcn.00404378
cmp eax, dword [ebp - 8]
jg 0x4ba683
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004b9f18
mov eax, dword [ebp - 0x21c]
call fcn.00404378
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004ba42c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba6b6
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404100
ret
Function at 0x4cdf3c
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 0x4ce014
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x668488], 0
jne 0x4cdff8
lea eax, [ebp - 4]
mov edx, 0x4ce02c
call fcn.00404174
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040453c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4cdff8
mov eax, ebx
call fcn.004027dc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4cdff1
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 0x4cdfdb
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4ce03c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4cdfdb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x668488], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cdff8
mov eax, dword [ebp - 0xc]
call fcn.004027f4
ret
mov ebx, dword [0x668488]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce01b
lea eax, [ebp - 4]
call fcn.004040dc
ret
Function at 0x4e9a98
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 0x4e9c01
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404174
mov eax, dword [ebp - 0x10]
call fcn.004e9724
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4e9aea
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004045c0
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.004ea12c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4e9bbf
xor eax, eax
push ebp
push 0x4e9bb8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004e9894
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004e9c30
test al, al
je 0x4e9b96
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004041c4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4e9b96
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.0040453c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x4e9b90
mov eax, dword [ebp - 0x14]
call fcn.0040453c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404294
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004e9a98
dec ebx
cmp ebx, 0xffffffff
jne 0x4e9b49
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9bbf
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004e9894
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.0040453c
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004e9880
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 0x4e9c08
lea eax, [ebp - 0x3c]
call fcn.004040dc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404100
ret

Function at 0x4e9c30
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.00402f28
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 [0x663ef4]
cmp byte [edx + 8], 0
je 0x4e9c94
mov edx, dword [0x663ef0]
cmp dword [edx], 2
jne 0x4e9c94
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 0x4e9c98
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 0x4e9d50
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.004e9c30
test al, al
je 0x4e9d32
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004041c4
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4e9d32
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.0040453c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.0040453c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404294
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x4e9ceb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9d57
lea eax, [ebp - 0x2c]
call fcn.004040dc
lea eax, [ebp - 0xc]
call fcn.004040dc
ret

Function at 0x4e9d60
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 0x4e9e18
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.004e9c30
test al, al
je 0x4e9dfa
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004041c4
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x4e9dfa
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.0040453c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.0040453c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404294
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x4e9db3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9e1f
lea eax, [ebp - 0x2c]
call fcn.004040dc
lea eax, [ebp - 0xc]
call fcn.004040dc
ret
Function at 0x4ea040
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.004e9738
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.0040453c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4ea09e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x663bdc]
mov dl, 1
mov eax, dword [0x4e9630]
call fcn.0040ff50
call fcn.00403b0c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4ea0a8
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.0040453c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4ea100
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x663f08]
mov dl, 1
mov eax, dword [0x4e9630]
call fcn.0040ff50
call fcn.00403b0c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004e9768
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 0x4ea338
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4ea44f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.004e9894
xor eax, eax
push ebp
push 0x4ea42a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004e9c30
test al, al
je 0x4ea40e
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004ea218
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004041c4
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4ea40e
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
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.0040453c
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueA
test eax, eax
jne 0x4ea40a
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040453c
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00404294
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004ea218
pop ecx
inc edi
dec ebx
jne 0x4ea3bf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea431
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.004e9894
ret
Function at 0x4ea460
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ea6a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
call fcn.004e9894
xor eax, eax
push ebp
push 0x4ea677
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004e9c30
test al, al
je 0x4ea65b
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004041c4
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x4ea65b
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040453c
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x4ea64f
mov eax, dword [ebp - 0x14]
call fcn.0040453c
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00404294
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004ea12c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4ea64f
xor eax, eax
push ebp
push 0x4ea648
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.004e9894
xor eax, eax
push ebp
push 0x4ea62a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.0040453c
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00404294
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004e9898
mov eax, dword [ebp - 0x14]
call fcn.0040453c
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00404294
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004ea12c
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4ea607
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004ea338
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004ea460
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea60e
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x28]
jne 0x4ea4eb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea67e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.004e9894
ret
Function at 0x4ecadc
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.00402f28
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
pop esi
pop ebx
ret

Function at 0x4ecb20
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 0x4ecbd8
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.004ecadc
test al, al
je 0x4ecbba
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004041c4
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4ecbba
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.0040453c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.0040453c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404294
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x4ecb73
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ecbdf
lea eax, [ebp - 0x2c]
call fcn.004040dc
lea eax, [ebp - 0xc]
call fcn.004040dc
ret

Function at 0x4eccd8
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.0040453c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4ecd2f
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, 0x4ecd54
mov dl, 1
mov eax, dword [0x4ec744]
call fcn.0040fe94
call fcn.00403b0c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004ec894
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 0x4eec2c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4eed9d
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4eed78
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404284
lea eax, [ebp - 0x118]
mov edx, 0x4eedb4
call fcn.00404380
mov eax, dword [ebp - 0x118]
call fcn.0040453c
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4eecea
lea eax, [ebp - 0x111]
call fcn.0040cfa8
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.004041c4
jmp 0x4eecf1
mov eax, esi
call fcn.004040dc
cmp bl, 0x61
jae 0x4eed12
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.00410b74
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404130
jmp 0x4eed2c
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.00410ae8
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404130
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4eedc0
call fcn.0040d7ac
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404130
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eed7f
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040453c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4f18ed
test al, 0x10
jne 0x4f18f1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4f1a24
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
mov ebx, 1
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp ecx, 2
jne 0x4f1a90
mov ebx, 2
cmp edx, 5
jne 0x4f1a61
test eax, eax
jne 0x4f1a61
mov ebx, 3
cmp edx, 5
jne 0x4f1a75
cmp eax, 1
je 0x4f1a70
cmp eax, 2
jne 0x4f1a75
mov ebx, 4
cmp edx, 6
jne 0x4f1a83
test eax, eax
jne 0x4f1a83
mov ebx, 5
cmp edx, 6
jne 0x4f1a90
dec eax
jne 0x4f1a90
mov ebx, 6
mov eax, ebx
add esp, 0x94
pop ebx
ret