joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444f70
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
cmp word [ebp - 0x24], 9
sete al
mov esp, ebp
pop ebp
ret

Function at 0x444f90
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x445009
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 1
push 1
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004584f8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004584f8
mov esp, ebp
pop ebp
ret

Function at 0x445020
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x110], ebx
test edi, edi
je 0x445165
cmp byte [edi], 0
je 0x445165
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x108]
push eax
push 0xf003f
push 0
push edi
push ebx
call esi
cmp dword [ebp + 0x10], 0
je 0x445087
test eax, eax
je 0x44508f
lea eax, [ebp - 0x108]
push eax
push 0xf013f
push 0
push edi
push ebx
call esi
test eax, eax
jne 0x445135
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x118]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0x100
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push dword [ebp - 0x108]
call ebx
test eax, eax
jne 0x44511c
nop dword [eax + eax]
push 0
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x108]
call fcn.00445020
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x445146
lea eax, [ebp - 0x118]
mov dword [ebp - 0x10c], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp - 0x108]
call ebx
test eax, eax
je 0x4450d0
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004584f8
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004584f8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x32
pop edi
xor ecx, ebp
pop ebx
call fcn.004584f8
mov esp, ebp
pop ebp
ret
Function at 0x445180
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x110]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push eax
mov dword [ebp - 0x114], edi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x4452c9
lea eax, [ebp - 0x10c]
push eax
push 2
push edi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x445245
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
js 0x445233
lea eax, [ebp - 0x108]
push eax
call fcn.004447a0
mov edx, ebx
add esp, 4
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4451f6
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x445206
mov ecx, edx
lea eax, [ebp - 0x108]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.004452e0
mov edi, dword [ebp - 0x114]
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x110]
push dword [ebp - 0x10c]
push ecx
mov edx, dword [ecx]
call dword [edx + 0x14]
lea eax, [ebp - 0x10c]
push eax
push 0x17
push edi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x4452c9
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
js 0x4452b7
lea eax, [ebp - 0x108]
push eax
call fcn.004447a0
add esp, 4
mov esi, ebx
mov al, byte [ebx]
inc ebx
test al, al
jne 0x445280
lea edi, [ebp - 0x108]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x445290
mov ecx, ebx
lea eax, [ebp - 0x108]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.004452e0
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x110]
push dword [ebp - 0x10c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004584f8
mov esp, ebp
pop ebp
ret
Function at 0x445520
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490b88
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4dd41c], 0
mov edi, dword [ebp + 8]
jne 0x445678
cmp dword [0x4dd418], 0
jne 0x445678
lea eax, [ebp - 0x71]
mov byte [ebp - 0x71], 0x30
push eax
push 0x104
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
call fcn.004456a0
mov dword [ebp - 4], 0
push 0x104
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push dword [ebp - 0x80]
lea ecx, [ebp - 0x28]
call fcn.0041bef0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0xc
push str.wsock32.dll
call fcn.00402bd0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.004019a0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.004069d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00401c20
push 0x4dd420
push 0x4dd428
push 0x4dd418
lea ecx, [ebp - 0x70]
call fcn.00407120
push edi
lea ecx, [ebp - 0x58]
call fcn.004069d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
push 0x4dd420
push 0x4dd428
push 0x4dd420
call fcn.00407000
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00406f70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00406f70
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x445657
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403b80
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.004072e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004584f8
mov esp, ebp
pop ebp
ret
Function at 0x449a30
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491848
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x38], ebx
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
sub eax, dword [edi]
test eax, 0xfffffffc
je 0x449b78
cmp dword [ebp + 0xc], 0xffffffff
jne 0x449a8d
call fcn.0044a270
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
jne 0x449a8d
xor al, al
jmp 0x449b7a
cmp dword [ebx + 0xac], 0x10
lea eax, [ebx + 0x98]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
jb 0x449aac
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
push 0x2001f
push 0
push eax
push dword [ebx + 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [ebp - 0x30]
test eax, eax
je 0x449adc
test ebx, ebx
je 0x449b78
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x449b78
mov esi, dword [edi]
mov edi, dword [edi + 4]
cmp esi, edi
je 0x449b60
nop dword [eax]
push dword [esi]
lea eax, [ebp - 0x28]
push eax
call fcn.00454450
add esp, 8
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x449b0d
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
sete byte [ebp - 0x29]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x449b37
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403b80
mov ecx, dword [ebp - 0x34]
add esi, 4
cmp byte [ebp - 0x29], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
lea eax, [ecx + 1]
mov byte [ebp - 0x28], 0
cmove eax, ecx
mov dword [ebp - 0x34], eax
cmp esi, edi
jne 0x449af0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], 0
jle 0x449b78
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x38]
call fcn.0044b9b0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004584f8
mov esp, ebp
pop ebp
ret 8
Function at 0x449f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4919ab
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x449], 1
call fcn.0044a270
cmp eax, 0xffffffff
jne 0x449f53
mov dword [ebp - 0x454], 2
jmp 0x449f63
mov ecx, 0x3e7
cmp eax, ecx
cmovge eax, ecx
mov dword [ebp - 0x454], eax
cmp dword [esi + 0xac], 0x10
lea eax, [esi + 0x98]
mov dword [ebp - 0x450], 0
jb 0x449f7e
mov eax, dword [eax]
lea ecx, [ebp - 0x450]
push ecx
push 0x20019
push 0
push eax
push dword [esi + 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [ebp - 0x450]
test eax, eax
je 0x449fb7
test edi, edi
je 0x44a139
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x450], edi
test edi, edi
je 0x44a139
mov esi, 1
cmp dword [ebp - 0x454], esi
jl 0x44a132
push esi
xorps xmm0, xmm0
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x30]
movq qword [ebp - 0x1f], xmm0
push 0x4a22f0
push eax
movups xmmword [ebp - 0x2f], xmm0
mov dword [ebp - 0x17], 0
mov word [ebp - 0x13], 0
mov byte [ebp - 0x11], 0
call fcn.00430090
push 0x400
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.0045aa80
add esp, 0x18
mov dword [ebp - 0x458], 0x3ff
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
je 0x44a125
cmp byte [ebp - 0x430], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x434], 0xf
mov dword [ebp - 0x438], 0
mov byte [ebp - 0x448], 0
jne 0x44a082
xor eax, eax
jmp 0x44a099
lea eax, [ebp - 0x430]
lea edx, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a090
sub eax, edx
push eax
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x448]
call fcn.00402ad0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x2c]
mov dword [ebp - 0x45c], esi
test ecx, ecx
je 0x44a18b
mov eax, dword [ecx]
lea edx, [ebp - 0x448]
push edx
lea edx, [ebp - 0x45c]
push edx
mov eax, dword [eax + 8]
call eax
test al, al
sete byte [ebp - 0x44a]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x434]
cmp eax, 0x10
jb 0x44a101
inc eax
lea ecx, [ebp - 0x448]
push eax
push dword [ebp - 0x448]
call fcn.00403b80
cmp byte [ebp - 0x44a], 0
mov dword [ebp - 0x434], 0xf
mov dword [ebp - 0x438], 0
mov byte [ebp - 0x448], 0
jne 0x44a182
inc esi
cmp esi, dword [ebp - 0x454]
jle 0x449fd0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x44a15f
mov esi, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov dword [ebp + 0x2c], 0
mov al, byte [ebp - 0x449]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004584f8
mov esp, ebp
pop ebp
ret 0x28
mov byte [ebp - 0x449], 0
jmp 0x44a132
call fcn.004569e0
int3
Function at 0x44a270
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491a3b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ecx + 0x98]
mov dword [ebp - 0x22c], 0
or edi, 0xffffffff
cmp dword [eax + 0x14], 0x10
jb 0x44a2b9
mov eax, dword [eax]
lea edx, [ebp - 0x22c]
push edx
push 0x2001f
push 0
push eax
push dword [ecx + 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [ebp - 0x22c]
test eax, eax
je 0x44a2f2
test esi, esi
je 0x44a4aa
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x22c], esi
test esi, esi
je 0x44a4aa
push 0x200
lea eax, [ebp - 0x210]
mov dword [ebp - 0x234], 0
push 0
push eax
call fcn.0045aa80
add esp, 0xc
mov dword [ebp - 0x230], 0x200
lea eax, [ebp - 0x230]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x44a4a3
nop dword [eax + eax]
cmp byte [ebp - 0x210], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x218], 0
mov byte [ebp - 0x228], 0
jne 0x44a38c
xor ecx, ecx
jmp 0x44a39e
lea ecx, [ebp - 0x210]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44a395
sub ecx, edx
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.00402ad0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x228]
push eax
call fcn.00453b50
add esp, 4
mov bl, al
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x214]
cmp ecx, 0x10
jb 0x44a41d
mov edx, dword [ebp - 0x228]
inc ecx
cmp ecx, 0x1000
jb 0x44a414
test dl, 0x1f
jne 0x44a4c8
mov eax, dword [edx - 4]
cmp eax, edx
jae 0x44a4c8
sub edx, eax
cmp edx, 4
jb 0x44a4c8
cmp edx, 0x23
ja 0x44a4c8
mov edx, eax
push edx
call fcn.004584e5
add esp, 4
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x218], 0
mov byte [ebp - 0x228], 0
test bl, bl
je 0x44a450
lea eax, [ebp - 0x210]
push eax
call fcn.0046a401
add esp, 4
cmp eax, edi
cmovg edi, eax
mov ebx, dword [ebp - 0x234]
lea eax, [ebp - 0x210]
push 0x200
push 0
inc ebx
push eax
mov dword [ebp - 0x234], ebx
call fcn.0045aa80
add esp, 0xc
mov dword [ebp - 0x230], 0x200
lea eax, [ebp - 0x230]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x44a350
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004584f8
mov esp, ebp
pop ebp
ret
call fcn.0045e46c
int3
Function at 0x44b340
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x2c], eax
cmp dword [edi + 0xac], 0x10
lea esi, [edi + 0x98]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
jb 0x44b373
mov eax, dword [esi]
jmp 0x44b375
mov eax, esi
push eax
push dword [edi + 0x7c]
call fcn.0044afc0
add esp, 8
test al, al
jne 0x44b397
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004584f8
mov esp, ebp
pop ebp
ret 8
push ebx
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
push dword [ebp - 0x2c]
xor bl, bl
call fcn.0044a1a0
cmp dword [ebp - 0x34], 0
jle 0x44b4bc
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x28], 0
jb 0x44b3c1
mov esi, dword [esi]
lea eax, [ebp - 0x28]
push eax
push 0x2001f
push 0
push esi
push dword [edi + 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [ebp - 0x28]
test eax, eax
je 0x44b3f1
test edi, edi
je 0x44b4bc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x28], edi
test edi, edi
je 0x44b4bc
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44b400
sub ecx, edx
mov edx, dword [ebp - 0x30]
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x44b410
sub edx, esi
lea eax, [edx + ecx]
lea esi, [eax*2 + 0xe]
push esi
call fcn.00458f4d
push esi
mov esi, eax
mov dword [ebp - 0x38], eax
push 0
push esi
call fcn.0045aa80
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push str._s__s
push esi
call fcn.00430090
push dword [ebp - 0x34]
xorps xmm0, xmm0
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x24]
movq qword [ebp - 0x13], xmm0
push 0x4a22f0
push eax
movups xmmword [ebp - 0x23], xmm0
mov dword [ebp - 0xb], 0
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
call fcn.00430090
mov ecx, esi
add esp, 0x2c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44b482
sub ecx, edx
lea eax, [ecx + 1]
push eax
push esi
push 1
push 0
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
movzx ebx, bl
mov ecx, 1
push esi
cmove ebx, ecx
call fcn.00458d3b
add esp, 4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004584f8
mov esp, ebp
pop ebp
ret 8
Function at 0x44b4e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0xdc], 0x10
lea esi, [edi + 0xc8]
jb 0x44b4fb
mov eax, dword [esi]
jmp 0x44b4fd
mov eax, esi
push eax
push dword [edi + 0x7c]
call fcn.0044afc0
add esp, 8
test al, al
jne 0x44b515
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
xor bl, bl
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0x10
jb 0x44b527
mov esi, dword [esi]
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push esi
push dword [edi + 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 4]
test eax, eax
je 0x44b555
test esi, esi
je 0x44b593
push esi
call edi
xor esi, esi
mov dword [ebp - 4], esi
test esi, esi
je 0x44b593
mov edx, dword [ebp + 8]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp + 8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44b564
sub ecx, dword [ebp + 8]
lea eax, [ecx + 1]
push eax
push edx
push 1
push 0
push 0x4c5414
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
movzx ebx, bl
mov ecx, 1
push esi
cmove ebx, ecx
call edi
mov al, bl
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x44b9b0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491d56
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 8], 0xffffffff
jne 0x44b9fa
call fcn.0044a270
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
jne 0x44b9fa
xor al, al
jmp 0x44bbfe
cmp dword [esi + 0xac], 0x10
lea eax, [esi + 0x98]
mov dword [ebp - 0x448], 0
jb 0x44ba15
mov eax, dword [eax]
lea ecx, [ebp - 0x448]
push ecx
push 0x2001f
push 0
push eax
push dword [esi + 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [ebp - 0x448]
test eax, eax
je 0x44ba4e
test ebx, ebx
je 0x44bbfc
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x448], ebx
test ebx, ebx
je 0x44bbfc
mov esi, 1
mov edi, esi
mov dword [ebp - 0x44c], esi
cmp dword [ebp + 8], esi
jl 0x44bbf5
nop dword [eax]
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.0045aa80
lea eax, [ebp - 0x428]
mov dword [ebp - 0x450], 0x3ff
push edi
push eax
call fcn.00454450
add esp, 0x14
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x450]
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
push ecx
cmovae eax, dword [ebp - 0x428]
lea ecx, [ebp - 0x410]
push ecx
push 0
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44bbab
cmp esi, edi
je 0x44bba4
lea esi, [ebp - 0x410]
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x44baf0
push dword [ebp - 0x44c]
lea eax, [ebp - 0x440]
sub esi, ecx
push eax
call fcn.00454450
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 1
cmp dword [ecx + 0x14], 0x10
jb 0x44bb1c
mov ecx, dword [ecx]
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x410]
push eax
push 1
push 0
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete byte [ebp - 0x441]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x42c]
cmp eax, 0x10
jb 0x44bb5e
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.00403b80
cmp byte [ebp - 0x441], 0
mov dword [ebp - 0x42c], 0xf
mov dword [ebp - 0x430], 0
mov byte [ebp - 0x440], 0
je 0x44bb9e
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, dword [ebp - 0x44c]
inc esi
mov dword [ebp - 0x44c], esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x44bbd0
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00403b80
inc edi
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
cmp edi, dword [ebp + 8]
jle 0x44ba70
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004584f8
mov esp, ebp
pop ebp
ret 4