joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010903
Capabilities:
Get common file path

Disassembly:
push 0xc
mov eax, 0x101cafa2
call fcn.100970bf
mov ecx, dword [ebp + 0xc]
call fcn.100cc590
mov edi, dword [ebp + 8]
push edi
call fcn.100977b6
cmp eax, 1
pop ecx
movzx ecx, word [edi]
jl 0x10010a46
cmp cx, 0x5c
je 0x10010a46
cmp cx, 0x2e
jne 0x10010955
cmp eax, 1
je 0x10010a46
cmp eax, 2
jne 0x10010955
cmp word [edi + 2], cx
je 0x10010a46
mov edx, dword [0x1020dc58]
mov dword [ebp - 0x10], edx
and dword [ebp - 4], 0
cmp eax, 3
jle 0x1001098a
cmp word [edi + 2], 0x3a
jne 0x1001098a
cmp word [edi + 4], 0x5c
jne 0x1001098a
cmp cx, 0x61
jb 0x10010981
cmp cx, 0x7a
jbe 0x100109db
add ecx, 0xffffffbf
cmp cx, 0x19
jbe 0x100109db
mov esi, 0x105
push esi
lea ecx, [ebp - 0x10]
call fcn.100cd4f0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.100cd5c0
test esi, esi
je 0x10010a4f
cmp esi, 0x104
ja 0x10010a4f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
movzx eax, word [eax + ecx*2 - 2]
cmp ax, 0x5c
je 0x100109db
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.100cd4b0
push 0x101e6644
lea ecx, [ebp - 0x18]
call fcn.100cc080
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100ccdc0
mov byte [ebp - 4], 2
push edi
push eax
lea eax, [ebp + 8]
push eax
call fcn.100ccf90
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
push eax
call fcn.100cc9b0
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.100cc820
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.100cc820
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.100cc820
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100cc820
xor eax, eax
inc eax
call fcn.10097197
ret
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100cc820
xor eax, eax
jmp 0x10010a49

Function at 0x10010b94
Capabilities:
Get file attributes

Disassembly:
push 4
mov eax, 0x101cb00b
call fcn.100970bf
mov eax, dword [0x1020dc58]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x10010bc4
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.10010a5f
pop ecx
pop ecx
test eax, eax
jne 0x10010be3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100cc820
mov eax, esi
call fcn.10097197
ret
push dword [ebp - 0x10]
jmp 0x10010bc7

Function at 0x10010be8
Capabilities:
Set file attributes

Disassembly:
push 4
mov eax, 0x101cb02e
call fcn.100970bf
mov eax, dword [0x1020dc58]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x10010c18
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.10010a5f
pop ecx
pop ecx
test eax, eax
jne 0x10010c3a
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100cc820
mov eax, esi
call fcn.10097197
ret
push dword [ebp + 0xc]
push dword [ebp - 0x10]
jmp 0x10010c1e
Function at 0x10010e61
Capabilities:
Create directory

Disassembly:
push 4
mov eax, 0x101cb0f5
call fcn.100970bf
mov eax, dword [0x1020dc58]
xor esi, esi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], esi
cmp dword [ebp + 8], esi
je 0x10010e92
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.10010a5f
pop ecx
pop ecx
test eax, eax
je 0x10010e92
inc esi
cmp dword [0x10266fe8], 0
je 0x10010eb8
push dword [ebp - 0x10]
push esi
push str.COverlongPathApi::CreateDirectoryW_bChangeToLongPath__d__wstrLongPath__s_
push str.COverlongPathApi
push 0xffffffffffffffff
push 0x10266f7c
call fcn.10024f90
add esp, 0x18
push dword [ebp + 0xc]
test esi, esi
jne 0x10010ede
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100cc820
mov eax, esi
call fcn.10097197
ret
push dword [ebp - 0x10]
jmp 0x10010ec2

Function at 0x100112da
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x100112e9
xor eax, eax
jmp 0x10011337
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001130f
test al, 0x10
jne 0x10011327
push 0x80
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10011327
push edi
call fcn.10010f8b
pop ecx
test eax, eax
je 0x10011336
cmp dword [ebp + 0xc], 0
je 0x10011333
push dword [ebp + 0xc]
push edi
call esi
xor eax, eax
inc eax
pop esi
pop edi
pop ebp
ret

