joyce8/EMBER2024-capa huggingface dataset:
Function at 0x499210
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e4a73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d5827
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x77c52f8
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x77c5240
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x4e7044]
push eax
mov ecx, edi
call fcn.004daf99
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004dc534
test eax, eax
je 0x49932c
mov ecx, dword [esp + 0x3c]
call fcn.004dafc6
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4e7554]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4992f0
push edi
mov ecx, esi
call fcn.004d8587
mov ecx, esi
call fcn.004994e0
cmp dword [esp + 0x38], 1
jne 0x499325
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004d86f1
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x49b520
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x49b553
push esi
call fcn.004a98e0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x49b54c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x49b5d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x49b5c2
mov eax, dword [esi + 8]
test eax, eax
je 0x49b577
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x49b5be
cmp eax, 2
je 0x49b5c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x49b56a
cmp eax, 3
je 0x49b59d
cmp eax, 1
jne 0x49b56a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x49b56a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x49b56a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0049b600
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x49b5e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0049b600
add esp, 4
pop esi
ret
Function at 0x1002a4b
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OpenMutexW]
push edi
push 0x1002af4
push 0
mov edi, 0x100000
push edi
call esi
mov dword [ebp - 4], eax
test eax, eax
je 0x1002ac9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1e
push eax
call ebx
test eax, eax
jne 0x101c181
push 0x1002ad0
push 0
push edi
call esi
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, eax
test esi, esi
je 0x1002ab5
push 0
push esi
call ebx
test eax, eax
jne 0x101c193
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call edi
mov esi, dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret
cmp eax, 0x80
je 0x1002a88
xor esi, esi
jmp 0x1002abd
cmp eax, 0x80
je 0x1002aab
cmp eax, 0x102
jne 0x1002aae
mov dword [ebp - 8], 1
jmp 0x1002aae

Function at 0x1002c49
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10489a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
xor ebx, ebx
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp eax, 1
jl 0x1002d01
push 0x1002cd8
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01002d13
test eax, eax
jl 0x1002d01
push edi
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01002d13
test eax, eax
jl 0x1002d01
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
jmp 0x101a23b
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01001b23
leave
ret 4
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
jmp 0x101a248
test ebx, ebx
je 0x1002d01
jmp 0x1002cee
test eax, eax
jle 0x101a256
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, dword [0x10489ac]
cmp eax, 0x10489ac
je 0x1002cee
test byte [eax + 0x1c], 4
je 0x1002cee
call esi
push eax
mov eax, dword [0x10489ac]
push edi
push 0x101a298
push 0x101cbe8
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0103cb53
jmp 0x1002cee

Function at 0x100309d
Capabilities:
Log keystrokes via application hook

Disassembly:
mov edi, edi
push esi
push edi
xor edi, edi
lea esi, [ecx + 0x1e0]
cmp dword [esi], edi
jne 0x10030cb
push edi
push dword [0x1048004]
push 0x102e24e
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [esi], eax
test eax, eax
je 0x1018c83
mov eax, edi
pop edi
pop esi
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1018c97
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
jge 0x10030cb
mov eax, dword [0x10489ac]
cmp eax, 0x10489ac
je 0x10030cb
test byte [eax + 0x1c], 4
je 0x10030cb
push edi
push 0x1018cd8
push 0x101cbc8
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01023b8f
jmp 0x10030cb
Function at 0x100673a
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
lea eax, [esi + 0x2b0]
and dword [eax], 0
push edi
mov dword [ebp - 4], eax
call fcn.010066a7
test eax, eax
je 0x101731a
push ebx
xor ebx, ebx
inc ebx
push ebx
push ebx
push 0
add esi, 0x2b4
push esi
mov edi, 0x10067c4
push edi
push dword [ebp + 8]
mov dword [esi], ebx
call fcn.010054ac
test eax, eax
jl 0x10172ab
mov esi, dword [ebp - 4]
push 0x32
pop edi
push edi
push 0x270f
push 0
push esi
push 0x10067b0
push dword [ebp + 8]
call fcn.010054ac
pop ebx
test eax, eax
jge 0x10067a7
mov dword [esi], edi
pop edi
xor eax, eax
pop esi
leave
ret 8
cmp dword [ebp + 0xc], 0x80000001
jne 0x1006784
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
push ebx
push 0
push 0x1004d2c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jge 0x10172dd
and dword [ebp + 0xc], 0
jmp 0x10172ef
push ebx
push ebx
push 0
push esi
push edi
push dword [ebp + 0xc]
call fcn.010054ac
test eax, eax
jge 0x10172f1
mov dword [esi], ebx
push 4
push esi
push 4
push 0
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp + 0xc], 0
je 0x1006784
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1006784
mov eax, dword [0x10489ac]
cmp eax, 0x10489ac
je 0x10067a7
test byte [eax + 0x1c], 0x10
je 0x10067a7
push 0x1017350
push 0x101cb98
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01022472
jmp 0x10067a7

