joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461430
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x491c34]
cmp dword [eax + 0x30], 0
je 0x4614da
cmp dword [ebx + 0x94], 0
jne 0x4614d4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4613c0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4614d4
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 0x46149a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4614d4
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.00419c30
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4614a9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x461fb8
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 0x461fed
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.004048b0
jmp 0x461ffa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404814
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4630c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x463101
mov eax, esi
call fcn.00448f40
test al, al
je 0x463101
mov eax, dword [ebx + 0x84]
call fcn.00448c3c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x463101
push 0
mov eax, dword [ebx + 0x84]
call fcn.00448c3c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4675dc
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 0x4676b4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x491cbc], 0
jne 0x467698
lea eax, [ebp - 4]
mov edx, 0x4676cc
call fcn.00404858
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404c70
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x467698
mov eax, ebx
call fcn.0040275c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x467691
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 0x46767b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4676dc
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46767b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x491cbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467698
mov eax, dword [ebp - 0xc]
call fcn.0040277c
ret
mov ebx, dword [0x491cbc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4676bb
lea eax, [ebp - 4]
call fcn.004047c0
ret

Function at 0x46cf10
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x46cf3e
mov eax, ebx
call fcn.0046d9c8
cmp dword [ebx + 0x3c], 0
je 0x46cf37
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x46cfaf
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x46cfa1
cmp dword [ebx + 8], 0
je 0x46cf60
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x46cf72
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46cfa1
cmp dword [ebx + 8], 0
je 0x46cf53
cmp eax, 3
je 0x46cf85
dec eax
jne 0x46cf53
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46cf53
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x46cf53
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x46cfcd
cmp dword [ebx + 0x10], 0xcc
je 0x46cfcd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046cfd8
pop ebx
ret
Function at 0x47dc80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 0x10]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x38]
mov eax, ebx
call fcn.0047d76c
cmp dword [ebp + 8], 0
jle 0x47dcc2
cmp dword [esi + 0x78], 0
jne 0x47dcc2
mov ecx, 0x47dde0
mov dl, 1
mov eax, dword [0x47d1e0]
call fcn.0040b570
call fcn.00404200
xor eax, eax
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetTickCount
mov dword [esi + 0x44], eax
cmp bl, 3
jne 0x47dcfc
cmp word [esi + 0x52], 0
je 0x47dd70
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, edi
mov eax, dword [esi + 0x54]
call dword [esi + 0x50]
jmp 0x47dd70
xor eax, eax
push ebp
push 0x47dd37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push 1
cmp dword [ebp + 8], 2
sete al
push eax
mov ecx, dword [ebp - 4]
mov edx, edi
mov eax, esi
call fcn.00481d38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47dd70
call sub.kernel32.dll_GetTickCount
sub eax, dword [esi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x14]
je 0x47ddcc
cmp dword [ebp + 0x14], 0
jne 0x47dd8d
test bl, bl
je 0x47ddcc
cmp dword [ebp + 8], 0
jle 0x47ddb6
mov eax, dword [esi + 0x78]
add eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x14]
je 0x47ddcc
mov ecx, 0x47dde0
mov dl, 1
mov eax, dword [0x47d1e0]
call fcn.0040b570
call fcn.00404200
jmp 0x47ddcc
mov ecx, 0x47de0c
mov dl, 1
mov eax, dword [0x47d184]
call fcn.0040b570
call fcn.00404200
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0x18

Function at 0x47e048
Capabilities:
Get disk size