Function at 0x10014e11
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10247460]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push esi
lea esi, [eax + 0x18]
mov eax, dword [esi]
cmp dword [eax - 8], 0
jne 0x10014e70
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.100971d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.100ccaa0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100970b0
leave
ret
Function at 0x10014f23
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0
mov eax, 0x101cbccc
call fcn.100970bf
mov edi, dword [ebp + 8]
mov eax, dword [edi]
xor ebx, ebx
cmp dword [eax - 8], ebx
je 0x10014fc2
cmp dword [ebp + 0x10], ebx
je 0x10014fc2
push dword [ebp + 0x10]
lea ecx, [ebp + 8]
call fcn.100cc080
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 0xc]
push edi
mov ecx, esi
call fcn.100cc9b0
mov dword [ebp + 0x10], ebx
mov ebx, 0x3e8
cmp dword [ebp + 0x10], 0
push dword [ebp + 8]
jne 0x10014f80
push dword [edi]
push 0x101e78cc
push esi
call fcn.100cf7a0
add esp, 0x10
jmp 0x10014f93
push dword [ebp + 0x10]
push dword [edi]
push 0x101e8844
push esi
call fcn.100cf7a0
add esp, 0x14
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10014fa8
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], ebx
jb 0x10014f65
xor eax, eax
cmp dword [ebp + 0x10], ebx
setne al
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100cc820
mov eax, esi
jmp 0x10014fc4
xor eax, eax
call fcn.10097197
ret 0xc
Function at 0x1001c2cd
Capabilities:
Read .ini file

