joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447700
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x755898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x44780d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x14]
push eax
call fcn.005f15c2
mov esi, eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.005f15c2
add esp, 8
mov edi, eax
cmp esi, ebx
je 0x44780d
cmp edi, ebx
je 0x44780d
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x1c]
push eax
push edi
lea ecx, [ebp - 0x24]
push ecx
push 0
lea edx, [ebp - 0x20]
push edx
push esi
push ebx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x4477e0
push esi
call fcn.005f15b7
push edi
call fcn.005f15b7
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x44780d
mov ecx, dword [ebp - 0x1c]
push ecx
push edi
mov edx, dword [ebp - 0x24]
push edx
push eax
push esi
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x44780d
inc ebx
jmp 0x447789
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447830
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x644ef0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x110]
mov ebx, dword [ebp + 0x114]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
mov eax, 0x104
push eax
lea eax, [ebp]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
jne 0x4478a0
mov eax, 1
jmp 0x4478ef
test eax, eax
jne 0x4478ed
push eax
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
lea edx, [ebp]
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4478ed
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea ecx, [ebp]
push ecx
push edi
call fcn.00447920
add esp, 0xc
test eax, eax
je 0x4478ed
inc esi
jmp 0x44787d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.0061d2ff
add ebp, 0x108
mov esp, ebp
pop ebp
ret
Function at 0x4479d0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x118
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
mov ebx, dword [esp + 0x120]
push esi
mov esi, dword [esp + 0x128]
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x447a1c
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0061d2ff
add esp, 0x118
ret
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x447a55
xor ecx, ecx
cmp eax, 2
sete cl
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0061d2ff
add esp, 0x118
ret
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, esi
cmp byte [edi - 1], 0x5c
je 0x447a6f
mov byte [edi], 0x5c
inc edi
mov byte [edi], 0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
push edx
mov dword [esp + 0x34], 0x104
call ebp
test eax, eax
jne 0x447af9
nop
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x447aa5
sub eax, edx
mov ecx, 0x208
sub ecx, eax
push ecx
lea edx, [esp + 0x24]
push edx
push edi
call fcn.0061eb60
push esi
push ebx
call fcn.004479d0
add esp, 0x14
test eax, eax
je 0x447af9
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push eax
mov dword [esp + 0x34], 0x104
call ebp
test eax, eax
je 0x447aa0
mov byte [edi - 1], 0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esp + 0x124]
pop edi
pop ebp
neg eax
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.0061d2ff
add esp, 0x118
ret

Function at 0x447e40
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x447e50
sub eax, esi
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x447e6b
xor byte [eax + edx], 0x29
inc eax
cmp eax, ecx
jl 0x447e62
ret

Function at 0x447e70
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x447e80
sub eax, esi
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x447e9b
xor byte [eax + edx], 0xb
inc eax
cmp eax, ecx
jl 0x447e92
ret
Function at 0x447f50
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push esi
push edi
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x447f9a
mov edx, dword [esp + 0x1c]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push esi
push edi
mov dword [esp + 0x20], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
add esp, 8
ret

Function at 0x448020
Capabilities:
Terminate process