Disassembly:
push ebx
push esi
add esp, 0xffffffd0
mov ebx, edx
xor esi, esi
test bl, bl
jbe 0x47e06e
mov edx, 0x47e0e4
lea eax, [esp + 4]
call fcn.00409664
add bl, 0x40
mov byte [esp + 4], bl
lea esi, [esp + 4]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push esi
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x47e0d3
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x24], eax
fild qword [esp + 0x20]
fstp dword [esp + 0x1c]
wait
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x24], eax
fild qword [esp + 0x20]
fmul dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x2c], eax
fild qword [esp + 0x28]
fmulp st(1)
fstp dword [esp]
wait
jmp 0x47e0da
mov dword [esp], 0xbf800000
fld dword [esp]
add esp, 0x30
pop esi
pop ebx
ret
Function at 0x4840c0
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 0x484231
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 0x48420c
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.004049a0
lea eax, [ebp - 0x118]
mov edx, 0x484248
call fcn.00404a80
mov eax, dword [ebp - 0x118]
call fcn.00404c70
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x48417e
lea eax, [ebp - 0x111]
call fcn.00409628
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.004048b0
jmp 0x484185
mov eax, esi
call fcn.004047c0
cmp bl, 0x61
jae 0x4841a6
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040c0d0
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404814
jmp 0x4841c0
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040c044
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404814
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, 0x484254
call fcn.00409d9c
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404814
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484213
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x488d1c
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c60
xor eax, eax
push ebp
push 0x488d7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409050
test al, al
je 0x488d68
mov eax, dword [ebp - 4]
call fcn.00404c70
mov esi, eax
push esi
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
test bl, 1
je 0x488d68
and ebx, 0xfffffffe
push ebx
push esi
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488d85
lea eax, [ebp - 4]
call fcn.004047c0
ret
Function at 0x488f2c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404c60
mov eax, dword [ebp - 8]
call fcn.00404c60
xor eax, eax
push ebp
push 0x488fe6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0x65
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00404c70
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x488fbb
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x79]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404c70
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x488fbb
mov eax, dword [ebp - 0x10]
dec eax
sub eax, 2
jae 0x488fbb
mov edx, ebx
lea eax, [ebp - 0x79]
call fcn.00409820
jmp 0x488fc2
mov eax, ebx
call fcn.004047c0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488fed
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047e4
ret

Function at 0x488ff8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404c60
mov eax, dword [ebp - 8]
call fcn.00404c60
xor eax, eax
push ebp
push 0x489124
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
mov edx, 0xff
call fcn.00404dfc
mov eax, dword [ebp - 0x1c]
call fcn.00404a78
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00404c70
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4890f3
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404c70
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4890f3
mov eax, dword [ebp - 0x14]
sub eax, 1
je 0x48909f
sub eax, 3
jne 0x4890f3
cmp dword [ebp - 0x14], 4
jne 0x4890b4
lea eax, [ebp - 0x1c]
call fcn.00404cc8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
jmp 0x4890f3
xor eax, eax
push ebp
push 0x4890e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
call fcn.00404c70
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.004049b0
mov eax, dword [ebp - 0x20]
call fcn.00408df8
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4890f3
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48912b
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004047e4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047e4
ret
Function at 0x48a1e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404c60
mov eax, dword [ebp - 8]
call fcn.00404c60
mov eax, dword [ebp + 0xc]
call fcn.00404c60
xor eax, eax
push ebp
push 0x48a309
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.0040321c
mov dword [ebp - 0x54], 0x44
test bl, bl
je 0x48a245
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], 6
push dword [ebp - 4]
push 0x48a320
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b38
cmp dword [ebp + 0xc], 0
je 0x48a27b
push dword [ebp - 8]
push 0x48a32c
push dword [ebp + 0xc]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404b38
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
call fcn.00404c70
push eax
push 0
push 0x10
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404c70
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404c70
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x48a2ba
mov byte [esi + 0x39c], 1
jmp 0x48a2e6
test bl, bl
jne 0x48a2e6
jmp 0x48a2cc
mov eax, dword [0x490440]
mov eax, dword [eax]
call fcn.004622e4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
je 0x48a2c0
cmp dword [ebp - 0x10], 0x103
je 0x48a2c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a310
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047e4
lea eax, [ebp + 0xc]
call fcn.004047c0
ret

