joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10068190
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009e13a
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.10067fb0
xor esi, esi
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
sar eax, 2
cmp eax, esi
jbe 0x10068216
mov edi, dword [ebx]
cmp esi, eax
jb 0x100681e6
call fcn.100759ec
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x1006823c
mov edx, dword [esp + 0x18]
mov eax, dword [edx + esi*4]
push edi
push eax
call fcn.10075d21
add esp, 8
test eax, eax
je 0x10068246
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
inc esi
sar eax, 2
cmp esi, eax
jb 0x100681db
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
push ecx
call fcn.100034a0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002030
mov dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0xc]
push eax
call fcn.100034a0
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1006a630
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push 0xffffffffffffffff
push 0x1009ec24
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov ebx, 1
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x14]
push eax
push 0x100b0150
push ebx
push 0
push 0x100b0074
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x1006a6c1
mov dword [esp + 0x10], 0
mov byte [esp + 0x24], 3
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x30]
push 0x100b0140
push ecx
push eax
call edx
mov esi, eax
test esi, esi
jge 0x1006a6d3
mov byte [esp + 0x24], bl
lea eax, [esp + 0x10]
push eax
call fcn.1005ee00
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x14]
push ecx
jmp 0x1006a751
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov esi, eax
test esi, esi
jl 0x1006a6b3
xor edx, edx
xor edi, edi
cmp dx, word [esp + 0x18]
jae 0x1006a71f
lea ecx, [ecx]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push 0
push eax
call edx
mov esi, eax
test esi, esi
jl 0x1006a736
movzx eax, word [esp + 0x18]
add edi, ebx
cmp edi, eax
jl 0x1006a700
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
push eax
call fcn.1006a0f0
add esp, 4
mov esi, eax
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x10]
push ecx
call fcn.1005ee00
mov dword [esp + 0x24], 0xffffffff
lea edx, [esp + 0x14]
push edx
call fcn.1005ee00
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x1006a8c0
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push 0xffffffffffffffff
push 0x1009ef2c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov esi, ecx
push esi
call fcn.1006a770
add esp, 4
test eax, eax
je 0x1006a917
push ebp
push ebx
push esi
call fcn.1006a630
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 1
lea eax, [esp + 0x10]
push eax
push 0x100b0150
push 1
push 0
push 0x100b0074
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jge 0x1006a96d
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x10]
push ecx
call fcn.1005ee00
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
lea edx, [esp + 0x14]
push edx
call fcn.1002bcf0
mov byte [esp + 0x20], 2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x100b0140
push 0x100b0064
push esi
push eax
mov eax, dword [ecx + 0x20]
call eax
mov esi, eax
test esi, esi
jge 0x1006a9bc
mov byte [esp + 0x20], 1
lea ecx, [esp + 0x14]
push ecx
call fcn.1005ee00
mov dword [esp + 0x20], 0xffffffff
lea edx, [esp + 0x10]
push edx
jmp 0x1006a9e9
mov ecx, dword [esp + 0x14]
push ebx
mov edx, ebp
call fcn.1006a0f0
add esp, 4
mov esi, eax
mov byte [esp + 0x20], 1
lea eax, [esp + 0x14]
push eax
call fcn.1005ee00
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x10]
push ecx
call fcn.1005ee00
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
Function at 0x1006b070
Capabilities:
Check if file exists
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096499
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006b0eb
push 0x100acf58
mov ebx, dword [ebp + 0xc]
call fcn.1002b3c0
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.100025b0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
call fcn.1006b270
mov dword [ebp - 0x20], eax
cmp eax, esi
jne 0x1006b109
push 0x100acf58
mov ebx, dword [ebp + 0xc]
call fcn.1002b3c0
jmp 0x1006b0c2
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 2
push esi
push esi
push 3
push esi
push 1
push SysReAllocStringLen
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, 0xffffffff
je 0x1006b21e
push esi
lea edx, [ebp - 0x24]
push edx
push 0xc
lea eax, [ebp - 0x30]
push eax
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
call ebx
test eax, eax
je 0x1006b217
push esi
push esi
mov ecx, dword [ebp - 0x30]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1006b217
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
cmp eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
je 0x1006b17d
cmp eax, dword [ebp - 0x20]
jae 0x1006b217
cmp eax, esi
jbe 0x1006b217
push eax
call fcn.10074adf
mov esi, eax
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x28]
push ecx
push 0
push esi
call fcn.10079c60
add esp, 0x10
push 0
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
push esi
push edi
call ebx
test eax, eax
je 0x1006b20e
xor ebx, ebx
cmp dword [ebp - 0x28], ebx
jbe 0x1006b20e
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
mov eax, ebx
xor edx, edx
div ecx
mov edi, edx
mov eax, dword [ebp + 8]
call fcn.100160c0
mov dl, byte [eax]
xor byte [ebx + esi], dl
inc ebx
cmp ebx, dword [ebp - 0x28]
jb 0x1006b1b8
test ebx, ebx
jbe 0x1006b20b
cmp byte [ebx + esi - 1], 0
jne 0x1006b20b
mov byte [ebp - 4], 3
mov ebx, esi
lea ecx, [ebp - 0x1c]
call fcn.1006af40
mov dword [ebp - 4], 2
jmp 0x1006b20b
mov edi, dword [ebp - 0x14]
push esi
call fcn.10076993
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
test eax, eax
je 0x1006b234
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 1
lea edi, [ebp - 0x1c]
call fcn.10021420
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.100025b0
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 0xc
Function at 0x1006c400
Capabilities:
Check os version

