joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f970
Capabilities:
Create directory

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x250]
mov dword [esi + 0x26c], ebx
mov dword [esi + 0x268], ebx
cmp eax, dword [ecx + 0x1c]
jne 0x41fa6c
mov eax, dword [esi + 0x254]
cmp eax, ebx
jl 0x41f9fd
push eax
call fcn.00418d40
mov ebp, eax
cmp ebp, ebx
jne 0x41f9bf
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
mov eax, dword [ebp + 8]
lea edi, [esi + 0x110]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebp, dword [ebp + 0xc]
cmp ebp, 2
jne 0x41f9e7
mov dword [esi + 0x26c], 1
jmp 0x41fb43
cmp ebp, 1
je 0x41fb43
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
mov ecx, dword [ecx + 0x90]
lea edi, [esi + 0x110]
push 0x104
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41fa25
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
push edi
call fcn.0043d350
add esp, 4
cmp eax, ebx
jne 0x41fa3f
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
push str.Shortcuts
push edi
mov byte [eax], bl
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
push edi
call fcn.00498c50
add esp, 8
test eax, eax
je 0x41fb43
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x41fb43
mov edx, dword [ecx + 0xc]
cmp eax, edx
jne 0x41fab8
mov eax, dword [esi + 0x258]
push eax
push edx
call fcn.00404860
add esp, 8
cmp eax, ebx
jne 0x41fa94
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
mov ecx, dword [eax + 4]
lea edi, [esi + 0x110]
push edi
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
jne 0x41fb43
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
cmp eax, dword [ecx + 8]
jne 0x41fb15
mov eax, dword [esi + 0x254]
cmp eax, 0xffffffff
jne 0x41faee
cmp dword [ecx + 0x6e4], ebx
jne 0x41fb24
cmp dword [ecx + 0x6e0], ebx
je 0x41fb24
add ecx, 0xa4
lea edi, [esi + 0x110]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x41fb43
push eax
call fcn.004136f0
cmp dword [eax + 8], ebx
je 0x41fb24
mov edx, dword [esi + 8]
lea edi, [esi + 0x110]
push 1
add edx, 0xa4
push edi
push edx
mov ecx, eax
call fcn.0041dd10
jmp 0x41fb43
cmp eax, dword [ecx + 4]
je 0x41fb31
cmp eax, dword [ecx + 0x10]
je 0x41fb31
cmp eax, dword [ecx + 0x14]
je 0x41fb31
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
lea edi, [esi + 0x110]
mov dword [esi + 0x268], 1
mov byte [edi], bl
mov cl, byte [esi + 0xc]
lea eax, [esi + 0xc]
cmp cl, bl
mov dword [esi + 0x278], ebx
je 0x41fbab
cmp byte [edi], bl
je 0x41fbab
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
lea eax, [esp + 0x118]
push eax
call ebx
lea ecx, [esp + 0x10]
push edi
push ecx
call ebx
lea edx, [esp + 0x114]
push edx
call fcn.0043d0a0
add esp, 4
lea eax, [esp + 0x10]
push eax
call fcn.0043d0a0
add esp, 4
lea ecx, [esp + 0x10]
lea edx, [esp + 0x114]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x278], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x208
ret
Function at 0x423840
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x18
push ebx
mov eax, dword [esp + 0x20]
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
push 0
push 0x8000000
push 3
push 0
push 1
push 0x80000000
push eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x14], ebx
jne 0x42387b
or eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov ecx, dword [esp + 0x30]
push 0
push 0x8000000
push 3
push 0
push 1
push 0x80000000
push ecx
call esi
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x18], edi
jne 0x4238b3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffffffe
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSize]
lea edx, [esp + 0x1c]
push edx
push ebx
call esi
mov ebp, eax
lea eax, [esp + 0x20]
push eax
push edi
call esi
xor ecx, ecx
cmp ebp, eax
mov dword [esp + 0x30], ecx
jne 0x42399e
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp edx, eax
jne 0x42399e
push 0xfde8
call fcn.004985f0
add esp, 4
mov ebp, eax
push 0xfde8
call fcn.004985f0
add esp, 4
mov edi, eax
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], edi
push 0
push eax
push 0xfde8
push ebp
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
call ebx
test eax, eax
je 0x423982
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push 0
push ecx
push 0xfde8
push edi
push edx
call ebx
test eax, eax
je 0x423982
mov eax, dword [esp + 0x10]
mov esi, ebp
mov ecx, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x42397e
cmp eax, 0xfde8
jae 0x423958
cmp dword [esp + 0x24], eax
je 0x423976
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push 0
push eax
push 0xfde8
push ebp
push ecx
call ebx
mov edi, dword [esp + 0x2c]
test eax, eax
jne 0x423925
jmp 0x423982
mov dword [esp + 0x30], 1
mov edi, dword [esp + 0x2c]
push ebp
call fcn.00498600
add esp, 4
push edi
call fcn.00498600
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add esp, 4
jmp 0x4239a2
mov dword [esp + 0x30], ecx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x424b40
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x30
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov eax, dword [esi + 4]
push 0x145
push eax
call edi
mov ecx, dword [esi + 4]
push 0x146
push ecx
mov dword [esp + 0x10], eax
call edi
mov dword [esp + 0xc], eax
mov eax, dword [0x4cabd4]
test eax, eax
jne 0x424b95
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
mov eax, dword [edx + 0x44]
push eax
call edi
mov ecx, dword [esi + 0x14]
push 0
mov edx, dword [ecx + 0x44]
push edx
call edi
pop edi
pop esi
add esp, 0x30
ret
push ebp
push ebx
xor edi, edi
xor ebx, ebx
xor ebp, ebp
cmp eax, 2
mov dword [esp + 0x1c], ebp
je 0x424bd8
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x20]
push eax
push ecx
call edi
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x30]
push edx
push eax
call edi
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
mov eax, dword [0x4caec8]
test eax, eax
je 0x424be9
fld qword [0x4caed0]
jmp 0x424bef
fld qword [0x4aa7b8]
mov edx, dword [esi + 0x14]
fstp qword [edx + 0x60]
mov eax, dword [0x4caec8]
test eax, eax
je 0x424c06
fld qword [0x4caed0]
jmp 0x424c0c
fld qword [0x4aa7b8]
mov eax, dword [esi + 0x18]
push 0
push 1
push 1
fstp qword [eax + 0x60]
mov ecx, dword [esi + 0x14]
mov eax, dword [0x4cab7c]
push 0
mov dword [ecx + 0x6c], eax
mov edx, dword [esi + 0x18]
mov eax, dword [0x4cab7c]
mov dword [edx + 0x6c], eax
mov ecx, dword [esi + 0x14]
call fcn.00449910
mov ecx, dword [esi + 0x18]
push 0
push 1
push 1
push 0
call fcn.00449910
mov ecx, dword [esi + 0x14]
push ebx
push edi
call fcn.0044a330
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x18]
push eax
push ebp
call fcn.0044a330
mov ecx, dword [esi + 0x1c]
push 0
push 1
push 1
push ecx
mov ecx, dword [esi + 0x14]
call fcn.00449910
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
push 0
push 1
push 1
push edx
call fcn.00449910
mov ecx, dword [esi + 0x14]
push 1
push 8
call fcn.00449ab0
mov ecx, dword [esi + 0x18]
push 1
push 8
call fcn.00449ab0
mov ecx, dword [esi + 0x14]
call fcn.00449df0
mov ecx, dword [esi + 0x18]
call fcn.00449df0
mov eax, dword [esi + 0x18]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
mov ecx, dword [eax + 0x44]
push ecx
call edi
mov edx, dword [esi + 0x14]
push 5
mov eax, dword [edx + 0x44]
push eax
call edi
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x30
ret
Function at 0x425190
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x14]
push eax
push 0
push edi
call fcn.0043c5a0
add esp, 0xc
test eax, eax
jne 0x4251b4
mov eax, 5
pop edi
pop esi
pop ecx
ret
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push 0
push ecx
push esi
call fcn.0043d170
add esp, 0xc
test eax, eax
je 0x4251e1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
cmp edx, eax
jae 0x4251e1
mov eax, 0x70
pop edi
pop esi
pop ecx
ret
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edi, eax
test edi, edi
je 0x425211
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x425207
xor eax, 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test edi, edi
je 0x425211
xor eax, eax
pop edi
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ecx
ret