Disassembly:
sub esp, 0x88
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x84], eax
mov edx, dword [esp + 0x90]
push esi
mov esi, dword [esp + 0x90]
push edi
mov edi, ecx
test edx, edx
je 0x4480b3
test esi, esi
je 0x4480b3
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x448053
sub eax, edi
je 0x448098
push edx
push esi
call fcn.0061ee1e
add esp, 8
test eax, eax
jne 0x448098
mov eax, dword [esp + 0x9c]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x448098
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x448098
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.0061d2ff
add esp, 0x88
ret 0xc
push 0x5c
push esi
call fcn.0061faa0
add esp, 8
test eax, eax
je 0x4480c5
inc eax
jmp 0x4480c7
mov eax, esi
push 0x679d90
push eax
call fcn.0061ee1e
add esp, 8
test eax, eax
jne 0x448098
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esp + 0x9c]
cmp eax, ecx
je 0x448098
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x44813b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x44812a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x10]
push str.TP_failed__CDAisPF__4026_errCode___ld_n
push ecx
call fcn.006201db
add esp, 0xc
push 1
lea edx, [esp + 0x10]
push edx
jmp 0x44815b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x44809a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x10]
push str.OP_failed__CDAisPF__4071_errCode___ld_n
push eax
call fcn.006201db
add esp, 0xc
push 1
lea ecx, [esp + 0x10]
push ecx
lea ecx, [edi + 0x1a0]
call fcn.004c0600
mov eax, 1
jmp 0x44809a
Function at 0x4492b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x645170
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
xor edi, edi
xor eax, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
mov word [esp + 0x1c], ax
mov dword [esp + 0x30], eax
call fcn.00448bb0
test eax, eax
je 0x449325
mov eax, dword [0x75ac4c]
test eax, eax
jne 0x449311
mov eax, 0x75ac50
push 0
push esi
push eax
push 0x675de0
lea ecx, [esp + 0x28]
call fcn.00402320
jmp 0x44932f
push esi
lea ecx, [esp + 0x1c]
call fcn.004017f0
mov eax, dword [esp + 0x18]
mov bl, 1
test eax, eax
jne 0x44933d
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x449395
lea ecx, [esp + 0x14]
call fcn.0052e700
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x18]
mov byte [esp + 0x13], 0
test eax, eax
jne 0x449367
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x13]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00530400
test al, al
je 0x449383
cmp byte [esp + 0x13], 0
jne 0x449383
xor bl, bl
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x14]
call fcn.0052e710
test bl, bl
je 0x4493d0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4493a1
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4493d0
push str.DllRegisterServer
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4493c0
call eax
cmp dword [esp + 0x3c], 0
jne 0x4493d0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401210
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0061d2ff
add esp, 0x24
ret
Function at 0x449590
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x64520b
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov eax, dword [0x75abd8]
test eax, eax
je 0x449625
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push str.CommonAppDataIDMFolder
push eax
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x449625
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x449625
lea ecx, [esp + 0x14]
push ecx
push 0x675ea0
push 0x75ac38
call fcn.00402f70
add esp, 0xc
jmp 0x449732
push 0x678488
call fcn.00447580
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x449732
push str.SHGetFolderPathA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x44972b
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0x23
push 0
call esi
test eax, eax
jne 0x449725
lea ecx, [esp + 0x10]
call fcn.00402500
mov dword [esp + 0x124], 0
lea eax, [esp + 0x14]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x449690
sub eax, edx
cmp byte [esp + eax + 0x13], 0x5c
mov eax, 0x676974
je 0x4496aa
mov eax, 0x679ed8
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push str._s_sIDM
push ecx
call fcn.00402f70
mov edx, dword [esp + 0x20]
push edx
call fcn.00621b0a
mov eax, dword [esp + 0x24]
push eax
push 0x67958c
push 0x75ac38
call fcn.00402f70
mov edi, dword [0x75abd8]
add esp, 0x20
test edi, edi
je 0x449711
mov edx, dword [0x75ac38]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4496f5
sub eax, esi
inc eax
push eax
push edx
push 1
push 0
push str.CommonAppDataIDMFolder
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x124], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402570
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0061d2ff
add esp, 0x118
ret
Function at 0x44a680
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x64537c
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x258], eax
push esi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
cmp dword [0x75abd8], 0
jne 0x44a714
push 0x75abd8
push 0xf003f
push 0
push str.SoftwareDownloadManager_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44a73b
push 0
push 0x75abd8
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareDownloadManager_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x44a7e3
call fcn.00449760
mov al, 1
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.0061d2ff
add esp, 0x268
ret
mov edx, dword [0x75abd8]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x224]
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 0x44a714
cmp esi, 2
je 0x44a70f
lea ecx, [esp + 8]
call fcn.00402500
mov dword [esp + 0x26c], 0
lea ecx, [esp + 0x10]
call fcn.004c0490
mov byte [esp + 0x26c], 1
push esi
lea eax, [esp + 0xc]
push str.Reading_of_idmvers_failed__errCode___ld_r_n
push eax
call fcn.00402f70
mov ecx, dword [esp + 0x14]
add esp, 0xc
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.004c0600
mov byte [esp + 0x26c], 0
lea ecx, [esp + 0x10]
call fcn.004c05f0
mov dword [esp + 0x26c], 0xffffffff
lea ecx, [esp + 8]
call fcn.00402570
jmp 0x44a714
lea ecx, [esp + 8]
call fcn.00402500
mov dword [esp + 0x26c], 2
lea ecx, [esp + 0x10]
call fcn.004c0490
mov byte [esp + 0x26c], 3
push esi
lea edx, [esp + 0xc]
push str.RegCreateKeyEx___failed_during_OpenGlobalIDMRegKey____errCode___ld_r_n
push edx
call fcn.00402f70
mov eax, dword [esp + 0x14]
add esp, 0xc
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.004c0600
mov byte [esp + 0x26c], 2
lea ecx, [esp + 0x10]
call fcn.004c05f0
mov dword [esp + 0x26c], 0xffffffff
lea ecx, [esp + 8]
call fcn.00402570
xor al, al
jmp 0x44a716
Function at 0x452010
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x645824
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0060217e
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea ecx, [esi + 0x2c]
mov dword [esi], vtable.DownloaderCmdLine.0
call fcn.00402500
mov byte [esp + 0x18], 1
xor eax, eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov word [esi + 0x34], ax
mov byte [esp + 0x18], 2
xor ecx, ecx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov word [esi + 0x40], cx
mov byte [esp + 0x18], 3
lea ecx, [esi + 0x58]
call fcn.00402500
mov byte [esp + 0x18], 4
mov edx, 9
mov byte [esi + 0x28], bl
mov byte [esi + 0x29], bl
mov byte [esi + 0x4f], bl
mov byte [esi + 0x48], bl
mov byte [esi + 0x49], bl
mov byte [esi + 0x4a], bl
mov byte [esi + 0x4b], bl
mov byte [esi + 0x4c], bl
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x4d], bl
mov byte [esi + 0x4e], bl
mov byte [esi + 0x50], bl
mov byte [esi + 0x51], bl
mov byte [esi + 0x52], bl
mov byte [esi + 0x53], bl
mov byte [esi + 0x54], bl
mov byte [esi + 0x55], bl
mov word [esi + 0x56], dx
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x4520e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x645874
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.DownloaderCmdLine.0
mov dword [esp + 0x14], 3
lea ecx, [esi + 0x58]
call fcn.00402570
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x3c]
call fcn.00401210
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x30]
call fcn.00401210
mov byte [esp + 0x14], 0
lea ecx, [esi + 0x2c]
call fcn.00402570
mov dword [esp + 0x14], 0xffffffff
mov ecx, esi
call fcn.006021c2
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x452da0
Capabilities:
Set registry value

