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

Disassembly:
push ebp
lea ebp, [esp - 0x1b0]
sub esp, 0x230
mov eax, dword [0x10171b0]
push esi
push edi
xor edi, edi
push edi
mov esi, 0x20019
push esi
push 4
mov dword [ebp + 0x1ac], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
call fcn.01006185
cmp eax, edi
mov dword [ebp - 0x80], eax
jne 0x1007c29
xor eax, eax
jmp 0x1007d16
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x6c]
push ecx
push esi
push edi
push dword [ebp + 0x1c0]
push eax
call ebx
test eax, eax
jne 0x1007d50
lea eax, [ebp - 0x68]
push eax
push esi
push edi
push dword [ebp + 0x1bc]
push dword [ebp - 0x6c]
call ebx
test eax, eax
jne 0x1007d43
lea eax, [ebp - 0x64]
push eax
push esi
push edi
push dword [ebp + 0x1b8]
push dword [ebp - 0x68]
call ebx
test eax, eax
jne 0x1007d36
push 0x104
lea eax, [ebp - 0x60]
push eax
push edi
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1007cf8
lea eax, [ebp - 0x74]
push eax
push esi
push 0
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x64]
call ebx
test eax, eax
jne 0x1007d3c
lea eax, [ebp + 0x1c0]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0x10
push 0x10017f4
push 0
push dword [ebp - 0x74]
mov dword [ebp + 0x1c0], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
push dword [ebp - 0x74]
call edi
cmp dword [ebp - 0x78], 0
jne 0x1007d2d
inc dword [ebp - 0x70]
push 0x104
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1007c94
push dword [ebp - 0x64]
call edi
push dword [ebp - 0x68]
call edi
push dword [ebp - 0x6c]
call edi
mov esi, dword [ebp - 0x7c]
push dword [ebp - 0x80]
call edi
mov eax, esi
pop ebx
mov ecx, dword [ebp + 0x1ac]
pop edi
pop esi
call fcn.0101206f
add ebp, 0x1b0
leave
ret 0xc
mov dword [ebp - 0x7c], 1
jmp 0x1007cfc
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x68]
call edi
jmp 0x1007d49
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x6c]
call edi
jmp 0x1007d56
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x1007d0e
Function at 0x1007d5a
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
or dword [ebp - 0x14], 0xffffffff
or dword [ebp - 0x10], 0xffffffff
push ebx
push esi
push edi
push 0x10013e0
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0xc], edi
call fcn.01004d0e
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.01004d58
call fcn.010079d9
push edi
mov esi, 0x2001f
push esi
push 2
call fcn.01005037
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x1007f5f
push dword [ebp + 0x14]
push edi
push esi
push eax
call fcn.01005f5e
mov esi, eax
cmp esi, ebx
mov dword [ebp + 0x14], esi
je 0x1007f54
cmp dword [ebp + 0x1c], ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x1007efe
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push 0x1001ac0
push esi
call ebx
test eax, eax
jne 0x1007f47
and dword [ebp + 0x1c], 0
cmp dword [ebp + 0xc], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jle 0x1007eb7
mov edi, dword [ebp + 8]
add edi, 0x20c
lea eax, [ebp - 4]
push eax
push 0x2001f
lea eax, [edi - 0x20c]
push eax
push dword [ebp + 0x14]
call fcn.01004fae
test eax, eax
jne 0x1007f4d
lea eax, [edi - 4]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x1007e52
test ecx, ecx
je 0x1007e39
mov dword [ebp - 0x14], ecx
push 4
push eax
push 4
push 0
push 0x10018dc
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x1007f40
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x1007e79
test eax, eax
je 0x1007e60
mov dword [ebp - 0x10], eax
push 4
push edi
push 4
push 0
push 0x10018cc
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x1007f40
lea eax, [edi + 4]
cmp dword [eax], 0xffffffff
je 0x1007e9a
push 4
push eax
push 4
push 0
push 0x100192c
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x1007f40
push dword [ebp - 4]
call esi
inc dword [ebp + 0x1c]
mov eax, dword [ebp + 0x1c]
add edi, 0x238
cmp eax, dword [ebp + 0xc]
jl 0x1007e08
xor edi, edi
inc edi
push edi
push dword [ebp + 0x14]
call fcn.010067de
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 8]
call fcn.01006939
push dword [ebp + 0x14]
call esi
push dword [ebp - 8]
call esi
cmp dword [ebp + 0x18], 0
je 0x1007ee5
push 0
call fcn.01007655
lea ecx, [ebp - 0x24]
call fcn.01004d81
lea ecx, [ebp - 0x24]
call fcn.01004d33
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x18
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10
push 0x1001ac0
push 0
push esi
mov dword [ebp - 0x18], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x1007deb
cmp dword [ebp - 0xc], eax
je 0x1007deb
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
jmp 0x1007ee5
push dword [ebp - 4]
call esi
jmp 0x1007f4d
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x14]
call esi
jmp 0x1007f5a
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call esi
xor edi, edi
jmp 0x1007ee5
Function at 0x1007f63
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x6d8]
sub esp, 0x758
mov eax, dword [0x10171b0]
push esi
push edi
mov dword [ebp + 0x6d4], eax
lea eax, [ebp - 0x60]
push eax
push 0x10015f0
push 1
xor esi, esi
push esi
push 0x10015d0
mov dword [ebp - 0x60], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
je 0x1007fa3
mov dword [ebp - 0x60], esi
push esi
push 0x20019
push 4
call fcn.01005037
cmp eax, esi
mov dword [ebp - 0x64], eax
je 0x10080bc
cmp edi, esi
mov dword [ebp - 0x68], esi
jne 0x10080b3
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ebx
mov ebx, 0x103
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x1a4]
push eax
push dword [ebp - 0x68]
mov dword [ebp - 0x74], 0x100
push dword [ebp - 0x64]
call edi
inc dword [ebp - 0x68]
cmp eax, ebx
mov dword [ebp - 0x80], eax
je 0x10080b2
lea eax, [ebp - 0x70]
push eax
push 0x20019
push esi
lea eax, [ebp + 0x1a4]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x10080a9
mov dword [ebp - 0x6c], esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x6c]
mov dword [ebp - 0x7c], 0x100
push dword [ebp - 0x70]
call edi
inc dword [ebp - 0x6c]
cmp eax, ebx
mov dword [ebp - 0x78], eax
je 0x100809b
lea eax, [ebp - 0x5c]
push eax
push 0x197
lea eax, [ebp + 0x3a4]
push eax
call fcn.01002f50
mov eax, dword [ebp - 0x60]
cmp eax, esi
je 0x1008075
mov ecx, dword [eax]
lea edx, [ebp + 0x3a4]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x100809b
push 0x1001ae0
push 0x197
lea eax, [ebp + 0x3a4]
push eax
call fcn.01005f2c
test eax, eax
jl 0x100809b
lea eax, [ebp + 0x3a4]
push eax
call fcn.010055e7
cmp dword [ebp - 0x78], esi
je 0x1008023
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x80], esi
je 0x1007fd2
pop ebx
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x60]
pop edi
cmp eax, esi
pop esi
je 0x10080cb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x1002508
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.01005296
mov ecx, dword [ebp + 0x6d4]
xor eax, eax
inc eax
call fcn.0101206f
add ebp, 0x6d8
leave
ret
Function at 0x100874d
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x10171b0]
push ebx
push esi
mov dword [ebp + 0x98], eax
call fcn.010079d9
push 0x10013e0
xor esi, esi
push esi
push esi
lea ecx, [ebp - 0x80]
call fcn.01004d0e
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.01004d58
mov eax, dword [ebp + 0xb0]
mov ebx, 0x2001f
push ebx
mov dword [eax], esi
call sym.mobsync.dll_RegGetHandlerTopLevelKey
cmp eax, esi
mov dword [ebp - 0x70], eax
jne 0x10087af
lea ecx, [ebp - 0x80]
call fcn.01004d81
jmp 0x1008888
push edi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push esi
mov edi, 0x81
push eax
mov dword [ebp - 0x74], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10087dc
mov eax, dword [ebp + 0xb0]
mov dword [eax], 1
push edi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0xa4]
mov dword [ebp + 0xb0], esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
xor edi, edi
inc edi
push edi
push ebx
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x70]
call fcn.010051d8
mov ebx, eax
cmp ebx, esi
je 0x1008865
cmp dword [ebp + 0xa8], esi
mov dword [ebp + 0xb0], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x100883c
push dword [ebp + 0xa8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0xa8]
push 1
push esi
push esi
push ebx
call edi
push 4
lea eax, [ebp + 0xac]
push eax
push 4
push esi
push 0x1002754
push ebx
call edi
push ebx
call fcn.01005d25
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x70]
call fcn.01005d9b
call sym.mobsync.dll_RegSetUserDefaults
push esi
call fcn.01007655
lea ecx, [ebp - 0x80]
call fcn.01004d81
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0xb0]
pop edi
lea ecx, [ebp - 0x80]
call fcn.01004d33
mov ecx, dword [ebp + 0x98]
mov eax, esi
pop esi
pop ebx
call fcn.0101206f
add ebp, 0x9c
leave
ret 0x10
Function at 0x100938b
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x10171b0]
push ebx
push esi
push 4
pop esi
push dword [ebp + 0x3b0]
mov dword [ebp + 0x3a4], eax
push 0x105
lea eax, [ebp + 0x198]
xor ebx, ebx
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], ebx
call fcn.01002f50
test eax, eax
jge 0x10093d6
xor eax, eax
jmp 0x1009476
lea eax, [ebp + 0x198]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, esi
jl 0x10093cf
push ebx
push 0x20019
push esi
mov word [ebp + eax*2 + 0x190], bx
call fcn.01006185
mov esi, eax
cmp esi, ebx
je 0x10093cf
push edi
push 0x104
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
inc dword [ebp - 0x7c]
mov edi, eax
lea eax, [ebp + 0x198]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1009435
cmp edi, ebx
je 0x1009402
jmp 0x1009439
cmp edi, ebx
je 0x1009444
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1009475
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push 0x10
push 0x10019d0
lea eax, [ebp - 0x74]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
je 0x1009466
mov dword [ebp - 0x78], ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 0x78], ebx
setne al
pop edi
mov ecx, dword [ebp + 0x3a4]
pop esi
pop ebx
call fcn.0101206f
add ebp, 0x3a8
leave
ret 4
Function at 0x100979d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1a8]
sub esp, 0x228
mov eax, dword [0x10171b0]
push ebx
push esi
push edi
push 0x20019
mov dword [ebp + 0x1a4], eax
mov esi, ecx
call sym.mobsync.dll_RegGetHandlerTopLevelKey
test eax, eax
mov dword [ebp - 0x80], eax
je 0x1009889
and dword [ebp - 0x7c], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, 0x104
push ebx
lea ecx, [ebp - 0x74]
push ecx
push 0
mov dword [esi + 0x62c], 1
push eax
jmp 0x1009876
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jne 0x1009868
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x194]
push eax
push dword [esi + 0x634]
call fcn.0100ca6b
test eax, eax
jne 0x1009868
lea eax, [ebp + 0x194]
push eax
push dword [ebp - 0x78]
push dword [esi + 0x634]
call fcn.0100d719
xor ecx, ecx
cmp eax, ecx
jne 0x100985a
push ecx
push ecx
push 0x100
push ecx
push dword [ebp - 0x78]
push dword [esi + 0x634]
call fcn.0100d7b3
test eax, eax
je 0x1009868
push dword [ebp - 0x78]
push dword [esi + 0x634]
call fcn.0100caee
inc dword [ebp - 0x7c]
push ebx
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call edi
test eax, eax
je 0x10097f6
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x78]
push eax
push 5
push dword [esi + 0x634]
call fcn.0100d6db
mov edi, eax
test edi, edi
jne 0x10098da
lea ebx, [esi + 0x10]
push dword [ebp - 0x78]
push dword [esi + 0x634]
call fcn.0100db7c
push ebx
push dword [ebp - 0x78]
push dword [esi + 0x634]
call fcn.0100d1ac
lea eax, [ebp - 0x78]
push eax
push 5
push dword [ebp - 0x78]
push dword [esi + 0x634]
call fcn.0100cd2a
mov edi, eax
test edi, edi
je 0x10098a3
mov ebx, 0x1002c84
push ebx
mov ecx, esi
call fcn.01008a7b
push ebx
mov ecx, esi
call fcn.01008b1a
mov ecx, dword [ebp + 0x1a4]
mov eax, edi
dec eax
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebx
call fcn.0101206f
add ebp, 0x1a8
leave
ret