Function at 0x425220
Capabilities:
Delete file
Move file

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
mov al, 0x3a
cmp byte [edi + 1], al
jne 0x425294
cmp byte [esi + 1], al
jne 0x425294
movsx eax, byte [edi]
push eax
call fcn.004990a0
movsx ecx, byte [esi]
add esp, 4
mov ebx, eax
push ecx
call fcn.004990a0
add esp, 4
cmp ebx, eax
jne 0x425294
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileA]
push esi
push edi
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x42526e
xor eax, eax
jmp 0x425270
call ebp
cmp eax, 0xb7
jne 0x4252bf
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
push edi
call ebx
test eax, eax
je 0x42528d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
call ebp
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esp + 0x14]
push esi
push edi
push edx
call fcn.00425190
add esp, 0xc
test eax, eax
jne 0x4252bf
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x4252b9
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4252d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x12c
mov edx, dword [esp + 0x144]
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x144]
push esi
mov dword [ebp], eax
mov eax, dword [esp + 0x13c]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0x114], eax
push 0x80
mov dword [ebp + 0x118], 0x4aa684
call fcn.004985f0
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x144]
xor esi, esi
mov dword [ebp + 0x11c], eax
mov dword [ebp + 0x120], esi
mov dword [ebp + 0x124], 0x1f
mov dword [ebp + 0x128], esi
mov dword [ebp + 0x12c], 0x40
add esp, 4
mov dword [ebp + 0x134], ecx
mov dword [ebp + 0x244], edx
mov dword [ebp + 0x248], esi
mov dword [ebp + 0x250], esi
mov dword [ebp + 0x128], 1
mov eax, dword [ebp + 0x244]
push 0xfffffffffffffffa
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
lea ecx, [esp + 0xc]
mov dword [ebp + 0x240], eax
mov byte [ebp + 0xc], 0
mov byte [ebp + 0x138], 0
mov edx, dword [str.SoftwareACD_SystemsACDSee32]
push ecx
push 0x20019
push esi
push edx
push DrawStatusTextA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x4254d2
push edi
push ebx
mov dword [esp + 0x10], esi
push esi
lea eax, [esp + 0x28]
push str.Item_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x38]
lea eax, [esp + 0x20]
push ecx
push edx
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push 0
push ecx
push edx
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4254b7
lea eax, [esp + 0x38]
push eax
call fcn.0043c610
mov ecx, eax
add esp, 4
test ecx, ecx
mov dword [esp + 0x18], ecx
je 0x4254b7
mov eax, dword [ebp + 0x124]
mov edi, dword [ebp + 0x120]
lea edx, [eax + 1]
cmp edi, edx
jne 0x42549b
add eax, dword [ebp + 0x12c]
lea eax, [eax*4 + 4]
push eax
call fcn.004985f0
mov ecx, dword [ebp + 0x124]
mov esi, dword [ebp + 0x11c]
mov ebx, eax
add esp, 4
lea ecx, [ecx*4 + 4]
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x11c]
push eax
call fcn.00498600
mov ecx, dword [ebp + 0x12c]
mov eax, dword [ebp + 0x124]
mov esi, dword [esp + 0x14]
add esp, 4
add eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [ebp + 0x11c], ebx
mov dword [ebp + 0x124], eax
mov edx, dword [ebp + 0x120]
mov eax, dword [ebp + 0x11c]
mov dword [eax + edx*4], ecx
mov eax, dword [ebp + 0x120]
inc eax
mov dword [ebp + 0x120], eax
inc esi
cmp esi, 0x64
mov dword [esp + 0x10], esi
jl 0x4253bc
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop edi
mov eax, ebp
pop esi
pop ebp
add esp, 0x12c
ret 0x18
Function at 0x4254e0
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0x1c
mov edx, dword [str.SoftwareACD_SystemsACDSee32]
lea eax, [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, ecx
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x20006
push 0
push 0x4caf4c
push 0
push edx
push DrawStatusTextA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor esi, esi
push esi
lea eax, [esp + 0x1c]
push str.Item_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [edi + 0x120]
add esp, 0xc
cmp esi, eax
jl 0x42554d
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x425591
test esi, esi
jl 0x42555c
mov eax, dword [edi + 0x11c]
mov eax, dword [eax + esi*4]
jmp 0x42555e
xor eax, eax
cmp esi, dword [edi + 0x120]
jge 0x425575
test esi, esi
jl 0x425575
mov ecx, dword [edi + 0x11c]
mov ebx, dword [ecx + esi*4]
jmp 0x425577
xor ebx, ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
lea edx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push ebx
push 1
push 0
push edx
push eax
call ebp
inc esi
cmp esi, 0x64
jl 0x42551d
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [edi + 0x128]
mov dword [edi + 0x118], 0x4aa684
test eax, eax
je 0x4255eb
mov eax, dword [edi + 0x120]
xor esi, esi
test eax, eax
jle 0x4255eb
cmp esi, eax
jge 0x4255d5
test esi, esi
jl 0x4255d5
mov edx, dword [edi + 0x11c]
mov eax, dword [edx + esi*4]
jmp 0x4255d7
xor eax, eax
push eax
call fcn.00498600
mov eax, dword [edi + 0x120]
add esp, 4
inc esi
cmp esi, eax
jl 0x4255c6
mov eax, dword [edi + 0x11c]
push eax
call fcn.00498600
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4279a0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b0
push ebx
push esi
mov esi, ecx
push edi
push 0xf7
mov eax, dword [esi + 0x12c]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 2
mov edi, eax
push 0xffffffffffffffff
push 0x100c
push edi
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 4
push ecx
push 0
push 0x1005
push edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
call ebx
test eax, eax
je 0x427ae7
mov eax, dword [esi + 0x12c]
lea edx, [esp + 0xc]
push 0x1f
push edx
push 0x101
push eax
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
mov eax, dword [esp + 0x4c]
test eax, eax
mov edi, eax
je 0x427a9d
mov edx, dword [eax]
push 0x2000
lea ecx, [esp + 0x160]
push 0x160
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp ax, 0x4550
jne 0x427a65
mov eax, dword [esi + 0x134]
mov edx, dword [edi]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
lea eax, [esi + 8]
push str._s__s___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x427abb
mov edx, dword [esi + 0x134]
lea ecx, [esp + 0x54]
push 0x105
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov edx, dword [edi]
lea eax, [esp + 0x54]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
lea eax, [esi + 8]
push str._s__s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x427abb
mov edx, dword [esi + 0x134]
lea ecx, [esp + 0xc]
push ecx
push edx
lea eax, [esi + 8]
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ecx, dword [esi + 0x12c]
push 0xff
push ecx
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x427ad8
mov ecx, esi
call fcn.00427eb0
mov edx, dword [esi + 0x12c]
push 1
push edx
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebx
add esp, 0x2b0
ret
Function at 0x4305a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x130
lea eax, [esp]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x430710
push edi
push esi
push ebp
push ebx
push 0x80
call fcn.004985f0
mov ecx, dword [esp + 0x14]
add esp, 4
mov ebp, eax
lea eax, [esp + 0x38]
xor ebx, ebx
push 0x105
push eax
mov edi, 0x1f
push ebx
push ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x43068f
lea edx, [esp + 0x38]
push edx
call fcn.0043c610
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x430668
lea esi, [edi + 1]
cmp ebx, esi
jne 0x430663
lea eax, [edi*4 + 0x104]
push eax
call fcn.004985f0
mov ebp, eax
mov ecx, esi
mov esi, dword [esp + 0x24]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x24]
add esp, 4
push ecx
call fcn.00498600
mov eax, dword [esp + 0x2c]
add esp, 4
add eax, 0x40
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
mov dword [ebp + ebx*4], eax
inc ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x38]
inc eax
push 0x105
push edx
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x430607
xor edi, edi
test ebx, ebx
jle 0x4306bb
cmp edi, ebx
mov esi, ebp
jge 0x4306a3
test edi, edi
jl 0x4306a3
mov eax, dword [esi]
jmp 0x4306a5
xor eax, eax
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.004305a0
add esp, 8
inc edi
add esi, 4
cmp edi, ebx
jl 0x43069b
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x144]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor edi, edi
test ebx, ebx
jle 0x430703
cmp edi, ebx
mov esi, ebp
jge 0x4306f0
test edi, edi
jl 0x4306f0
mov eax, dword [esi]
jmp 0x4306f2
xor eax, eax
push eax
call fcn.00498600
add esp, 4
inc edi
add esi, 4
cmp edi, ebx
jl 0x4306e8
push ebp
call fcn.00498600
add esp, 4
pop ebx
pop ebp
pop esi
pop edi
add esp, 0x130
ret
Function at 0x430c10
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x21c
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push edi
mov edi, dword [esp + 0x230]
lea ecx, [esp + 0x124]
push eax
push ecx
push 0
push edi
mov dword [esp + 0x28], 0x105
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x430d1d
lea edx, [esp + 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, dword [esp + 0x234]
push eax
lea eax, [esp + 0x128]
push eax
push 1
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x1c]
xor esi, esi
push 0x105
push ecx
push esi
push edi
call ebx
test eax, eax
jne 0x430d1d
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x430d06
lea ecx, [esp + 0x1c]
push str.open
push ecx
call fcn.004a7820
add esp, 8
test eax, eax
jne 0x430cc9
lea edx, [esp + 0x1c]
push str.edit
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x430cfb
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00430c10
mov ecx, dword [esp + 0x18]
add esp, 8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x1c]
inc esi
push 0x105
push eax
push esi
push edi
call ebx
test eax, eax
je 0x430c8e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret

