joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400061e0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140044088]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
cmp qword [rcx + 0x68], 0
je 0x14000638a
cmp byte [rcx + 0x72], 0
je 0x14000638a
mov rax, qword [rcx]
mov ebx, 0xffff
mov edx, ebx
call qword [rax + 0x18]
cmp bx, ax
jne 0x14000623e
xor al, al
jmp 0x14000638c
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], 0
mov byte [rbp - 0x30], 0
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.140005a10
nop
mov rcx, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
nop dword [rax + rax]
lea rdx, [rbp - 0x30]
cmp r9, 0x10
cmovae rdx, rcx
lea r8, [rbp - 0x30]
cmovae r8, rcx
mov rcx, qword [rdi + 0x68]
mov r10, qword [rcx]
mov r9, qword [rbp - 0x20]
add r9, rdx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x74]
call qword [r10 + 0x40]
test eax, eax
je 0x1400062ae
sub eax, 1
jne 0x140006322
jmp 0x1400062b2
mov byte [rdi + 0x72], 0
lea rax, [rbp - 0x30]
mov rcx, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
cmp r9, 0x10
cmovae rax, rcx
mov rbx, qword [rbp - 0x38]
sub rbx, rax
je 0x1400062ff
lea rax, [rbp - 0x30]
cmp r9, 0x10
cmovae rax, rcx
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.140011848
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
cmp rbx, rax
jne 0x14000632f
cmp byte [rdi + 0x72], 0
je 0x140006333
test rbx, rbx
jne 0x140006270
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.140005d60
jmp 0x140006263
sub eax, 2
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
je 0x140006333
xor bl, bl
jmp 0x140006335
mov bl, 1
cmp r9, 0x10
jb 0x140006385
lea rax, [r9 + 1]
cmp rax, 0x1000
jb 0x140006380
test byte [rbp - 0x30], 0x1f
je 0x140006353
call fcn.140011394
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140006362
call fcn.140011394
int3
sub rcx, rax
cmp rcx, 8
jae 0x140006371
call fcn.140011394
int3
cmp rcx, 0x27
jbe 0x14000637d
call fcn.140011394
int3
mov rcx, rax
call fcn.140009eb4
movzx eax, bl
jmp 0x14000638c
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140009ed0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140007c60
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140044088]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebx, r8d
mov esi, 3
lea r15, [rsp + 0x98]
mov ebp, esi
mov edi, edx
mov r13, rcx
test r8d, r8d
je 0x140007cc2
lea rcx, [r15 - 8]
mov r8d, ebx
nop word [rax + rax]
mov eax, dword [rcx + 8]
lea rcx, [rcx + 0x10]
add ebp, 4
add ebp, eax
sub r8, 1
jne 0x140007cb0
mov ecx, ebp
call fcn.14000a4e4
mov r14, rax
mov word [rax], di
mov byte [rax + 2], bl
test ebx, ebx
je 0x140007d08
lea rdi, [r15 - 8]
mov r15, rbx
nop dword [rax]
mov ebx, dword [rdi + 8]
lea rdi, [rdi + 0x10]
mov ecx, esi
mov r8d, ebx
add esi, 4
mov dword [rcx + r14], ebx
mov rdx, qword [rdi]
mov ecx, esi
add rcx, r14
call fcn.14000b280
add esi, ebx
sub r15, 1
jne 0x140007ce0
mov rcx, qword [r13 + 0x28]
lea r9, [rsp + 0x30]
xor ebx, ebx
mov r8d, ebp
mov rdx, r14
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140007d2e
cmp ebp, dword [rsp + 0x30]
je 0x140007d36
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, r14
call fcn.140009ef4
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140009ed0
add rsp, 0x40
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140007d60
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140044088]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x50]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140007db8
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x140007dff
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rcx
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rcx
mov rdx, rdi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140007e25
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x140007e25
mov dword [rsp + 0x28], 4
lea r8, str.DelayLaunch
mov r9d, 4
mov qword [rsp + 0x20], rsi
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140009ed0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140007e50
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x90
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x140044088]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x50], ebx
call fcn.140007f70
mov rsi, rax
test rax, rax
jne 0x140007e9f
lea eax, [rbx + 2]
jmp 0x140007f3b
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400081f0
nop
lea rbp, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rbp, qword [rsp + 0x60]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov r9d, 0xffff
lea r8, str.DelayLaunch
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
test eax, eax
jne 0x140007f03
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rsi
call fcn.140007d60
mov ebx, eax
cmp ebx, 5
jne 0x140007f1c
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rdx, rdi
call fcn.140008310
mov ebx, eax
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x140007f39
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140006670
mov eax, ebx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140009ed0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140008310
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0xc0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140044088]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rdx
mov rsi, qword [rbp + 0x77]
mov dword [rbp + 0xf], 4
xor eax, eax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov qword [rbp - 9], 7
xor r15d, r15d
mov qword [rbp - 0x11], r15
mov word [rbp - 0x21], r15w
lea r8d, [rax + 2]
lea rdx, [0x14003d670]
lea rcx, [rbp - 0x21]
call fcn.140005680
nop
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
lea r8d, [r15 + 1]
lea rdx, [0x14003cbf0]
lea rcx, [rbp - 0x21]
call fcn.1400057d0
lea r8d, [r15 + 6]
lea rdx, str.pipe_
lea rcx, [rbp - 0x21]
call fcn.1400057d0
movzx eax, word [str.treadstone_qa_service]
neg ax
sbb r8, r8
and r8d, 0x15
lea rdx, str.treadstone_qa_service
lea rcx, [rbp - 0x21]
call fcn.1400057d0
mov dword [rbp - 1], 0xc0000000
lea rcx, [rbp - 0x21]
call fcn.140007b90
test rdi, rdi
jne 0x1400083f9
mov eax, r15d
jmp 0x140008406
mov edx, 0xff
mov rcx, rdi
call fcn.140013bd0
lea rbx, [rax*2 + 2]
mov edx, 0xff
lea r14, str.DelayLaunch
mov rcx, r14
call fcn.140013bd0
lea rax, [rax*2 + 2]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x48], 4
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov edx, 5
lea r8d, [rdx - 1]
lea rcx, [rbp - 0x21]
call fcn.140007c60
mov ebx, eax
test eax, eax
jne 0x1400084a3
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x17]
lea r8d, [rax + 9]
lea rdx, [rbp + 0x1f]
mov rcx, qword [rbp + 7]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140008497
cmp dword [rbp + 0x17], ebx
jne 0x1400084a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
je 0x1400084a9
mov rcx, qword [rbp + 7]
jmp 0x1400084c2
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x1400084bf
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
mov qword [rbp + 7], rcx
mov ebx, dword [rbp + 0x24]
test rcx, rcx
je 0x1400084d1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 7], r15
mov r8, qword [rbp - 9]
cmp r8, 8
jb 0x1400084eb
inc r8
mov rdx, qword [rbp - 0x21]
lea rcx, [rbp - 0x21]
call fcn.140006670
mov eax, ebx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140009ed0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14001fa10
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14001f876
call fcn.140011984
mov dword [rax], 0x16
call fcn.140011374
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14001f858
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14001f858
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x14001f8a8
lock or dword [rax + 0x14], 0x10
jmp 0x14001f858
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14001f8c5
mov rcx, qword [rbp + 0x20]
call fcn.14001f618
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x14001f8da
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x14001f8e0
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.14001c454
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1400285c4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x14001f933
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x14001f858
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14001f99f
mov rcx, qword [rbp + 0x20]
call fcn.14001c454
cmp eax, 0xffffffff
je 0x14001f986
mov rcx, qword [rbp + 0x20]
call fcn.14001c454
cmp eax, 0xfffffffe
je 0x14001f986
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.14001c454
movsxd rdi, eax
lea r15, [0x140046380]
mov rcx, rbx
sar rdi, 6
call fcn.14001c454
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x14001f98d
lea rax, [0x140044430]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14001f99f
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x14001f9d5
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14001f9d1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14001f9d1
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x14001f9f3
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x14001f9fe
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x14001f85d
jmp 0x14001f824
Function at 0x10001e024
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
push r12
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1000301f8], rdi
je 0x10001e07d
cmp rax, rdi
jne 0x10001e070
mov esi, 1
jmp 0x10001e07d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10001e057
mov eax, dword [0x1000301f0]
cmp eax, 1
jne 0x10001e092
lea ecx, [rax + 0x1e]
call fcn.1001b9000
jmp 0x10001e0f7
mov eax, dword [0x1000301f0]
test eax, eax
jne 0x10001e0ed
mov dword [0x1000301f0], 1
lea r12, [0x100001690]
lea rdi, [0x100001678]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
cmp rdi, r12
jae 0x10001e0df
test eax, eax
jne 0x10001e0df
mov rcx, qword [rdi]
test rcx, rcx
je 0x10001e0d4
call rcx
mov dword [rsp + 0x30], eax
add rdi, 8
mov qword [rsp + 0x38], rdi
jmp 0x10001e0bd
test eax, eax
je 0x10001e0f7
mov eax, 0xff
jmp 0x10001e241
mov dword [0x10002f924], 1
mov eax, dword [0x1000301f0]
cmp eax, 1
jne 0x10001e11f
lea rdx, [0x100001670]
lea rcx, [0x1000015f8]
call sub.msvcrt.dll__initterm
mov dword [0x1000301f0], 2
test esi, esi
jne 0x10001e12c
xor eax, eax
xchg qword [0x1000301f8], rax
cmp qword [0x100030210], 0
je 0x10001e155
lea rcx, [0x100030210]
call fcn.10001e5dc
test eax, eax
je 0x10001e155
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100030210]
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rdi, qword [rax]
mov qword [rsp + 0x28], rdi
mov esi, dword [rsp + 0x20]
cmp byte [rdi], 0x20
ja 0x10001e1e0
cmp byte [rdi], 0
je 0x10001e176
test esi, esi
jne 0x10001e1e0
cmp byte [rdi], 0
je 0x10001e18a
cmp byte [rdi], 0x20
ja 0x10001e18a
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10001e176
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rdi
xor edx, edx
lea rcx, [0x100000000]
call fcn.100008db4
mov dword [0x10002f920], eax
cmp dword [0x10002f904], 0
jne 0x10001e1c9
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x10002f924], 0
jne 0x10001e1de
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x10002f920]
jmp 0x10001e241
cmp byte [rdi], 0x22
jne 0x10001e1f2
xor eax, eax
test esi, esi
sete al
mov esi, eax
mov dword [rsp + 0x20], eax
movzx ecx, byte [rdi]
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x10001e207
inc rdi
mov qword [rsp + 0x28], rdi
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10001e168
lea r11, [rsp + 0xb0]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r12
ret
sub rsp, 0x28
call fcn.10001e6e4
add rsp, 0x28
jmp 0x10001e024
Function at 0x140a4b130
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140a4b2b7
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140a4b161
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a4b147
add dl, dl
jne 0x140a4b16e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a4b1ce
xor eax, eax
add dl, dl
jne 0x140a4b17d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a4b285
add dl, dl
jne 0x140a4b18e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a4b19b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a4b1a8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a4b1b5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140a4b1c2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140a4b156
mov eax, 1
add dl, dl
jne 0x140a4b1de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a4b1eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a4b1d3
sub eax, ebx
mov ebx, 1
jne 0x140a4b224
mov ecx, 1
add dl, dl
jne 0x140a4b206
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a4b213
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a4b1fb
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a4b156
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140a4b240
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a4b24d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a4b235
cmp eax, 0x7d00
jae 0x140a4b273
cmp eax, 0x500
jb 0x140a4b26e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a4b156
cmp eax, 0x7f
ja 0x140a4b276
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a4b156
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140a4b2aa
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140a4b156
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001943c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x1400306f8], rbx
je 0x1400194a3
cmp rax, rbx
jne 0x140019496
mov ebx, 1
mov esi, ebx
jmp 0x1400194a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14001947b
mov ebx, 1
mov eax, dword [0x140030700]
cmp eax, ebx
jne 0x1400194c0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14001952c
mov eax, dword [0x140030700]
test eax, eax
jne 0x140019521
mov dword [0x140030700], ebx
lea r15, [0x14001dcb8]
lea rdi, [0x14001dca0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140019513
test eax, eax
jne 0x140019517
cmp qword [rdi], r14
je 0x140019508
mov rax, qword [rdi]
mov rcx, qword [0x14001dc18]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400194ea
test eax, eax
je 0x140019527
mov eax, 0xff
jmp 0x140019682
mov dword [0x14002ffb4], ebx
mov edi, 0x1f
mov eax, dword [0x140030700]
cmp eax, ebx
jne 0x140019553
lea rdx, [0x14001dc98]
lea rcx, [0x14001dc20]
call sub.msvcrt.dll__initterm
mov dword [0x140030700], 2
test esi, esi
jne 0x140019561
mov rax, r14
xchg qword [0x1400306f8], rax
cmp qword [0x140030718], r14
je 0x140019594
lea rcx, [0x140030718]
call fcn.140019a50
test eax, eax
je 0x140019594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140030718]
mov r9, qword [0x14001dc18]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400195ad
mov eax, 0xff
jmp 0x140019682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140019633
test ax, ax
je 0x1400195c8
test edx, edx
jne 0x140019633
sub ax, bx
cmp ax, di
ja 0x1400195de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400195c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140003e4c
mov dword [0x14002ffb0], eax
cmp dword [0x14002ffd0], r14d
jne 0x14001961c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14002ffb4], r14d
jne 0x140019631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14002ffb0]
jmp 0x140019682
cmp ax, 0x22
jne 0x140019647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400195b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14018d000
add rsp, 0x28
jmp 0x14001943c
Function at 0x14003d4e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbp
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, qword [r11 + 0x40]
movzx r12d, dl
mov rax, qword [r11 + 0x28]
mov rdx, rdi
mov r15, r9
mov qword [r11 - 0x28], rax
mov r14, r8
mov rsi, rcx
call fcn.140041e70
mov rdx, qword [rsp + 0x90]
mov rcx, rsi
call fcn.140041b20
mov ebp, dword [0x1400cd228]
mov r8d, ebp
mov rcx, rsi
test rdi, rdi
jne 0x14003d544
xor edx, edx
call fcn.140041740
jmp 0x14003d576
mov r9, rdi
mov dword [rsp + 0x20], 2
lea rdx, [rsp + 0x80]
call fcn.140064640
mov r8d, dword [rsp + 0x80]
mov r9d, ebp
mov edx, dword [rsp + 0x84]
mov rcx, rsi
call fcn.140043fd0
cmp qword [rsp + 0x90], 0
mov rcx, rsi
mov edi, dword [0x1400cd224]
mov r8d, edi
jne 0x14003d596
xor edx, edx
call fcn.140041740
jmp 0x14003d5cd
mov r9, qword [rsp + 0x90]
lea rdx, [rsp + 0x90]
mov dword [rsp + 0x20], 1
call fcn.140064640
mov r8d, dword [rsp + 0x90]
mov r9d, edi
mov edx, dword [rsp + 0x94]
mov rcx, rsi
call fcn.140043fd0
mov r8d, dword [0x1400cd220]
mov rcx, rsi
mov edx, dword [rsp + 0x88]
call fcn.14005bd10
lea r8, [rsp + 0x30]
mov rdx, r15
mov rcx, rsi
call fcn.140047080
test r12b, r12b
je 0x14003d600
mov rcx, rsi
call fcn.14004c120
mov rdx, r14
mov rcx, rsi
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop r12
jmp fcn.1400624c0
Function at 0x140042860
Capabilities:
Encode data using xor