Disassembly:
push 0xe1c
mov eax, 0x101cd019
call fcn.10097128
xor ebx, ebx
cmp dword [0x1025ef34], ebx
jne 0x1001c504
push 0x3ff
lea eax, [ebp - 0x617]
push ebx
push eax
mov dword [0x1025ef34], 1
mov byte [ebp - 0x618], bl
call fcn.100971d0
xor eax, eax
push 0x7fe
mov word [ebp - 0xe18], ax
lea eax, [ebp - 0xe16]
push ebx
push eax
mov dword [ebp - 0xe1c], ebx
call fcn.100971d0
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.100971d0
add esp, 0x24
push str.OAgent.ini
call fcn.10001f61
push eax
lea eax, [ebp - 0x218]
push 0x101e3850
push eax
call fcn.10098983
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
mov esi, 0x400
push esi
lea eax, [ebp - 0xe18]
push eax
push 0x101e3ae4
push 0x101e9108
push str.AgentConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jbe 0x1001c3bd
cmp word [ebp - 0x61a], bx
jne 0x1001c3bd
push esi
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0xe18]
push eax
call fcn.100e00c0
add esp, 0xc
mov dword [ebp - 0xe1c], eax
cmp dword [ebp - 0xe1c], ebx
jne 0x1001c4cb
lea ecx, [ebp - 0xe24]
call fcn.100db6d0
mov dword [ebp - 4], ebx
push 0x20019
push str.SOFTWAREClassesCLSIDAFFAEF68_CDC5_4aad_9D3F_997C0D55927BProgID
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xe24]
call fcn.100db840
mov edi, 0x101e919c
test eax, eax
je 0x1001c449
lea eax, [ebp - 0xe1c]
push eax
push edi
lea ecx, [ebp - 0xe24]
call fcn.100dbc60
mov dword [ebp - 0xe28], eax
cmp eax, ebx
je 0x1001c449
cmp dword [ebp - 0xe1c], esi
jae 0x1001c437
push dword [ebp - 0xe1c]
push eax
lea eax, [ebp - 0x618]
push eax
call fcn.10097250
add esp, 0xc
jmp 0x1001c43d
mov dword [ebp - 0xe1c], ebx
push dword [ebp - 0xe28]
call fcn.10063b47
pop ecx
lea ecx, [ebp - 0xe24]
call fcn.100db890
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe24]
call fcn.100db7c0
cmp dword [ebp - 0xe1c], ebx
jne 0x1001c4cb
push 0x800
lea eax, [ebp - 0xe18]
push ebx
push eax
call fcn.100971d0
add esp, 0xc
push esi
lea eax, [ebp - 0xe18]
push eax
push 0x101e3ae4
push edi
push str.ED30_8AC4_11D5_8930_A730
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
test eax, eax
jbe 0x1001c4c3
cmp word [ebp - 0x61a], bx
jne 0x1001c4c3
push esi
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0xe18]
push eax
call fcn.100e00c0
add esp, 0xc
mov dword [ebp - 0xe1c], eax
cmp dword [ebp - 0xe1c], ebx
je 0x1001c504
cmp dword [ebp - 0xe1c], 4
jbe 0x1001c504
cmp dword [ebp - 0x618], 1
je 0x1001c504
movzx eax, word [ebp - 0x5fc]
lea eax, [eax + eax + 0x22]
cmp eax, ebx
je 0x1001c504
mov ecx, dword [ebp - 0xe1c]
add ecx, 0xfffffffc
cmp eax, ecx
ja 0x1001c504
mov eax, dword [ebp - 0x610]
mov dword [0x1025ef30], eax
call fcn.100971ab
ret
Function at 0x1001ce6a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov esi, eax
cmp dword [ebp + 0xc], ebx
je 0x1001ce91
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001ce05
add esp, 0xc
jmp 0x1001ce94
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], eax
cmp eax, ebx
je 0x1001cf62
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x1001cf53
mov eax, dword [ebp - 8]
cmp eax, 4
jne 0x1001cf00
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x1001cf53
call fcn.1001ca5e
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
je 0x1001cefc
push eax
call fcn.1001ce56
pop ecx
mov al, 1
jmp 0x1001cf64
cmp eax, 1
je 0x1001cf19
cmp eax, 2
je 0x1001cf19
cmp eax, 6
je 0x1001cf19
cmp eax, 7
je 0x1001cf19
cmp eax, 3
jne 0x1001cf53
push dword [ebp - 4]
call fcn.1009981a
mov ebx, eax
pop ecx
test ebx, ebx
je 0x1001cf53
lea eax, [ebp - 4]
push eax
push ebx
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x1001cf4c
call fcn.1001ca5e
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov dword [esi + 4], ebx
jmp 0x1001ceed
push ebx
call fcn.100996c3
pop ecx
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
je 0x1001cf62
push eax
call fcn.1001ce56
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001cf69
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 0xc], ebx
je 0x1001cf8e
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001ce05
add esp, 0xc
mov edi, eax
jmp 0x1001cf91
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x1001cfe4
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 0x10]
push edi
call esi
test eax, eax
jne 0x1001cfd8
cmp dword [ebp + 0xc], 4
jne 0x1001cfd8
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
push ebx
push ebx
push dword [ebp + 0x10]
push edi
call esi
test eax, eax
jne 0x1001cfd8
cmp edi, dword [ebp + 8]
je 0x1001cfd4
push edi
call fcn.1001ce56
pop ecx
mov al, 1
jmp 0x1001cfe6
cmp edi, dword [ebp + 8]
je 0x1001cfe4
push edi
call fcn.1001ce56
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001cfeb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 0xc], ebx
je 0x1001d010
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001ce05
add esp, 0xc
mov edi, eax
jmp 0x1001d013
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x1001d06e
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 0xc]
push eax
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 0x10]
push edi
call esi
test eax, eax
jne 0x1001d062
cmp dword [ebp - 4], 3
jne 0x1001d062
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 0xc]
jb 0x1001d062
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x14]
push ebx
push ebx
push dword [ebp + 0x10]
push edi
call esi
test eax, eax
jne 0x1001d062
cmp edi, dword [ebp + 8]
je 0x1001d05e
push edi
call fcn.1001ce56
pop ecx
mov al, 1
jmp 0x1001d070
cmp edi, dword [ebp + 8]
je 0x1001d06e
push edi
call fcn.1001ce56
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001d075
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 0xc], esi
je 0x1001d09a
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001ce05
add esp, 0xc
mov ebx, eax
jmp 0x1001d09d
mov ebx, dword [ebp + 8]
cmp ebx, esi
je 0x1001d113
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ebx
call esi
test eax, eax
jne 0x1001d107
cmp dword [ebp - 4], 3
jne 0x1001d107
push dword [ebp + 0xc]
call fcn.1009981a
mov edi, eax
pop ecx
test edi, edi
je 0x1001d107
lea eax, [ebp + 0xc]
push eax
push edi
push 0
push 0
push dword [ebp + 0x10]
push ebx
call esi
test eax, eax
jne 0x1001d100
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
cmp ebx, dword [ebp + 8]
je 0x1001d0fc
push ebx
call fcn.1001ce56
pop ecx
mov al, 1
jmp 0x1001d115
push edi
call fcn.100996c3
pop ecx
cmp ebx, dword [ebp + 8]
je 0x1001d113
push ebx
call fcn.1001ce56
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001d11a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 0xc], ebx
je 0x1001d13f
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001ce05
add esp, 0xc
mov edi, eax
jmp 0x1001d142
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x1001d1ae
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 0xc]
push eax
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 0x10]
push edi
call esi
test eax, eax
jne 0x1001d1a2
mov eax, dword [ebp - 4]
cmp eax, 1
je 0x1001d177
cmp eax, 2
je 0x1001d177
cmp eax, 6
je 0x1001d177
cmp eax, 7
jne 0x1001d1a2
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 0xc]
jb 0x1001d1a2
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x14]
push ebx
push ebx
push dword [ebp + 0x10]
push edi
call esi
test eax, eax
jne 0x1001d1a2
cmp edi, dword [ebp + 8]
je 0x1001d19e
push edi
call fcn.1001ce56
pop ecx
mov al, 1
jmp 0x1001d1b0
cmp edi, dword [ebp + 8]
je 0x1001d1ae
push edi
call fcn.1001ce56
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001d1b5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 0xc], esi
je 0x1001d1da
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001ce05
add esp, 0xc
mov ebx, eax
jmp 0x1001d1dd
mov ebx, dword [ebp + 8]
cmp ebx, esi
je 0x1001d26c
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ebx
call esi
test eax, eax
jne 0x1001d260
mov eax, dword [ebp - 4]
cmp eax, 1
je 0x1001d216
cmp eax, 2
je 0x1001d216
cmp eax, 6
je 0x1001d216
cmp eax, 7
jne 0x1001d260
push dword [ebp + 0xc]
call fcn.1009981a
mov edi, eax
pop ecx
test edi, edi
je 0x1001d260
lea eax, [ebp + 0xc]
push eax
push edi
push 0
push 0
push dword [ebp + 0x10]
push ebx
call esi
test eax, eax
jne 0x1001d259
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x1001d249
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
cmp ebx, dword [ebp + 8]
je 0x1001d255
push ebx
call fcn.1001ce56
pop ecx
mov al, 1
jmp 0x1001d26e
push edi
call fcn.100996c3
pop ecx
cmp ebx, dword [ebp + 8]
je 0x1001d26c
push ebx
call fcn.1001ce56
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001d307
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 0xc], esi
je 0x1001d32c
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001ce05
add esp, 0xc
mov ebx, eax
jmp 0x1001d32f
mov ebx, dword [ebp + 8]
cmp ebx, esi
je 0x1001d3d7
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ebx
call esi
test eax, eax
jne 0x1001d3cb
mov eax, dword [ebp - 4]
cmp eax, 1
je 0x1001d368
cmp eax, 2
je 0x1001d368
cmp eax, 6
je 0x1001d368
cmp eax, 7
jne 0x1001d3cb
mov eax, dword [ebp + 0xc]
inc eax
push eax
call fcn.10063b52
mov edi, eax
mov eax, dword [ebp + 0xc]
inc eax
push eax
push 0
push edi
call fcn.100971d0
add esp, 0x10
lea eax, [ebp + 0xc]
push eax
push edi
push 0
push 0
push dword [ebp + 0x10]
push ebx
call esi
push edi
test eax, eax
jne 0x1001d3b7
mov ecx, dword [ebp + 0x14]
call fcn.100ccaa0
cmp ebx, dword [ebp + 8]
je 0x1001d3ac
push ebx
call fcn.1001ce56
pop ecx
push edi
call fcn.10063b5d
pop ecx
mov al, 1
jmp 0x1001d3d9
call fcn.10063b5d
mov ecx, dword [ebp + 0x14]
mov dword [esp], 0x101e3ae4
call fcn.100ccaa0
cmp ebx, dword [ebp + 8]
je 0x1001d3d7
push ebx
call fcn.1001ce56
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001d3de
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
push edi
mov esi, eax
je 0x1001d400
push 0x20006
push dword [ebp + 8]
push ebx
call fcn.1001ce29
add esp, 0xc
mov edi, eax
jmp 0x1001d402
mov edi, ebx
test edi, edi
je 0x1001d45e
mov eax, dword [esi]
cmp eax, 4
jne 0x1001d414
push eax
add esi, eax
push esi
push eax
jmp 0x1001d434
cmp eax, 1
je 0x1001d42d
cmp eax, 2
je 0x1001d42d
cmp eax, 6
je 0x1001d42d
cmp eax, 7
je 0x1001d42d
cmp eax, 3
jne 0x1001d453
push dword [esi + 8]
push dword [esi + 4]
push eax
push 0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1001d453
cmp edi, ebx
je 0x1001d44f
push edi
call fcn.1001ce56
pop ecx
mov al, 1
jmp 0x1001d460
cmp edi, ebx
je 0x1001d45e
push edi
call fcn.1001ce56
pop ecx
xor al, al
pop edi
pop esi
pop ebp
ret

