joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10040d30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10040e38
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10040e38
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x10040e38
push 2
push ebx
lea eax, [ebp + 8]
push eax
push esi
call fcn.1003fa60
add esp, 0x10
cmp eax, 2
je 0x10040d79
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [ebp + 8], ax
jne 0x10040d6d
push 4
lea eax, [ebx + 0x3c]
push eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.1003fa60
add esp, 0x10
cmp eax, 4
jne 0x10040d6d
add ebx, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10040da8
mov dword [eax], ebx
push 2
lea eax, [ebx + 4]
push eax
lea eax, [ebp + 8]
push eax
push esi
call fcn.1003fa60
add esp, 0x10
cmp eax, 2
jne 0x10040d6d
movzx eax, word [ebp + 8]
cmp eax, 0x14c
je 0x10040e03
cmp eax, 0x8664
jne 0x10040d6d
push 0x108
push ebx
push edi
push esi
call fcn.1003fa60
add esp, 0x10
cmp eax, 0x108
jne 0x10040d6d
cmp dword [edi], 0x4550
mov eax, 0x40
pop edi
mov ecx, 0x80004005
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0xf8
push ebx
push edi
push esi
call fcn.1003fa60
add esp, 0x10
cmp eax, 0xf8
jne 0x10040d6d
cmp dword [edi], 0x4550
mov eax, 0x20
pop edi
mov ecx, 0x80004005
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10027b90
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x10034110]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
cmp dword [0x1003668c], 0
je 0x10001245
mov esi, dword [sym.imp.xpcom.dll_NS_StringContainerInit]
lea eax, [esp + 0x18]
push eax
call esi
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x10]
push ecx
call esi
add esp, 8
mov byte [esp + 0x2c], 1
mov esi, dword [esp + 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
push 0
lea edx, [esp + 0x24]
push 0xffffffffffffffff
push edx
call dword [sym.imp.xpcom.dll_NS_StringSetDataRange]
mov eax, dword [0x1003668c]
mov ecx, dword [eax + 4]
add esp, 0x14
lea edx, [esp + 0xc]
push edx
add eax, 4
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.xpcom.dll_NS_StringCloneData]
mov esi, eax
mov byte [esp + 0x30], 0
mov edi, dword [sym.imp.xpcom.dll_NS_StringContainerFinish]
lea edx, [esp + 0x10]
push edx
call edi
mov dword [esp + 0x34], 0xffffffff
lea eax, [esp + 0x20]
push eax
call edi
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret
mov eax, 0x1002efc4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret

Function at 0x10001340
Capabilities:
Delete registry value
Encode data using xor
Query or enumerate registry value