Function at 0x100a63f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1001bfc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100a694
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push esi
push 0x10000002
push 0x1001be8
push esi
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueA]
test eax, eax
jne 0x100a68b
inc esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0x7fff0001
add eax, 0x8000ffff
pop esi
leave
ret 8
Function at 0x100b271
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x101384e
call fcn.010136a0
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x2c], ebx
je 0x100b296
xor eax, eax
cmp dword [esi + 0x30], ebx
sete al
jmp 0x100b3a8
push edi
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x18]
call fcn.0100af4f
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
inc dword [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.01012783
cmp dword [esi + 0x2c], ebx
jne 0x100b37f
push 0x1001d34
mov dword [esi + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x30], eax
je 0x100b34b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001d50
push eax
call edi
push 0x1001d64
push dword [esi + 0x30]
mov dword [esi + 0x34], eax
call edi
push 0x1001d78
push dword [esi + 0x30]
mov dword [esi + 0x38], eax
call edi
push 0x1001d88
push dword [esi + 0x30]
mov dword [esi + 0x3c], eax
call edi
push 0x1001d98
push dword [esi + 0x30]
mov dword [esi + 0x40], eax
call edi
push 0x1001db0
push dword [esi + 0x30]
mov dword [esi + 0x44], eax
call edi
push 0x1001dc4
push dword [esi + 0x30]
mov dword [esi + 0x48], eax
call edi
push 0x1001dd8
push dword [esi + 0x30]
mov dword [esi + 0x4c], eax
call edi
push 0x1001df0
push dword [esi + 0x30]
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x100b373
cmp dword [esi + 0x38], ebx
je 0x100b365
cmp dword [esi + 0x4c], ebx
je 0x100b365
cmp dword [esi + 0x3c], ebx
je 0x100b365
xor edi, edi
jmp 0x100b376
cmp eax, ebx
je 0x100b373
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x30], ebx
xor edi, edi
inc edi
mov dword [esi + 0x2c], 1
jmp 0x100b389
xor eax, eax
cmp dword [esi + 0x30], ebx
sete al
mov edi, eax
cmp dword [ebp - 0x18], ebx
jbe 0x100b399
mov ecx, dword [ebp - 0x14]
dec dword [ebp - 0x18]
call fcn.01012798
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0100af6b
mov eax, edi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100b3b6
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x101384e
call fcn.010136a0
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x100b3db
xor eax, eax
cmp dword [esi + 0x5c], ebx
sete al
jmp 0x100b4df
push edi
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x18]
call fcn.0100af4f
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
inc dword [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.01012783
cmp dword [esi + 0x58], ebx
jne 0x100b4b6
push 0x1001e08
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x5c], eax
je 0x100b473
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001e20
push eax
call edi
push 0x1001e30
push dword [esi + 0x5c]
mov dword [esi + 0x60], eax
call edi
push 0x1001e40
push dword [esi + 0x5c]
mov dword [esi + 0x64], eax
call edi
push 0x1001e50
push dword [esi + 0x5c]
mov dword [esi + 0x68], eax
call edi
push 0x1001e64
push dword [esi + 0x5c]
mov dword [esi + 0x6c], eax
call edi
push 0x1001e7c
push dword [esi + 0x5c]
mov dword [esi + 0x70], eax
call edi
push 0x1001e94
push dword [esi + 0x5c]
mov dword [esi + 0x74], eax
call edi
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x5c]
cmp eax, ebx
je 0x100b4aa
cmp dword [esi + 0x60], ebx
je 0x100b49c
cmp dword [esi + 0x68], ebx
je 0x100b49c
cmp dword [esi + 0x6c], ebx
je 0x100b49c
cmp dword [esi + 0x70], ebx
je 0x100b49c
cmp dword [esi + 0x74], ebx
je 0x100b49c
cmp dword [esi + 0x78], ebx
je 0x100b49c
xor edi, edi
jmp 0x100b4ad
cmp eax, ebx
je 0x100b4aa
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x5c], ebx
xor edi, edi
inc edi
mov dword [esi + 0x58], 1
jmp 0x100b4c0
xor eax, eax
cmp dword [esi + 0x5c], ebx
sete al
mov edi, eax
cmp dword [ebp - 0x18], ebx
jbe 0x100b4d0
mov ecx, dword [ebp - 0x14]
dec dword [ebp - 0x18]
call fcn.01012798
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0100af6b
mov eax, edi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100b60a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x1001f80
push SysReAllocString
mov dword [ebp - 4], 0x80004005
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x100b6c2
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 4
pop ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0x1001f5c
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
call edi
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x100b6a3
cmp dword [ebp - 0xc], eax
je 0x100b6a3
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0x1001f40
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
call edi
mov esi, eax
test esi, esi
jne 0x100b694
cmp dword [ebp - 0xc], eax
jne 0x100b6af
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
mov dword [eax], 2
jmp 0x100b6af
mov ecx, dword [ebp + 8]
mov dword [ecx], 1
mov dword [ebp - 4], eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
pop edi
pop ebx
je 0x100b6d3
test esi, esi
jle 0x100b6d0
and esi, 0xffff
or esi, 0x80070000
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop esi
leave
ret 4

