joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008c30
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x1003f058
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1004e060]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x28]
push edi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x18], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 4]
add esi, 8
push ecx
mov ecx, esi
call fcn.1000b420
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov esi, dword [esi + 0x18]
push str.Softwareprojonepodlpprocmgrcache
push 0x80000002
mov dword [esi + 8], esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x10008cc0
Capabilities:
Create thread

Disassembly:
mov eax, 0x1010
call fcn.10034030
mov eax, dword [0x1004e060]
xor eax, esp
mov dword [esp + 0x1008], eax
push esi
mov esi, ecx
mov byte [esi + 5], 1
call fcn.10008c30
push 0x1000aa90
call fcn.10010d50
cmp byte [esi + 4], 0
jne 0x10008d60
push str.ProcUpdateThread
push 0x2a
push str..procaudit.cpp
push str._s._d:_s
lea eax, [esp + 0x18]
push 0x800
push eax
mov byte [esi + 4], 1
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x18
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x1000ac30
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10008d59
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
push str.thread__d_created:__s
call fcn.10019ce0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x100c]
pop esi
xor ecx, esp
mov al, 1
call fcn.100283ef
add esp, 0x1010
ret

Function at 0x10008d80
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov eax, dword [0x1004e060]
xor eax, esp
mov dword [esp + 0x100], eax
cmp dword [ebx + 0x18], 8
push edi
lea edi, [ebx + 4]
jb 0x10008da2
mov eax, dword [edi]
jmp 0x10008da4
mov eax, edi
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
call fcn.1000c7b0
pop esi
test eax, eax
je 0x10008dd0
xor al, al
pop edi
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.100283ef
add esp, 0x104
ret
push 0x80
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebx + 0x18], 8
jb 0x10008de8
mov edi, dword [edi]
test edi, edi
je 0x10008e13
cmp word [esp + 4], 0
je 0x10008e13
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
neg eax
sbb eax, eax
inc eax
jmp 0x10008e15
xor eax, eax
xor ecx, ecx
cmp eax, 1
sete cl
mov al, cl
mov ecx, dword [esp + 0x104]
pop edi
xor ecx, esp
call fcn.100283ef
add esp, 0x104
ret
Function at 0x100091d0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x1003e618
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1004e060]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
push edi
mov eax, dword [0x1004e060]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0x30], cx
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
call fcn.10001e40
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x2c]
mov edi, 8
cmp dword [esp + 0x40], edi
jae 0x10009242
lea eax, [esp + 0x2c]
push eax
push str.Softwareprojonepodlpprocmgr_
push str._lscache_ls
lea esi, [esp + 0x18]
call fcn.10018acf
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [esp + 0x24], edi
jae 0x10009267
lea eax, [esp + 0x10]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [esp + 0x24], edi
jb 0x10009286
mov edx, dword [esp + 0x10]
push edx
call fcn.1002889e
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
cmp dword [esp + 0x40], edi
jb 0x100092b0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.1002889e
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100283ef
add esp, 0x48
ret 4
Function at 0x10009940
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x4c
mov eax, dword [0x1004e060]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
xor ebp, ebp
push edi
lea ebx, [esp + 0x14]
mov edi, ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
call fcn.100098a0
test al, al
jne 0x1000997a
push 0x10044738
call fcn.10019f9c
jmp 0x10009aee
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebp
push str.bootStart
push str.Softwareprojonepodlpprocmgr_
mov ebx, 8
push 0x80000002
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x4c], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 0x1c], ebp
je 0x10009a75
mov esi, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
xor eax, eax
xor edx, edx
lea ecx, [esp + 0x38]
mov word [esp + 0x38], dx
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov dword [esp + 0x4a], eax
mov word [esp + 0x4e], ax
mov word [esp + 0x2c], ax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov word [esp + 0x3a], ax
call esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
call esi
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
call fcn.10017eef
cmp edx, 0xffffffff
jl 0x10009a63
jg 0x10009a56
cmp eax, 0xfffff448
jb 0x10009a63
cmp edx, ebp
jl 0x10009a75
jg 0x10009a63
cmp eax, 0xbb8
jbe 0x10009a75
push 0x10044764
call fcn.1001a0fa
add esp, 4
call fcn.100095d0
mov ecx, edi
call fcn.10008c30
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push ebx
lea edx, [esp + 0x18]
push edx
push 3
push str.bootStart
push str.Softwareprojonepodlpprocmgr_
push 0x80000002
call edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
call fcn.10009b10
cmp dword [eax + 0x18], ebx
jb 0x10009ab3
mov esi, dword [eax + 4]
jmp 0x10009ab6
lea esi, [eax + 4]
cmp esi, ebp
je 0x10009ac3
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x10009ac5
xor eax, eax
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push str.bootStartStr
push str.Softwareprojonepodlpprocmgr_
push 0x80000002
call edi
cmp dword [esp + 0x50], ebx
jb 0x10009af1
mov edx, dword [esp + 0x3c]
push edx
call fcn.1002889e
add esp, 4
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100283ef
add esp, 0x4c
ret
Function at 0x1000a310
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push 0xffffffffffffffff
push 0x1003e588
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1004e060]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
push esi
push edi
mov eax, dword [0x1004e060]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 0xd0]
mov esi, dword [eax + 0xcc]
xor ebp, ebp
xor ecx, ecx
or edx, ebp
xor edi, edi
mov ebp, 8
or ecx, esi
mov dword [esp + 0x10], edi
cmp dword [eax + 0x54], ebp
jb 0x1000a36e
mov esi, dword [eax + 0x40]
jmp 0x1000a371
lea esi, [eax + 0x40]
mov eax, dword [eax + 0x1c]
push edx
push ecx
push esi
push eax
push str._d__ls__lld
lea esi, [esp + 0x28]
call fcn.10018acf
add esp, 0x14
mov dword [esp + 0x3c], edi
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x1000a39b
lea esi, [esp + 0x18]
mov edx, dword [esp + 0x28]
add edx, edx
xor ecx, ecx
cmp edx, edi
mov eax, 0xff11abcd
jle 0x1000a3cd
lea esp, [esp]
movzx edi, byte [esi + ecx]
movzx ebp, al
xor edi, ebp
shr eax, 8
xor eax, dword [edi*4 + 0x10050268]
inc ecx
cmp ecx, edx
jl 0x1000a3b0
mov ebp, 8
not eax
push eax
push str._08x
mov esi, ebx
call fcn.10018acf
add esp, 8
cmp dword [esp + 0x2c], ebp
jb 0x1000a3f2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.1002889e
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100283ef
add esp, 0x30
ret 4
Function at 0x1000a880
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x1003e548
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x1004e060]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebp
push esi
push edi
mov eax, dword [0x1004e060]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
xor eax, eax
lea ecx, [esp + 0x24]
xor esi, esi
push ecx
mov word [esp + 0x28], ax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov word [esp + 0x36], ax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebx + 0x28]
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x98], esi
mov eax, dword [ebx + 0x20]
mov edi, dword [eax]
mov esi, dword [ebx + 8]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
lea ecx, [ecx]
mov ebp, dword [ebx + 0x20]
mov eax, dword [ebx + 8]
test esi, esi
je 0x1000a92e
cmp esi, eax
je 0x1000a933
call fcn.10028864
cmp edi, ebp
je 0x1000aa5c
test esi, esi
jne 0x1000aa55
call fcn.10028864
cmp edi, dword [esi + 0x18]
jne 0x1000a952
call fcn.10028864
mov ecx, dword [esp + 0x18]
add edi, 0x10
lea ebp, [edi + 0xd4]
xor eax, eax
mov dword [ebp], ecx
mov edx, dword [esp + 0x1c]
mov word [esp + 0x38], ax
push 0x1f
mov eax, str.Softwareprojonepodlpprocmgr_
lea esi, [esp + 0x38]
mov dword [ebp + 4], edx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
call fcn.100023a0
mov ecx, esi
push ecx
lea esi, [esp + 0x58]
mov byte [esp + 0x9c], 1
call fcn.1000bd20
push edi
push eax
lea edi, [esp + 0x7c]
mov byte [esp + 0xa4], 2
call fcn.1000bde0
mov esi, 8
add esp, 0xc
cmp dword [esp + 0x6c], esi
jb 0x1000a9d2
mov edx, dword [esp + 0x58]
push edx
call fcn.1002889e
add esp, 4
xor eax, eax
mov byte [esp + 0x98], al
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
cmp dword [esp + 0x4c], esi
jb 0x1000aa03
mov ecx, dword [esp + 0x38]
push ecx
call fcn.1002889e
add esp, 4
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], esi
jae 0x1000aa14
lea eax, [esp + 0x74]
push esi
push ebp
push 3
push str.aliveTime
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [esp + 0x88], esi
jb 0x1000aa3f
mov edx, dword [esp + 0x74]
push edx
call fcn.1002889e
add esp, 4
lea esi, [esp + 0x10]
call fcn.1000bb30
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
jmp 0x1000a920
mov esi, dword [esi]
jmp 0x1000a948
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.100283ef
add esp, 0x8c
ret
Function at 0x1000bd20
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x1003e498
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x1004e060]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.10001e40
mov eax, str.cache_
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000bd80
sub eax, edx
sar eax, 1
push eax
mov eax, str.cache_
lea ecx, [esp + 0x10]
call fcn.1000bee0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.10001e40
cmp dword [esp + 0x24], 8
jb 0x1000bdcc
mov edx, dword [esp + 0x10]
push edx
call fcn.1002889e
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x1000c2c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100404c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x1004e060]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x30], ebx
and dword [esp + 0x14], 0xfffffe00
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea eax, [esp + 0xc]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0xffffffffffffffff
mov byte [esp + 0x54], 2
push ebx
lea edx, [esp + 0x64]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.10001ce0
mov eax, dword [esp + 0x58]
push eax
call fcn.1000bfc0
add esp, 0x24
cmp al, bl
je 0x1000c3b5
cmp byte [esp + 0x14], 7
jne 0x1000c3b5
push str.value_number
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x10044b6c
call fcn.1001decf
mov ecx, eax
call fcn.1001e2d3
test al, al
je 0x1000c3b5
push str.value_number
lea eax, [esp + 0x10]
push eax
mov ecx, 0x10044b6c
call fcn.1001decf
mov esi, eax
call fcn.1001d4ee
lea esi, [esp + 0xc]
mov dword [edi], eax
mov byte [esp + 0x30], bl
call fcn.1001d289
cmp dword [esp + 0x54], 0x10
jb 0x1000c3a1
mov ecx, dword [esp + 0x40]
push ecx
call fcn.1002889e
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
lea esi, [esp + 0xc]
mov byte [esp + 0x30], bl
call fcn.1001d289
cmp dword [esp + 0x54], 0x10
jb 0x1000c3d6
mov edx, dword [esp + 0x40]
push edx
call fcn.1002889e
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x1000e100
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x10040b38
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x1004e060]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
cmp dword [edi + 0x20], 8
jb 0x1000e12f
mov eax, dword [edi + 0xc]
jmp 0x1000e132
lea eax, [edi + 0xc]
push eax
mov eax, dword [edi]
push eax
push 0x100451bc
call fcn.10019e3e
mov ecx, dword [edi]
add esp, 0xc
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0
test esi, esi
je 0x1000e197
cmp esi, 0xffffffff
je 0x1000e197
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1000e197
push edi
call fcn.1000dac0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.TerminateProcess_Error:_d
call fcn.10019f9c
add esp, 8
cmp esi, 0xffffffff
je 0x1000e1bb
test esi, esi
je 0x1000e1bb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x1000e5e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push 0xffffffffffffffff
push 0x1003e408
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1004e060]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004e060]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
xor ebp, ebp
mov ecx, 0x10
mov dword [esp + 0x18], ebp
cmp dword [eax + 0x58], ecx
jb 0x1000e633
mov edi, dword [eax + 0x44]
jmp 0x1000e636
lea edi, [eax + 0x44]
cmp dword [eax + 0xc8], ecx
jb 0x1000e646
mov esi, dword [eax + 0xb4]
jmp 0x1000e64c
lea esi, [eax + 0xb4]
mov ebx, 8
cmp dword [eax + 0x90], ebx
jb 0x1000e65e
mov edx, dword [eax + 0x7c]
jmp 0x1000e661
lea edx, [eax + 0x7c]
cmp dword [eax + 0x74], ebx
jb 0x1000e66b
mov ecx, dword [eax + 0x60]
jmp 0x1000e66e
lea ecx, [eax + 0x60]
cmp dword [eax + 0x20], ebx
jb 0x1000e678
mov eax, dword [eax + 0xc]
jmp 0x1000e67b
add eax, 0xc
push edi
push esi
push edx
push ecx
push eax
push str._ls__ls__ls__ls__ls
lea esi, [esp + 0x34]
call fcn.10018acf
add esp, 0x18
mov dword [esp + 0x44], ebp
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x34], ebx
jae 0x1000e6a3
lea esi, [esp + 0x20]
mov edx, dword [esp + 0x30]
add edx, edx
xor ecx, ecx
cmp edx, ebp
mov eax, 0xff1122aa
jle 0x1000e6cc
movzx edi, byte [esi + ecx]
movzx ebp, al
xor edi, ebp
shr eax, 8
xor eax, dword [edi*4 + 0x10050268]
inc ecx
cmp ecx, edx
jl 0x1000e6b4
mov esi, dword [esp + 0x14]
not eax
push eax
push str._08x
call fcn.10018acf
add esp, 8
cmp dword [esp + 0x34], ebx
jb 0x1000e6f3
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1002889e
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.100283ef
add esp, 0x34
ret 8
Function at 0x10010a50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d363
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1004e060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 4], edi
push 0x18
mov byte [ebp - 4], 1
call fcn.10028992
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, edi
je 0x10010ac2
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
jne 0x10010aa7
mov dword [esi + 0x10], edi
jmp 0x10010ac4
mov edx, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
mov eax, dword [edx]
jne 0x10010aba
push esi
call eax
mov dword [esi + 0x10], eax
jmp 0x10010ac4
push edi
call eax
mov dword [esi + 0x10], eax
jmp 0x10010ac4
xor esi, esi
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
push ecx
push edx
push esi
push 0x10010b40
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x18]
mov esi, eax
cmp ecx, edi
je 0x10010afd
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [ebp + 8]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10015ee0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1003dbf6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1004e060]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.SqliteOperator.0
xor eax, eax
mov dword [esi + 0x24], eax
mov edx, 0xf
mov dword [esi + 0x28], edx
mov byte [esi + 0x14], al
mov ecx, vtable.std::mstring.0
mov dword [esi + 0xc], ecx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esp + 0x14], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x54], edx
mov dword [esi + 0x50], eax
mov byte [esi + 0x40], al
mov dword [esi + 0x38], ecx
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
lea eax, [esi + 0x60]
push eax
mov byte [esp + 0x18], 1
call fcn.10016990
cmp dword [edi + 0x1c], 0x10
jb 0x10015f5e
mov edi, dword [edi + 8]
jmp 0x10015f61
add edi, 8
lea ecx, [esi + 8]
push ecx
push edi
call sub.sqlcipher32.dll_sqlite3_open
add esp, 8
test eax, eax
sete dl
mov byte [esi + 4], dl
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x100179c1
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2038
call fcn.10034030
mov eax, dword [0x1004e060]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x201c], eax
mov dword [ebp - 0x2020], ebx
cmp edi, ebx
je 0x10017b9f
cmp eax, ebx
je 0x10017b9f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10017a19
mov dword [ebp - 0x2020], 1
jmp 0x10017b9f
push ebx
push ebx
push 3
push ebx
push ebx
mov esi, 0x80000000
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
call edi
push ebx
push ebx
push 3
push ebx
push ebx
push esi
push dword [ebp - 0x201c]
mov dword [ebp - 0x2010], eax
call edi
mov esi, dword [ebp - 0x2010]
mov dword [ebp - 0x2014], eax
cmp esi, ebx
je 0x10017b89
cmp esi, 0xffffffff
je 0x10017b89
cmp eax, ebx
je 0x10017b89
cmp eax, 0xffffffff
je 0x10017b89
xor eax, eax
mov dword [ebp - 0x2034], ebx
lea edi, [ebp - 0x2030]
stosd dword es:[edi], eax
mov dword [ebp - 0x202c], ebx
lea edi, [ebp - 0x2028]
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
lea eax, [ebp - 0x2034]
push eax
push esi
call edi
test eax, eax
je 0x10017b89
lea eax, [ebp - 0x202c]
push eax
push dword [ebp - 0x2014]
call edi
test eax, eax
je 0x10017b89
mov eax, dword [ebp - 0x2034]
cmp eax, dword [ebp - 0x202c]
jne 0x10017b89
mov eax, dword [ebp - 0x2030]
cmp eax, dword [ebp - 0x2028]
jne 0x10017b89
push ebx
lea eax, [ebp - 0x2018]
push eax
push 0x1000
lea eax, [ebp - 0x200c]
push eax
mov dword [ebp - 0x2018], ebx
push esi
jmp 0x10017b73
cmp dword [ebp - 0x2018], ebx
je 0x10017b7f
push ebx
lea eax, [ebp - 0x201c]
push eax
push dword [ebp - 0x2018]
lea eax, [ebp - 0x100c]
push eax
push dword [ebp - 0x2014]
mov dword [ebp - 0x201c], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10017b89
mov ecx, dword [ebp - 0x2018]
cmp ecx, dword [ebp - 0x201c]
jne 0x10017b89
lea edi, [ebp - 0x100c]
lea esi, [ebp - 0x200c]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10017b55
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x10017b89
push ebx
lea eax, [ebp - 0x2018]
push eax
push 0x1000
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 0x2010]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10017afd
jmp 0x10017b89
mov dword [ebp - 0x2020], 1
lea ecx, [ebp - 0x2014]
call fcn.100089e0
lea ecx, [ebp - 0x2010]
call fcn.100089e0
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x2020]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100283ef
leave
ret 4

Function at 0x10017c5f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x10017c87
push esi
mov edx, dword [esp + 8]
movzx edx, byte [ecx + edx]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10050268]
inc ecx
cmp ecx, dword [esp + 0xc]
jl 0x10017c68
pop esi
not eax
ret 8