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

Disassembly:
sub esp, 0x20c
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x208], eax
push edi
lea eax, [esp + 4]
push eax
push 0x201
xor edi, edi
push edi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10028012
push esi
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push str.ITCONFIG
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 8]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [esp + 0x10]
test esi, esi
pop esi
je 0x10028014
mov eax, edi
mov ecx, dword [esp + 0x20c]
pop edi
xor ecx, esp
call fcn.1003779c
add esp, 0x20c
ret

Function at 0x10028050
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x20c], eax
push edi
xor edi, edi
mov dword [esp + 4], 0x200
call fcn.10027fa0
test al, 0x10
jne 0x10028081
call fcn.10026eb0
test eax, eax
jne 0x1002809c
mov eax, 1
pop edi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.1003779c
add esp, 0x210
ret
lea eax, [esp + 0xc]
push eax
push 0x201
push edi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10028124
mov eax, dword [esp + 0xc]
push esi
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x18]
push edx
push edi
push edi
push str.EnableAutoUpdateCheck
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
pop esi
jne 0x10028124
mov dword [esp + 8], edi
call fcn.10027cf0
test eax, eax
je 0x10028116
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.10037a8e
mov eax, dword [esp + 0x18]
add esp, 0x10
jmp 0x1002811a
mov eax, dword [esp + 0x10]
cmp eax, 0x64
mov eax, 1
je 0x10028126
mov eax, edi
mov ecx, dword [esp + 0x210]
pop edi
xor ecx, esp
call fcn.1003779c
add esp, 0x210
ret

