joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100014f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d502c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push esi
push edi
lea edi, [ebp - 0x138]
mov ecx, 0x4b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x130], 0
mov esi, esp
lea eax, [ebp - 0x114]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
or ch, 0x80
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
cmp esi, esp
call fcn.10021b10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100015c8
push str._
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x124]
call fcn.10001c90
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x138], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100029f0
add esp, 0xc
mov ecx, dword [ebp - 0x130]
or ecx, 1
mov dword [ebp - 0x130], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.10001ce0
mov eax, dword [ebp + 8]
jmp 0x100015ed
lea edx, [ebp - 0x12c]
push edx
push 0x10106fe0
mov ecx, dword [ebp + 8]
call fcn.10001c90
mov eax, dword [ebp - 0x130]
or al, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x138
cmp ebp, esp
call fcn.10021b10
mov esp, ebp
pop ebp
ret

Function at 0x10001a50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d508c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push esi
push edi
lea edi, [ebp - 0x138]
mov ecx, 0x4b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x130], 0
mov esi, esp
lea eax, [ebp - 0x114]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
or ch, 0x80
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
cmp esi, esp
call fcn.10021b10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10001b28
push 0x100f3280
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x124]
call fcn.10001c90
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x138], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100029f0
add esp, 0xc
mov ecx, dword [ebp - 0x130]
or ecx, 1
mov dword [ebp - 0x130], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.10001ce0
mov eax, dword [ebp + 8]
jmp 0x10001b4d
lea edx, [ebp - 0x12c]
push edx
push 0x10106ff0
mov ecx, dword [ebp + 8]
call fcn.10001c90
mov eax, dword [ebp - 0x130]
or al, 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x138
cmp ebp, esp
call fcn.10021b10
mov esp, ebp
pop ebp
ret
Function at 0x10001b70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d50ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push esi
push edi
lea edi, [ebp - 0x23c]
mov ecx, 0x8c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x234], 0
mov esi, esp
lea eax, [ebp - 0x218]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
or ch, 0x80
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp esi, esp
call fcn.10021b10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10001c48
push 0x100f3284
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x228]
call fcn.10001d10
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x23c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10002e60
add esp, 0xc
mov ecx, dword [ebp - 0x234]
or ecx, 1
mov dword [ebp - 0x234], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.10001d60
mov eax, dword [ebp + 8]
jmp 0x10001c6d
lea edx, [ebp - 0x230]
push edx
push 0x10106ff4
mov ecx, dword [ebp + 8]
call fcn.10001d10
mov eax, dword [ebp - 0x234]
or al, 1
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x23c
cmp ebp, esp
call fcn.10021b10
mov esp, ebp
pop ebp
ret

