joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a0f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0041988b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00419840
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0041988b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00419840
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.0041988b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00419840
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.0041987b
push cs
arpl cx, dx
cmp eax, dword [eax - 0x5335b]
inc dword [eax]
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.0041988b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00419840
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.0041987b
sbb ch, al
or byte [eax - 0x80], dl
movsd dword es:[edi], dword [esi]
pushfd
stc
invalid
Function at 0x41b4d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x798], 0xb3
mov byte [ebp - 0x797], 0x8c
mov byte [ebp - 0x796], 0x80
mov byte [ebp - 0x795], 0x81
mov byte [ebp - 0x794], 0x9d
invalid
call [ebp - 0x7927a3a]
invalid
dec dword [edx - 0x7917a3a]
invalid
call [esi + eax*8 - 0x7907b]
inc ecx
mov byte [ebp - 0x790], 0x8b
mov byte [ebp - 0x78f], 0x83
mov byte [ebp - 0x78e], 0x83
mov byte [ebp - 0x78d], 0xef
call fcn.0041987b
xchg byte [eax + 0xc6ae753], al
lea eax, [ebp - 0x79c]
push eax
call fcn.0041988b
pop ecx
push eax
mov eax, dword [ebp - 0x550]
lea eax, [ebp + eax - 0x654]
push eax
call fcn.004197ec
add esp, 0xc
lea eax, [ebp - 0x654]
mov dword [ebp - 0x3a0], eax
jmp 0x41b7f3

Function at 0x41f720
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5b4010
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x64]
mov dword [esp + 0x14], 0x18
call fcn.005a0c5d
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 0x17
call fcn.005a0c5d
lea ecx, [esi + 0x5c]
mov byte [esp + 0x14], 0x16
call fcn.005a0c5d
lea ecx, [esi + 0x58]
mov byte [esp + 0x14], 0x15
call fcn.005a0c5d
lea ecx, [esi + 0x54]
mov byte [esp + 0x14], 0x14
call fcn.005a0c5d
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 0x13
call fcn.005a0c5d
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 0x12
call fcn.005a0c5d
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 0x11
call fcn.005a0c5d
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 0x10
call fcn.005a0c5d
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 0xf
call fcn.005a0c5d
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 0xe
call fcn.005a0c5d
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 0xd
call fcn.005a0c5d
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], 0xc
call fcn.005a0c5d
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0xb
call fcn.005a0c5d
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 0xa
call fcn.005a0c5d
mov eax, dword [esi + 0x28]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call edi
mov ecx, dword [esi + 0x24]
push ecx
call edi
mov edx, dword [esi + 0x20]
push edx
call edi
mov eax, dword [esi + 0x1c]
push eax
call edi
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 5
call fcn.005a0c5d
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 4
call fcn.005a0c5d
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 3
call fcn.005a0c5d
lea ecx, [esi + 0xc]
mov byte [esp + 0x14], 2
call fcn.005a0c5d
lea ecx, [esi + 8]
mov byte [esp + 0x14], 1
call fcn.005a0c5d
lea ecx, [esi + 4]
mov byte [esp + 0x14], 0
call fcn.005a0c5d
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.005a0c5d
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x427c60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4b16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [esi + 4], 0x5d3924
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x67da2c]
lea edi, [esi + 0x1c]
mov dword [ebp - 4], ebx
mov dword [edi], eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x120]
push ecx
push edx
mov dword [esi], 0x5d3920
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], ebx
mov eax, dword [0x6825d4]
push ebx
push ebx
push str.ToolbarStyle
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x427d34
lea edi, [ebp - 0x120]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x427d13
lea ecx, [ebp - 0x120]
lea eax, [esi + 0x1c]
push ecx
push 0x656f5c
push eax
call fcn.00599a28
add esp, 0xc
lea edx, [ebp - 0x120]
push str.ClassicOld
push edx
call fcn.0058dd90
add esp, 8
test eax, eax
jne 0x427d42
mov dword [esi + 0x28], 1
jmp 0x427d42
push str.3D_Style
push edi
call fcn.00599a28
add esp, 8
mov edx, dword [0x6825d4]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push ebx
push ebx
push str.LargeButtons
push edx
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x427d6f
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x24], eax
mov ecx, esi
mov dword [esi + 0x18], ebx
call fcn.00428000
cmp dword [esi + 0x28], ebx
jne 0x427dc8
cmp dword [esi + 0x20], ebx
jne 0x427dc8
xor edi, edi
cmp edi, dword [esi + 0xc]
jge 0x427dc8
mov edx, dword [esi + 8]
lea ecx, [edi + edi*4]
push str.3D_Style
mov eax, dword [edx + ecx*4]
push eax
call fcn.00585ec4
add esp, 8
test eax, eax
jne 0x427dbc
inc edi
mov eax, esi
mov dword [esi + 0x20], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc edi
jmp 0x427d85
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427ec0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4b50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov edx, dword [0x6825d4]
push esi
push edi
mov esi, ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x18]
mov eax, dword [esi + 0x24]
push 4
push ecx
push 4
push 0
push str.LargeButtons
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
call ebx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x427f7b
mov ecx, dword [esi + 8]
lea eax, [eax + eax*4]
lea edi, [esi + 0x1c]
mov edx, dword [ecx + eax*4 - 0x14]
push edx
push 0x656f5c
push edi
call fcn.00599a28
mov edx, dword [edi]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x427f6d
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [0x6825d4]
push str.ToolbarStyle
push eax
call ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x6825d4]
push str.ToolbarStyle
push ecx
jmp 0x427fda
mov eax, dword [esi + 0x28]
test eax, eax
je 0x427fcf
push str.ClassicOld
lea ecx, [ebp - 0x14]
call fcn.005a0ccb
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [0x6825d4]
push 1
push eax
push str.ToolbarStyle
push edx
call ebx
lea ecx, [ebp - 0x14]
call fcn.005a0c5d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6825d4]
push str.ToolbarStyle
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42abb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6825d4]
push esi
mov esi, ecx
lea eax, [esp + 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0
push str.isUseWinDialUp
push edx
mov dword [esp + 0x20], 4
call edi
test eax, eax
je 0x42abee
mov dword [esi + 0x28], 0
jmp 0x42abfc
mov eax, dword [esp + 0xc]
mov dword [esi + 0x1c], 1
mov dword [esi + 0x28], eax
mov eax, dword [0x6825d4]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.mAttempts
push eax
mov dword [esp + 0x20], 4
call edi
test eax, eax
je 0x42ac2c
mov dword [esi + 0x24], 0
jmp 0x42ac33
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], ecx
mov ecx, dword [0x6825d4]
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0
push str.mRedialTime
push ecx
mov dword [esp + 0x20], 4
call edi
test eax, eax
je 0x42ac68
mov dword [esi + 0x20], 0x1e
pop edi
pop esi
add esp, 8
ret
mov edx, dword [esp + 0xc]
pop edi
mov dword [esi + 0x20], edx
pop esi
add esp, 8
ret

