joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ebb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x41ec35
call fcn.004434e0
mov dword [ebp - 0x10], eax
push 0xf0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41ec35
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41ec0e
xor eax, eax
jmp 0x41ec66
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41ec35
push 0x117f
push 0x7bd6f8
call fcn.00443450
test eax, eax
je 0x41ec35
int3
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0041ec80
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x41ec63
cmp dword [ebp - 0xc], 0
je 0x41ec63
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0041ec70
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x42bc10
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x78c9c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x8a13b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42bc68
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x6c], 0
jne 0x42bc68
push 0x100
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcwinocc.cpp
call fcn.00443450
test eax, eax
je 0x42bc68
int3
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x6c], 0
jne 0x42bc8a
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42bced
lea ecx, [ebp - 0x10]
call fcn.00406b00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x6c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x6c]
mov edx, dword [edx]
mov eax, dword [edx + 0x94]
call eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00406ba0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00405f40
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406b20
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x46ea90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.004434e0
mov dword [ebp - 8], eax
push 5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x46eae8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46eb02
push 0x113
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
call fcn.00443450
test eax, eax
je 0x46eb02
int3
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.0046eb40
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.0041ec70
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x476f30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
and ecx, 1
je 0x476f51
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
jmp 0x476fac
push 5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x476f75
call fcn.0047e1d0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x476f94
call fcn.0047e1d0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x476fac
call fcn.0047e1d0
call fcn.00457b60
cmp dword [eax + 0x3c], 0
je 0x476fc6
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00476ed0
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00476d80
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x7c], 0
je 0x476ff6
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x7c]
push edx
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], 0
cmp dword [ebp - 4], 0
je 0x47700b
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov dword [edx + 0x7c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
or ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x491d50
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x790598
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x8a13b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
shl eax, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 0
je 0x491da2
mov ecx, dword [ebp - 0x14]
or ecx, 0x1000000
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x1c]
call fcn.00406b00
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x40
mov edx, dword [ebp - 0x18]
shl edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00422900
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00413fa0
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x18]
je 0x491db8
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00413dc0
mov ecx, dword [ebp - 0x24]
or ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00406b20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4ab380
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0
je 0x4ab3a3
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004ac440
mov dword [ebp - 8], eax
jmp 0x4ab3b4
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x4ab3d0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.0045ee80
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4ab3e0
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 0
je 0x4ab3ff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004ac3a0
mov dword [ebp - 8], eax
jmp 0x4ab40c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x4ab428
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.0045ee80
mov esp, ebp
pop ebp
ret 8
Function at 0x4ac3a0
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x4ac41b
push 0x7cdb64
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4ac3e8
push str.hKernel32___0
push 0
push 0x191
push str.f:dd_vctools_vc7libs_ship_atlmfcinclude_atltransactionmanager.h
push 2
call fcn.0072d7d0
add esp, 0x14
cmp eax, 1
jne 0x4ac3e8
int3
cmp dword [ebp - 8], 0
jne 0x4ac3f2
xor eax, eax
jmp 0x4ac432
push str.DeleteFileTransactedA
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4ac419
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 4]
jmp 0x4ac432
jmp 0x4ac430
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
je 0x4ac430
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
jmp 0x4ac432
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x4ac440
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x4ac4c5
push 0x7cdb64
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4ac488
push str.hKernel32___0
push 0
push 0x1b2
push str.f:dd_vctools_vc7libs_ship_atlmfcinclude_atltransactionmanager.h
push 2
call fcn.0072d7d0
add esp, 0x14
cmp eax, 1
jne 0x4ac488
int3
cmp dword [ebp - 4], 0
jne 0x4ac492
xor eax, eax
jmp 0x4ac4e0
push str.MoveFileTransactedA
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4ac4c3
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
push 2
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 8]
jmp 0x4ac4e0
jmp 0x4ac4de
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0
je 0x4ac4de
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
jmp 0x4ac4e0
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4ad760
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x4ad7df
push 0x7cdb64
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4ad7a8
push str.hKernel32___0
push 0
push 0x200
push str.f:dd_vctools_vc7libs_ship_atlmfcinclude_atltransactionmanager.h
push 2
call fcn.0072d7d0
add esp, 0x14
cmp eax, 1
jne 0x4ad7a8
int3
cmp dword [ebp - 4], 0
jne 0x4ad7b2
xor eax, eax
jmp 0x4ad7fa
push str.SetFileAttributesTransactedA
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4ad7dd
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 8]
jmp 0x4ad7fa
jmp 0x4ad7f8
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0
je 0x4ad7f8
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
jmp 0x4ad7fa
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x4b0da0
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x4b0e28
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4b0de8
push str.hAdvAPI32___0
push 0
push 0x28c
push str.f:dd_vctools_vc7libs_ship_atlmfcinclude_atltransactionmanager.h
push 2
call fcn.0072d7d0
add esp, 0x14
cmp eax, 1
jne 0x4b0de8
int3
cmp dword [ebp - 8], 0
jne 0x4b0df5
mov eax, 1
jmp 0x4b0e46
push str.RegDeleteKeyTransactedA
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4b0e26
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 4]
jmp 0x4b0e46
jmp 0x4b0e41
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0
je 0x4b0e41
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x4b0e46
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x50ef60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7957e0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x8a13b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c1a0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x50efee
call fcn.00457d90
cmp eax, 1
jne 0x50efee
lea ecx, [ebp - 0x10]
push ecx
push str.SoftwareClasses_
lea edx, [ebp - 0x14]
push edx
call fcn.004b0c30
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00406b40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00406b20
mov dword [ebp + 8], SysStringLen
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x10]
call fcn.00406ba0
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406b20
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x50f030
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x795810
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x8a13b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c1a0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x50f0be
call fcn.00457d90
cmp eax, 1
jne 0x50f0be
lea ecx, [ebp - 0x10]
push ecx
push str.SoftwareClasses_
lea edx, [ebp - 0x14]
push edx
call fcn.004b0c30
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00406b40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00406b20
mov dword [ebp + 8], SysStringLen
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00406ba0
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406b20
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x50f110
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x795840
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x8a13b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c1a0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x50f19e
call fcn.00457d90
cmp eax, 1
jne 0x50f19e
lea ecx, [ebp - 0x10]
push ecx
push str.SoftwareClasses_
lea edx, [ebp - 0x14]
push edx
call fcn.004b0c30
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00406b40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00406b20
mov dword [ebp + 8], SysStringLen
cmp dword [ebp + 0x10], 0
je 0x50f1be
lea ecx, [ebp - 0x10]
call fcn.00406ba0
push eax
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.004b0da0
mov dword [ebp - 0x24], eax
jmp 0x50f1d4
lea ecx, [ebp - 0x10]
call fcn.00406ba0
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406b20
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x519080
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 8], 0
jne 0x5190a5
push 0x8d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00443450
test eax, eax
je 0x5190a5
int3
cmp dword [ebp + 0xc], 0
jne 0x5190bf
push 0x8e
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00443450
test eax, eax
je 0x5190bf
int3
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x58], 0
je 0x519161
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00518fd0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5190eb
mov eax, dword [ebp + 0x10]
jmp 0x519197
mov dword [ebp - 0xc], 4
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
jne 0x51915a
cmp dword [ebp - 4], 4
je 0x51913b
push 0x9c
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00443450
test eax, eax
je 0x51913b
int3
cmp dword [ebp - 0xc], 4
je 0x519155
push 0x9d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00443450
test eax, eax
je 0x519155
int3
mov eax, dword [ebp - 0x14]
jmp 0x519197
mov eax, dword [ebp + 0x10]
jmp 0x519197
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x6c], 0
jne 0x51917e
push 0xa4
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00443450
test eax, eax
je 0x51917e
int3
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x6c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntA]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x51c5f0
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
call fcn.00406900
movzx eax, al
test eax, eax
jne 0x51c62d
mov ecx, dword [ebp + 8]
call fcn.00406ba0
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
test eax, eax
jne 0x51c62d
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x90
call fcn.00664e90
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x521130
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x521164
push str.m_hKey___0
push 0
push 0x1629
push 0x7cd458
push 2
call fcn.0072d7d0
add esp, 0x14
cmp eax, 1
jne 0x521164
int3
xor edx, edx
jne 0x521164
xor eax, eax
jne 0x52113b
mov ecx, dword [ebp - 8]
cmp dword [ecx + 8], 0
je 0x52118c
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 8]
call fcn.004b0da0
jmp 0x5211fa
movzx eax, byte [0x8a53a0]
test eax, eax
jne 0x5211c6
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5211bf
push str.RegDeleteKeyExA
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x8a539c], eax
mov byte [0x8a53a0], 1
cmp dword [0x8a539c], 0
je 0x5211ea
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [0x8a539c]
jmp 0x5211fa
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esp, ebp
pop ebp
ret 4

Function at 0x5be1f0
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x5be222
push str.m_hKey___0
push 0
push 0x164f
push 0x7cd458
push 2
call fcn.0072d7d0
add esp, 0x14
cmp eax, 1
jne 0x5be222
int3
xor edx, edx
jne 0x5be222
xor eax, eax
jne 0x5be1f9
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esp, ebp
pop ebp
ret 4

Function at 0x5be240
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x5be274
push str.m_hKey___0
push 0
push 0x170a
push 0x7cd458
push 2
call fcn.0072d7d0
add esp, 0x14
cmp eax, 1
jne 0x5be274
int3
xor edx, edx
jne 0x5be274
xor eax, eax
jne 0x5be24b
mov dword [ebp - 8], 4
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5be2af
mov eax, dword [ebp - 0xc]
jmp 0x5be2be
cmp dword [ebp - 4], 4
je 0x5be2bc
mov eax, 0xd
jmp 0x5be2be
xor eax, eax
mov esp, ebp
pop ebp
ret 8