Function at 0x1001d464
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
je 0x1001d483
push 0x20006
push dword [ebp + 8]
push edi
call fcn.1001ce29
add esp, 0xc
mov esi, eax
jmp 0x1001d485
mov esi, edi
test esi, esi
je 0x1001d4bb
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1001d4b0
cmp esi, edi
je 0x1001d4ac
push esi
call fcn.1001ce56
pop ecx
mov al, 1
jmp 0x1001d4bd
cmp esi, edi
je 0x1001d4bb
push esi
call fcn.1001ce56
pop ecx
xor al, al
pop esi
pop ebp
ret
Function at 0x1001d4c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
je 0x1001d4df
push 0x20006
push dword [ebp + 8]
push edi
call fcn.1001ce29
add esp, 0xc
mov esi, eax
jmp 0x1001d4e1
mov esi, edi
test esi, esi
je 0x1001d517
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 3
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1001d50c
cmp esi, edi
je 0x1001d508
push esi
call fcn.1001ce56
pop ecx
mov al, 1
jmp 0x1001d519
cmp esi, edi
je 0x1001d517
push esi
call fcn.1001ce56
pop ecx
xor al, al
pop esi
pop ebp
ret

Function at 0x1001d51c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
je 0x1001d53b
push 0x20006
push dword [ebp + 8]
push edi
call fcn.1001ce29
add esp, 0xc
mov esi, eax
jmp 0x1001d53d
mov esi, edi
test esi, esi
je 0x1001d57e
push dword [ebp + 0x10]
call fcn.100977b6
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x10]
push 1
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1001d573
cmp esi, edi
je 0x1001d56f
push esi
call fcn.1001ce56
pop ecx
mov al, 1
jmp 0x1001d580
cmp esi, edi
je 0x1001d57e
push esi
call fcn.1001ce56
pop ecx
xor al, al
pop esi
pop ebp
ret
Function at 0x1001d5c8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x1001d5ec
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001ce05
add esp, 0xc
jmp 0x1001d5ef
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x14], edi
jbe 0x1001d618
push dword [ebx + esi*4]
call fcn.100977b6
push eax
push 0x20
push dword [ebx + esi*4]
call fcn.100971d0
add esp, 0x10
inc esi
cmp esi, dword [ebp + 0x14]
jb 0x1001d5fc
cmp dword [ebp + 0xc], edi
je 0x1001d6c8
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x14]
push eax
push edi
push edi
push edi
push dword [ebp + 0xc]
mov dword [ebp + 0x14], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1001d6b9
cmp dword [ebp + 0x14], edi
jbe 0x1001d6b9
mov eax, dword [ebp - 4]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10063b52
mov esi, eax
pop ecx
cmp esi, edi
je 0x1001d6b9
cmp dword [ebp + 0x14], edi
jbe 0x1001d69f
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
inc eax
push eax
push esi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1001d697
mov eax, dword [ebp - 8]
push esi
push dword [eax]
call fcn.10097721
add dword [ebp - 8], 4
pop ecx
pop ecx
inc edi
cmp edi, dword [ebp + 0x14]
jb 0x1001d671
jmp 0x1001d6a2
mov ebx, dword [ebp + 0xc]
push esi
call fcn.10063b5d
pop ecx
cmp ebx, dword [ebp + 8]
je 0x1001d6b5
push ebx
call fcn.1001ce56
pop ecx
mov al, 1
jmp 0x1001d6ca
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
je 0x1001d6c8
push eax
call fcn.1001ce56
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1001d76e
cmp dword [ebp - 8], ebx
je 0x1001d763
inc dword [ebp - 4]
push dword [ebp - 4]
call fcn.1009981a
mov esi, eax
pop ecx
cmp esi, ebx
je 0x1001d76e
push dword [ebp - 4]
push esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1001d767
push 0x2001f
push esi
push dword [ebp + 8]
call fcn.1001ce05
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x1001d767
push edi
call fcn.1001d6cf
pop ecx
push edi
test al, al
je 0x1001d775
call fcn.1001ce56
pop ecx
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x1001d767
dec dword [ebp - 8]
jne 0x1001d70e
push esi
call fcn.100996c3
pop ecx
mov al, 1
jmp 0x1001d770
push esi
call fcn.100996c3
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret
call fcn.1001ce56
push esi
call fcn.100996c3
pop ecx
jmp 0x1001d76d