joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422980
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x492738
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, ecx
lea ecx, [esp + 0x28]
call fcn.00462ea3
mov dword [esp + 0x48], 0
call fcn.0045258f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4229d4
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x50]
test esi, esi
mov byte [esp + 0x48], 1
jne 0x4229f9
add eax, 0xfffffff0
jmp 0x422b67
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x4980b0
push eax
call fcn.00402730
mov edi, dword [esp + 0x24]
add esp, 0x10
push 0
push edi
lea ecx, [esp + 0x30]
call fcn.00462f2f
cmp eax, 1
jne 0x422b64
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x28]
call fcn.00462c4f
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
call fcn.00462e6a
test eax, eax
jne 0x422b59
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x2c]
call eax
test eax, eax
je 0x422b0a
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push ecx
lea ecx, [esp + 0x30]
call fcn.004630ce
mov ecx, ebp
call fcn.00421ce0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
call fcn.004630ce
mov eax, dword [eax]
push eax
call ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422ab1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004630ce
mov edx, dword [eax]
push edx
push str.__s__eliminated_folder.
push 0x11f
push str.CProjectUpdate::DelfileApply
push 0x4b9f70
mov byte [esp + 0x5c], 2
call fcn.00427560
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x48], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422b59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x422b59
cmp dword [esi + 8], 0
je 0x422b35
push 0
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], esp
mov esi, esp
push eax
call fcn.004019a0
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [esi], eax
call fcn.00422110
mov esi, dword [esp + 0x50]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
push str.__s__eliminated_file.
push 0x129
push str.CProjectUpdate::DelfileApply
push 0x4b9f70
call fcn.00427560
add esp, 0x14
cmp dword [esp + 0x20], 0
jne 0x422a31
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x48], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422b85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], 0xffffffff
call fcn.00462ec7
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 4
Function at 0x427310
Capabilities:
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x492e88
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
xor edi, edi
call fcn.0042c720
mov eax, dword [0x4ba1c4]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.0042c710
mov esi, dword [esp + 0x30]
push esi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov ebp, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebp
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jl 0x427383
mov edi, 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.0042c790
lea eax, [esi - 0x10]
mov byte [esp + 0x28], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4273b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4273d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 8

Function at 0x427410
Capabilities:
Write file on windows

Disassembly:
push esi
push 0x49ba0c
push ecx
call fcn.00476a73
mov esi, eax
add esp, 8
test esi, esi
jne 0x427429
pop esi
ret 4
push edi
push 2
push 0
push esi
call fcn.0047692a
mov edx, dword [esp + 0x18]
mov eax, edx
add esp, 0xc
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x427440
push esi
sub eax, edi
push eax
push 1
push edx
call fcn.00476821
push esi
call fcn.00476646
add esp, 0x14
pop edi
mov eax, 1
pop esi
ret 4