Function at 0x10028140
Capabilities:
Delete registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x202
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10028179
mov ecx, dword [esp]
push str.EnableAutoUpdateCheck
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret
Function at 0x10028180
Capabilities:
Set registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x210], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x2021f
push 0
push 0
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocStringLen
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0x64
mov dword [esp + 0x2c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1002822a
call fcn.10027cf0
test eax, eax
je 0x100281fb
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xc]
push 4
push ecx
call fcn.10037a8e
add esp, 0x10
jmp 0x10028203
mov edx, dword [esp + 4]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 8]
mov edx, dword [esp]
push eax
lea ecx, [esp + 0x14]
push ecx
push 3
push 0
push str.EnableAutoUpdateCheck
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.1003779c
add esp, 0x214
ret
Function at 0x10036740
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, 0x202c
call fcn.100378e0
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x2028], eax
push ebx
push ebp
xor eax, eax
push esi
mov esi, dword [esp + 0x203c]
push edi
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleW]
push 0x800
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x3c]
push eax
push 0x82
xor ebp, ebp
push 0x1003bb30
mov dword [esp + 0x20], ebp
call edi
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
push eax
call ebx
push 0x800
lea ecx, [esp + 0x103c]
push ecx
push 0x8b
push 0x1003bb30
call edi
push eax
call ebx
lea edx, [esp + 0x38]
lea eax, [esp + 0x1038]
push 0x1003bb30
mov dword [esp + 0x14], 0x28
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0x12083
mov dword [esp + 0x2c], 0x3ec
call edi
mov dword [esp + 0x18], eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
push ebp
push 0x100366e0
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
lea ecx, [esp + 0x10]
push ecx
mov dword [0x1004fde4], eax
mov dword [0x1004fde8], ebp
call fcn.10037a8e
mov edx, dword [0x1004fde4]
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [esi], 2
mov dword [esi + 4], ebp
mov dword [esi + 0x18], ebp
cmp edi, 6
jne 0x10036858
mov dword [esi], 1
jmp 0x10036865
xor eax, eax
cmp edi, 2
sete al
add eax, 2
mov dword [esi], eax
mov eax, esi
cmp dword [0x1004fde8], ebp
je 0x10036876
mov dword [esi + 4], 1
mov ecx, dword [esp + 0x2038]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003779c
add esp, 0x202c
ret 4
Function at 0x401030
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
cmp dword [0x843060], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
jne 0x401074
push 0
lea ecx, [ebp - 0x430]
push ecx
push 0
push str.serogefikajuxapowizufin_jikesijelipovocanopowum_ladahuki_nogiwodopuxeyojimada_masitobimalezal
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push str.wabux
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov eax, dword [0x423f3c]
mov edx, dword [0x423f38]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], edx
call fcn.00401020
mov esi, dword [ebp - 0x10]
mov ecx, dword [0x423f40]
mov edx, dword [0x423f44]
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
add esi, 0x23f
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0x20
jmp 0x4010c4
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x843060]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401128
push 0
lea eax, [ebp - 0x430]
push eax
push str.patarofo_lugagodagurusol_bahecekolotegejahub
call ebx
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ebp - 0x28]
push ecx
push 0
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov eax, dword [ebp - 4]
mov ecx, dword [0x843060]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401142
mov dword [0x8425fc], 0xedeb2e40
jmp 0x401154
cmp ecx, 0x3eb
jne 0x401154
mov dword [0x841fb0], 0
mov ecx, dword [ebp - 0xc]
lea edx, [esi + edi]
mov dword [ebp - 0x14], edx
mov edx, edi
shr edx, cl
mov dword [0x8425f8], 0xf4ea3dee
add edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
cmp dword [0x843060], 0xc
jne 0x4011a5
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupSeek]
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
lea eax, [esi + edx]
xor dword [ebp - 4], eax
mov esi, edx
shr esi, cl
add esi, dword [ebp - 0x24]
cmp dword [0x843060], 0x121
jne 0x4011e5
push str.ledolinosiwogula
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
xor eax, esi
mov dword [ebp - 4], eax
sub edi, eax
lea eax, [ebp - 0x10]
call fcn.00401010
sub dword [ebp - 0x18], 1
jne 0x4010c1
cmp dword [0x843060], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x401222
push 0
push str.puloginuyekawayihuyufomeciyijuw
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov edx, dword [ebp - 8]
pop edi
mov dword [esi + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401230
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x843060]
mov ecx, dword [0x841fb4]
shr eax, 3
sub esp, 0x41c
test eax, eax
jbe 0x401338
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x843060], 0x959
jne 0x40131e
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push str.yihemosubameyacowovagajuferokiyujiyeluhanabopa
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0
lea eax, [ebp - 0x41c]
push eax
push 0
push str.ribabacotecisuseyobowozic
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
push 0
push str.nadahesajabohaxezize
push str.gajelonibakogofipokuyitipi
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
push 0
push 0
push 0
push 0
push 0
push 0
push str.yavub_socaxofuhod
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 4]
push edx
call fcn.00401030
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x401270
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402560
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4230c8]
jne 0x40256a
repz ret
jmp fcn.0040604e