Disassembly:
sub esp, 0x148
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x144], eax
push esi
mov dword [0x100c780c], 0
mov dword [0x100c7824], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x100a8750
push str.kernel32.dll
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006c470
lea ecx, [esp + 4]
push ecx
push esi
mov dword [esp + 0xc], 0
call eax
test eax, eax
jne 0x1006c467
mov eax, 2
jmp 0x1006c470
xor eax, eax
cmp dword [esp + 4], eax
setne al
push 0x118
lea edx, [esp + 0x34]
push 0
push edx
mov dword [0x100c7830], eax
mov dword [esp + 0x38], 0x11c
call fcn.10079c60
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [0x100c7810], eax
mov dword [0x100c7814], ecx
mov dword [0x100c7818], edx
pop esi
cmp eax, 5
jne 0x1006c4d3
test ecx, ecx
jle 0x1006c522
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [0x100c780c], eax
jmp 0x1006c522
mov edx, 6
cmp eax, edx
jne 0x1006c51a
cmp byte [esp + 0x142], 1
jne 0x1006c50e
test ecx, ecx
jne 0x1006c4f6
mov dword [0x100c780c], 3
jmp 0x1006c522
cmp ecx, 1
jne 0x1006c507
mov dword [0x100c780c], 5
jmp 0x1006c522
cmp ecx, 2
jl 0x1006c522
jmp 0x1006c51c
mov dword [0x100c780c], 4
jmp 0x1006c522
jle 0x1006c522
mov dword [0x100c780c], edx
movzx ecx, word [esp + 0x13c]
movzx edx, word [esp + 0x13e]
xor eax, eax
mov dword [0x100c781c], ecx
mov ecx, dword [esp + 0x144]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [0x100c7828], eax
mov dword [0x100c782c], eax
xor ecx, esp
mov dword [0x100c7820], edx
mov eax, 0x100c780c
call fcn.100755ed
add esp, 0x148
ret
Function at 0x1006c900
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009b266
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006c94f
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.10002500
mov dword [esp + 0x40], 0
lea edi, [esp + 0x10]
call fcn.1000fb30
mov ecx, edi
push ecx
lea edx, [esp + 0x1c]
lea esi, [ebx + 0x18]
push edx
call fcn.10064310
mov eax, dword [esi + 0x18]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esi]
test edi, edi
je 0x1006c99b
cmp edi, eax
je 0x1006c9a0
call fcn.100759ec
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x28]
jne 0x1006cab6
push 0x100c49e4
push 0x10
call fcn.10075b5a
add esp, 8
mov dword [esp + 0x14], eax
mov byte [esp + 0x40], 1
test eax, eax
je 0x1006c9dc
mov edx, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x38]
push edx
push ecx
push eax
call fcn.1006cf70
mov ebx, eax
jmp 0x1006c9de
xor ebx, ebx
mov byte [esp + 0x40], 0
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x1006ca6a
mov edi, dword [ebp + 0xc]
mov eax, ebx
call fcn.1006d060
push ebx
test eax, eax
je 0x1006ca9e
push ecx
mov edx, esp
mov dword [esp + 0x20], esp
lea eax, [esp + 0x18]
push eax
push edx
call fcn.100024a0
mov byte [esp + 0x48], 2
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x4c], 0
call fcn.1006cea0
add esp, 0xc
mov byte [esp + 0x40], 3
lea edx, [esp + 0x24]
push edx
mov edi, eax
call fcn.1006cde0
mov byte [esp + 0x40], 4
lea eax, [esp + 0x24]
push eax
push esi
lea ebx, [esp + 0x20]
call fcn.100641e0
mov byte [esp + 0x40], 3
lea ecx, [esp + 0x24]
push ecx
call fcn.10062940
mov byte [esp + 0x40], 0
lea edx, [esp + 0x2c]
push edx
call fcn.10062940
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.100025b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.1006cff0
push ebx
call fcn.100755e2
add esp, 4
mov dword [esp + 0x14], 0
jmp 0x1006ca6a
test edi, edi
jne 0x1006cada
call fcn.100759ec
mov eax, dword [esp + 0x1c]
cmp eax, dword [edi + 0x18]
jne 0x1006cacd
call fcn.100759ec
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x14], edx
jmp 0x1006ca6d
mov edi, dword [edi]
jmp 0x1006cabf
Function at 0x1006d310
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1009b1fd
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebp
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x23c]
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x26]
mov dword [esp + 0x18], 0
push ecx
mov dword [esp + 0x20], ebp
mov word [esp + 0x28], ax
call fcn.10079c60
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x1006d432
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
call fcn.10002500
mov dword [esp + 0x234], 1
mov eax, str.360safe_softmgr_
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1006d3b5
sub eax, edx
sar eax, 1
push eax
push str.360safe_softmgr_
lea ecx, [esp + 0x14]
push ecx
call fcn.100039a0
mov edx, dword [esp + 0xc]
push 0
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test esi, esi
je 0x1006d40c
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1006d3f0
sub eax, edx
sar eax, 1
je 0x1006d40c
mov edx, esi
lea edi, [esp + 0xc]
call fcn.100033f0
lea eax, [esp + 0xc]
push eax
push ebp
call fcn.100024a0
mov dword [esp + 0x10], 1
mov byte [esp + 0x234], 0
lea ecx, [esp + 0xc]
call fcn.100025b0
jmp 0x1006d450
push ebp
mov ecx, 0x100a6f30
call fcn.10002500
mov dword [esp + 0x234], 0
mov dword [esp + 0x10], 1
mov eax, ebp
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.100755ed
add esp, 0x22c
ret