Function at 0x48b944
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c60
xor eax, eax
push ebp
push 0x48ba0b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00404c70
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jle 0x48b9f5
mov eax, ebx
call fcn.0040275c
mov esi, eax
mov dword [ebp - 0x18], 0x34
push esi
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00404c70
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x48b9ee
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x48ba20
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x48b9ee
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
xor edx, edx
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, esi
call fcn.0040277c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ba12
lea eax, [ebp - 4]
call fcn.004047c0
ret
Function at 0x48c1ac
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404c60
xor eax, eax
push ebp
push 0x48c34a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
push 0x2001f
push 0
mov eax, dword [ebp - 8]
call fcn.00404c70
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48c31f
mov dl, 1
mov eax, dword [0x417a80]
call fcn.00403a04
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x34]
xor ecx, ecx
mov edx, 0x1c
call fcn.0040321c
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
jne 0x48c2b1
mov ecx, dword [ebp - 0x30]
inc ecx
lea eax, [ebp - 0x10]
xor edx, edx
call fcn.004048b0
mov ebx, dword [ebp - 0x34]
dec ebx
test ebx, ebx
jl 0x48c2b1
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404c70
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0x10]
call fcn.00404c70
mov edx, eax
lea eax, [ebp - 0x38]
call fcn.004049b0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x48c26a
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x48c305
inc ebx
xor esi, esi
mov eax, dword [ebp + 8]
push eax
push dword [ebp - 8]
push 0x48c360
lea ecx, [ebp - 0x40]
mov edx, esi
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404b38
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0048c1ac
pop ecx
inc esi
dec ebx
jne 0x48c2cc
mov eax, dword [ebp - 8]
call fcn.00404c70
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteKeyA
mov eax, dword [ebp - 0xc]
call fcn.00403a34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c351
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.004047e4
lea eax, [ebp - 0x10]
call fcn.004047c0
lea eax, [ebp - 8]
call fcn.004047c0
ret
Function at 0x48c364
Capabilities:
Delete directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c60
xor eax, eax
push ebp
push 0x48c484
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a78
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x48c3ae
lea eax, [ebp - 4]
mov edx, 0x48c49c
call fcn.00404a80
mov esi, 0xe
mov ebx, 0x48fc48
mov al, byte [ebx]
cmp al, 0xf
ja 0x48c3c5
and eax, 0x7f
bt dword [ebp - 6], eax
jae 0x48c431
lea eax, [ebp - 0xc]
mov ecx, dword [ebx - 4]
mov edx, dword [ebp - 4]
call fcn.00404ac4
mov eax, dword [ebp - 0xc]
call fcn.00404c70
push eax
call sub.kernel32.dll_GetFileAttributesA
test al, 1
je 0x48c405
push 0
lea eax, [ebp - 0x10]
mov ecx, dword [ebx - 4]
mov edx, dword [ebp - 4]
call fcn.00404ac4
mov eax, dword [ebp - 0x10]
call fcn.00404c70
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x14]
mov ecx, dword [ebx - 4]
mov edx, dword [ebp - 4]
call fcn.00404ac4
mov eax, dword [ebp - 0x14]
call fcn.00488d1c
lea eax, [ebp - 0x18]
mov ecx, dword [ebx - 4]
mov edx, dword [ebp - 4]
call fcn.00404ac4
mov eax, dword [ebp - 0x18]
call fcn.004092f0
add ebx, 0x14
dec esi
jne 0x48c3b8
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404a78
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404cd0
mov eax, dword [ebp - 0x1c]
call fcn.00404c70
push eax
call sub.kernel32.dll_RemoveDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c48b
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.004047e4
lea eax, [ebp - 4]
call fcn.004047c0
ret
Function at 0x48ca78
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404c60
mov eax, dword [ebp - 8]
call fcn.00404c60
mov eax, dword [ebp + 8]
call fcn.00404c60
xor eax, eax
push ebp
push 0x48cb62
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404c70
push eax
push esi
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x48cb0a
mov eax, dword [ebp + 8]
call fcn.00404a78
inc eax
push eax
mov eax, dword [ebp + 8]
call fcn.00404c70
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00404c70
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x48cb25
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [0x48fc24]
call fcn.00404ac4
mov eax, dword [ebp - 0x14]
call fcn.0043bcf4
xor ebx, ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegFlushKey
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cb69
lea eax, [ebp - 0x14]
call fcn.004047c0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047e4
lea eax, [ebp + 8]
call fcn.004047c0
ret

Function at 0x48cb74
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48cc24
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov eax, esi
call fcn.00404c70
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x48cbe2
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
mov eax, edi
call fcn.00404c70
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x48cbfc
lea eax, [ebp - 0xc]
mov ecx, esi
mov edx, dword [0x48fc24]
call fcn.00404ac4
mov eax, dword [ebp - 0xc]
call fcn.0043bcf4
xor ebx, ebx
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegFlushKey
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cc2b
lea eax, [ebp - 0xc]
call fcn.004047c0
ret