Function at 0x42ac80
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x28]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x28]
test ecx, ecx
jne 0x42ac9b
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x42acaf
push 4
push eax
mov eax, dword [0x6825d4]
push 4
push 0
push str.isUseWinDialUp
push eax
call edi
mov edx, dword [0x6825d4]
lea ecx, [esi + 0x24]
push 4
push ecx
push 4
push 0
push str.mAttempts
push edx
call edi
mov eax, dword [0x6825d4]
add esi, 0x20
push 4
push esi
push 4
push 0
push str.mRedialTime
push eax
call edi
pop edi
pop esi
ret
Function at 0x42c4e0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b51b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x67da2c]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push edi
push ecx
lea edx, [ebp - 0x14]
push str._s_ld
push edx
mov byte [ebp - 4], 1
call fcn.00599a28
mov edx, dword [ebp - 0x14]
add esp, 0x10
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
mov eax, dword [0x6825d4]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42c577
cmp dword [ebp - 0x18], 1
jne 0x42c577
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005a0c5d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x67da2c]
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], eax
mov esi, dword [ebp + 0xc]
mov ecx, dword [0x682ad0]
push esi
push esi
lea edx, [ebp + 8]
mov bl, 3
push ecx
push edx
mov byte [ebp - 4], bl
call fcn.00599a28
add esp, 0x10
cmp edi, 1
jne 0x42c5bb
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push eax
push 0x656f5c
push ecx
call fcn.00599a28
add esp, 0xc
jmp 0x42c5ff
mov edx, dword [0x67da2c]
mov dword [ebp + 0xc], edx
mov eax, dword [0x682acc]
push esi
lea ecx, [ebp + 0xc]
push eax
push ecx
mov byte [ebp - 4], 4
call fcn.00599a28
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp + 0x10]
push edx
push eax
push str._s_r_n_r_n_s
push ecx
call fcn.00599a28
add esp, 0x10
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.005a0c5d
mov edx, dword [ebp + 0x10]
push 0x44
push 0x65707c
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x42c64d
push str.http:__www.internetdownloadmanager.com_support_firefox_integration.html
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.004780a0
mov ecx, dword [ebp - 0x14]
mov edx, dword [0x6825d4]
add esp, 8
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push 4
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.005a0c5d
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.005a0c5d
jmp 0x42c55a
Function at 0x4353e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b5cdc
push eax
mov eax, dword [0x6825d4]
mov dword fs:[0], esp
sub esp, 0x46c
test eax, eax
push esi
jne 0x435458
push 0x6825d4
push 0xf003f
push 0
push str.SoftwareDownloadManager_
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x435470
push 0
push 0x6825d4
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareDownloadManager_
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x435515
call fcn.00436400
mov al, 1
pop esi
mov ecx, dword [esp + 0x46c]
mov dword fs:[0], ecx
add esp, 0x478
ret
mov edx, dword [0x6825d4]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push str.idmvers
push edx
mov dword [esp + 0x24], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
je 0x435458
cmp esi, 2
je 0x435453
mov eax, dword [0x67da2c]
mov dword [esp + 4], eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x478], 0
call fcn.00483e70
push esi
lea ecx, [esp + 8]
push str.Reading_of_idmvers_failed__errCode___ld_r_n
push ecx
mov byte [esp + 0x484], 1
call fcn.00599a28
mov edx, dword [esp + 0x10]
add esp, 0xc
lea ecx, [esp + 0x50]
push 1
push edx
call fcn.00483f90
lea ecx, [esp + 0x50]
mov byte [esp + 0x478], 0
call fcn.00483f80
lea ecx, [esp + 4]
mov dword [esp + 0x478], 0xffffffff
call fcn.005a0c5d
jmp 0x435458
mov eax, dword [0x67da2c]
mov dword [esp + 8], eax
lea ecx, [esp + 0x260]
mov dword [esp + 0x478], 2
call fcn.00483e70
push esi
lea ecx, [esp + 0xc]
push str.RegCreateKeyEx___failed_during_OpenGlobalIDMRegKey____errCode___ld_r_n
push ecx
mov byte [esp + 0x484], 3
call fcn.00599a28
mov edx, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 0x260]
push 1
push edx
call fcn.00483f90
lea ecx, [esp + 0x260]
mov byte [esp + 0x478], 2
call fcn.00483f80
lea ecx, [esp + 8]
mov dword [esp + 0x478], 0xffffffff
call fcn.005a0c5d
mov ecx, dword [esp + 0x470]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x478
ret
Function at 0x436ca0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5e20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
lea eax, [ebp - 0x14]
push ebx
lea ecx, [ebp - 0x18]
mov edx, dword [ebp + 8]
push eax
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x436d9e
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
inc eax
inc esi
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
call fcn.0059cff9
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.0059cff9
add esp, 4
cmp esi, ebx
mov edi, eax
je 0x436d9e
cmp edi, ebx
je 0x436d9e
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1c], edx
push edi
push ecx
lea edx, [ebp - 0x20]
push 0
push edx
push esi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x436d78
push esi
call fcn.0059d022
add esp, 4
push edi
call fcn.0059d022
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x436d9e
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
push ecx
push edi
push edx
push eax
mov eax, dword [ebp + 0xc]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x436d9e
inc ebx
jmp 0x436d22
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x436dc0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5e30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], esi
mov ebx, 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
jne 0x436e1e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x436e70
lea ecx, [ebp + 8]
push eax
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x114]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x436e70
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x114]
push edx
push eax
push edi
call fcn.00436e90
add esp, 0xc
test eax, eax
je 0x436e70
inc esi
jmp 0x436df1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436f40
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5e40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x31c
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x208
lea ecx, [ebp - 0x224]
push eax
push ecx
mov dword [ebp - 4], 0
call fcn.00584d70
mov ebx, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp - 0x224]
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x436fae
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 8]
lea ecx, [ebp - 0x224]
push eax
push 0x20019
push 0
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x436fe6
xor edx, edx
cmp eax, 2
sete dl
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [ebp + eax - 0x224]
mov al, byte [ebp + eax - 0x225]
cmp al, 0x5c
je 0x43700c
mov byte [esi], 0x5c
inc esi
mov byte [esi], 0
lea ecx, [ebp - 0x18]
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
lea eax, [ebp - 0x328]
push edx
push eax
push 0
push ecx
mov dword [ebp + 0xc], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x43709d
lea edi, [ebp - 0x224]
or ecx, 0xffffffff
xor eax, eax
mov edx, 0x208
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x328]
sub edx, ecx
push edx
push eax
push esi
call fcn.00584d70
lea ecx, [ebp - 0x224]
push ecx
push ebx
call fcn.004370f0
add esp, 0x14
test eax, eax
je 0x43709d
lea edx, [ebp - 0x18]
lea eax, [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push 0
push 0
push 0
lea ecx, [ebp - 0x328]
push eax
push ecx
push 0
push edx
mov dword [ebp + 0xc], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x437038
mov byte [esi - 1], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x224]
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4370f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x114
push ebp
mov ebp, dword [esp + 0x11c]
push esi
mov esi, dword [esp + 0x124]
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x437120
pop esi
mov eax, 1
pop ebp
add esp, 0x114
ret
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43714b
xor ecx, ecx
cmp eax, 2
sete cl
pop esi
mov eax, ecx
pop ebp
add esp, 0x114
ret
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov al, byte [ebx + esi - 1]
add ebx, esi
cmp al, 0x5c
je 0x437166
mov byte [ebx], 0x5c
inc ebx
mov byte [ebx], 0
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x43721e
push edi
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x208
sub eax, ecx
lea ecx, [esp + 0x20]
push eax
push ecx
push ebx
call fcn.00584d70
push esi
push ebp
call fcn.004370f0
add esp, 0x14
test eax, eax
je 0x43721d
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x43721d
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x208
sub eax, ecx
lea ecx, [esp + 0x20]
push eax
push ecx
push ebx
call fcn.00584d70
push esi
push ebp
call fcn.004370f0
add esp, 0x14
test eax, eax
jne 0x4371c4
pop edi
mov byte [ebx - 1], 0
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
neg eax
sbb eax, eax
pop ebx
pop esi
inc eax
pop ebp
add esp, 0x114
ret