Disassembly:
sub esp, 0x810
mov eax, dword [0x10034110]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
xor ebx, ebx
cmp dword [0x1003668c], ebx
je 0x1000141b
lea eax, [esp + 4]
push eax
push str.SoftwareAppDataLowAWGAMECONFIG
push 0x80000001
mov dword [esp + 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000141b
push 0x7ff
lea ecx, [esp + 0x15]
push ebx
push ecx
mov dword [esp + 0x14], 0x800
mov dword [esp + 0x18], 1
mov byte [esp + 0x1c], bl
call fcn.10017cd0
add esp, 0xc
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push ebx
push str.mwfffp
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10001410
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x18]
push eax
xor esi, esi
call edi
test eax, eax
jle 0x100013f5
xor byte [esp + esi + 0x18], 0x5f
lea ecx, [esp + 0x18]
push ecx
inc esi
call edi
cmp esi, eax
jl 0x100013e4
lea ebx, [esp + 0x18]
call fcn.10001c40
mov edx, dword [esp + 0xc]
push str.mwfffp
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
pop edi
pop esi
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x810]
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10014a1e
add esp, 0x810
ret
Function at 0x10001440
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10028d7c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10034110]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
sub eax, ebx
je 0x10001592
sub eax, 1
jne 0x100015ff
call fcn.10004320
push 0x6c
call fcn.10014afc
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ebx
cmp eax, ebx
je 0x100014a7
push eax
call fcn.100030d0
mov esi, eax
jmp 0x100014a9
xor esi, esi
or edi, 0xffffffff
mov dword [esp + 0x20], edi
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], ebx
cmp dword [eax], ebx
jne 0x100014df
lea ecx, [esp + 0x10]
call fcn.10006a90
cmp eax, ebx
jbe 0x100014df
mov edi, dword [esp + 0x10]
push eax
push edi
call fcn.10003330
push edi
call fcn.10014ad6
add esp, 4
or edi, 0xffffffff
push 4
call fcn.10014afc
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], 1
cmp esi, ebx
je 0x1000150a
push str.WinInet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi], eax
jmp 0x1000150c
xor esi, esi
mov dword [esp + 0x20], edi
push 8
mov dword [0x10036688], esi
call fcn.10014afc
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 2
cmp eax, ebx
je 0x10001539
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov esi, eax
jmp 0x1000153b
xor esi, esi
mov dword [esp + 0x20], edi
lea ecx, [esi + 4]
push ecx
push ebx
push ebx
push 0x100056c0
push ebx
push ebx
mov dword [0x100366f0], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x60
mov dword [esi], eax
call fcn.10014afc
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 3
cmp eax, ebx
je 0x10001585
push eax
call fcn.10001ac0
mov dword [esp + 0x20], edi
mov dword [0x1003668c], eax
jmp 0x100015ff
xor eax, eax
mov dword [esp + 0x20], edi
mov dword [0x1003668c], eax
jmp 0x100015ff
mov eax, dword [0x100366f0]
cmp eax, ebx
je 0x100015c9
mov ecx, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp ecx, ebx
je 0x100015b0
push ebx
push ecx
call esi
mov eax, dword [0x100366f0]
cmp eax, ebx
je 0x100015c9
mov edi, eax
mov eax, dword [eax]
cmp eax, ebx
je 0x100015c0
push ebx
push eax
call esi
push edi
call fcn.10014a13
add esp, 4
mov eax, dword [0x10036688]
mov dword [0x100366f0], ebx
cmp eax, ebx
je 0x100015ec
mov edx, dword [eax]
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.10014a13
add esp, 4
mov ecx, dword [0x1003668c]
cmp ecx, ebx
je 0x100015ff
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push 1
call edx
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10001ba0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x100276d3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10034110]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.GameComponent.0
mov dword [esi + 4], vtable.GameComponent.1.0
mov dword [esi + 8], vtable.GameComponent.2.0
mov dword [esp + 0x18], 0
mov eax, dword [esi + 0x58]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x10001c01
push eax
call fcn.10014a13
add esp, 4
mov edi, dword [esi + 0x54]
test edi, edi
je 0x10001c17
push edi
call fcn.10003270
push edi
call fcn.10014a13
add esp, 4
or eax, 0xffffffff
mov dword [esp + 0x18], eax
lea ecx, [esi + 0x5c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], eax
call fcn.1000e39d
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x10001c40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x15c
mov eax, dword [0x10034110]
xor eax, esp
mov dword [esp + 0x158], eax
push 0x44
lea eax, [esp + 0x14]
push 0
push eax
call fcn.10017cd0
xor eax, eax
push 0x103
push eax
lea ecx, [esp + 0x69]
push ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x44
mov byte [esp + 0x6c], al
call fcn.10017cd0
add esp, 0x18
push 0x104
lea edx, [esp + 0x58]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x54]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001cb0
sub eax, edx
push esi
mov esi, eax
mov eax, ebx
push edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001cc2
sub eax, edx
lea esi, [esi + eax + 0x40]
push esi
call fcn.1001419a
mov edi, eax
push ebx
lea eax, [esp + 0x64]
push eax
push str._s___s_
push esi
push edi
call fcn.10014bde
add esp, 0x18
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0x8000000
push 1
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [esp + 0x160]
cmp eax, 1
pop edi
sete al
pop esi
xor ecx, esp
call fcn.10014a1e
add esp, 0x15c
ret