Function at 0x10003f70
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push esi
push edi
lea edi, [ebp - 0x204]
mov ecx, 0x81
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov word [ebp - 0x200], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x1fe]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x204]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.10022a70
add esp, 0xc
mov dword [ebp - 0x204], 0
xor ecx, ecx
mov cl, byte [0x100f339b]
test ecx, ecx
je 0x10003ff6
mov esi, esp
lea edx, [ebp - 0x200]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, esp
call fcn.10021b10
pop edi
pop esi
add esp, 0x204
cmp ebp, esp
call fcn.10021b10
mov esp, ebp
pop ebp
ret
Function at 0x10004763
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d5216
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x44], 0
je 0x100047ff
mov esi, esp
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x44]
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp esi, esp
call fcn.10021b10
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100047ee
mov esi, esp
push 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
call dword [edx + 4]
cmp esi, esp
call fcn.10021b10
mov dword [ebp - 0x1c], eax
jmp 0x100047f5
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x2c], 0
je 0x10004828
mov esi, esp
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp esi, esp
call fcn.10021b10
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x28], 0
je 0x10004851
mov esi, esp
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp esi, esp
call fcn.10021b10
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x24], 0
je 0x1000487a
mov esi, esp
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp esi, esp
call fcn.10021b10
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0x30
call fcn.1006b63e
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0x18
call fcn.1006a0d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.1006a0d0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
call fcn.1006a0d0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
call fcn.1006a0d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
cmp ebp, esp
call fcn.10021b10
mov esp, ebp
pop ebp
ret
Function at 0x100070a3
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x122c
call fcn.10022c40
push esi
push edi
lea edi, [ebp - 0x122c]
mov ecx, 0x48b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov esi, esp
lea eax, [ebp - 4]
push eax
push 8
push 0
push 0x100f36e0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp esi, esp
call fcn.10021b10
test eax, eax
jne 0x100072bf
mov word [ebp - 0x804], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x802]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x814], 0x800
mov dword [ebp - 0x808], 0
mov esi, esp
lea ecx, [ebp - 0x810]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x814]
push edx
lea eax, [ebp - 0x804]
push eax
mov ecx, dword [ebp - 0x808]
mov dword [ebp - 0x122c], ecx
mov edx, dword [ebp - 0x122c]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x808]
add ecx, 1
mov dword [ebp - 0x808], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp esi, esp
call fcn.10021b10
test eax, eax
jne 0x100072ac
mov dword [ebp - 0x814], 0x800
mov dword [ebp - 0x1018], 0
mov word [ebp - 0x1014], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x1012]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [ebp - 0x1220], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x121e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, esp
lea edx, [ebp - 0x804]
push edx
push 0x100f3714
push 0x100f3748
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
cmp esi, esp
call fcn.10021b10
mov esi, esp
lea ecx, [ebp - 0x1018]
push ecx
push 1
push 0
lea edx, [ebp - 0x1014]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp esi, esp
call fcn.10021b10
test eax, eax
jne 0x100072a7
push 0xc8
call fcn.1006b3a0
add esp, 4
mov dword [ebp - 0x1228], eax
mov eax, dword [ebp - 0x1228]
mov dword [ebp - 0x1224], eax
push 0xc8
push 0
mov ecx, dword [ebp - 0x1224]
push ecx
call fcn.10021ab0
add esp, 0xc
mov esi, esp
lea edx, [ebp - 0x804]
push edx
mov eax, dword [ebp - 0x1224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp esi, esp
call fcn.10021b10
mov esi, esp
mov ecx, dword [ebp - 0x1018]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.10021b10
mov edx, dword [ebp - 0x1224]
push edx
mov ecx, 0x10107050
call fcn.1000fe90
mov eax, dword [ebp - 0x1224]
push eax
push str.EnumerateAISuite2AP___Add__s
call fcn.10003f70
add esp, 8
jmp 0x10007122
mov esi, esp
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.10021b10
mov eax, 1
pop edi
pop esi
add esp, 0x122c
cmp ebp, esp
call fcn.10021b10
mov esp, ebp
pop ebp
ret
Function at 0x1000c65b
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov esi, esp
lea eax, [ebp - 4]
push eax
push 2
push 0
push str.SOFTWAREAsusAI_SUITE_IIEasy_Update
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp esi, esp
call fcn.10021b10
test eax, eax
jne 0x1000c76a
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.10021b10
shl eax, 1
mov esi, esp
push eax
mov edx, dword [ebp + 8]
push edx
push 1
push 0
push str.SelfUpdating
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.10021b10
mov esi, esp
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.10021b10
shl eax, 1
mov esi, esp
push eax
mov edx, dword [ebp + 0xc]
push edx
push 1
push 0
push str.Source
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.10021b10
mov esi, esp
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.10021b10
test eax, eax
je 0x1000c73f
cmp dword [0x1010706c], 1
jne 0x1000c73f
mov esi, esp
push 4
push 0x1010706c
push 4
push 0
push str.Mode
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.10021b10
mov esi, esp
push str.Path
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp esi, esp
call fcn.10021b10
mov esi, esp
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.10021b10
pop esi
add esp, 4
cmp ebp, esp
call fcn.10021b10
mov esp, ebp
pop ebp
ret
Function at 0x1000c779
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push edi
lea edi, [ebp - 0x208]
mov ecx, 0x82
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push 0x1fe
push 0
lea eax, [ebp - 0x200]
push eax
call fcn.10021ab0
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
push str.SOFTWAREAsusHotfix
push str._s_s
lea edx, [ebp - 0x200]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
cmp esi, esp
call fcn.10021b10
mov esi, esp
lea eax, [ebp - 0x204]
push eax
push 2
push 0
lea ecx, [ebp - 0x200]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp esi, esp
call fcn.10021b10
test eax, eax
jne 0x1000c7ff
jmp 0x1000c840
mov esi, esp
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x204]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x200]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp esi, esp
call fcn.10021b10
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x1000c840
jmp 0x1000c88f
mov esi, esp
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.10021b10
shl eax, 1
mov esi, esp
push eax
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
push str.Version
mov ecx, dword [ebp - 0x204]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.10021b10
mov esi, esp
mov edx, dword [ebp - 0x204]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.10021b10
pop edi
pop esi
add esp, 0x208
cmp ebp, esp
call fcn.10021b10
mov esp, ebp
pop ebp
ret
Function at 0x10017fc2
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d5945
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push esi
push edi
push ecx
lea edi, [ebp - 0x234]
mov ecx, 0x8a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x234], ecx
mov esi, esp
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x20]
cmp esi, esp
call fcn.10021b10
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov esi, esp
mov ecx, dword [ebp + 8]
call dword [edx + 0x54]
cmp esi, esp
call fcn.10021b10
lea ecx, [ebp - 0x228]
call fcn.10018170
lea eax, [ebp - 0x230]
push eax
call fcn.10051017
push eax
lea ecx, [ebp - 0x220]
call fcn.100ad31a
push eax
lea ecx, [ebp - 0x228]
call fcn.100ad31a
mov byte [ebp - 0x218], 0
mov ecx, dword [ebp + 0xc]
add ecx, 0x38
push ecx
lea ecx, [ebp - 0x224]
call fcn.100ad31a
lea edx, [ebp - 0x228]
push edx
lea ecx, [ebp - 0x22c]
call fcn.100acc14
push eax
call fcn.1006fcc2
mov esi, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x34]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.100acc14
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp esi, esp
call fcn.10021b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.1006a0d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x234
cmp ebp, esp
call fcn.10021b10
mov esp, ebp
pop ebp
ret 8
Function at 0x1004bb80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x1004bb8b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x1004bc8e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x100e45fc]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100e45fc]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100e45fc]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100e45fc]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100e45fc]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100e45fc]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100e45fc]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100e45fc]
xor eax, edx
inc ecx
dec edi
jne 0x1004bba6
pop edi
test esi, esi
je 0x1004bcb0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100e45fc]
xor eax, edx
inc ecx
dec esi
jne 0x1004bc92
pop esi
pop ebx
not eax
ret
Function at 0x1006bc27
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
push 0xed
push str.filecore.cpp
mov eax, dword [ebp - 8]
push eax
call fcn.1006f210
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0xffffffff
jne 0x1006bc63
push 0xee
push str.filecore.cpp
call fcn.100b0670
test eax, eax
je 0x1006bc63
int3
xor edx, edx
test edx, edx
jne 0x1006bc46
cmp dword [ebp + 0xc], 0
jne 0x1006bc74
jmp 0x1006bd15
cmp dword [ebp + 8], 0
jne 0x1006bc8e
push 0xf3
push str.filecore.cpp
call fcn.100b0670
test eax, eax
je 0x1006bc8e
int3
xor eax, eax
test eax, eax
jne 0x1006bc74
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10050d26
test eax, eax
jne 0x1006bcbb
push 0xf4
push str.filecore.cpp
call fcn.100b0670
test eax, eax
je 0x1006bcbb
int3
xor eax, eax
test eax, eax
jne 0x1006bc94
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1006bcf8
mov ecx, dword [ebp - 8]
add ecx, 0xc
call fcn.100acc14
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1006e870
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x1006bd15
mov ecx, dword [ebp - 8]
add ecx, 0xc
call fcn.100acc14
push eax
push 0xffffffffffffffff
push 0xd
call fcn.1006ea50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1006c45c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
push 0x100f62a4
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1006c532
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1006c528
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
push str.InProcServer32
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1006c51e
push 0x104
mov ecx, dword [ebp + 0xc]
call fcn.1006a88b
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0x208
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
push 0x10107d44
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.1006a9c7
xor ecx, ecx
cmp dword [ebp - 0x18], 0
sete cl
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x1006c53b
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x2cc], 0
mov eax, dword [ebp + 0x10]
mov word [eax], 0
push 0x800
push 0x2b4
lea ecx, [ebp - 0x2c8]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x1006c59e
mov eax, dword [ebp - 0x2c0]
and eax, 0x10000
test eax, eax
jne 0x1006c5a5
xor eax, eax
jmp 0x1006c66b
lea ecx, [ebp - 0x14]
push ecx
push 0x100db318
push 0
push 0x100db328
lea ecx, [ebp - 4]
call fcn.1006c1d7
test eax, eax
jge 0x1006c5c8
xor eax, eax
jmp 0x1006c66b
lea edx, [ebp - 0x10]
push edx
push 0x100e3ed8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
call dword [ecx]
test eax, eax
jl 0x1006c65d
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.10018ac0
add esp, 4
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
call dword [edx + 0x14]
test eax, eax
jl 0x1006c651
push 2
mov ecx, dword [ebp + 8]
call fcn.100b126c
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
call dword [edx + 0x4c]
test eax, eax
jl 0x1006c651
push 0
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
call dword [ecx + 8]
mov eax, 1
jmp 0x1006c66b
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
call dword [ecx + 8]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10