Function at 0x1006dd00
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.10071b10
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.10071bb0
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.100755ed
add esp, 0x68
ret
Function at 0x1006de90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, eax
lea eax, [esp + 0x18]
push eax
push 0x20119
xor edi, edi
push edi
push 0x100b02c4
push reloc.OLEAUT32.dll_SysReAllocString
mov ebx, ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1006e021
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esi + 0x10], eax
push ebx
mov dword [esi + 0x14], eax
lea edx, [esp + 0x1c]
push edx
mov dword [esi + 0x18], eax
push eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x28]
push str.Operator
mov edi, 0x400
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1006df23
cmp dword [esp + 0x14], 1
jne 0x1006e008
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi], ebx
lea ebx, [eax + ebx]
je 0x1006e008
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.IssueDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x1006df68
cmp dword [esp + 0x14], 1
jne 0x1006e008
mov eax, dword [esp + 0x10]
mov dword [esi + 4], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x1006e008
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.ExpirationDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x1006df9f
cmp dword [esp + 0x14], 1
jne 0x1006e008
mov eax, dword [esp + 0x10]
mov dword [esi + 8], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x1006e008
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.SignData
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x1006e008
cmp dword [esp + 0x14], 3
jne 0x1006e008
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
je 0x1006e008
lea eax, [esi + 0xc]
call fcn.1006dd70
test eax, eax
je 0x1006e008
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, 0x400
sub ecx, edi
push eax
mov dword [edx], ecx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x1006e430
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x6c
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
lea eax, [esp + 8]
mov esi, edx
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.10070650
add esp, 8
test eax, eax
jne 0x1006e49b
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.100755ed
add esp, 0x6c
ret
mov eax, dword [esp + 0x74]
test eax, eax
jbe 0x1006e4b0
push esi
lea ecx, [esp + 0x14]
call fcn.10071b10
add esp, 4
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.10071bb0
test edi, edi
je 0x1006e4ce
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, dword [esp + 8]
sete al
mov dword [edi], eax
mov ecx, dword [esp + 0x6c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.100755ed
add esp, 0x6c
ret

Function at 0x1006e530
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x5c], eax
xor eax, eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push edi
lea eax, [esp + 8]
mov edi, ecx
push eax
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.10070850
add esp, 4
test eax, eax
jne 0x1006e58e
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100755ed
add esp, 0x64
ret
lea esi, [esp + 8]
mov ecx, ebx
call fcn.10071bb0
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.100755ed
add esp, 0x64
ret