Function at 0x100b706
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x2001f
xor edi, edi
push edi
push 0x1001f80
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x100b78e
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
je 0x100b751
dec eax
push 1
pop ecx
je 0x100b74e
dec eax
dec eax
je 0x100b74b
push 0x57
pop esi
jmp 0x100b785
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
push 4
lea eax, [ebp - 8]
push eax
push 4
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x1001f5c
push dword [ebp - 4]
call edi
mov esi, eax
test esi, esi
jne 0x100b785
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push esi
push 0x1001f40
push dword [ebp - 4]
call edi
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jle 0x100b79e
and esi, 0xffff
or esi, 0x80070000
pop edi
mov eax, esi
pop esi
leave
ret 4
Function at 0x100c0da
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x10171b0]
push ebx
push esi
xor esi, esi
push esi
push 0x20019
push 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x420], esi
call fcn.01006185
mov ebx, eax
cmp ebx, esi
jne 0x100c10f
xor eax, eax
jmp 0x100c195
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x210]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x100c184
inc dword [ebp - 0x420]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0
push 0x10000002
push 0x1001948
lea eax, [ebp - 0x210]
push eax
push ebx
mov dword [ebp - 0x424], 0x20a
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100c176
push dword [ebp + 0x10]
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100c1a3
push edi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x420]
push ebx
call esi
test eax, eax
je 0x100c126
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0101206f
leave
ret 0xc
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0xc], 0x7fffffff
jbe 0x100c1ba
mov eax, 0x80070057
jmp 0x100c1cc
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01002f50
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
jmp 0x100c194
Function at 0x100dcd5
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10171b0]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 8
pop ecx
push 0xf0000000
push 0x18
push 0x10020c8
xor ebx, ebx
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x30], cl
mov byte [ebp - 0x2f], 2
mov word [ebp - 0x2e], bx
mov dword [ebp - 0x2c], 0x6610
mov dword [ebp - 0x28], 0x20
lea edi, [ebp - 0x24]
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x100ddc1
lea eax, [ebp + 0xc]
push eax
push ebx
push ebx
push 0x2c
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
xor edi, edi
test eax, eax
je 0x100ddb5
mov esi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push ebx
lea eax, [ebp - 0x34]
push eax
push 4
push dword [ebp + 0xc]
inc edi
mov dword [ebp - 0x34], edi
call esi
test eax, eax
jne 0x100dd64
xor edi, edi
jmp 0x100ddac
push ebx
lea eax, [ebp - 0x34]
push eax
push 3
push dword [ebp + 0xc]
mov dword [ebp - 0x34], edi
call esi
test eax, eax
je 0x100dd60
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x100dd8c
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0x38]
push ecx
push eax
push ebx
push edi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x100dd60
push dword [ebp - 0x38]
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push ebx
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101206f
leave
ret 8