Function at 0x405c74
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402fe9
and dword [ebp - 4], 0
cmp dword [0x424a28], 0
mov ebx, eax
jne 0x405d25
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405dd6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405dd6
push eax
call fcn.00402f77
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x424a28], eax
call esi
push eax
call fcn.00402f77
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x424a2c], eax
call esi
push eax
call fcn.00402f77
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x424a30], eax
call esi
push eax
call fcn.00402f77
pop ecx
mov dword [0x424a38], eax
test eax, eax
je 0x405d25
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402f77
pop ecx
mov dword [0x424a34], eax
mov eax, dword [0x424a34]
cmp eax, ebx
je 0x405d7d
cmp dword [0x424a38], ebx
je 0x405d7d
push eax
call fcn.00402ff2
push dword [0x424a38]
mov esi, eax
call fcn.00402ff2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405d7d
test edi, edi
je 0x405d7d
call esi
test eax, eax
je 0x405d74
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405d74
test byte [ebp - 0xc], 1
jne 0x405d7d
or dword [ebp + 0x10], 0x200000
jmp 0x405db6
mov eax, dword [0x424a2c]
cmp eax, ebx
je 0x405db6
push eax
call fcn.00402ff2
pop ecx
test eax, eax
je 0x405db6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405db6
mov eax, dword [0x424a30]
cmp eax, ebx
je 0x405db6
push eax
call fcn.00402ff2
pop ecx
test eax, eax
je 0x405db6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x424a28]
call fcn.00402ff2
pop ecx
test eax, eax
je 0x405dd6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405dd8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401f20
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408048
call sym._EnterCriticalSection_4
mov ebx, dword [0x408040]
sub esp, 4
test ebx, ebx
je 0x401f6b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401f64
test esi, esi
je 0x401f64
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401f40
mov dword [esp], 0x408048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402150
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4021a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402278
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x4021de
cmp eax, 4
jne 0x402200
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x4021ee
cmp edx, 4
je 0x4021ee
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402150
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x75e0325
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x1edf44da
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1001cf50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100df320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1001cf80
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1001cfb0
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x1001cfb0
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1001d0ab
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1001cfd9
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1001d00d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x1001d06c
sub eax, 1
je 0x1001d06c
sub eax, 2
jne 0x1001d0ab
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.10095710
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1001d08a
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1001d0ab
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x1001d0ab
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
Function at 0x10095710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1009571f
pop dword [ebp - 0x14]
mov eax, 0x5c7610e4
add eax, 0xb393463b
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x295c025
add dword [ebp - 0x24], 0x4bbc8526
mov dword [ebp - 0x20], 0xd5155e58
add dword [ebp - 0x20], 0x5d1deded
mov dword [ebp - 0x1c], 0x8c5ae23
add dword [ebp - 0x1c], 0x4386960b
mov dword [ebp - 0x18], 0xdc9ad374
add dword [ebp - 0x18], 0x23652c8c
lea eax, [ebp - 0x24]
push eax
mov eax, 0xc525e3a1
add eax, 0x4ae58d3f
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x18f83b4c
add dword [ebp - 0x24], 0x5b7a2e0a
mov dword [ebp - 0x20], 0x8119da56
add dword [ebp - 0x20], 0xc052871f
mov dword [ebp - 0x1c], 0xbb4bea73
add dword [ebp - 0x1c], 0xa82381f9
mov dword [ebp - 0x18], 0xd4df55f8
add dword [ebp - 0x18], 0x2b20aa08
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x29559b0c
sub eax, 0x194a2a70
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x5dd3b
push 0
call eax
mov ecx, 0x95f28692
add ecx, 0x6a0dc18b
xor edx, edx
add edx, eax
mov ebx, 0xb730d571
add ebx, 0x58de5e8f
add ebx, dword [ebp - 0x14]
mov edi, 0xbf76bd93
sub edi, 0x55417936
xor dword [ebp - 4], 0xa1689c49
mov esi, dword [ebx]
sub dword [ebp - 0x10], esi
add esi, edi
xor dword [ebp - 0xc], 0x9b4ed106
mov dword [edx], esi
sub dword [ebp - 4], 0x1c40db63
add edx, 0x607cc11
sub edx, 0x607cc0d
add ebx, 0xab19d4d2
sub ebx, 0xab19d4ce
loop 0x10095843
add eax, 0x8fd9502e
add eax, 0x7027c319
mov ebx, eax
add eax, 0x55ee4864
sub eax, 0x55ee485f
mov ecx, 0x10000000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x100a40a0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6b1d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100df320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push 4
xor eax, eax
mov dword [ebp - 0x44], 0
push str.MHz
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10095710
push 0x2e
xor eax, eax
mov dword [ebp - 4], 0
push str.HardwareDescriptionSystemCentralProcessor0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10095710
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x44]
mov dword [ebp - 0x48], 4
push edx
push 0
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 0x10
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edx, dword [ebp - 0x14]
test eax, eax
sete bl
cmp edx, 8
jb 0x100a4192
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100a4188
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a41d2
push edx
push ecx
call fcn.10095710
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x100a41e2
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100a41d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a41d8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10095710
add esp, 8
mov eax, dword [ebp - 0x44]
mov ecx, 0xf4240
mul ecx
mov dword [esi], eax
mov al, bl
mov dword [esi + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret