joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c1a1
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x28], 0
fild qword [ebp - 0x2c]
fdiv qword [0x4ba618]
push ecx
push ecx
fstp qword [esp]
call fcn.0040a9c0
pop ecx
pop ecx
fmul qword [0x4ba610]
call fcn.0044dbb6
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
cmp dword [ebp + 0x10], 0
jne 0x43c1e9
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
jmp 0x43c340
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x43c306
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x43c220
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx eax, byte [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
jmp 0x43c224
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x43c247
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx eax, byte [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
jmp 0x43c24b
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x43c26e
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx eax, byte [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
jmp 0x43c272
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
shl eax, 0x10
mov ecx, dword [ebp - 0x1c]
shl ecx, 8
add eax, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
shr eax, 0x12
and eax, 0x3f
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov al, byte [eax + 0x4c30b8]
mov byte [ecx], al
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shr eax, 0xc
and eax, 0x3f
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov al, byte [eax + 0x4c30b8]
mov byte [ecx], al
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shr eax, 6
and eax, 0x3f
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov al, byte [eax + 0x4c30b8]
mov byte [ecx], al
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
and eax, 0x3f
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov al, byte [eax + 0x4c30b8]
mov byte [ecx], al
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
jmp 0x43c1f7
and dword [ebp - 0x20], 0
jmp 0x43c313
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push 3
pop ecx
div ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + edx*4 + 4]
jge 0x43c33b
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
dec eax
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov byte [ecx + eax], 0x3d
jmp 0x43c30c
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
leave
ret 0x10
Function at 0x43c5c2
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bbc48
push 0x40a700
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c02d4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
mov eax, 1
invalid

Function at 0x43c654
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bbc68
push 0x40a700
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c02d4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 1
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
and dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x19]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xfffffffe
jmp 0x43c6d8
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43c8ff
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bbe58
push 0x40a700
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c02d4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 0
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
push ebx
mov ebx, 0
mov eax, 1
invalid
Function at 0x1002f6b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x10017e0
xor esi, esi
push 0x80000002
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebx, dword [ebp + 8]
mov edi, eax
cmp edi, esi
jne 0x1002fb4
lea eax, [ebp + 0xc]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push esi
push 0x10017b0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp dword [ebp - 4], esi
je 0x1002fc2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
je 0x1002fc9
mov word [ebx], si
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1003117
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x10017e0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x100314c
push 0x1001854
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x1003153
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1012288]
and dword [ebp - 0x20c], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
xor eax, eax
and dword [ebp - 0x210], eax
test esi, esi
push edi
mov ecx, 0x81
lea edi, [ebp - 0x208]
mov dword [ebp - 0x214], 1
rep stosd dword es:[edi], eax
mov dword [ebp - 0x21c], 0x208
je 0x1003272
test ebx, ebx
je 0x1003272
lea eax, [ebp - 0x210]
push eax
push 0x10017e0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x100324e
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
xor edi, edi
push edi
push edi
push 0x1001854
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10031fd
mov dword [ebp - 0x214], edi
jmp 0x1003255
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.01002e4b
pop ecx
pop ecx
push dword [ebp - 0x218]
push ebx
call dword [fcn.01001160]
cmp word [esi], 0x22
jne 0x1003255
mov edi, dword [fcn.010010a0]
push esi
call edi
push eax
lea eax, [esi + 2]
push eax
push esi
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
push esi
call edi
and word [esi + eax*2 - 2], 0
jmp 0x1003255
and dword [ebp - 0x214], 0
cmp dword [ebp - 0x210], 0
je 0x100326a
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x214]
jmp 0x1003274
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100ecf8
leave
ret
Function at 0x1003286
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1012288]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push 0x20019
xor edi, edi
push edi
push 0x1001890
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003319
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
mov esi, 0x1001874
push esi
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
push 1
push edi
push ebx
je 0x10032fd
lea eax, [ebp - 0x20c]
push eax
jmp 0x10032fe
push esi
push 0x1001868
push edi
call dword [0x100117c]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
jmp 0x100332e
push 1
push edi
push ebx
push 0x1001874
push 0x1001868
push edi
call dword [0x100117c]
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.0100ecf8
leave
ret

Function at 0x100333f
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 4]
push eax
push 0xf003f
xor edi, edi
push edi
push 0x10017e0
push 0x80000001
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 4
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003396
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push edi
push edi
push 0x10018f8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], edi
je 0x10033d4
push esi
mov esi, 0x1011810
push esi
call dword [0x100118c]
test eax, eax
je 0x10033b5
push esi
call fcn.01003286
pop ecx
jmp 0x10033d3
cmp word [0x1011810], di
je 0x10033d3
push 1
push edi
push 0x1011a20
push esi
push 0x1001868
push edi
call dword [0x100117c]
pop esi
pop edi
leave
ret

