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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 8]
push eax
push 0x20019
xor esi, esi
push esi
push 0x10018c0
push 0x80000002
mov ebx, ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x1006b75
push edi
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, 0x1001894
push edi
push dword [ebp - 8]
call esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x1006b74
mov ecx, dword [ebp - 0xc]
cmp ecx, 0x402
jbe 0x1006ac4
mov dword [ebp - 4], 0xd
jmp 0x1006b74
cmp ecx, 2
ja 0x1006af4
mov dword [ebp - 4], 0xd
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x1006b74
test byte [eax + 0x1c], 1
je 0x1006b74
push ecx
push 0x10017ac
push 0x36
jmp 0x1006b52
push ecx
push 8
push dword [0x100f098]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebx + 0x54], eax
test eax, eax
jne 0x1006b13
mov dword [ebp - 4], 0xe
jmp 0x1006b74
lea ecx, [ebp - 0xc]
push ecx
push eax
push 0
push 0
push edi
push dword [ebp - 8]
call esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x1006b74
mov ecx, dword [ebp - 0xc]
cmp ecx, 2
ja 0x1006b5f
mov dword [ebp - 4], 0xd
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x1006b74
test byte [eax + 0x1c], 1
je 0x1006b74
push ecx
push 0x10017ac
push 0x37
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003f79
jmp 0x1006b74
mov eax, dword [ebx + 0x54]
shr ecx, 1
xor edx, edx
mov word [eax + ecx*2 - 2], dx
mov eax, dword [ebp - 0xc]
add eax, 0xfffffffe
mov dword [ebx + 0x58], eax
pop edi
xor esi, esi
cmp dword [ebp - 8], esi
je 0x1006b88
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 8], esi
cmp dword [ebp - 4], esi
je 0x1006ba8
mov eax, dword [ebx + 0x54]
cmp eax, esi
je 0x1006ba5
push eax
push esi
push dword [0x100f098]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebx + 0x54], esi
mov dword [ebx + 0x58], esi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret
Function at 0x1008a81
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x100d678
call fcn.01008b24
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x100f434
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1008838
cmp eax, esi
jne 0x100882b
xor esi, esi
inc esi
mov ebx, esi
jmp 0x100883b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1008812
xor esi, esi
inc esi
mov eax, dword [0x100f430]
cmp eax, esi
jne 0x100884e
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100887d
mov eax, dword [0x100f430]
test eax, eax
jne 0x1008877
mov dword [0x100f430], esi
push 0x10012c8
push 0x10012bc
call fcn.01008777
pop ecx
pop ecx
test eax, eax
je 0x100887d
jmp 0x10089a5
mov dword [0x100f0f0], esi
mov eax, dword [0x100f430]
cmp eax, esi
jne 0x10088a1
push 0x10012b8
push 0x10012b0
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100f430], 2
test ebx, ebx
jne 0x10088ad
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100f438], 0
je 0x10088d1
push 0x100f438
call fcn.01008de9
pop ecx
test eax, eax
je 0x10088d1
push 0
push 2
push 0
call dword [0x100f438]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x100892d
test al, al
je 0x10088eb
cmp dword [ebp - 0x1c], 0
jne 0x100892d
mov al, byte [esi]
test al, al
je 0x10088fb
cmp al, 0x20
ja 0x10088fb
inc esi
mov dword [ebp - 0x20], esi
jmp 0x10088eb
test byte [ebp - 0x3c], 1
je 0x1008907
movzx eax, word [ebp - 0x38]
jmp 0x100890a
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x100f0ec], eax
cmp dword [0x100f0e0], 0
jne 0x1008981
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x100893c
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x100894f
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x10088d8
cmp dword [0x100f0f0], 0
jne 0x1008990
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100f0ec]
jmp 0x10089b1
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01008b69
ret
call fcn.01008f36
jmp 0x10087d8
Function at 0x100920f
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push dword [ebp + 8]
mov dword [ebp - 8], edi
push 0x80000002
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
je 0x1009264
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x10092a8
test byte [eax + 0x1c], 1
je 0x10092a8
push esi
push 0x1001b4c
push 0x13
jmp 0x100929d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, edi
je 0x10092a8
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x10092a8
test byte [eax + 0x1c], 1
je 0x10092a8
push esi
push 0x1001b4c
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003f79
cmp dword [ebp - 4], edi
je 0x10092b6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jne 0x10092c1
mov eax, dword [ebp - 8]
cmp eax, edi
jne 0x10092c3
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0x1009e11
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 4
pop ebx
lea eax, [ebp + 8]
push eax
push 0x20019
xor edi, edi
push edi
push 0x10018c0
push 0x80000002
mov dword [ebp - 4], edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp + 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1009ec5
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x1001c44
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1009ec5
cmp dword [ebp - 4], 1
jne 0x1009e9b
push 2
pop esi
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x1009ec5
test byte [eax + 0x1c], bl
je 0x1009ec5
push 0x1001c34
push 0x2c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01002205
jmp 0x1009ec5
push 0xc
pop esi
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x1009ec5
test byte [eax + 0x1c], 1
je 0x1009ec5
push dword [ebp - 4]
push 0x1001c34
push 0x2d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003f79
cmp dword [ebp + 8], edi
je 0x1009ed3
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x1009ee1
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
lea eax, [ebp - 0xc]
push eax
push 1
xor ebx, ebx
push ebx
push 0x1001c80
push 0x80000002
mov byte [ebp - 1], bl
mov dword [ebp - 0xc], ebx
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x1009f36
mov ecx, dword [0x100f004]
cmp ecx, 0x100f004
je 0x100a054
test byte [ecx + 0x1c], 1
je 0x100a054
push eax
push 0x1001c34
push 0x2e
jmp 0x1009f7e
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
je 0x1009f86
mov ecx, dword [0x100f004]
cmp ecx, 0x100f004
je 0x100a054
test byte [ecx + 0x1c], 1
je 0x100a054
push eax
push 0x1001c34
push 0x2f
push dword [ecx + 0x14]
push dword [ecx + 0x10]
jmp 0x1009ffb
cmp dword [ebp - 0x10], ebx
jne 0x1009fbc
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100a054
test byte [eax + 0x1c], 4
je 0x100a054
push 0x1001c34
push 0x30
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01002205
jmp 0x100a054
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
add eax, eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
cmp edi, ebx
jne 0x100a002
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100a054
test byte [eax + 0x1c], 1
je 0x100a054
push 0xe
push 0x1001c34
push 0x31
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003f79
jmp 0x100a054
push esi
xor esi, esi
cmp dword [ebp - 0x10], ebx
jbe 0x100a053
mov eax, dword [ebp - 8]
add eax, eax
push eax
push ebx
push edi
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 8]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100a047
push dword [ebp + 8]
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x100a04f
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x100a00a
jmp 0x100a053
mov byte [ebp - 1], 1
pop esi
cmp dword [ebp - 0xc], ebx
je 0x100a062
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
je 0x100a075
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, byte [ebp - 1]
pop edi
pop ebx
leave
ret 4
Function at 0x100a083
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push edi
xor edi, edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push 0x2001f
push edi
push edi
push edi
push 0x1001588
push 0x80000002
mov esi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call ebx
mov dword [ebp - 4], eax
cmp eax, edi
je 0x100a0f3
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100a249
test byte [eax + 0x1c], 1
je 0x100a249
push dword [ebp - 4]
push 0x1001588
push 0x1001c34
push 0xa
jmp 0x100a1a7
push 0x100
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x10], eax
cmp eax, edi
jne 0x100a145
push 0xe
pop ecx
mov dword [ebp - 4], ecx
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100a249
test byte [eax + 0x1c], 1
je 0x100a249
push ecx
push 0x1001c34
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003f79
jmp 0x100a249
push 0x80
push eax
mov ecx, esi
call fcn.01009d57
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x100a249
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x2001f
push edi
push edi
push edi
push dword [esi + 0x10]
mov dword [ebp - 8], edi
push dword [ebp - 0x10]
call ebx
mov dword [ebp - 4], eax
cmp eax, edi
je 0x100a1b7
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100a249
test byte [eax + 0x1c], 1
je 0x100a249
push dword [ebp - 4]
push dword [esi + 0x10]
push 0x1001c34
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090ed
jmp 0x100a249
cmp dword [ebp - 8], 2
jne 0x100a1ea
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100a1e1
test byte [eax + 0x1c], 1
je 0x100a1e1
push 0x1001c34
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01002205
mov dword [ebp - 4], 0x57
jmp 0x100a249
mov ecx, dword [esi + 4]
call fcn.0100c798
mov ecx, dword [esi + 4]
push eax
call fcn.010052bd
push eax
push 3
push edi
push 0x1001d10
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x100a249
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100a249
test byte [eax + 0x1c], 1
je 0x100a249
push dword [ebp - 4]
mov ecx, dword [esi + 4]
call fcn.0100c798
push eax
mov eax, dword [0x100f004]
push 0x1001c34
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010060b6
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], edi
je 0x100a259
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x10], edi
je 0x100a263
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100a270
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 5
pop esi
push 4
pop ebx
lea eax, [ebp - 0xc]
push eax
push 0x20019
xor edi, edi
push edi
push 0x10019b0
push 0x80000002
mov dword [ebp - 0x18], ecx
mov byte [ebp - 1], 0
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x100a2eb
mov dword [ebp - 8], esi
mov ecx, dword [0x100f004]
cmp ecx, 0x100f004
je 0x100a47f
test byte [ecx + 0x1c], 1
je 0x100a47f
push eax
push 0x1001c34
push 0x24
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01003f79
jmp 0x100a47f
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push 0x1001d2c
push dword [ebp - 0xc]
call esi
cmp eax, edi
je 0x100a339
mov dword [ebp - 8], 6
mov ecx, dword [0x100f004]
cmp ecx, 0x100f004
je 0x100a47f
test byte [ecx + 0x1c], 1
je 0x100a47f
push eax
push 0x1001c34
push 0x25
jmp 0x100a2db
cmp dword [ebp - 8], edi
jne 0x100a375
mov dword [ebp - 8], 3
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100a483
test byte [eax + 0x1c], bl
je 0x100a483
push 0x1001c34
push 0x26
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01002205
jmp 0x100a483
cmp dword [ebp - 8], 1
jne 0x100a451
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push 0x1001c44
push dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
call esi
test eax, eax
je 0x100a3d4
mov dword [ebp - 8], 8
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100a47f
test byte [eax + 0x1c], bl
je 0x100a47f
push 0x1001c34
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01002205
jmp 0x100a47f
cmp dword [ebp - 8], 1
jne 0x100a402
mov dword [ebp - 8], ebx
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100a483
test byte [eax + 0x1c], bl
je 0x100a483
push 0x1001c34
push 0x28
jmp 0x100a365
cmp dword [ebp - 8], 2
jne 0x100a42c
mov dword [ebp - 8], 9
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100a483
test byte [eax + 0x1c], bl
je 0x100a483
push 0x1001c34
push 0x29
jmp 0x100a365
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100a478
test byte [eax + 0x1c], bl
je 0x100a478
push 0x1001c34
push 0x2a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01002205
jmp 0x100a478
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100a478
test byte [eax + 0x1c], 1
je 0x100a478
push dword [ebp - 8]
push 0x1001c34
push 0x2b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003f79
mov dword [ebp - 8], 0xa
mov byte [ebp - 1], 1
cmp dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
je 0x100a494
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 1], 0
je 0x100a4a8
push dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
call fcn.01009e11
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
leave
ret
Function at 0x100a5e6
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
push 4
pop eax
xor edi, edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], ebx
je 0x100a77e
push 0x410
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x100a654
push 0xe
pop edi
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100a746
test byte [eax + 0x1c], 1
je 0x100a746
push edi
push 0x1001c34
push 0x18
jmp 0x100a6d6
push dword [ebp + 8]
push 0x1001588
push 0x1001d70
push 0x208
push eax
call fcn.01005a3a
add esp, 0x14
cmp eax, ebx
jge 0x100a69e
and eax, 0xffff
mov edi, eax
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100a746
test byte [eax + 0x1c], 1
je 0x100a746
push edi
push 0x1001c34
push 0x19
jmp 0x100a6d6
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push dword [ebp - 0xc]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, ebx
je 0x100a6e3
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100a746
test byte [eax + 0x1c], 1
je 0x100a746
push edi
push 0x1001c34
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003f79
jmp 0x100a746
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push 3
push 0x1001d10
push dword [ebp - 4]
mov ecx, esi
call fcn.01009c31
mov edi, eax
cmp edi, 2
jne 0x100a70a
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
jmp 0x100a744
cmp edi, ebx
jne 0x100a746
push dword [ebp - 8]
mov ecx, dword [esi + 4]
call fcn.0100cbeb
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
cmp eax, ebx
je 0x100a746
lea eax, [ebp - 0x10]
push eax
add esi, 0xc
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x1001c08
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, 2
jne 0x100a746
xor edi, edi
cmp dword [ebp - 4], ebx
je 0x100a754
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0xc], ebx
je 0x100a76c
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
cmp dword [ebp - 8], ebx
je 0x100a77e
push dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100a875
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0xa
pop ebx
push 4
pop esi
lea eax, [ebp - 0xc]
push eax
push 0x20019
xor edi, edi
push edi
push 0x1001d80
push 0x80000002
mov dword [ebp - 0x18], ecx
mov byte [ebp - 1], 0
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x100a90c
mov ecx, dword [0x100f004]
cmp ecx, 0x100f004
je 0x100a8e0
test byte [ecx + 0x1c], 1
je 0x100a8e0
push eax
push 0x1001c34
push 0x22
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01003f79
mov byte [ebp - 1], 1
cmp dword [ebp - 0xc], 0
pop edi
pop esi
pop ebx
je 0x100a8f6
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 1], 0
je 0x100a907
mov ecx, dword [ebp - 0x18]
call fcn.0100a270
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
leave
ret
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x1001d2c
push dword [ebp - 0xc]
call edi
test eax, eax
je 0x100a94b
mov ecx, dword [0x100f004]
cmp ecx, 0x100f004
je 0x100a8e0
test byte [ecx + 0x1c], 1
je 0x100a8e0
push eax
push 0x1001c34
push 0x23
jmp 0x100a8d5
cmp dword [ebp - 8], 0
je 0x100a8e4
cmp dword [ebp - 8], 1
jne 0x100a8e0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x1001c44
push dword [ebp - 0xc]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], esi
call edi
test eax, eax
jne 0x100a8e0
cmp dword [ebp - 8], 1
setne byte [ebp - 1]
jmp 0x100a8e4
Function at 0x100a98f
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, 0x100
xor edi, edi
push ebx
push 8
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edi
xor esi, esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x100a9f9
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100aaf1
test byte [eax + 0x1c], 1
je 0x100aaf1
push 0xe
push 0x1001c34
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003f79
jmp 0x100aaf1
cmp esi, edi
je 0x100aa09
cmp esi, 0xea
jne 0x100aad7
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x10], 0x80
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
cmp esi, 0xea
je 0x100aa3d
cmp esi, edi
je 0x100aa3d
cmp esi, 0x103
jne 0x100aaa3
cmp esi, 0x103
je 0x100aaca
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100aa70
test byte [eax + 0x1c], 4
je 0x100aa70
push dword [ebp - 4]
push 0x1001c34
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100484d
cmp esi, edi
jne 0x100aa8e
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0100a5e6
mov esi, eax
cmp esi, edi
jne 0x100aa8e
cmp dword [ebp - 8], edi
jne 0x100aace
inc dword [ebp - 0xc]
push ebx
push edi
push dword [ebp - 4]
call sub.msvcrt.dll_memset
add esp, 0xc
jmp 0x100a9f9
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100aad7
test byte [eax + 0x1c], 1
je 0x100aad7
push esi
push 0x1001c34
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003f79
jmp 0x100aad7
xor esi, esi
jmp 0x100aad7
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x10], eax
cmp dword [ebp - 8], edi
je 0x100aae0
cmp esi, edi
je 0x100aaf1
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100b438
Capabilities:
Get disk information via ioctl

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
cmp ecx, 0xffffffff
jne 0x100b450
push 6
pop eax
jmp 0x100b4b3
push edi
xor eax, eax
push eax
lea edx, [ebp - 4]
push edx
push 0xc
lea edx, [ebp - 0x10]
push edx
push eax
push eax
push 0x2d1080
push ecx
xor edi, edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100b4a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100b4b0
test byte [eax + 0x1c], 1
je 0x100b4b0
push edi
push dword [ebp - 4]
push 0x1001e60
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010060b6
jmp 0x100b4b0
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x240], eax
mov eax, edi
pop edi
pop esi
leave
ret