Function at 0x10001e40
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 0x50]
lea eax, [esp + 4]
push eax
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 4], 0x103
je 0x10001e81
push 0
push 0
lea edx, [esi - 8]
push edx
push 0x10001d30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x50], eax
xor eax, eax
pop esi
pop ecx
ret 8
Function at 0x10003ff0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
xor ebx, ebx
push esi
xor ebp, ebp
push edi
cmp dword [0x100366e4], ebx
jne 0x10004106
mov dword [0x100366e4], 1
xor edi, edi
mov eax, edi
cdq
mov ecx, eax
and ecx, 1
xor esi, esi
or ecx, esi
mov cl, 1
je 0x10004029
xor eax, 1
xor edx, 0xb0000000
call fcn.10027240
mov ecx, eax
and ecx, 1
xor esi, esi
or ecx, esi
mov cl, 1
je 0x10004044
xor eax, 1
xor edx, 0xb0000000
call fcn.10027240
mov ecx, eax
and ecx, 1
xor esi, esi
or ecx, esi
mov cl, 1
je 0x1000405f
xor eax, 1
xor edx, 0xb0000000
call fcn.10027240
mov ecx, eax
and ecx, 1
xor esi, esi
or ecx, esi
mov cl, 1
je 0x1000407a
xor eax, 1
xor edx, 0xb0000000
call fcn.10027240
mov ecx, eax
and ecx, 1
xor esi, esi
or ecx, esi
mov cl, 1
je 0x10004095
xor eax, 1
xor edx, 0xb0000000
call fcn.10027240
mov ecx, eax
and ecx, 1
xor esi, esi
or ecx, esi
mov cl, 1
je 0x100040b0
xor eax, 1
xor edx, 0xb0000000
call fcn.10027240
mov ecx, eax
and ecx, 1
xor esi, esi
or ecx, esi
mov cl, 1
je 0x100040cb
xor eax, 1
xor edx, 0xb0000000
call fcn.10027240
mov ecx, eax
and ecx, 1
xor esi, esi
or ecx, esi
mov cl, 1
je 0x100040e6
xor eax, 1
xor edx, 0xb0000000
call fcn.10027240
mov dword [edi*8 + 0x100366f8], eax
mov dword [edi*8 + 0x100366fc], edx
inc edi
cmp edi, 0xff
jle 0x10004010
mov edi, dword [esp + 0x14]
mov al, byte [edi]
test al, al
je 0x1000413f
movsx esi, al
xor esi, ebx
mov eax, ebx
mov edx, ebp
mov cl, 8
and esi, 0xff
call fcn.10027240
xor eax, dword [esi*8 + 0x100366f8]
xor edx, dword [esi*8 + 0x100366fc]
inc edi
mov ebx, eax
mov al, byte [edi]
mov ebp, edx
test al, al
jne 0x10004110
pop edi
pop esi
mov edx, ebp
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x10004150
Capabilities:
Get cpu information
Get disk information
Get hostname
Query or enumerate registry value

Disassembly:
sub esp, 0x1a8
mov eax, dword [0x10034110]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
push ebp
push esi
xor ebx, ebx
push 0x63
lea eax, [esp + 0x151]
push ebx
push eax
mov byte [esp + 0x158], bl
call fcn.10017cd0
mov esi, 0x64
add esp, 0xc
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
push ebx
push ebx
push 0x1002f6f0
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0x63
lea ecx, [esp + 0x89]
push ebx
push ecx
mov dword [esp + 0x20], 1
mov byte [esp + 0x90], bl
call fcn.10017cd0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push str.HARDWAREDESCRIPTIONSystemBIOS
push 0x80000002
mov dword [esp + 0x1c], esi
call ebp
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push str.BaseBoardProduct
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x63
lea edx, [esp + 0x25]
push ebx
push edx
mov byte [esp + 0x2c], bl
call fcn.10017cd0
push 0x63
lea eax, [esp + 0xf9]
push ebx
push eax
mov byte [esp + 0x100], bl
call fcn.10017cd0
add esp, 0x18
lea ecx, [esp + 0xc]
push ecx
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
call ebp
mov ebp, 1
mov dword [esp + 0x10], 0x64
mov dword [esp + 0x14], ebp
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push str.Identifier
push edx
call esi
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xec]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push str.ProcessorNameString
push eax
mov dword [esp + 0x28], 0x64
mov dword [esp + 0x2c], ebp
call esi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0xe8]
push edx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x158]
push edx
push eax
push str._x_s_s_s_s
push 0x200
push edi
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
mov ecx, dword [esp + 0x1d0]
add esp, 0x20
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10014a1e
add esp, 0x1a8
ret
Function at 0x10004670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100278ad
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x10034110]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
mov dword [esp + 0x14], ebx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ebx
mov byte [esi + 0x20], bl
mov byte [esp + 0x14], 1
lea eax, [esi + 0x3c]
push eax
call fcn.100052b0
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x54]
push ecx
call fcn.100052b0
mov byte [esp + 0x14], 3
mov dword [esi + 0x38], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x10006480
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10027e6a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x10034110]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
xor esi, esi
push eax
mov dword [esp + 0x10], esi
call fcn.10006340
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
push ecx
push esi
lea edx, [esp + 0x18]
push edx
push esi
push edi
push eax
call ebx
test eax, eax
jne 0x10006508
cmp dword [esp + 0x10], 3
jne 0x10006508
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
inc ecx
push ecx
push 8
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [esp + 0x14]
mov esi, eax
lea eax, [esp + 0xc]
push eax
push esi
lea ecx, [esp + 0x18]
push ecx
push 0
push edi
push edx
call ebx
mov dword [esp + 0x24], 0xffffffff
lea eax, [esp + 0x14]
push eax
call fcn.10006410
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x10006530
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10027d7a
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10034110]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
lea eax, [esp + 4]
push eax
call fcn.10006340
mov dword [esp + 0x14], 0
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006570
mov ecx, dword [esp + 4]
sub eax, edx
inc eax
push eax
push esi
push 3
push 0
push str.3967E5B8_9A64_46fa_ABB2_D35BB0FEEA8F
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x14], 0xffffffff
lea edx, [esp + 4]
push edx
call fcn.10006410
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret

