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

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x10171b0]
push ebx
push esi
mov dword [ebp + 0x1a8], eax
mov eax, dword [ebp + 0x1b8]
xor esi, esi
push 0x20019
mov dword [eax], esi
call sym.mobsync.dll_RegGetHandlerTopLevelKey
mov ebx, eax
cmp ebx, esi
je 0x100a90f
push edi
mov edi, 0x105
push edi
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x100a8f1
lea eax, [ebp - 0x70]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x64]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a8e6
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x70]
call fcn.01008fb0
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x1b4]
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x100a8dd
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0x10
push 0x10026dc
push 0
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100a8dd
mov eax, dword [ebp - 0x78]
or dword [ebp - 0x6c], eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x68]
push edi
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
push ebx
call esi
test eax, eax
je 0x100a876
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp + 0x1b8]
push ebx
mov dword [ecx], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp + 0x1a8]
xor eax, eax
pop esi
inc eax
pop ebx
call fcn.010120d7
add ebp, 0x1ac
leave
ret 8

Function at 0x100acad
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x1001540
xor edi, edi
push edi
push edi
lea ecx, [ebp - 0x18]
call fcn.01006216
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.01006260
push 1
mov esi, 0x2001f
push esi
push 2
call fcn.0100830b
cmp eax, edi
mov ebx, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
mov dword [ebp - 4], eax
je 0x100ad21
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push 0x10
push 0x1001b18
push edi
push eax
mov dword [ebp - 8], 4
call ebx
test eax, eax
je 0x100ad18
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 4]
call fcn.01009c0d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push esi
push 3
call fcn.0100830b
mov esi, eax
cmp esi, edi
je 0x100ad5f
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x10
push 0x1001af0
push edi
push esi
mov dword [ebp - 8], 4
call ebx
test eax, eax
je 0x100ad58
push 0xffffffffffffffff
push esi
call fcn.01009eb6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
call fcn.01006289
lea ecx, [ebp - 0x18]
call fcn.0100623b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100ad74
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x10171b0]
push esi
push edi
push 0x1001540
push 0
push 0
lea ecx, [ebp - 0x80]
mov dword [ebp + 0x90], eax
call fcn.01006216
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.01006260
mov esi, 0x2001f
push esi
call sym.mobsync.dll_RegGetHandlerTopLevelKey
mov edi, eax
test edi, edi
jne 0x100adc5
lea ecx, [ebp - 0x80]
call fcn.01006289
jmp 0x100ae17
push 0x81
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 0x9c]
call dword [sym.imp.ole32.dll_StringFromGUID2]
push 0
push esi
lea eax, [ebp - 0x74]
push eax
push edi
call fcn.010084ac
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x100ae05
push eax
call esi
lea eax, [ebp - 0x74]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push edi
call fcn.0100906f
push 0
call fcn.0100a929
lea ecx, [ebp - 0x80]
call fcn.01006289
push edi
call esi
lea ecx, [ebp - 0x80]
call fcn.0100623b
mov ecx, dword [ebp + 0x90]
xor eax, eax
pop edi
inc eax
pop esi
call fcn.010120d7
add ebp, 0x94
leave
ret 4
Function at 0x100aebb
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.01009459
cmp eax, edi
mov dword [ebp - 0x80], eax
jne 0x100aefd
xor eax, eax
jmp 0x100afea
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 0x100b024
lea eax, [ebp - 0x68]
push eax
push esi
push edi
push dword [ebp + 0x1bc]
push dword [ebp - 0x6c]
call ebx
test eax, eax
jne 0x100b017
lea eax, [ebp - 0x64]
push eax
push esi
push edi
push dword [ebp + 0x1b8]
push dword [ebp - 0x68]
call ebx
test eax, eax
jne 0x100b00a
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 0x100afcc
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 0x100b010
lea eax, [ebp + 0x1c0]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0x10
push 0x1001a34
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 0x100b001
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 0x100af68
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.010120d7
add ebp, 0x1b0
leave
ret 0xc
mov dword [ebp - 0x7c], 1
jmp 0x100afd0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x68]
call edi
jmp 0x100b01d
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x6c]
call edi
jmp 0x100b02a
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x100afe2
Function at 0x100b02e
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 0x1001540
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0xc], edi
call fcn.01006216
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.01006260
call fcn.0100acad
push edi
mov esi, 0x2001f
push esi
push 2
call fcn.0100830b
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x100b233
push dword [ebp + 0x14]
push edi
push esi
push eax
call fcn.01009232
mov esi, eax
cmp esi, ebx
mov dword [ebp + 0x14], esi
je 0x100b228
cmp dword [ebp + 0x1c], ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x100b1d2
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push 0x1001cd8
push esi
call ebx
test eax, eax
jne 0x100b21b
and dword [ebp + 0x1c], 0
cmp dword [ebp + 0xc], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jle 0x100b18b
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.01008282
test eax, eax
jne 0x100b221
lea eax, [edi - 4]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x100b126
test ecx, ecx
je 0x100b10d
mov dword [ebp - 0x14], ecx
push 4
push eax
push 4
push 0
push 0x1001b18
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x100b214
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x100b14d
test eax, eax
je 0x100b134
mov dword [ebp - 0x10], eax
push 4
push edi
push 4
push 0
push 0x1001b08
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x100b214
lea eax, [edi + 4]
cmp dword [eax], 0xffffffff
je 0x100b16e
push 4
push eax
push 4
push 0
push 0x1001b64
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x100b214
push dword [ebp - 4]
call esi
inc dword [ebp + 0x1c]
mov eax, dword [ebp + 0x1c]
add edi, 0x238
cmp eax, dword [ebp + 0xc]
jl 0x100b0dc
xor edi, edi
inc edi
push edi
push dword [ebp + 0x14]
call fcn.01009ab2
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 8]
call fcn.01009c0d
push dword [ebp + 0x14]
call esi
push dword [ebp - 8]
call esi
cmp dword [ebp + 0x18], 0
je 0x100b1b9
push 0
call fcn.0100a929
lea ecx, [ebp - 0x24]
call fcn.01006289
lea ecx, [ebp - 0x24]
call fcn.0100623b
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 0x1001cd8
push 0
push esi
mov dword [ebp - 0x18], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100b0bf
cmp dword [ebp - 0xc], eax
je 0x100b0bf
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
jmp 0x100b1b9
push dword [ebp - 4]
call esi
jmp 0x100b221
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x14]
call esi
jmp 0x100b22e
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call esi
xor edi, edi
jmp 0x100b1b9
Function at 0x100b237
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 0x100151c
push 1
xor esi, esi
push esi
push 0x10014fc
mov dword [ebp - 0x60], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
je 0x100b277
mov dword [ebp - 0x60], esi
push esi
push 0x20019
push 4
call fcn.0100830b
cmp eax, esi
mov dword [ebp - 0x64], eax
je 0x100b390
cmp edi, esi
mov dword [ebp - 0x68], esi
jne 0x100b387
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 0x100b386
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 0x100b37d
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 0x100b36f
lea eax, [ebp - 0x5c]
push eax
push 0x197
lea eax, [ebp + 0x3a4]
push eax
call fcn.01004194
mov eax, dword [ebp - 0x60]
cmp eax, esi
je 0x100b349
mov ecx, dword [eax]
lea edx, [ebp + 0x3a4]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x100b36f
push 0x1001cf8
push 0x197
lea eax, [ebp + 0x3a4]
push eax
call fcn.01009200
test eax, eax
jl 0x100b36f
lea eax, [ebp + 0x3a4]
push eax
call fcn.010088bb
cmp dword [ebp - 0x78], esi
je 0x100b2f7
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x80], esi
je 0x100b2a6
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 0x100b39f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x1002490
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0100856a
mov ecx, dword [ebp + 0x6d4]
xor eax, eax
inc eax
call fcn.010120d7
add ebp, 0x6d8
leave
ret
Function at 0x100ba21
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.0100acad
push 0x1001540
xor esi, esi
push esi
push esi
lea ecx, [ebp - 0x80]
call fcn.01006216
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.01006260
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 0x100ba83
lea ecx, [ebp - 0x80]
call fcn.01006289
jmp 0x100bb5c
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 0x100bab0
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.010084ac
mov ebx, eax
cmp ebx, esi
je 0x100bb39
cmp dword [ebp + 0xa8], esi
mov dword [ebp + 0xb0], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x100bb10
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 0x10026dc
push ebx
call edi
push ebx
call fcn.01008ff9
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x70]
call fcn.0100906f
call sym.mobsync.dll_RegSetUserDefaults
push esi
call fcn.0100a929
lea ecx, [ebp - 0x80]
call fcn.01006289
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0xb0]
pop edi
lea ecx, [ebp - 0x80]
call fcn.0100623b
mov ecx, dword [ebp + 0x98]
mov eax, esi
pop esi
pop ebx
call fcn.010120d7
add ebp, 0x9c
leave
ret 0x10
Function at 0x100c620
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 0x1001d78
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 0x100c70c
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 0x100c700
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 0x100c6af
xor edi, edi
jmp 0x100c6f7
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 0x100c6ab
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x100c6d7
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 0x100c6ab
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.010120d7
leave
ret 8
Function at 0x100ce55
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.01009459
mov ebx, eax
cmp ebx, esi
jne 0x100ce8a
xor eax, eax
jmp 0x100cf10
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x210]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x100ceff
inc dword [ebp - 0x420]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0
push 0x10000002
push 0x1001b80
lea eax, [ebp - 0x210]
push eax
push ebx
mov dword [ebp - 0x424], 0x20a
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100cef1
push dword [ebp + 0x10]
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100cf1e
push edi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x420]
push ebx
call esi
test eax, eax
je 0x100cea1
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.010120d7
leave
ret 0xc
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0xc], 0x7fffffff
jbe 0x100cf35
mov eax, 0x80070057
jmp 0x100cf47
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01004194
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
jmp 0x100cf0f
Function at 0x100f816
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x1013981
call fcn.010136c0
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x2c], ebx
je 0x100f83b
xor eax, eax
cmp dword [esi + 0x30], ebx
sete al
jmp 0x100f94d
push edi
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x18]
call fcn.0100f4f4
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
inc dword [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.010135e5
cmp dword [esi + 0x2c], ebx
jne 0x100f924
push 0x1001e4c
mov dword [esi + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x30], eax
je 0x100f8f0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001e68
push eax
call edi
push 0x1001e7c
push dword [esi + 0x30]
mov dword [esi + 0x34], eax
call edi
push 0x1001e90
push dword [esi + 0x30]
mov dword [esi + 0x38], eax
call edi
push 0x1001ea0
push dword [esi + 0x30]
mov dword [esi + 0x3c], eax
call edi
push 0x1001eb0
push dword [esi + 0x30]
mov dword [esi + 0x40], eax
call edi
push 0x1001ec8
push dword [esi + 0x30]
mov dword [esi + 0x44], eax
call edi
push 0x1001edc
push dword [esi + 0x30]
mov dword [esi + 0x48], eax
call edi
push 0x1001ef0
push dword [esi + 0x30]
mov dword [esi + 0x4c], eax
call edi
push 0x1001f08
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 0x100f918
cmp dword [esi + 0x38], ebx
je 0x100f90a
cmp dword [esi + 0x4c], ebx
je 0x100f90a
cmp dword [esi + 0x3c], ebx
je 0x100f90a
xor edi, edi
jmp 0x100f91b
cmp eax, ebx
je 0x100f918
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 0x100f92e
xor eax, eax
cmp dword [esi + 0x30], ebx
sete al
mov edi, eax
cmp dword [ebp - 0x18], ebx
jbe 0x100f93e
mov ecx, dword [ebp - 0x14]
dec dword [ebp - 0x18]
call fcn.010135fa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0100f510
mov eax, edi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100f95b
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x1013981
call fcn.010136c0
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x100f980
xor eax, eax
cmp dword [esi + 0x5c], ebx
sete al
jmp 0x100fa84
push edi
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x18]
call fcn.0100f4f4
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
inc dword [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.010135e5
cmp dword [esi + 0x58], ebx
jne 0x100fa5b
push 0x1001f20
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x5c], eax
je 0x100fa18
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001f38
push eax
call edi
push 0x1001f48
push dword [esi + 0x5c]
mov dword [esi + 0x60], eax
call edi
push 0x1001f58
push dword [esi + 0x5c]
mov dword [esi + 0x64], eax
call edi
push 0x1001f68
push dword [esi + 0x5c]
mov dword [esi + 0x68], eax
call edi
push 0x1001f7c
push dword [esi + 0x5c]
mov dword [esi + 0x6c], eax
call edi
push 0x1001f94
push dword [esi + 0x5c]
mov dword [esi + 0x70], eax
call edi
push 0x1001fac
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 0x100fa4f
cmp dword [esi + 0x60], ebx
je 0x100fa41
cmp dword [esi + 0x68], ebx
je 0x100fa41
cmp dword [esi + 0x6c], ebx
je 0x100fa41
cmp dword [esi + 0x70], ebx
je 0x100fa41
cmp dword [esi + 0x74], ebx
je 0x100fa41
cmp dword [esi + 0x78], ebx
je 0x100fa41
xor edi, edi
jmp 0x100fa52
cmp eax, ebx
je 0x100fa4f
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 0x100fa65
xor eax, eax
cmp dword [esi + 0x5c], ebx
sete al
mov edi, eax
cmp dword [ebp - 0x18], ebx
jbe 0x100fa75
mov ecx, dword [ebp - 0x14]
dec dword [ebp - 0x18]
call fcn.010135fa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0100f510
mov eax, edi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100fbaf
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 0x1002098
push SysReAllocString
mov dword [ebp - 4], 0x80004005
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x100fc67
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 0x1002074
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
call edi
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x100fc48
cmp dword [ebp - 0xc], eax
je 0x100fc48
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0x1002058
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
call edi
mov esi, eax
test esi, esi
jne 0x100fc39
cmp dword [ebp - 0xc], eax
jne 0x100fc54
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
mov dword [eax], 2
jmp 0x100fc54
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 0x100fc78
test esi, esi
jle 0x100fc75
and esi, 0xffff
or esi, 0x80070000
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop esi
leave
ret 4

Function at 0x100fcab
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 0x1002098
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x100fd33
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
je 0x100fcf6
dec eax
push 1
pop ecx
je 0x100fcf3
dec eax
dec eax
je 0x100fcf0
push 0x57
pop esi
jmp 0x100fd2a
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 0x1002074
push dword [ebp - 4]
call edi
mov esi, eax
test esi, esi
jne 0x100fd2a
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push esi
push 0x1002058
push dword [ebp - 4]
call edi
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jle 0x100fd43
and esi, 0xffff
or esi, 0x80070000
pop edi
mov eax, esi
pop esi
leave
ret 4