Function at 0x1009ae9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
lea eax, [ebp + 0xc]
push eax
push 1
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x101c2da
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
mov edi, dword [ebp + 0x10]
push edi
push ebx
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101c36a
mov eax, dword [edi]
cmp eax, 0x28
jb 0x101c36a
cmp eax, 0xffff
ja 0x101c36a
mov esi, dword [ebp + 0x14]
mov eax, dword [esi]
cmp eax, ebx
je 0x101c311
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi], ebx
push dword [edi]
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
pop ecx
mov dword [esi], eax
cmp eax, ebx
jne 0x101c332
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80004005
jmp 0x1009b12
push dword [edi]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
push dword [esi]
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101c36a
mov eax, dword [esi]
mov ecx, dword [eax]
cmp ecx, dword [edi]
jne 0x101c361
cmp dword [eax + 4], 2
je 0x101c36a
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi], ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1009b10
Function at 0x100abb3
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10489a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push dword [esi + 0x2c]
mov eax, dword [esi + 0x34]
xor edi, edi
mov dword [ebp - 0x20c], edi
push dword [eax + 0x3c]
lea eax, [ebp - 0x208]
push 0x100a650
push 0x100ac80
push 0x100
push eax
call fcn.01007913
add esp, 0x18
test eax, eax
jne 0x100ac70
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x20006
push edi
push edi
push edi
lea eax, [ebp - 0x208]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100ac70
cmp dword [ebp - 0x20c], edi
je 0x100ac70
mov esi, dword [esi + 0x30]
mov eax, esi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, di
jne 0x100ac3c
sub eax, ecx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push edi
push 0x100ac94
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01001b23
leave
ret
Function at 0x100acfc
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x83c
mov eax, dword [0x10489a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x82c], edi
mov dword [ebp - 0x828], esi
mov dword [edi], esi
mov ecx, 0x10041d4
mov dx, word [eax]
cmp dx, word [ecx]
je 0x100b981
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x100b9aa
push dword [ebp + 8]
lea eax, [ebp - 0x81c]
push 0x100a650
push 0x100caf0
push 0x104
push eax
mov dword [ebp - 0x820], esi
call fcn.01007913
add esp, 0x14
test eax, eax
jne 0x10164a8
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push ebx
lea eax, [ebp - 0x820]
push eax
mov ebx, 0x20019
push ebx
push esi
lea eax, [ebp - 0x81c]
push eax
push 0x80000001
call edi
test eax, eax
jne 0x10164b3
cmp dword [ebp - 0x820], esi
je 0x10164b3
mov dword [ebp - 0x834], esi
mov dword [ebp - 0x830], esi
push 0x105
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x830]
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x100aeee
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x210]
push 0x100af28
push eax
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0xc
cmp eax, 1
jne 0x100aedc
lea eax, [ebp - 0x824]
push eax
push ebx
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x820]
mov dword [ebp - 0x824], esi
call edi
test eax, eax
jne 0x100aedc
cmp dword [ebp - 0x824], esi
je 0x100aedc
push 0x3fe
mov word [ebp - 0x610], ax
lea eax, [ebp - 0x60e]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x610]
push eax
lea eax, [ebp - 0x838]
push eax
push esi
push 0x100ac94
push dword [ebp - 0x824]
mov dword [ebp - 0x83c], 0x400
mov dword [ebp - 0x838], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100aed0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x610]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x100cd6d
cmp dx, si
je 0x100aec0
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x100cd6d
add ecx, 4
add eax, 4
cmp dx, si
jne 0x100ae96
xor eax, eax
cmp eax, esi
jne 0x100aed0
mov dword [ebp - 0x828], 1
push dword [ebp - 0x824]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x830]
cmp dword [ebp - 0x828], esi
je 0x100adb9
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x828], esi
je 0x10164b3
mov eax, dword [ebp - 0x834]
mov ecx, dword [ebp - 0x82c]
mov dword [ecx], eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01001b23
leave
ret 0xc
cmp dx, si
je 0x100b9a3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100ad3a
add eax, 4
add ecx, 4
cmp dx, si
jne 0x100ad2e
xor eax, eax
jmp 0x100ad3f
mov dword [edi], 1
jmp 0x100af15
sbb eax, eax
sbb eax, 0xffffffff
jmp 0x100aec2
push edi
call fcn.01021534
jmp 0x100af15
push dword [ebp - 0x82c]
call fcn.01021534
jmp 0x100af14
Function at 0x100e319
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x548]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
xor ebx, ebx
mov dword [esi + 0x1d80], ebx
mov dword [esi + 0x1d84], ebx
mov dword [esi + 0x1d88], ebx
call edi
push dword [esi + 0x54c]
call edi
push dword [esi + 0x550]
call edi
push dword [esi + 0x554]
call edi
push dword [esi + 0x558]
call edi
push dword [esi + 0x1d8c]
call edi
push dword [esi + 0x1d90]
call edi
push dword [esi + 0x1d94]
call edi
push dword [esi + 0x1d98]
call edi
push dword [esi + 0x1d9c]
call edi
lea eax, [esi + 0x1d78]
push eax
push ebx
push esi
push 0x100e3d3
push ebx
push ebx
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x44], eax
cmp eax, ebx
je 0x10169bc
push dword [esi + 0x548]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
push dword [0x1048af0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, 0x80004005
jmp 0x100e3ca

Function at 0x100e97e
Capabilities:
Create thread

Disassembly:
mov edi, edi
push esi
mov esi, ecx
lea eax, [esi + 0x510]
push eax
push 0
push esi
push 0x100e9c1
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x44], eax
pop esi
test eax, eax
je 0x10196a2
push 0xffffffffffffffff
push dword [0x1048af0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
ret
mov eax, 0x80004005
ret

Function at 0x100ec8b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x1048d88], 0
push esi
jne 0x100ec9e
call fcn.0100eccc
test eax, eax
je 0x100ecc3
mov eax, dword [0x1048d88]
cmp eax, 1
jne 0x101bf2d
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x100ecc3
pop esi
ret
xor eax, eax
pop esi
ret
push eax
call dword [0x10492dc]
test eax, eax
jne 0x101bf97
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x100ecc3
mov eax, dword [esi]
push edi
push dword [0x1048d88]
call dword [0x10492dc]
mov edi, eax
test edi, edi
je 0x101bf78
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x101bf94
mov edi, esi
add esi, 0xff0
push edi
push dword [0x1048d88]
call dword [0x10492d8]
add edi, 0x10
cmp edi, esi
jb 0x101bf80
mov eax, edi
pop edi
pop esi
ret
Function at 0x100fd86
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x240
mov eax, 0x10424c4
call fcn.0100798e
jmp 0x1015c96
lea edx, [eax + 2]
jmp 0x10104a7
xor edi, edi
jmp 0x10105a0
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x10104a7
sub eax, edx
sar eax, 1
je 0x1015d91
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x220], 0x104
xor edi, edi
mov dword [ebp - 0x21c], ebx
cmp dword [ebp - 0x224], ebx
jl 0x10105ab
mov eax, dword [esi]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push dword [ebp - 0x21c]
mov dword [ebp - 0x220], 0x104
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
cmp edi, ebx
jne 0x10105ab
mov eax, dword [ebp - 0x220]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x10105a0
cmp word [ebp + eax*2 - 0x218], bx
jne 0x10105a0
mov eax, dword [esi]
push ebx
push 0x20019
lea ecx, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.0100fbef
mov edi, eax
cmp edi, ebx
jne 0x10104a0
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0100fae1
test eax, eax
jne 0x10105a0
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push dword [ebp - 0x22c]
call fcn.01010152
mov dword [ebp - 0x224], eax
inc dword [ebp - 0x21c]
jmp 0x10104e2
mov dword [ebp - 0x21c], ebx
cmp edi, ebx
je 0x1015cc3
lea ecx, [ebp - 0x238]
call fcn.01010bf2
mov eax, dword [ebp - 0x224]
call fcn.010079cb
ret 8
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x224], ebx
cmp eax, ebx
jne 0x101049b
jmp 0x1015d91
cmp dword [ebp - 0x224], ebx
jl 0x10105b9
mov eax, dword [esi]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push dword [ebp - 0x21c]
mov dword [ebp - 0x220], 0x104
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
jne 0x10105b9
mov eax, dword [ebp - 0x220]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x1015d86
cmp word [ebp + eax*2 - 0x218], bx
jne 0x1015d86
mov eax, dword [esi]
push ebx
push 0x20019
lea ecx, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.0100fbef
cmp eax, ebx
jne 0x1015d86
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0100fae1
test eax, eax
je 0x1015d86
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x238]
push eax
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x22c]
lea esi, [ebp - 0x24c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0101d291
mov esi, dword [ebp - 0x23c]
mov dword [ebp - 0x224], eax
inc dword [ebp - 0x21c]
jmp 0x1015cc3
mov eax, dword [0x10489ac]
mov esi, 0x80004003
cmp eax, 0x10489ac
je 0x1015dc0
test byte [eax + 0x1c], 4
je 0x1015dc0
push esi
push 0x1015dc8
push 0x101c9d4
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01023b8f
mov eax, esi
jmp 0x10105ca
Function at 0x100fe24
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x100fe50
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x101973c
leave
ret
lea eax, [ebp - 8]
push eax
push 0x1048500
push 0
push 0
push 0x101976c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100fe4b

Function at 0x1010152
Capabilities:
Query or enumerate registry value

Disassembly:
cmp dword [ebp - 8], 4
jne 0x10101c3
cmp dword [ebp - 0xc], 4
jne 0x10101c3
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x10], eax
je 0x10101c3
mov eax, dword [esi + 4]
or dword [ebp - 0x1c], eax
jmp 0x10101c3
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
xor eax, eax
push edi
mov edi, ecx
mov ebx, dword [edi + 0x90]
cmp ebx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
jle 0x10101eb
push esi
push dword [ebp - 4]
lea ecx, [edi + 0x8c]
call fcn.0100fb57
mov esi, dword [eax]
test esi, esi
je 0x10101c3
mov ecx, dword [esi]
test ecx, ecx
je 0x10101c3
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
and dword [ebp - 0x10], 0
and dword [ebp - 8], 0
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 8]
push edx
push 0
push ecx
push eax
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1010125
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x1010177
cmp dword [ebp - 0x14], 0
pop esi
je 0x10101eb
push dword [ebp - 0x1c]
xor eax, eax
push eax
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.010101f9
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop ebx
leave
ret 0x10
Function at 0x10109ad
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x450
mov eax, 0x1042536
call fcn.0100798e
xor esi, esi
mov ebx, ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x45c], esi
mov dword [ebp - 0x458], esi
mov dword [ebp - 0x454], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x450], esi
mov dword [ebp - 0x44c], esi
mov dword [ebp - 0x448], esi
push esi
mov edi, 0x20019
push edi
push 0x1010b38
push 0x80000002
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 2
call fcn.0100fbef
test eax, eax
jne 0x1010bb6
push esi
push edi
push dword [ebx + 0x3c]
lea ecx, [ebp - 0x444]
push dword [ebp - 0x45c]
call fcn.0100fbef
test eax, eax
jne 0x1010bb6
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x428], esi
mov ebx, 0x104
cmp dword [ebp - 0x424], esi
jl 0x1010bc0
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x430]
push eax
push esi
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x428]
mov dword [ebp - 0x434], ebx
push dword [ebp - 0x444]
mov dword [ebp - 0x438], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, esi
jne 0x1010bb0
mov eax, dword [ebp - 0x438]
lea edx, [eax - 1]
mov ecx, 0x102
cmp edx, ecx
ja 0x1010b2d
cmp word [ebp + eax*2 - 0x420], si
jne 0x1010b2d
mov eax, dword [ebp - 0x434]
shr eax, 1
cmp dword [ebp - 0x430], 1
jne 0x1010b2d
lea edx, [eax - 1]
cmp edx, ecx
ja 0x1010b2d
cmp word [ebp + eax*2 - 0x21a], si
jne 0x1010b2d
push esi
push edi
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x444]
lea ecx, [ebp - 0x450]
call fcn.0100fbef
cmp eax, esi
jne 0x1010b2d
mov ecx, dword [ebp - 0x42c]
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0100fd86
mov dword [ebp - 0x424], eax
inc dword [ebp - 0x428]
jmp 0x1010a5c
mov ebx, dword [ebp - 0x42c]
mov dword [ebx + 0x9c], 1
lea ecx, [ebp - 0x450]
call fcn.01010bf2
lea ecx, [ebp - 0x444]
call fcn.01010bf2
lea ecx, [ebp - 0x45c]
call fcn.01010bf2
mov eax, dword [ebp - 0x424]
call fcn.010079cb
ret