Function at 0x1003824
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 0x1001950
push 0x80000001
mov dword [ebp - 4], esi
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1003882
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x1001924
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003882
cmp dword [ebp - 0xc], esi
je 0x1003882
inc edi
cmp dword [ebp - 4], esi
je 0x1003890
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x10073ae
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x1001228]
push edi
mov edi, dword [ebp + 0x14]
xor ebx, ebx
or edi, 0xb
cmp dword [0x101104c], ebx
je 0x10073e0
mov eax, dword [0x10122e8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x28]
jmp 0x1007486
cmp dword [ebp + 8], ebx
je 0x1007553
cmp dword [0x10122e8], ebx
jne 0x1007420
push 0x10122e8
push 0x1002248
push 1
push ebx
push 0x1002238
call dword [0x100132c]
test eax, eax
jl 0x1007415
cmp dword [0x10122e8], ebx
jne 0x1007420
mov dword [0x1011048], ebx
jmp 0x1007553
cmp dword [0x1011038], ebx
jne 0x1007477
push 0xc
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x100743d
mov ecx, eax
call fcn.01007280
jmp 0x100743f
xor eax, eax
mov dword [0x1011038], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push dword [ebp + 8]
call esi
mov ecx, dword [0x1011038]
push dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [0x10122e8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [0x10122e8]
push dword [0x1011038]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [0x10122e8]
mov ecx, dword [eax]
or edi, 8
push edi
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x10074ac
push dword [ebp + 0x10]
mov eax, dword [0x10122e8]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
cmp eax, ebx
jl 0x10074ac
xor eax, eax
inc eax
mov dword [0x101104c], eax
jmp 0x1007555
cmp dword [0x10122e8], ebx
je 0x1007553
cmp dword [0x1011084], ebx
jne 0x1007553
cmp dword [0x1011088], ebx
jne 0x1007553
lea eax, [ebp + 0x14]
push eax
push 0xf003f
push ebx
push 0x10017e0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1007553
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
mov edi, 0x1002258
push edi
push dword [ebp + 0x14]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test byte [ebp - 2], 0x80
je 0x1007553
push ebx
push dword [ebp + 8]
call esi
push eax
call dword [fcn.01001224]
push dword [ebp + 8]
call esi
push eax
call fcn.0100b4b6
pop ecx
mov dword [0x1011054], 1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1007cfb
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x11
stosd dword es:[edi], eax
pop ecx
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x80]
rep stosd dword es:[edi], eax
xor esi, esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
push esi
push 0x10022d0
mov dword [ebp - 0x10], esi
call dword [0x10010ac]
test eax, eax
je 0x1007d92
mov edi, dword [0x1001240]
push ebx
mov ebx, 0x4ff
jmp 0x1007d70
cmp dword [ebp - 0x38], 0x12
je 0x1007d81
lea eax, [ebp - 0x3c]
push eax
call dword [fcn.010011b8]
push 1
push esi
push esi
lea eax, [ebp - 0x3c]
push esi
push eax
call dword [0x10011f8]
test eax, eax
jne 0x1007d4d
push ebx
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x20]
push eax
push 1
call edi
cmp eax, 1
je 0x1007d5d
push dword [ebp - 0x1c]
mov edi, dword [fcn.01001094]
call edi
push dword [ebp - 0x20]
call edi
pop ebx
lea eax, [ebp - 4]
push eax
push 0xf003f
push esi
push 0x10017e0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1007dea
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x10022e8
push dword [ebp - 4]
mov dword [ebp - 0x10], 3
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
jmp 0x1007ded
mov eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret

