joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140f60e10
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f60e1a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f60e43
pop rbp
sub rbp, 0x33
sub rbp, 0xf60e10
sub rsp, 0x20
jmp 0x140f60e62
mov rax, 0xf60e10
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x4ad200d5
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f60e81
jmp 0x140f60e98
popfq
pop rsp
cmp al, 0x5e
pop rsp
jmp 0xdecbe477

Function at 0x141c4c0b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141c4c237
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 0x141c4c0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c4c0c7
add dl, dl
jne 0x141c4c0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c4c14e
xor eax, eax
add dl, dl
jne 0x141c4c0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c4c205
add dl, dl
jne 0x141c4c10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c4c11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c4c128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c4c135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141c4c142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141c4c0d6
mov eax, 1
add dl, dl
jne 0x141c4c15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c4c16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c4c153
sub eax, ebx
mov ebx, 1
jne 0x141c4c1a4
mov ecx, 1
add dl, dl
jne 0x141c4c186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141c4c193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c4c17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c4c0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141c4c1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141c4c1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c4c1b5
cmp eax, 0x7d00
jae 0x141c4c1f3
cmp eax, 0x500
jb 0x141c4c1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c4c0d6
cmp eax, 0x7f
ja 0x141c4c1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c4c0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141c4c22a
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 0x141c4c0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001000
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov r10d, r8d
lea ebp, [rcx - 0x131]
xor r10d, 0x25d
mov rsi, rdx
mov edi, r8d
mov edx, 0x249d
xor edi, edx
add r9d, 0xffffdad0
mov ebx, edi
lea eax, [r10 + 0x69]
cmp edi, eax
je 0x1400010d6
lea eax, [r9 + 0x25c3]
cmp edi, eax
jge 0x14000109b
mov eax, dword [rsi + 0x80]
lea r11, [0x1400d7010]
add eax, 0x33ae40f9
mov qword [rsp + 0x30], r11
xor r9d, edx
mov dword [rsi], eax
mov edx, ebx
mov dword [rsp + 0x28], r10d
lea eax, [rdi + 0x254a]
xor edx, 0x2537
lea r8d, [rdi + 0x23ff]
mov dword [rsp + 0x20], eax
lea ecx, [rdi + 0x249d]
call fcn.140011c74
mov r9d, eax
jmp 0x1400010d6
mov eax, ebx
lea edx, [rcx + 0x1f9]
sub eax, dword [rsi + 0xc0]
cmp edx, eax
jae 0x1400010d6
mov ecx, dword [0x1400d7150]
imul eax, dword [rsi + 0xc4], 0x25b3
add edx, 2
xor ecx, eax
mov eax, ebx
xor ecx, ebp
mov dword [0x1400d7150], ecx
sub eax, dword [rsi + 0xc0]
cmp edx, eax
jb 0x1400010b3
cmp dword [rsi + 0x110], 0xa137
jbe 0x1400010f8
mov rax, qword [section..data]
mov ecx, dword [rax + 0x1c]
add ecx, 0xdeff
mov dword [0x1400d7060], ecx
mov ecx, 0x240c
lea eax, [r9 + 0x10]
add ebx, ecx
cmp ebp, eax
jg 0x140001149
mov eax, r9d
xor eax, 0x373
cmp ebp, eax
jge 0x140001135
lea eax, [r9 - 0x69]
mov r8d, edi
xor r8d, 0x264a
mov dword [rsp + 0x20], eax
add r9d, 0xffffff84
xor ecx, edi
mov rdx, rsi
call fcn.140012414
jmp 0x140001149
mov ecx, dword [0x1400d7080]
sub ecx, dword [0x1400d705c]
sub ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbp, qword [rsp + 0x58]
lea eax, [rbx + 0x33f]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400013e8
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov edi, dword [rsp + 0x88]
lea ebp, [rdx - 0x23e]
mov esi, r9d
mov r15d, r9d
add r9d, 0xffffdbe3
mov r14d, edi
xor r14d, 0x347
xor esi, 0x241d
lea r13d, [rdi + 0x91]
xor r15d, 0x7e2
xor edi, 0x76
mov rbx, r8
lea eax, [r9 + 0x26a0]
cmp r14d, eax
jl 0x14000158d
lea eax, [rbp + 0x22d]
cmp esi, eax
jg 0x1400014ec
mov eax, dword [0x1400d70e8]
cmp dword [0x1400d7150], eax
ja 0x1400014a4
mov rax, qword [section..data]
mov r8d, dword [r8 + 0x78]
mov edx, dword [rbx + 0x48]
mov ecx, dword [rax + 0x90]
add ecx, 0x2fff
add r8d, ecx
xor ecx, ecx
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
add rax, 0x5800
mov qword [0x1400d7108], rax
cmp dword [rbx + 0x4c], 0xfb3d
ja 0x1400014be
mov eax, dword [rbx + 0xac]
add eax, 0xe6f92
mov dword [0x1400d707c], eax
mov eax, dword [0x1400d70a0]
add edi, 0x149
cmp dword [rbx + 0x30], eax
jb 0x14000158d
mov eax, dword [rbx + 0xa4]
sub eax, dword [rbx + 0x110]
add eax, 0x1ba0a2
xor dword [rbx + 0x6c], eax
jmp 0x14000158d
mov ecx, dword [r8 + 0xb0]
mov rax, qword [section..data]
sub ecx, esi
add ecx, r9d
cmp dword [rax + 0x18], ecx
jb 0x14000158d
mov eax, dword [0x1400d70d4]
mov r12d, ebp
imul eax, esi
cmp ebp, eax
jne 0x14000158d
mov edx, dword [rbx + 0xd0]
mov eax, dword [rbx + 0xcc]
add edx, r14d
mov r9d, dword [rbx + 0x10c]
sub eax, 0x241d
mov ecx, dword [rbx + 0x34]
or r9d, r13d
mov r8d, dword [rbx + 8]
and eax, ebp
and ecx, dword [0x1400d7090]
sub r9d, 0x240c
sub r8d, dword [rbx + 0x64]
and ecx, r13d
mov dword [rsp + 0x28], edx
lea rdx, [0x1400d7010]
mov dword [rsp + 0x20], eax
call fcn.140011f24
mov ecx, r13d
mov edx, r15d
sub ecx, dword [rbx + 0xc0]
or rcx, rdx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x1400d70d4]
inc r12d
imul ecx, esi
cmp r12d, ecx
je 0x140001518
mov rbx, qword [rsp + 0x60]
xor edi, 0x1b9
mov rbp, qword [rsp + 0x68]
mov eax, edi
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000c168
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14000c145
call fcn.14000ae38
mov dword [rax], 0x16
call fcn.14000ad18
or eax, 0xffffffff
jmp 0x14000c162
sub dword [rcx + 0x10], 1
jns 0x14000c154
add rsp, 0x28
jmp 0x14000ef2c
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14000c124
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
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14000edcc
call fcn.14000ae38
mov dword [rax], 0x16
call fcn.14000ad18
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14000edb4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14000edb4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14000edfe
lock or dword [rax + 0x14], 0x10
jmp 0x14000edb4
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14000ee1b
mov rcx, qword [rbp + 0x10]
call fcn.14000ef34
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14000bf68
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14001032c
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14000ee72
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14000edb4
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14000eede
mov rcx, qword [rbp + 0x10]
call fcn.14000bf68
cmp eax, 0xffffffff
je 0x14000eec5
mov rcx, qword [rbp + 0x10]
call fcn.14000bf68
cmp eax, 0xfffffffe
je 0x14000eec5
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14000bf68
movsxd rdi, eax
lea rsi, [0x14016e2a0]
mov rcx, rbx
sar rdi, 6
call fcn.14000bf68
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14000eecc
lea rax, [0x14016d740]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14000eede
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14000ef14
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14000ef10
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14000ef10
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14000edb7
jmp 0x14000ed84
Function at 0x140011cc0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov dword [rax + 0x10], edx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov esi, dword [rsp + 0x90]
lea edi, [rdx - 0x264a]
mov eax, dword [r9 + 0x100]
lea ebp, [r8 - 0x2537]
mov r14d, r8d
lea r13d, [rcx - 0x25c]
mov r15d, edx
xor r14d, 0x21e
lea r12d, [rsi + 0x91]
xor r15d, 0x101
xor esi, 0x2ce
mov rbx, r9
mov r10d, edx
mov r11d, edi
cmp dword [r9 + 0x20], eax
jne 0x140011d3d
add dword [0x1400d7144], 0x188ca
jmp 0x140011d48
mov eax, dword [r9 + 0xc]
add dword [r9 + 0x114], eax
mov eax, dword [0x1400d7034]
cmp dword [r9 + 0x140], eax
ja 0x140011d67
mov eax, dword [r9 + 0x15c]
xor eax, 0xffe2be19
mov dword [r9 + 0x48], eax
lea eax, [r14 - 0x32a]
cmp ebp, eax
je 0x140011dbb
mov r10d, r12d
lea eax, [rsi + 0x67]
xor r10d, 0x2d7
lea r8d, [r14 - 0x1df]
mov dword [rsp + 0x30], r10d
lea edx, [r13 + 0x1d6]
mov r9d, r12d
mov dword [rsp + 0x28], eax
xor r9d, 0x23d
lea ecx, [rdi + 0x2537]
mov dword [rsp + 0x20], r9d
mov r9, rbx
call fcn.140002e30
mov r10d, dword [rsp + 0x78]
mov r11d, eax
xor r11d, 0x12d
cmp r14d, r11d
jle 0x140011efe
cmp r13d, r12d
je 0x140011e3f
lea eax, [rdi + 0x23ff]
xor esi, 0x2ce
xor r15d, 0x101
mov dword [rsp + 0x28], esi
mov edx, r15d
mov dword [rsp + 0x20], eax
lea r9d, [r12 - 0x80]
mov ecx, r10d
lea r8, [0x1400d7010]
call fcn.1400013e8
mov eax, dword [rbx + 0x124]
cmp dword [rbx + 0xcc], eax
jae 0x140011e2c
mov rax, qword [section..data]
mov ecx, dword [rax + 0x4c]
xor ecx, dword [rbx + 0x134]
xor ecx, 0x618
sub dword [0x1400d707c], ecx
mov rax, qword [0x1400d7108]
mov qword [rbx + 0xf0], rax
jmp 0x140011efe
mov eax, dword [rbx + 0x178]
and eax, esi
and eax, ebp
cmp ebp, eax
jbe 0x140011efe
mov eax, dword [rbx + 0x110]
xor eax, dword [rbx + 0xc0]
cmp dword [rbx + 0x4c], eax
je 0x140011efe
mov esi, edi
imul esi, edi
cmp ebp, esi
je 0x140011efe
imul r13d, edi
mov ecx, dword [rbx + 0x20]
or rcx, 0x240c
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov r10, qword [section..data]
mov r9d, dword [rbx + 0x178]
mov ecx, dword [rbx + 0xc4]
add r9d, r12d
mov edx, dword [rbx + 0xc8]
and ecx, r12d
mov eax, dword [r10 + 0xe8]
mov r8d, dword [rbx + 0x38]
xor eax, 0x2530
imul ecx, dword [rbx + 0xbc]
or r15d, eax
mov eax, dword [r10 + 0x20]
add edx, r15d
imul eax, r12d
or r8d, 0x274b
and eax, r12d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r9d
lea r9, [0x1400d7010]
mov dword [rsp + 0x20], r13d
call fcn.140002e30
add ebp, 4
mov r12d, eax
cmp ebp, esi
jne 0x140011e77
lea r11, [rsp + 0x40]
xor edi, 0x23dd
mov rbx, qword [r11 + 0x30]
mov eax, edi
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140012414
Capabilities:
Suspend thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
lea esi, [r8 - 0x264a]
mov edi, r8d
mov ecx, esi
lea eax, [r9 + 0x189]
xor ecx, 0x264a
xor edi, 0x101
mov rbx, rdx
cmp eax, ecx
jle 0x1400124ea
lea eax, [r9 - 0x2537]
xor eax, 0x247a
cmp esi, eax
je 0x1400124b2
cmp dword [rdx + 0xd8], 0x1590e
jae 0x140012489
mov eax, dword [rdx + 0xa4]
sub eax, dword [rdx + 0x20]
sub eax, 0x17612
add dword [rdx + 0x110], eax
jmp 0x14001249f
mov rax, qword [section..data]
mov ecx, dword [rax + 0x14c]
add ecx, 0x6774d
mov dword [rdx + 0x54], ecx
mov eax, dword [rdx + 0x70]
xor eax, dword [0x1400d7120]
add eax, 0x3f0720d7
xor dword [rdx + 0x54], eax
jmp 0x1400124ea
cmp dword [rdx + 0x60], edi
jbe 0x1400124ea
mov ecx, dword [rdx + 0xac]
mov ebp, dword [rdx + 0x178]
add ecx, esi
cmp ebp, ecx
jbe 0x1400124ea
mov r14d, edi
or r14d, esi
mov ecx, r14d
sub ecx, dword [rbx + 0x34]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [rbx + 0xac]
add ebp, 2
add ecx, esi
cmp ebp, ecx
ja 0x1400124cf
mov rbx, qword [rsp + 0x30]
lea eax, [rdi - 0x112]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140014ec0
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x30
mov esi, dword [rsp + 0x68]
lea r14d, [rdx - 2]
mov eax, dword [rsp + 0x60]
lea edi, [rdx - 0x26c2]
mov rbx, rcx
mov r10d, edx
xor r10d, 0x2df
lea ebp, [rsi - 0x2530]
xor esi, 0x2530
lea ecx, [rax + 0x12d]
xor eax, 0x356
cmp eax, edx
jle 0x140015070
mov eax, r10d
xor eax, 0x12d
cmp edi, eax
jg 0x140015110
xor ecx, 0x263
lea r9d, [rdx - 0x22]
mov edx, ecx
xor r10d, 0x2dd
xor edi, 0x2729
mov dword [r11 - 0x18], r10d
mov rcx, rbx
mov r8d, edi
call fcn.1400011e0
lea rax, [0x140044350]
xor r9d, r9d
mov qword [rbx + 0xe0], rax
mov rcx, qword [section..data]
mov rax, qword [rcx + 0xe0]
mov r8d, dword [r9 + rax]
add r9, 4
mov eax, dword [rcx + 0xc0]
add dword [rbx + 0xac], eax
mov rax, qword [section..data]
mov ecx, dword [rbx + 0x24]
imul r8d, dword [rax + 0x58]
mov eax, dword [rbx + 0x90]
add eax, 0xfff1793b
add ecx, eax
or dword [rbx + 8], ecx
mov rax, qword [section..data]
mov edx, r8d
shr edx, 0x10
mov ecx, dword [rax + 0x80]
add ecx, dword [rbx + 0x140]
mov eax, dword [rbx + 0xc4]
xor ecx, 0xc7366
imul eax, ecx
movsxd rcx, dword [rbx + 0x6c]
mov dword [rbx + 0xc4], eax
mov eax, dword [0x1400d705c]
add eax, 0xffffffef
xor dword [rbx + 0xc0], eax
mov eax, dword [rbx + 8]
xor eax, 0xf
add dword [rbx + 0x178], eax
mov rax, qword [rbx + 0xf0]
mov byte [rcx + rax], dl
mov edx, r8d
inc dword [rbx + 0x6c]
mov rax, qword [0x1400d7100]
movsxd rcx, dword [rbx + 0x6c]
shr edx, 8
mov byte [rcx + rax], dl
inc dword [rbx + 0x6c]
movsxd rcx, dword [rbx + 0x6c]
mov rax, qword [rbx + 0xf0]
mov byte [rcx + rax], r8b
inc dword [rbx + 0x6c]
mov rax, qword [section..data]
mov ecx, dword [rax + 0x90]
dec ecx
add dword [rbx + 0xb0], ecx
mov rax, qword [section..data]
mov ecx, dword [rax + 8]
xor ecx, dword [rbx + 0x80]
sub ecx, 0xf
or dword [rbx + 0x110], ecx
cmp r9, 0x87de0
jl 0x140014f60
mov eax, dword [rbx + 0xb4]
mov dword [0x1400d7068], eax
jmp 0x140015110
xor ecx, 0x23ff
and ecx, dword [0x1400d7030]
cmp r10d, ecx
jbe 0x140015110
mov r9d, 0x21fb
mov qword [rsp + 0x20], 0x310c
mov r8b, 0x70
mov edx, 0x1d2e
mov ecx, 0x33ab
call fcn.140004600
movsxd rcx, eax
mov rax, qword [section..data]
mov qword [0x14016e068], rcx
mov ecx, dword [rbx + 0x110]
mov r10d, dword [rbx + 0x10c]
xor ecx, 0x26c2
mov edx, dword [rax + 0x110]
imul r10d, dword [rbx + 0xc4]
or edx, 0x2537
mov r8d, dword [rbx + 0xec]
sub edx, r14d
imul ecx, dword [0x1400d7188]
add r8d, esi
mov qword [rsp + 0x28], rdx
mov edx, 0x2639
movsxd rax, ebp
movsxd r9, edi
or r9, rax
mov dword [rsp + 0x20], r10d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x40]
lea eax, [rbp + 0x264a]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14000ef40
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.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140016880], rbx
je 0x14000efa7
cmp rax, rbx
jne 0x14000ef9a
mov ebx, 1
mov esi, ebx
jmp 0x14000efac
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000ef7f
mov ebx, 1
mov eax, dword [0x140016888]
cmp eax, ebx
jne 0x14000efc4
mov edi, Ordinal_34
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000f030
mov eax, dword [0x140016888]
test eax, eax
jne 0x14000f025
mov dword [0x140016888], ebx
lea r15, [0x140012a00]
lea rdi, [0x1400129e8]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000f017
test eax, eax
jne 0x14000f01b
cmp qword [rdi], r14
je 0x14000f00c
mov rax, qword [rdi]
mov rcx, qword [0x140012988]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000efee
test eax, eax
je 0x14000f02b
mov eax, 0xff
jmp 0x14000f186
mov dword [0x140016054], ebx
mov edi, Ordinal_34
mov eax, dword [0x140016888]
cmp eax, ebx
jne 0x14000f057
lea rdx, [0x1400129e0]
lea rcx, [0x140012990]
call sub.msvcrt.dll__initterm
mov dword [0x140016888], 2
test esi, esi
jne 0x14000f065
mov rax, r14
xchg qword [0x140016880], rax
cmp qword [0x1400168a0], r14
je 0x14000f098
lea rcx, [0x1400168a0]
call fcn.14000f610
test eax, eax
je 0x14000f098
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400168a0]
mov r9, qword [0x140012988]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000f0b1
mov eax, 0xff
jmp 0x14000f186
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000f137
test ax, ax
je 0x14000f0cc
test edx, edx
jne 0x14000f137
sub ax, bx
cmp ax, di
ja 0x14000f0e2
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000f0cc
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.140009ca0
mov dword [0x140016050], eax
cmp dword [0x140016070], r14d
jne 0x14000f120
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140016054], r14d
jne 0x14000f135
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140016050]
jmp 0x14000f186
cmp ax, 0x22
jne 0x14000f14b
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 0x14000f0ba
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.14010b000
add rsp, 0x28
jmp 0x14000ef40
Function at 0x141dd9058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141dd91df
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 0x141dd9089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141dd906f
add dl, dl
jne 0x141dd9096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141dd90f6
xor eax, eax
add dl, dl
jne 0x141dd90a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141dd91ad
add dl, dl
jne 0x141dd90b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141dd90c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141dd90d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141dd90dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141dd90ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141dd907e
mov eax, 1
add dl, dl
jne 0x141dd9106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141dd9113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141dd90fb
sub eax, ebx
mov ebx, 1
jne 0x141dd914c
mov ecx, 1
add dl, dl
jne 0x141dd912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141dd913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141dd9123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141dd907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141dd9168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141dd9175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141dd915d
cmp eax, 0x7d00
jae 0x141dd919b
cmp eax, 0x500
jb 0x141dd9196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141dd907e
cmp eax, 0x7f
ja 0x141dd919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141dd907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141dd91d2
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 0x141dd907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140039da0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140058300], rbx
je 0x140039dec
cmp rax, rbx
jne 0x140039ddf
mov ebx, 1
mov esi, ebx
jmp 0x140039df1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140039dc4
mov ebx, 1
mov eax, dword [0x140058308]
cmp eax, ebx
jne 0x140039e07
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x140039e6c
mov eax, dword [0x140058308]
test eax, eax
jne 0x140039e66
mov dword [0x140058308], ebx
lea r15, [0x1400402d8]
lea rdi, [0x1400402c0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140039e58
test eax, eax
jne 0x140039e5c
cmp qword [rdi], 0
je 0x140039e4d
mov rax, qword [rdi]
mov rcx, qword [case.0x140036da7.0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x140039e2e
test eax, eax
je 0x140039e6c
mov eax, 0xff
jmp 0x140039f48
mov dword [0x140053c08], ebx
mov eax, dword [0x140058308]
cmp eax, ebx
jne 0x140039e93
lea rdx, [0x1400402b8]
lea rcx, [0x140040228]
call sub.msvcrt.dll__initterm
mov dword [0x140058308], 2
test esi, esi
jne 0x140039ea0
xor eax, eax
xchg qword [0x140058300], rax
cmp qword [0x140058320], 0
je 0x140039ed4
lea rcx, [0x140058320]
call fcn.14003a790
test eax, eax
je 0x140039ed4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140058320]
mov r9, qword [case.0x140036da7.0]
call r9
mov r8, qword [0x140053c20]
mov rdx, qword [0x140053c18]
mov ecx, dword [0x140053c10]
call fcn.140027958
mov dword [0x140053c04], eax
cmp dword [0x140053c28], 0
jne 0x140039f04
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140053c08], 0
jne 0x140039f19
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140053c04]
jmp 0x140039f48
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1401db000
add rsp, 0x28
jmp 0x140039da0

Function at 0x14003a68c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14003a6d8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14003a6d0
cmp dword [rcx + 0x3c], edx
jl 0x14003a6d0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14003a6d0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14003a6d8
mov rax, rdx
add rsp, 0x18
ret