Disassembly:
push esi
push 4
mov esi, ecx
mov ecx, dword [0x75abd8]
lea eax, [esi + 0x34]
push eax
push 4
push 0
push str.dwSearchFlags
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x452dc9
lea eax, [esi + 0x14]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x452dd0
mov ecx, dword [esi + 0x10]
sub eax, edx
sar eax, 1
test ecx, ecx
jne 0x452de9
lea ecx, [esi + 0x14]
lea edx, [eax + eax + 2]
mov eax, dword [0x75abd8]
push edx
push ecx
push 1
push 0
push str.szSearchString
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
ret

Function at 0x452ff0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453000
sub eax, esi
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x45301b
xor byte [eax + edx], 0x17
inc eax
cmp eax, ecx
jl 0x453012
ret
Function at 0x453020
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453030
sub eax, esi
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x45304b
xor byte [eax + edx], 0x1d
inc eax
cmp eax, ecx
jl 0x453042
ret

Function at 0x453050
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453060
sub eax, esi
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x45307b
xor byte [eax + edx], 0xf
inc eax
cmp eax, ecx
jl 0x453072
ret

Function at 0x4531e0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4531f0
sub eax, esi
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x45320b
xor byte [eax + edx], 0x13
inc eax
cmp eax, ecx
jl 0x453202
ret