Function at 0x100065c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10027e6a
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x10034110]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
xor esi, esi
push eax
mov dword [esp + 0xc], esi
call fcn.10006340
mov dword [esp + 0x24], esi
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
push esi
push str.37347255_3BC7_44b2_9AD1_F2B02E8AE764
push ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, dword [esp + 8]
mov dword [esp + 0x24], 0xffffffff
lea edx, [esp + 0x14]
push edx
call fcn.10006410
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret
Function at 0x10006650
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10027d7a
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10034110]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
lea eax, [esp + 4]
push eax
call fcn.10006340
mov dword [esp + 0x14], 0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x1c]
push 4
lea edx, [esp + 0x20]
push edx
push 4
push 0
push str.37347255_3BC7_44b2_9AD1_F2B02E8AE764
push eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 4]
push ecx
call fcn.10006410
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret

Function at 0x100066d0
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10027e3a
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x10034110]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
xor esi, esi
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], 8
call fcn.10006340
mov dword [esp + 0x30], esi
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push esi
push str.B554FFE3_9BB3_4c66_A21E_F3F8020473DB
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
lea edx, [esp + 0x1c]
push edx
call fcn.10006410
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10006770
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10027e0a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10034110]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.10006340
mov dword [esp + 0x18], 0
mov edx, dword [esp + 8]
push 8
lea ecx, [esp + 0x24]
push ecx
push 3
push 0
push str.B554FFE3_9BB3_4c66_A21E_F3F8020473DB
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x18], 0xffffffff
lea eax, [esp + 8]
push eax
call fcn.10006410
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
add esp, 0x18
ret
Function at 0x100067f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10027daa
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x10034110]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
xor esi, esi
push eax
mov dword [esp + 0x10], esi
call fcn.10006340
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push esi
push str.26295547_9DC5_4b33_87F4_4D8DD1E0D7D8
push ecx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, dword [esp + 0xc]
cmp esi, 0x258
ja 0x10006861
mov esi, 0x258
mov dword [esp + 0x28], 0xffffffff
lea edx, [esp + 0x18]
push edx
call fcn.10006410
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret

Function at 0x10006890
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10027d4a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10034110]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.10006340
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
push 4
lea edx, [esp + 0x28]
push edx
push 4
push 0
push str.26295547_9DC5_4b33_87F4_4D8DD1E0D7D8
push eax
mov dword [esp + 0x3c], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 8]
push ecx
call fcn.10006410
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
ret

Function at 0x10006910
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10027dda
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x10034110]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
xor esi, esi
push eax
mov dword [esp + 0xc], esi
call fcn.10006340
mov dword [esp + 0x28], esi
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
push esi
push str.EEEDFA58_0365_4740_BEA4_306D2072CF41
push ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, esi
jne 0x10006981
cmp dword [esp + 0x10], 4
je 0x100069b4
push esi
call fcn.100069e0
add esp, 4
test eax, eax
je 0x100069b4
mov dword [esp + 0x28], 0xffffffff
lea edx, [esp + 0x14]
push edx
call fcn.10006410
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 8]
mov dword [esp + 0x28], 0xffffffff
lea eax, [esp + 0x14]
push eax
call fcn.10006410
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret