joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140099fd0
Capabilities:
Enumerate processes

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x2d8
mov qword [rsp + 0x2a8], 0xfffffffffffffffe
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140099f50
nop
lea rcx, [rsp + 0x30]
call fcn.140099fc0
test rax, rax
jne 0x14009a075
lea rcx, [rsp + 0x30]
call fcn.140099fc0
test rax, rax
je 0x14009a046
mov dword [rsp + 0x2b0], 1
jmp 0x14009a051
mov dword [rsp + 0x2b0], 0
mov eax, dword [rsp + 0x2b0]
mov dword [rsp + 0x298], eax
lea rcx, [rsp + 0x30]
call fcn.140099f80
mov eax, dword [rsp + 0x298]
jmp 0x14009a252
xor eax, eax
test eax, eax
jne 0x14009a01b
mov dword [rsp + 0x50], 0x238
lea rcx, [rsp + 0x30]
call fcn.140099fc0
lea rdx, [rsp + 0x50]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
mov dword [rsp + 0x290], eax
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x290], 0
je 0x14009a126
lea rdx, [rsp + 0x7c]
lea rcx, [0x1400f4238]
call fcn.1400af0e8
test eax, eax
jne 0x14009a106
mov dword [rsp + 0x294], 0
lea rdx, [rsp + 0x294]
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov dword [rsp + 0x294], eax
mov eax, dword [rsp + 0x2e8]
cmp dword [rsp + 0x294], eax
jne 0x14009a106
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x40], eax
jmp 0x14009a126
lea rcx, [rsp + 0x30]
call fcn.140099fc0
lea rdx, [rsp + 0x50]
mov rcx, rax
call sub.KERNEL32.dll_Process32NextW
mov dword [rsp + 0x290], eax
jmp 0x14009a0a9
cmp dword [rsp + 0x40], 0
jne 0x14009a170
cmp dword [rsp + 0x40], 0
je 0x14009a141
mov dword [rsp + 0x2b4], 1
jmp 0x14009a14c
mov dword [rsp + 0x2b4], 0
mov eax, dword [rsp + 0x2b4]
mov dword [rsp + 0x29c], eax
lea rcx, [rsp + 0x30]
call fcn.140099f80
mov eax, dword [rsp + 0x29c]
jmp 0x14009a252
xor eax, eax
test eax, eax
jne 0x14009a126
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140099f50
nop
lea rcx, [rsp + 0x20]
call fcn.140099fc0
test rax, rax
jne 0x14009a1fb
lea rcx, [rsp + 0x20]
call fcn.140099fc0
test rax, rax
je 0x14009a1c4
mov dword [rsp + 0x2b8], 1
jmp 0x14009a1cf
mov dword [rsp + 0x2b8], 0
mov eax, dword [rsp + 0x2b8]
mov dword [rsp + 0x2a0], eax
lea rcx, [rsp + 0x20]
call fcn.140099f80
nop
lea rcx, [rsp + 0x30]
call fcn.140099f80
mov eax, dword [rsp + 0x2a0]
jmp 0x14009a252
xor eax, eax
test eax, eax
jne 0x14009a199
lea rcx, [rsp + 0x20]
call fcn.140099fc0
mov r8, qword [rsp + 0x2e0]
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [rsp + 0x290], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x2a4], eax
lea rcx, [rsp + 0x20]
call fcn.140099f80
nop
lea rcx, [rsp + 0x30]
call fcn.140099f80
mov eax, dword [rsp + 0x2a4]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400ad2c0
add rsp, 0x2d8
ret
Function at 0x14009a270
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
mov dword [rsp + 0x8c], 1
mov rcx, qword [rsp + 0x130]
call fcn.1400b2564
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x100], 0
jne 0x14009a2be
xor eax, eax
jmp 0x14009a446
mov dword [rsp + 0x88], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x90], 0x68
lea rdi, [rsp + 0x98]
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov qword [rsp + 0x70], 0
lea rdi, [rsp + 0x78]
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
xor r8d, r8d
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x68], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000600
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x100]
xor edx, edx
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
je 0x14009a39d
jmp 0x14009a3e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x108], eax
cmp dword [rsp + 0x108], 0xe9
jne 0x14009a3d8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rsp + 0x68]
add eax, 1
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 5
jle 0x14009a3d6
jmp 0x14009a3e5
jmp 0x14009a3da
jmp 0x14009a3e5
xor eax, eax
cmp eax, 1
jne 0x14009a32a
cmp dword [rsp + 0x88], 0
je 0x14009a41f
cmp dword [rsp + 0x138], 0
je 0x14009a409
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x60], 0
je 0x14009a432
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rsp + 0x100]
call fcn.1400b0538
mov eax, dword [rsp + 0x88]
add rsp, 0x110
pop rdi
ret

Function at 0x14009a550
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
cmp qword [rsp + 0x20], 0
jne 0x14009a56f
xor al, al
jmp 0x14009a5e7
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
mov qword [rsp], 0
mov rax, qword [rsp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14009a594
xor al, al
jmp 0x14009a5e7
mov rax, qword [rsp + 8]
movsxd rcx, dword [rax + 0x3c]
mov rax, qword [rsp + 0x20]
add rax, rcx
mov qword [rsp], rax
mov rax, qword [rsp]
cmp dword [rax], 0x4550
je 0x14009a5b9
xor al, al
jmp 0x14009a5e7
cmp qword [rsp + 0x28], 0
je 0x14009a5cf
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp]
mov eax, dword [rax + 8]
mov dword [rcx], eax
cmp qword [rsp + 0x30], 0
je 0x14009a5e5
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp]
mov eax, dword [rax + 0x50]
mov dword [rcx], eax
mov al, 1
add rsp, 0x18
ret
Function at 0x14009ab80
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x280
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x278], rax
xor eax, eax
mov word [rsp + 0x50], ax
lea rdi, [rsp + 0x52]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x260], 0x105
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x50]
call fcn.14009c7e0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x14009abe5
mov eax, dword [rsp + 0x40]
jmp 0x14009acac
xor eax, eax
test eax, eax
jne 0x14009abd5
lea rdx, str.BugReportConfig.ini
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14009ac95
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x268], rax
cmp qword [rsp + 0x268], 0xffffffffffffffff
jne 0x14009ac81
cmp qword [rsp + 0x268], 0xffffffffffffffff
je 0x14009ac6d
mov dword [rsp + 0x270], 1
jmp 0x14009ac78
mov dword [rsp + 0x270], 0
mov eax, dword [rsp + 0x270]
jmp 0x14009acac
xor eax, eax
test eax, eax
jne 0x14009ac4a
mov rcx, qword [rsp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x290]
call fcn.140033190
mov eax, 1
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400ad2c0
add rsp, 0x280
pop rdi
ret
Function at 0x14009cbf0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2c0
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x2b8], rax
cmp dword [0x14012ea10], 1
je 0x14009cc24
xor eax, eax
jmp 0x14009cd59
xor eax, eax
test eax, eax
jne 0x14009cc14
xor eax, eax
mov word [rsp + 0xa0], ax
lea rdi, [rsp + 0xa2]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x2b0], 0x104
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0xa0]
call fcn.14009c7e0
test eax, eax
jne 0x14009cc70
xor eax, eax
jmp 0x14009cd59
lea rdx, str.DumpConfig.ini
lea rcx, [rsp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [rsp + 0x2b0], 0x28
xor eax, eax
mov word [rsp + 0x40], ax
lea rdi, [rsp + 0x42]
xor eax, eax
mov ecx, 0x4e
rep stosb byte [rdi], al
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x2b0]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x40]
lea r8, [0x1400f4c3c]
mov rdx, qword [rsp + 0x2d8]
lea rcx, str.Info
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [rsp + 0x30], eax
lea rdx, [0x1400f4c5c]
lea rcx, [rsp + 0x40]
call fcn.1400af0e8
test eax, eax
je 0x14009ccfe
cmp dword [rsp + 0x30], 0x14
jbe 0x14009cd02
xor eax, eax
jmp 0x14009cd59
lea rcx, [rsp + 0x40]
call fcn.1400aff3c
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x14009cd23
xor eax, eax
jmp 0x14009cd59
mov rcx, qword [rsp + 0x90]
sar rcx, 0x20
mov rax, qword [rsp + 0x2d0]
mov dword [rax + 4], ecx
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x90]
and rcx, rax
mov rax, qword [rsp + 0x2d0]
mov dword [rax], ecx
mov eax, 1
mov rcx, qword [rsp + 0x2b8]
xor rcx, rsp
call fcn.1400ad2c0
add rsp, 0x2c0
pop rdi
ret
Function at 0x14009d2b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x288], rax
cmp dword [0x14012ea10], 1
je 0x14009d2e4
xor eax, eax
jmp 0x14009d52a
xor eax, eax
test eax, eax
jne 0x14009d2d4
mov qword [rsp + 0x268], 0
xor eax, eax
mov word [rsp + 0x50], ax
lea rdi, [rsp + 0x52]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x27c], 0x105
lea rdx, [rsp + 0x27c]
lea rcx, [rsp + 0x50]
call fcn.14009c7e0
mov dword [rsp + 0x278], eax
cmp dword [rsp + 0x278], 0
jne 0x14009d345
mov eax, dword [rsp + 0x278]
jmp 0x14009d52a
xor eax, eax
test eax, eax
jne 0x14009d32f
mov rdx, qword [rsp + 0x2a0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov r9d, 0x104
sub r9, rcx
lea r8, [0x1400f4e90]
mov edx, 0x105
lea rcx, [rsp + 0x50]
call fcn.1400b2428
lea rax, [rsp + 0x50]
test rax, rax
jne 0x14009d3ac
mov dword [rsp + 0x278], 0
jmp 0x14009d3da
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400b33d0
test eax, eax
jne 0x14009d3c9
mov dword [rsp + 0x278], 1
jmp 0x14009d3d4
mov dword [rsp + 0x278], 0
xor eax, eax
test eax, eax
jne 0x14009d395
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x270], rax
cmp qword [rsp + 0x270], 0xffffffffffffffff
jne 0x14009d44b
cmp qword [rsp + 0x270], 0xffffffffffffffff
je 0x14009d434
mov dword [rsp + 0x280], 1
jmp 0x14009d43f
mov dword [rsp + 0x280], 0
mov eax, dword [rsp + 0x280]
jmp 0x14009d52a
xor eax, eax
test eax, eax
jne 0x14009d411
mov dword [rsp + 0x260], 0
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x2a8]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rax, rcx
shl rax, 1
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x260]
mov r8d, eax
mov rdx, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x278], eax
mov edx, dword [rsp + 0x260]
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x2a8]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rax, rcx
shl rax, 1
cmp rdx, rax
jne 0x14009d4e8
mov dword [rsp + 0x284], 1
jmp 0x14009d4f3
mov dword [rsp + 0x284], 0
mov ecx, dword [rsp + 0x284]
mov eax, dword [rsp + 0x278]
and eax, ecx
mov dword [rsp + 0x278], eax
cmp qword [rsp + 0x270], 0xffffffffffffffff
je 0x14009d523
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x278]
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1400ad2c0
add rsp, 0x290
pop rdi
ret
Function at 0x14009ea90
Capabilities:
Enumerate processes

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x2d8
mov qword [rsp + 0x2a8], 0xfffffffffffffffe
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140099f50
nop
lea rcx, [rsp + 0x30]
call fcn.140099fc0
test rax, rax
jne 0x14009eb35
lea rcx, [rsp + 0x30]
call fcn.140099fc0
test rax, rax
je 0x14009eb06
mov dword [rsp + 0x2b0], 1
jmp 0x14009eb11
mov dword [rsp + 0x2b0], 0
mov eax, dword [rsp + 0x2b0]
mov dword [rsp + 0x298], eax
lea rcx, [rsp + 0x30]
call fcn.140099f80
mov eax, dword [rsp + 0x298]
jmp 0x14009ed12
xor eax, eax
test eax, eax
jne 0x14009eadb
mov dword [rsp + 0x50], 0x238
lea rcx, [rsp + 0x30]
call fcn.140099fc0
lea rdx, [rsp + 0x50]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
mov dword [rsp + 0x290], eax
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x290], 0
je 0x14009ebe6
lea rdx, [rsp + 0x7c]
lea rcx, str.explorer.exe
call fcn.1400af0e8
test eax, eax
jne 0x14009ebc6
mov dword [rsp + 0x294], 0
lea rdx, [rsp + 0x294]
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov dword [rsp + 0x294], eax
mov eax, dword [rsp + 0x2e8]
cmp dword [rsp + 0x294], eax
jne 0x14009ebc6
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x40], eax
jmp 0x14009ebe6
lea rcx, [rsp + 0x30]
call fcn.140099fc0
lea rdx, [rsp + 0x50]
mov rcx, rax
call sub.KERNEL32.dll_Process32NextW
mov dword [rsp + 0x290], eax
jmp 0x14009eb69
cmp dword [rsp + 0x40], 0
jne 0x14009ec30
cmp dword [rsp + 0x40], 0
je 0x14009ec01
mov dword [rsp + 0x2b4], 1
jmp 0x14009ec0c
mov dword [rsp + 0x2b4], 0
mov eax, dword [rsp + 0x2b4]
mov dword [rsp + 0x29c], eax
lea rcx, [rsp + 0x30]
call fcn.140099f80
mov eax, dword [rsp + 0x29c]
jmp 0x14009ed12
xor eax, eax
test eax, eax
jne 0x14009ebe6
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140099f50
nop
lea rcx, [rsp + 0x20]
call fcn.140099fc0
test rax, rax
jne 0x14009ecbb
lea rcx, [rsp + 0x20]
call fcn.140099fc0
test rax, rax
je 0x14009ec84
mov dword [rsp + 0x2b8], 1
jmp 0x14009ec8f
mov dword [rsp + 0x2b8], 0
mov eax, dword [rsp + 0x2b8]
mov dword [rsp + 0x2a0], eax
lea rcx, [rsp + 0x20]
call fcn.140099f80
nop
lea rcx, [rsp + 0x30]
call fcn.140099f80
mov eax, dword [rsp + 0x2a0]
jmp 0x14009ed12
xor eax, eax
test eax, eax
jne 0x14009ec59
lea rcx, [rsp + 0x20]
call fcn.140099fc0
mov r8, qword [rsp + 0x2e0]
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [rsp + 0x290], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x2a4], eax
lea rcx, [rsp + 0x20]
call fcn.140099f80
nop
lea rcx, [rsp + 0x30]
call fcn.140099f80
mov eax, dword [rsp + 0x2a4]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400ad2c0
add rsp, 0x2d8
ret
Function at 0x14009ed30
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
mov dword [rsp + 0x8c], 1
mov rcx, qword [rsp + 0x130]
call fcn.1400b2564
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x100], 0
jne 0x14009ed7e
xor eax, eax
jmp 0x14009ef06
mov dword [rsp + 0x88], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x90], 0x68
lea rdi, [rsp + 0x98]
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov qword [rsp + 0x70], 0
lea rdi, [rsp + 0x78]
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
xor r8d, r8d
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x68], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000600
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x100]
xor edx, edx
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
je 0x14009ee5d
jmp 0x14009eea5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x108], eax
cmp dword [rsp + 0x108], 0xe9
jne 0x14009ee98
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rsp + 0x68]
add eax, 1
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 5
jle 0x14009ee96
jmp 0x14009eea5
jmp 0x14009ee9a
jmp 0x14009eea5
xor eax, eax
cmp eax, 1
jne 0x14009edea
cmp dword [rsp + 0x88], 0
je 0x14009eedf
cmp dword [rsp + 0x138], 0
je 0x14009eec9
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x60], 0
je 0x14009eef2
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rsp + 0x100]
call fcn.1400b0538
mov eax, dword [rsp + 0x88]
add rsp, 0x110
pop rdi
ret
Function at 0x14009fa40
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x58
cmp dword [0x14012ea10], 1
je 0x14009fa54
xor eax, eax
jmp 0x14009faf7
xor eax, eax
test eax, eax
jne 0x14009fa44
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x30], 4
call fcn.14009b650
mov rdx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x201
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x14009faaa
jmp 0x14009fae0
xor eax, eax
test eax, eax
jne 0x14009fa9f
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.FullDump
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x44], eax
cmp qword [rsp + 0x38], 0
je 0x14009faf3
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x1400a14d0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
mov qword [rsp + 0x130], 0xfffffffffffffffe
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp dword [0x14012ea10], 1
je 0x1400a1519
xor eax, eax
jmp 0x1400a17d3
xor eax, eax
test eax, eax
jne 0x1400a1509
mov dword [rsp + 0x8c], 0
mov dword [rsp + 0x94], 0
mov dword [rsp + 0x88], 0
xor eax, eax
mov word [rsp + 0x48], ax
lea rdi, [rsp + 0x4a]
xor eax, eax
mov ecx, 0x3c
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0xa0], ax
lea rdi, [rsp + 0xa2]
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov dword [rsp + 0x90], 0x1e
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x90]
lea r8, [rsp + 0x48]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400a17ce
cmp dword [rsp + 0x8c], 0
jne 0x1400a17ce
mov dword [rsp + 0x90], 0x1f
mov eax, dword [rsp + 0x88]
add eax, 1
mov dword [rsp + 0x88], eax
mov qword [rsp + 0x110], 0
lea rax, [rsp + 0x110]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
je 0x1400a163e
jmp 0x1400a157b
xor r8d, r8d
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0xf8]
call fcn.14009f930
nop
mov dword [rsp + 0x108], 0
mov dword [rsp + 0xf0], 0x21
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xf0]
lea r8, [rsp + 0xa0]
mov edx, dword [rsp + 0x108]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400a17bc
cmp dword [rsp + 0x8c], 0
jne 0x1400a17bc
mov eax, dword [rsp + 0x108]
add eax, 1
mov dword [rsp + 0x108], eax
mov dword [rsp + 0xf0], 0x21
mov qword [rsp + 0x128], 0
lea rax, [rsp + 0x128]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x168]
xor r8d, r8d
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
je 0x1400a1738
jmp 0x1400a166d
xor r8d, r8d
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x118]
call fcn.14009f930
nop
cmp qword [rsp + 0x170], 0
je 0x1400a17aa
mov r9, qword [rsp + 0x178]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x128]
call qword [rsp + 0x170]
test eax, eax
jne 0x1400a1791
mov dword [rsp + 0x138], 1
jmp 0x1400a179c
mov dword [rsp + 0x138], 0
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0x8c], eax
lea rcx, [rsp + 0x118]
call fcn.14009f960
jmp 0x1400a166d
lea rcx, [rsp + 0xf8]
call fcn.14009f960
jmp 0x1400a157b
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400ad2c0
add rsp, 0x150
pop rdi
ret
Function at 0x1400a3460
Capabilities:
Read .ini file

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x48], 0xfffffffffffffffe
cmp dword [0x14012ea10], 1
je 0x1400a3486
xor eax, eax
jmp 0x1400a351a
xor eax, eax
test eax, eax
jne 0x1400a3476
lea rdx, [0x1400f57d8]
lea rcx, [rsp + 0x38]
call fcn.1400330a0
nop
lea rcx, [rsp + 0x38]
call fcn.14009ab80
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1400a34cb
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x38]
call fcn.140021400
mov eax, dword [rsp + 0x40]
jmp 0x1400a351a
xor eax, eax
test eax, eax
jne 0x1400a34ac
lea rcx, [rsp + 0x38]
call fcn.1400a3f90
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x60]
lea r8, str.http:__sync.bav.baidu.com
lea rdx, str.BugInfoUploadURL
lea rcx, [0x1400f5840]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x38]
call fcn.140021400
mov eax, dword [rsp + 0x44]
add rsp, 0x58
ret
Function at 0x1400aa3a0
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rax + 8]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0x80000000
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400aa40a
xor eax, eax
jmp 0x1400aa4f4
mov dword [rsp + 0x40], 0
lea rdi, [rsp + 0x44]
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400aa43b
cmp dword [rsp + 0x44], 0
jle 0x1400aa44d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400aa4f4
mov rcx, qword [rsp + 0x70]
mov eax, dword [rsp + 0x40]
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x50], 0
jne 0x1400aa49c
xor eax, eax
jmp 0x1400aa4f4
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdx, rax
mov rax, qword [rsp + 0x70]
mov qword [rax + 8], rdx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x70]
cmp qword [rax + 8], 0
jne 0x1400aa4eb
xor eax, eax
jmp 0x1400aa4f4
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
add rsp, 0x60
pop rdi
ret