Function at 0x1008ef5
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
mov esi, 0xf003f
push esi
xor edi, edi
push edi
push 0x1002400
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1008f6c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
push edi
push esi
push edi
push edi
push edi
push 0x1002310
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x1008f67
push 4
lea eax, [ebp - 8]
push eax
push 4
push edi
push 0x10023f8
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 8]
call esi
push dword [ebp - 4]
call esi
pop edi
pop esi
leave
ret
Function at 0x1008f75
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 esi
lea eax, [ebp - 4]
push eax
push 0xf003f
xor edi, edi
push edi
push 0x1002388
push 0x80000001
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1008fd9
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x10023e4
push dword [ebp - 4]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1008fd0
cmp dword [ebp - 0x10], 1
sete al
mov edi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x10090f1
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc20
mov eax, dword [0x1012288]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0xc18], eax
mov dword [ebp - 0xc10], ebx
mov dword [ebp - 0xc14], ebx
call fcn.0100b64d
test eax, eax
jne 0x10092ac
call fcn.0100b6ae
test eax, eax
je 0x1009142
lea eax, [ebp - 0xc10]
push eax
push 0x19
jmp 0x10092b5
xor edi, edi
push 0x1002490
mov word [ebp - 0x414], bx
inc edi
call fcn.01004d65
cmp eax, ebx
mov esi, dword [fcn.010010a4]
mov dword [ebp - 0xc20], eax
je 0x10091cb
push 0x100247c
push eax
call esi
cmp eax, ebx
mov dword [ebp - 0xc1c], eax
je 0x10091b7
lea ecx, [ebp - 0x414]
push ecx
push ebx
push ebx
push 0x19
push ebx
call eax
mov edi, eax
cmp edi, ebx
je 0x10091a4
lea eax, [ebp - 0x414]
push eax
push ebx
push ebx
push 0x10
push ebx
call dword [ebp - 0xc1c]
mov edi, eax
cmp edi, ebx
jne 0x10091b7
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0xc18]
call dword [fcn.01001160]
push dword [ebp - 0xc20]
call dword [fcn.010010dc]
cmp edi, ebx
je 0x1009301
push 0x1002464
call fcn.01004d65
cmp eax, ebx
je 0x10092ac
push 0x1002454
push eax
call esi
cmp eax, ebx
je 0x10092ac
xor eax, eax
mov dword [ebp - 0x20c], ebx
mov ecx, 0x81
lea edi, [ebp - 0x208]
rep stosd dword es:[edi], eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [0x10010c8]
push esi
lea eax, [ebp - 0x20c]
push 0x1001b64
push eax
call fcn.01008fe4
push esi
lea eax, [ebp - 0x20c]
push 0x1002328
push eax
call fcn.01008fe4
add esp, 0x18
xor eax, eax
mov dword [ebp - 0xc0c], ebx
mov ecx, 0x1fd
lea edi, [ebp - 0xc08]
push 0x3fc
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc0c]
push eax
push 0x2d4
push dword [0x10122a8]
call dword [0x10011ac]
push esi
lea eax, [ebp - 0x20c]
push 0x1001b64
push eax
call fcn.01008fe4
push esi
lea eax, [ebp - 0xc0c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.01008fe4
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0xc18]
call dword [fcn.01001160]
jmp 0x1009301
lea eax, [ebp - 0xc10]
push eax
push 0x10
push ebx
call dword [0x1001180]
cmp eax, ebx
jl 0x1009301
push dword [ebp - 0xc18]
push dword [ebp - 0xc10]
call dword [0x1001174]
lea eax, [ebp - 0xc14]
push eax
call dword [0x1001178]
test eax, eax
jl 0x1009301
mov eax, dword [ebp - 0xc14]
push dword [ebp - 0xc10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0xc14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100ecf8
leave
ret
Function at 0x10093af
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1012288]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
push 0xf003f
xor edi, edi
push edi
push 0x10017e0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100943b
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push 0x10024b8
push dword [ebp - 0x214]
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x218], 4
mov dword [ebp - 0x21c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x210], edi
je 0x1009476
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x1f5
push esi
call dword [0x10011ac]
test eax, eax
jne 0x1009469
push 0x1002358
lea eax, [ebp - 0x20c]
push eax
call dword [fcn.01001160]
lea eax, [ebp - 0x20c]
push eax
call fcn.01009313
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.0100ecf8
leave
ret

Function at 0x1009487
Capabilities:
Set registry value

Disassembly:
push 1
call fcn.01008ef5
push dword [0x10122a8]
call fcn.010093af
pop ecx
pop ecx
jmp fcn.0100b281

Function at 0x100967f
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0
call dword [0x1001330]
lea eax, [ebp - 4]
push eax
push 0x1002adc
push 1
push 0
push 0x1002aec
call dword [0x100132c]
mov esi, eax
test esi, esi
jl 0x100976b
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
push dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
test byte [esi + 4], 2
je 0x10096d1
mov eax, dword [ebp - 4]
push dword [esi + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
test byte [esi + 4], 1
je 0x10096e3
mov eax, dword [ebp - 4]
push dword [esi + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test byte [esi + 4], 4
je 0x10096f8
push dword [esi + 0x18]
mov eax, dword [ebp - 4]
push dword [esi + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
test byte [esi + 4], 8
je 0x100970a
mov eax, dword [ebp - 4]
push dword [esi + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test byte [esi + 4], 0x20
je 0x100971c
mov eax, dword [ebp - 4]
push dword [esi + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
test byte [esi + 4], 0x10
je 0x1009732
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
xor edx, edx
mov dx, word [esi + 0x20]
push edx
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x1002b2c
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x1009762
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 8]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [0x1001328]
mov eax, esi
pop esi
leave
ret 8