Function at 0x430d30
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x424
mov eax, dword [esp + 0x428]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
push eax
lea ecx, [esp + 0x11c]
push 0x4bfd28
push ecx
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
add esp, 0xc
lea edx, [esp + 0xc]
lea eax, [esp + 0x220]
push edx
lea ecx, [esp + 0x11c]
push eax
push ecx
push 0x80000000
mov dword [esp + 0x1c], 0x105
call ebx
push 4
lea edx, [esp + 0x224]
push str.ACDC_
push edx
call fcn.00499740
add esp, 0xc
test eax, eax
jne 0x430db3
lea eax, [esp + 0x220]
push eax
push 0x80000000
call fcn.004305a0
add esp, 8
lea ecx, [esp + 0x118]
lea edx, [esp + 0x328]
push ecx
push str._sUndoClass
push edx
call esi
mov al, byte [0x4caf4c]
mov ecx, 0x41
mov byte [esp + 0x1c], al
xor eax, eax
lea edi, [esp + 0x1d]
add esp, 0xc
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x32c]
push edx
push eax
push 0x80000000
mov dword [esp + 0x1c], 0x105
call ebx
test eax, eax
jne 0x430e1b
lea ecx, [esp + 0x328]
push ecx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov al, byte [esp + 0x10]
test al, al
je 0x430e49
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x120]
push 1
push ecx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
pop edi
pop esi
pop ebx
add esp, 0x424
ret