Function at 0x1006e5b0
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0x6a09e667
mov dword [esp + 0x14], 0xbb67ae85
mov dword [esp + 0x18], 0x3c6ef372
mov dword [esp + 0x1c], 0xa54ff53a
mov dword [esp + 0x20], 0x510e527f
mov dword [esp + 0x24], 0x9b05688c
mov dword [esp + 0x28], 0x1f83d9ab
mov dword [esp + 0x2c], 0x5be0cd19
call fcn.10070940
add esp, 8
test eax, eax
jne 0x1006e62f
pop edi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.100755ed
add esp, 0x74
ret
mov eax, esi
lea edi, [esp + 8]
call fcn.10071700
mov ecx, dword [esp + 0x74]
pop edi
xor ecx, esp
mov eax, 1
call fcn.100755ed
add esp, 0x74
ret

Function at 0x1006efa0
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1006efd2
push str.ReadFile__
push 0xfc
push str..QHImageHlp.c
xor edx, edx
call fcn.100729f0
add esp, 0xc
xor eax, eax
pop ecx
ret
cmp esi, dword [esp]
je 0x1006eff7
push 0x100b0458
push 0xfe
push str..QHImageHlp.c
mov edx, 1
call fcn.10072b20
add esp, 0xc
xor eax, eax
pop ecx
ret
mov eax, 1
pop ecx
ret
Function at 0x100704c0
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, eax
mov eax, dword [esi]
mov edi, dword [esi + 0x18]
lea ecx, [esp + 0x10]
push ecx
xor ebp, ebp
push eax
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor edx, edx
test eax, eax
jne 0x1007050d
push str.GetFileSizeEx__
push 0x11e
push str..QHImageHlp.c
call fcn.100729f0
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0xb4]
sub ebx, edi
mov edi, dword [esp + 0x14]
sbb edi, edx
sub ebx, 0x298
sbb edi, ebp
xor eax, eax
cmp edi, eax
jl 0x100705a4
jg 0x10070533
cmp ebx, ecx
jb 0x100705a4
mov ebp, dword [esi]
push 0
push 0
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x10070569
push str.SetFilePointerEx__
push 0xf9
push str..QHImageHlp.c
xor edx, edx
call fcn.100729f0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
mov esi, 0x298
mov edx, ebp
call fcn.1006efa0
test eax, eax
je 0x1007055f
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1007058a
mov dword [eax], ebx
mov dword [eax + 4], edi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100705b1
mov ecx, 1
mov word [eax], cx
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x100705b1
xor edx, edx
mov word [eax], dx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x10070e60
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x1c
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push ebp
xor ebp, ebp
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
cmp eax, ebp
je 0x10070fa0
cmp dword [esp + 0x28], ebp
je 0x10070fa0
push edi
push 0x2800
call fcn.100774c5
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x10070ec3
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.100755ed
add esp, 0x1c
ret
push ebx
push esi
xor ebx, ebx
jmp 0x10070ed0
push ebx
push str..PhysicalDrive_d
push 0x2800
call fcn.1006ee70
add esp, 0xc
push ebp
push 0x80
push 3
push ebp
push 3
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10070f76
xor eax, eax
push 0x2800
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.10079c60
add esp, 0xc
push ebp
lea eax, [esp + 0x18]
push eax
push 0x2800
push edi
push 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10070f69
mov eax, dword [edi + 0x18]
cmp eax, ebp
jbe 0x10070f69
mov edx, dword [esp + 0x18]
add eax, edi
push eax
mov eax, dword [esp + 0x38]
push edx
push str.DISKID:
call fcn.10070c10
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebp
jne 0x10070f80
inc ebx
cmp ebx, 0x10
jl 0x10070ed0
push edi
call fcn.100773e8
mov eax, dword [esp + 0x14]
add esp, 4
pop esi
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.100755ed
add esp, 0x1c
ret
mov ecx, dword [esp + 0x1c]
pop ebp
xor ecx, esp
or eax, 0xffffffff
call fcn.100755ed
add esp, 0x1c
ret