joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cf05
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00409505
and dword [ebp - 4], 0
cmp dword [0x42d438], 0
mov ebx, eax
jne 0x40cfb6
push 0x401d84
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d067
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401d78
push edi
call esi
test eax, eax
je 0x40d067
push eax
call fcn.00409493
mov dword [esp], 0x401d68
push edi
mov dword [0x42d438], eax
call esi
push eax
call fcn.00409493
mov dword [esp], 0x401d54
push edi
mov dword [0x42d43c], eax
call esi
push eax
call fcn.00409493
mov dword [esp], 0x401d38
push edi
mov dword [0x42d440], eax
call esi
push eax
call fcn.00409493
pop ecx
mov dword [0x42d448], eax
test eax, eax
je 0x40cfb6
push 0x401d20
push edi
call esi
push eax
call fcn.00409493
pop ecx
mov dword [0x42d444], eax
mov eax, dword [0x42d444]
cmp eax, ebx
je 0x40d00e
cmp dword [0x42d448], ebx
je 0x40d00e
push eax
call fcn.0040950e
push dword [0x42d448]
mov esi, eax
call fcn.0040950e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d00e
test edi, edi
je 0x40d00e
call esi
test eax, eax
je 0x40d005
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d005
test byte [ebp - 0xc], 1
jne 0x40d00e
or dword [ebp + 0x10], 0x200000
jmp 0x40d047
mov eax, dword [0x42d43c]
cmp eax, ebx
je 0x40d047
push eax
call fcn.0040950e
pop ecx
test eax, eax
je 0x40d047
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d047
mov eax, dword [0x42d440]
cmp eax, ebx
je 0x40d047
push eax
call fcn.0040950e
pop ecx
test eax, eax
je 0x40d047
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42d438]
call fcn.0040950e
pop ecx
test eax, eax
je 0x40d067
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d069
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401b94
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401ba6
mov eax, dword [0x5e009f]
shl eax, 2
mov dword [0x5e00a3], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
mov edx, eax
call fcn.005cf930
pop edx
call fcn.005cf858
call fcn.005cfa88
push 0
call fcn.005d1640
pop ecx
push 0x5e0048
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
mov dword [0x5e00a7], eax
push 0
jmp fcn.005dabe4
Function at 0x402b48
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], eax
mov eax, 0x5e29a0
call fcn.005d0a3c
mov word [ebp - 0x24], 0xc
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x38]
call fcn.005de5ec
inc dword [ebp - 0x18]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 8], edx
lea edx, [ebp - 8]
inc dword [ebp - 0x18]
call fcn.004694c4
lea eax, [ebp - 8]
mov eax, dword [eax]
mov dl, 1
call fcn.00468fd4
xor ecx, ecx
mov cl, al
cmp ecx, 1
sbb eax, eax
neg eax
push eax
dec dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005de650
pop ecx
test cl, cl
je 0x402c14
mov word [ebp - 0x24], 0x18
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x38]
call fcn.005de5ec
inc dword [ebp - 0x18]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x10]
inc dword [ebp - 0x18]
call fcn.004694c4
lea eax, [ebp - 0x10]
mov eax, dword [eax]
call fcn.004690a0
dec dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005de650
lea ecx, [ebp - 0x44]
push ecx
push 0x61b8d0
push 1
push 0
push 0x61b8e0
call sub.OLE32.DLL_CoCreateInstance
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x402d00
push dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x402cf7
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0x44]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x402cf7
push dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x24]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x402cf7
push dword [ebp + 8]
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x44]
push eax
mov edx, dword [eax]
call dword [edx + 0x44]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x402cf7
mov cx, word [ebp + 0x14]
push ecx
mov eax, dword [ebp - 0x44]
push eax
mov edx, dword [eax]
call dword [edx + 0x34]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x402cf7
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x44]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x402cf7
lea edx, [ebp - 0x48]
push edx
push 0x61b8f0
mov ecx, dword [ebp - 0x44]
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x402cf7
push 1
push dword [ebp - 0x38]
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [ebp - 0x44]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [ebp - 0x4c], 0
setge al
and eax, 1
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x403bb4
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd88
mov eax, 0x5e2dfc
call fcn.005d0a3c
mov dword [ebp - 0x28], 1
lea edx, [ebp + 8]
lea eax, [ebp + 8]
call fcn.005de500
inc dword [ebp - 0x28]
mov word [ebp - 0x34], 0xc
mov byte [ebp - 0x49], 0
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x278], 0x22c
lea edx, [ebp - 0x278]
push edx
push dword [ebp - 0x48]
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
jne 0x403d68
mov word [ebp - 0x34], 0x18
lea edx, [ebp - 0x254]
lea eax, [ebp - 4]
call fcn.005de5ec
inc dword [ebp - 0x28]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 8], edx
lea edx, [ebp - 8]
inc dword [ebp - 0x28]
call fcn.004695e0
lea eax, [ebp - 8]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0xc]
inc dword [ebp - 0x28]
call fcn.005de810
lea eax, [ebp - 0xc]
push eax
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x10]
inc dword [ebp - 0x28]
lea eax, [ebp + 8]
call fcn.005de810
lea edx, [ebp - 0x10]
pop eax
call fcn.005de724
push eax
dec dword [ebp - 0x28]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x28]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x28]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005de650
pop ecx
test cl, cl
je 0x403d68
mov byte [ebp - 0x49], 1
jmp 0x403d68
mov word [ebp - 0x34], 0x24
lea edx, [ebp - 0x254]
lea eax, [ebp - 0x14]
call fcn.005de5ec
inc dword [ebp - 0x28]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x18]
inc dword [ebp - 0x28]
call fcn.004695e0
lea eax, [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x1c]
inc dword [ebp - 0x28]
call fcn.005de810
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x20]
inc dword [ebp - 0x28]
lea eax, [ebp + 8]
call fcn.005de810
lea edx, [ebp - 0x20]
pop eax
call fcn.005de724
push eax
dec dword [ebp - 0x28]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x28]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x28]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.005de650
pop ecx
test cl, cl
je 0x403d68
mov byte [ebp - 0x49], 1
lea eax, [ebp - 0x278]
push eax
push dword [ebp - 0x48]
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x403cc2
mov al, byte [ebp - 0x49]
push eax
dec dword [ebp - 0x28]
lea eax, [ebp + 8]
mov edx, 2
call fcn.005de650
pop eax
mov edx, dword [ebp - 0x44]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x404030
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov eax, 0x5e2f14
call fcn.005d0a3c
mov dword [ebp - 0x10], 1
lea edx, [ebp + 8]
lea eax, [ebp + 8]
call fcn.005de500
inc dword [ebp - 0x10]
mov word [ebp - 0x1c], 0xc
push 0x1e
push 0
lea edx, [ebp - 0x4c]
push edx
call fcn.005d051b
add esp, 0xc
mov ecx, dword [0x61fad4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x170]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], 3
mov word [ebp - 0x1c], 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push 0
push 0x5e25e2
lea eax, [ebp - 4]
push eax
call fcn.005de798
add esp, 0xc
inc dword [ebp - 0x10]
lea edx, [ebp - 4]
xor ecx, ecx
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
inc dword [ebp - 0x10]
lea eax, [ebp + 8]
call fcn.005de6a0
cmp dword [ebp - 8], 0
je 0x4040c5
mov edx, dword [ebp - 8]
jmp 0x4040ca
mov edx, 0x5e25e8
mov dword [ebp - 0x44], edx
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005de650
xor eax, eax
mov dword [ebp - 0x40], eax
mov word [ebp - 0x3c], 0x14
xor ecx, ecx
mov dword [ebp - 0x36], ecx
xor eax, eax
mov dword [ebp - 0x32], eax
lea edx, [ebp - 0x4c]
push edx
call sub.SHELL32.DLL_SHFileOperationW
dec dword [ebp - 0x10]
lea eax, [ebp + 8]
mov edx, 2
call fcn.005de650
mov ecx, dword [ebp - 0x2c]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40446c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbb0
mov eax, 0x5e3148
call fcn.005d0a3c
mov dword [ebp - 0x24], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.005de500
inc dword [ebp - 0x24]
mov word [ebp - 0x30], 0xc
mov word [ebp - 0x30], 0x18
lea edx, [ebp + 0xc]
lea eax, [ebp - 4]
call fcn.005de500
inc dword [ebp - 0x24]
mov word [ebp - 0x30], 0xc
mov word [ebp - 0x30], 0x24
mov edx, 0x5e25fc
lea eax, [ebp - 8]
call fcn.005de4c0
inc dword [ebp - 0x24]
mov word [ebp - 0x30], 0xc
mov dl, 1
mov eax, dword [ebp + 0xc]
call fcn.00468fd4
test al, al
jne 0x404604
mov word [ebp - 0x30], 0x30
xor edx, edx
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0xc]
inc dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
call fcn.00469524
lea eax, [ebp - 0xc]
mov eax, dword [eax]
mov dl, 1
call fcn.00468fd4
xor ecx, ecx
mov cl, al
cmp ecx, 1
sbb eax, eax
neg eax
push eax
dec dword [ebp - 0x24]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005de650
pop ecx
test cl, cl
je 0x404591
push 1
push 5
lea eax, [ebp - 0x248]
push eax
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderPathW
mov word [ebp - 0x30], 0x3c
lea edx, [ebp - 0x248]
lea eax, [ebp - 0x10]
call fcn.005de5ec
inc dword [ebp - 0x24]
xor edx, edx
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x14]
inc dword [ebp - 0x24]
lea edx, [ebp - 8]
call fcn.005de6a0
lea edx, [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.005de678
dec dword [ebp - 0x24]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.005de650
jmp 0x404604
mov eax, dword [ebp + 0xc]
call fcn.004690a0
test al, al
jne 0x404604
push 1
push 5
lea edx, [ebp - 0x450]
push edx
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderPathW
mov word [ebp - 0x30], 0x48
lea edx, [ebp - 0x450]
lea eax, [ebp - 0x18]
call fcn.005de5ec
inc dword [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
inc dword [ebp - 0x24]
lea edx, [ebp - 8]
call fcn.005de6a0
lea edx, [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.005de678
dec dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.005de650
mov word [ebp - 0x30], 0x54
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.005de678
mov eax, dword [ebp + 8]
mov word [ebp - 0x30], 0x60
push eax
dec dword [ebp - 0x24]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x24]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x24]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.005de650
pop eax
mov word [ebp - 0x30], 0x54
inc dword [ebp - 0x24]
mov edx, dword [ebp - 0x40]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x43da64
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x43db02
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x43dac6
cmp byte [ebx + 0x10], 0
jne 0x43dac6
cmp byte [ebx + 0x3c], 0
jne 0x43dac6
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0x43dae7
lea edx, [ebp - 4]
mov eax, dword [0x61f884]
call fcn.00488a2c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x42d960]
call fcn.0046ddf8
call fcn.004844c4
jmp 0x43dae7
lea edx, [ebp - 8]
mov eax, dword [0x61f884]
call fcn.00488a2c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42d960]
call fcn.0046ddf8
call fcn.004844c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43db09
lea eax, [ebp - 8]
mov edx, 2
call fcn.00484d1c
ret