Function at 0x428060
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
sub esp, 0x470
mov eax, dword [0x4b8968]
xor eax, esp
mov dword [esp + 0x46c], eax
push esi
mov esi, dword [esp + 0x478]
xor eax, eax
push 0x400
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
call fcn.00475df0
push 0x49ba5c
push esi
call fcn.00476a73
mov esi, eax
add esp, 0x14
test esi, esi
je 0x42813d
push esi
push 0x400
lea ecx, [esp + 0x78]
push 1
push ecx
call fcn.00476e91
add esp, 0x10
test eax, eax
je 0x42810b
push eax
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0xc]
call fcn.00427ec0
push esi
push 0x400
lea eax, [esp + 0x78]
push 1
push eax
call fcn.00476e91
add esp, 0x10
test eax, eax
jne 0x4280e3
lea ecx, [esp + 4]
call fcn.00427f70
push esi
call fcn.00476646
lea ecx, [esp + 0x60]
push ecx
call fcn.004276d0
add esp, 8
pop esi
mov ecx, dword [esp + 0x46c]
xor ecx, esp
call fcn.00473559
add esp, 0x470
ret
mov ecx, dword [esp + 0x470]
pop esi
xor ecx, esp
xor eax, eax
call fcn.00473559
add esp, 0x470
ret
Function at 0x428e50
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push str.kernel32.dll
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x28], eax
jne 0x428e69
xor al, al
pop esi
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateToolhelp32Snapshot
push eax
call edi
test eax, eax
je 0x428ec8
mov ecx, dword [esi + 0x28]
push str.Process32First
push ecx
mov dword [esi + 0x10], eax
call edi
test eax, eax
je 0x428ef0
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x28]
push str.Process32Next
push eax
call edi
test eax, eax
jne 0x428eb6
mov ecx, dword [esi + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov dword [esi + 0x30], 2
xor al, al
pop esi
ret
mov edx, dword [esi + 0x28]
push str.Module32First
push edx
mov dword [esi + 0x18], eax
call edi
test eax, eax
jne 0x428ede
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov dword [esi + 0x30], 2
xor al, al
pop esi
ret
mov ecx, dword [esi + 0x28]
push str.Module32Next
push ecx
mov dword [esi + 0x1c], eax
call edi
test eax, eax
jne 0x428f06
mov edx, dword [esi + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov dword [esi + 0x30], 2
xor al, al
pop esi
ret
mov dword [esi + 0x20], eax
mov al, 1
pop edi
mov byte [esi + 0x2d], al
pop esi
ret
Function at 0x42aad0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x493251
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov esi, 1
push 0x4978d6
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], esi
call fcn.00402f40
mov edi, dword [esp + 0x38]
push 0x4978d6
mov ecx, edi
mov byte [esp + 0x34], 2
call fcn.00402f40
mov ebp, dword [esp + 0x3c]
push ebp
lea eax, [esp + 0x14]
push str.SOFTWAREESTSOFTALUpdate_s
push eax
mov dword [esp + 0x20], esi
call fcn.00402730
add esp, 8
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4978d6
call fcn.00402f40
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.DownVersion
mov byte [esp + 0x3c], 3
call fcn.00402f40
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
mov byte [esp + 0x40], 4
call fcn.004019a0
add esp, 4
add eax, 0x10
lea ecx, [esp + 0x24]
push reloc.WSOCK32.dll_accept
mov dword [esi], eax
push ecx
mov byte [esp + 0x44], 2
call fcn.0042c420
add esp, 0x14
push eax
mov ecx, edi
mov byte [esp + 0x34], 5
call fcn.004023e0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x30], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42abd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42abfa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ac1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
Function at 0x42bd70
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push 0x20019
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov ebx, dword [esp + 0x1c]
jne 0x42bdd4
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push ebx
push edx
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42bdc9
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bdf0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42be0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret
Function at 0x42be20
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebp, ebp
test esi, esi
push edi
mov edi, dword [esp + 0x18]
je 0x42bf1a
push 0x4978d6
push edi
call fcn.004737be
add esp, 8
test eax, eax
je 0x42bf1a
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x42be80
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42bf2a
mov esi, dword [esp + 0x20]
mov eax, dword [esi - 0xc]
push ebx
mov ebx, dword [esp + 0x20]
cmp dword [ebx - 0xc], ebp
push eax
push esi
push 1
push 0
jne 0x42bea0
mov ecx, dword [esp + 0x28]
push 0
push ecx
jmp 0x42bea6
mov edx, dword [esp + 0x28]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x42beb3
lea ebp, [eax + 1]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42beda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop ebx
jg 0x42bef7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bf13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bf36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bf56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bf76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
Function at 0x42bf80
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
test esi, esi
push edi
mov edi, dword [esp + 0x18]
je 0x42c077
push 0x4978d6
push edi
call fcn.004737be
add esp, 8
test eax, eax
je 0x42c077
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x42bfe0
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42c087
cmp dword [esp + 0x24], ebx
mov esi, dword [esp + 0x1c]
je 0x42bff8
mov ecx, dword [esp + 0x14]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x42c02d
cmp dword [esi - 0xc], ebx
push 4
jne 0x42c011
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
push 4
push 0
push 0
push eax
jmp 0x42c020
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
push 4
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x42c02d
lea ebx, [eax + 1]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c054
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c070
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c093
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c0b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x42c0c0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
test edi, edi
je 0x42c198
push 0x4978d6
push esi
call fcn.004737be
add esp, 8
test eax, eax
je 0x42c198
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x42c120
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42c1a8
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp dword [edi - 0xc], ebx
mov eax, dword [esp + 0x14]
push ecx
push edx
push 3
push 0
jne 0x42c13f
push 0
jmp 0x42c140
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x42c14e
lea ebx, [eax + 1]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c175
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c191
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c1b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c1d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x42c1e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x4b8968]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x118]
push ebx
push esi
mov esi, dword [esp + 0x124]
push edi
lea ecx, [esp + 0xc]
push ecx
push 0x20019
xor edi, edi
push edi
push esi
push eax
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov ebx, dword [esp + 0x12c]
jne 0x42c25b
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edi
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42c250
lea edi, [eax + 1]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c277
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c293
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x11c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00473559
add esp, 0x114
ret

Function at 0x42c2b0
Capabilities:
Delete registry key

Disassembly:
mov ecx, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
lea eax, [esp + 0x14]
push eax
push 0x2001f
xor edi, edi
push edi
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov ebx, dword [esp + 0x18]
jne 0x42c2f6
mov edx, dword [esp + 0x14]
push ebx
push edx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
test eax, eax
jne 0x42c2eb
lea edi, [eax + 1]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c312
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c32e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x42c420
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x493551
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x40], 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, dword [esp + 0x44]
add ebp, 0xfffffff0
push ebp
mov esi, eax
call fcn.004019a0
mov edi, dword [esp + 0x38]
add eax, 0x10
add esp, 4
mov dword [edi], eax
test esi, esi
mov ecx, 1
mov dword [esp + 0x18], ecx
jne 0x42c530
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x42c4ba
push 0x104
mov ecx, edi
call fcn.00401950
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x28]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [edi]
test edx, edx
mov esi, eax
jne 0x42c4ed
xor ecx, ecx
jmp 0x42c503
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x42c4f2
sub ecx, ebx
js 0x42c5af
cmp ecx, dword [edx - 8]
jg 0x42c5af
test esi, esi
mov dword [edx - 0xc], ecx
mov edx, dword [edi]
mov byte [ecx + edx], 0
je 0x42c525
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.004023e0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c555
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c57a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c599
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0x80070057
call fcn.00401090
int3
Function at 0x42c5c0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x493578
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x4b8968]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov eax, dword [esp + 0x124]
mov edi, dword [esp + 0x130]
mov esi, dword [esp + 0x128]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push esi
push eax
mov dword [esp + 0x130], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x42c65f
lea eax, [esi - 0x10]
mov dword [esp + 0x11c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c658
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42c6e8
mov edx, dword [esp + 0x12c]
mov eax, dword [esp + 0xc]
push 0xff
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x42c69d
lea eax, [esi - 0x10]
mov dword [esp + 0x11c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x42c64c
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42c6a4
sub eax, edx
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.004020c0
lea eax, [esi - 0x10]
mov dword [esp + 0x11c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c6e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00473559
add esp, 0x114
ret