Disassembly:
push rdi
push r14
sub rsp, 0x28
mov rdi, rcx
mov r14, rdx
mov rcx, qword [rdx]
mov eax, dword [rcx]
test eax, eax
jne 0x14004287b
xor cl, cl
jmp 0x14004288b
cmp eax, 0xffffffff
je 0x140042889
mov eax, 1
lock xadd dword [rcx], eax
mov cl, 1
mov rax, qword [rdx]
test cl, cl
je 0x1400428a0
mov qword [rdi], rax
mov rax, rdi
add rsp, 0x28
pop r14
pop rdi
ret
mov r8d, dword [rax + 8]
xor r9d, r9d
lea edx, [r9 + 8]
lea ecx, [rdx + 8]
test r8d, r8d
jns 0x1400428ca
btr r8d, 0x1f
call qword [sym.imp.Qt5Core.dll_public:_static_struct_QArrayData____ptr64___cdecl_QArrayData::allocate_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___class_QFlags_enum_QArrayData::AllocationOption__]
mov qword [rdi], rax
or dword [rax + 8], 0x80000000
jmp 0x1400428d7
movsxd r8, dword [rax + 4]
call qword [sym.imp.Qt5Core.dll_public:_static_struct_QArrayData____ptr64___cdecl_QArrayData::allocate_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___class_QFlags_enum_QArrayData::AllocationOption__]
mov qword [rdi], rax
mov rcx, qword [rdi]
test dword [rcx + 8], 0x7fffffff
je 0x140042990
mov rdx, qword [r14]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x20], r15
mov rax, qword [rdx + 0x10]
movsxd rbp, dword [rdx + 4]
mov r15, qword [rcx + 0x10]
shl rbp, 4
add r15, rcx
add rbp, rax
lea rsi, [rax + rdx]
add rbp, rdx
cmp rsi, rbp
je 0x14004297b
mov qword [rsp + 0x40], rbx
mov rbx, r15
mov rdx, rsi
mov rcx, rbx
add r15, 0x10
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov eax, dword [rsi + 8]
xor eax, dword [rbx + 8]
and eax, 1
xor dword [rbx + 8], eax
mov ecx, dword [rsi + 8]
xor ecx, dword [rbx + 8]
and ecx, 2
xor ecx, dword [rbx + 8]
mov dword [rbx + 8], ecx
mov eax, ecx
xor eax, dword [rsi + 8]
and eax, 4
xor eax, ecx
mov dword [rbx + 8], eax
xor eax, dword [rsi + 8]
and eax, 7
xor eax, dword [rsi + 8]
add rsi, 0x10
mov dword [rbx + 8], eax
cmp rsi, rbp
jne 0x140042920
mov rdx, qword [r14]
mov rcx, qword [rdi]
mov rbx, qword [rsp + 0x40]
mov eax, dword [rdx + 4]
mov r15, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov dword [rcx + 4], eax
mov rax, rdi
add rsp, 0x28
pop r14
pop rdi
ret