Function at 0x453440
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [0x75abd8]
sub esp, 0xc
push 0
lea eax, [esp + 8]
push eax
push 0
push 0xf003f
push 0
push 0x676974
push 0
push str.SendReport3
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x453476
xor eax, eax
add esp, 0xc
ret
mov ecx, dword [esp + 0x10]
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 4]
push eax
push 0
push 0
push ecx
push edx
mov dword [esp + 0x20], 4
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4534af
mov dword [esp], 0
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0xc
ret

Function at 0x4534d0
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [0x75abd8]
sub esp, 8
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0x676974
push 0
push str.SendReport3
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45352d
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 4
lea eax, [esp + 8]
push eax
push 4
push 0
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret
Function at 0x453540
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x410
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x40c], eax
cmp dword [esp + 0x414], 0
push ebx
push ebp
mov ebp, dword [esp + 0x420]
push esi
push edi
mov dword [esp + 0x14], 0
mov esi, ebp
je 0x453587
neg esi
sbb esi, esi
and esi, 0xf003e
inc esi
mov eax, esi
or eax, 0x100
jmp 0x453594
neg esi
sbb esi, esi
and esi, 0xf003e
inc esi
mov eax, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x10]
push ecx
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionShell_ExtensionsBlocked
push 0x80000002
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x453605
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push 0
push str.CDC95B92_E27C_4745_A8C5_64A52A78855D
push ecx
mov dword [esp + 0x30], 0x400
call ebx
test eax, eax
jne 0x4535e6
mov dword [esp + 0x14], 1
test ebp, ebp
je 0x4535fa
mov edx, dword [esp + 0x10]
push str.CDC95B92_E27C_4745_A8C5_64A52A78855D
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x424], 0
je 0x453615
or esi, 0x100
lea ecx, [esp + 0x10]
push ecx
push esi
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionShell_ExtensionsBlocked
push 0x80000001
call edi
test eax, eax
jne 0x45367f
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push 0
push str.CDC95B92_E27C_4745_A8C5_64A52A78855D
push ecx
mov dword [esp + 0x30], 0x400
call ebx
mov esi, 1
test eax, eax
je 0x45365c
mov esi, dword [esp + 0x14]
test ebp, ebp
je 0x453670
mov edx, dword [esp + 0x10]
push str.CDC95B92_E27C_4745_A8C5_64A52A78855D
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x453683
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0061d2ff
add esp, 0x410
ret
Function at 0x453f70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x645b50
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x755898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x1844]
cmp eax, ebx
je 0x453fce
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x453fc8
push ebx
push ebx
push 0x10
mov eax, dword [esi + 0x1844]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x1844], ebx
lea edi, [esi + 0x1954]
push edi
mov ecx, esi
call fcn.005f42c5
push ebx
mov ecx, esi
call fcn.005f241a
push 0x2c
push edi
push ebx
push ebx
push str.windowPlacementV6
mov ecx, dword [0x75abd8]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call edi
mov edx, dword [esi + 0x294]
mov dword [ebp - 0x14], edx
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push ebx
push str.sortOrder
mov ecx, dword [0x75abd8]
push ecx
call edi
lea ecx, [esi + 0x5d0]
call fcn.004c7510
call fcn.00449c20
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4548e0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4548f0
sub eax, esi
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x45490b
xor byte [eax + edx], 0x35
inc eax
cmp eax, ecx
jl 0x454902
ret