Function at 0x43e410
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x43e45e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0043d9b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43e477
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x43e480
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0043d9b0
dec esi
jne 0x43e4a2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x43fd18
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x62085c
cmp dword [edi], 0
jne 0x43fd94
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x620858]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5f5504
mov ecx, 2
call fcn.004828f4
mov edx, 0x43fcf0
lea eax, [esi + 5]
call fcn.0043fd10
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043fd10
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43fd69
mov dword [0x620858], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4455b0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44572b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004850e4
mov eax, dword [ebp - 4]
call fcn.00444f10
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x445602
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00485f2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004461a4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4456e1
xor eax, eax
push ebp
push 0x4456da
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004451b0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00445760
test al, al
je 0x4456b8
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00484e44
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4456b8
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00485b20
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00445110
test al, al
je 0x4456b2
mov eax, dword [ebp - 8]
call fcn.00485b20
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00485b70
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004455b0
dec ebx
cmp ebx, 0xffffffff
jne 0x445661
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4456e1
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004451b0
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.00485b20
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0044519c
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00445110
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445732
lea eax, [ebp - 0x3c]
call fcn.00484cbc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00484d1c
ret
Function at 0x4457cc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x445884
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00445760
test al, al
je 0x445866
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00484e44
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x445866
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00485b20
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.00485b20
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00485b70
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x44581f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44588b
lea eax, [ebp - 0x2c]
call fcn.00484cbc
lea eax, [ebp - 4]
call fcn.00484cbc
ret

Function at 0x445a3c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x445af4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00445760
test al, al
je 0x445ad6
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00484e44
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x445ad6
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00485b20
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.00485b20
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00485b70
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x445a8f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445afb
lea eax, [ebp - 0x2c]
call fcn.00484cbc
lea eax, [ebp - 4]
call fcn.00484cbc
ret
Function at 0x446080
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00444f28
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00485b20
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.00445110
test al, al
jne 0x4460e8
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x61f858]
mov dl, 1
mov eax, dword [0x442ddc]
call fcn.0046dffc
call fcn.004844c4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4460f4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00485b20
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.00445110
test al, al
jne 0x446155
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x61f850]
mov dl, 1
mov eax, dword [0x442ddc]
call fcn.0046dffc
call fcn.004844c4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00444f58
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x446754
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x44687c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.004451b0
xor eax, eax
push ebp
push 0x446857
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00445760
test al, al
je 0x44683b
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00446634
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00484e44
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x44683b
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00485b20
push eax
push edi
push esi
call sub.ADVAPI32.DLL_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00445110
test al, al
je 0x446837
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00485b20
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00485b70
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00446634
pop ecx
inc edi
dec ebx
jne 0x4467df
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44685e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.004451b0
ret