joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140024200
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140029558
nop
cmp dword [0x141602440], 1
je 0x1400241ac
mov dword [0x14160243c], 1
mov byte [0x141602438], r12b
test ebx, ebx
jne 0x140024198
mov rcx, qword [0x14166ed30]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140024185
mov rcx, qword [0x14166ed28]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140024124
call fcn.140028688
cmp qword [rdi], rax
jne 0x140024124
jmp 0x14002410a
cmp rdi, rsi
jb 0x140024185
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140028688
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14166ed30]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14166ed28]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140024163
cmp r13, rax
je 0x140024183
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14002410a
lea rdx, [0x14003bba8]
lea rcx, [0x14003bb90]
call fcn.140023f54
lea rdx, [0x14003bbb8]
lea rcx, [0x14003bbb0]
call fcn.140023f54
nop
test r12d, r12d
je 0x1400241bb
mov ecx, 8
call fcn.140029458
test r12d, r12d
jne 0x1400241e6
mov dword [0x141602440], 1
lea ecx, [r12 + 8]
call fcn.140029458
mov ecx, r15d
call fcn.140023ee8
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140024074

Function at 0x14002420c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140024074
Function at 0x140028b83
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14004e530]
jne 0x140022aba
rol rcx, 0x10
test cx, 0xffff
jne 0x140022ab6
repz ret
ror rcx, 0x10
jmp 0x140028adc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x141602a40]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x141602b38]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140028b61
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x141602a40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140028b83
mov rax, qword [rsp + 0x88]
mov qword [0x141602b38], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x141602ad8], rax
mov rax, qword [0x141602b38]
mov qword [0x1416029b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x141602ac0], rax
mov dword [0x1416029a0], 0xc0000409
mov dword [0x1416029a4], 1
mov rax, qword [0x14004e530]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14004e538]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x141602a38], eax
mov ecx, 1
call fcn.140031bdc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140041020]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x141602a38], 0
jne 0x140028c0a
mov ecx, 1
call fcn.140031bdc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400317c0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140028688
xor ebx, ebx
mov rdi, rax
cmp qword [0x1416032e0], rbx
jne 0x1400318c6
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14003199b
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003199b
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140041258]
mov rcx, rsi
mov qword [0x1416032e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140041240]
mov rcx, rsi
mov qword [0x1416032e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1416032f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x141603300], rax
test rax, rax
je 0x1400318bd
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1416032f8], rax
jmp 0x1400318cd
mov rax, qword [0x1416032f8]
jmp 0x1400318d4
mov rax, qword [0x1416032f8]
mov r11, qword [0x141603300]
cmp rax, rdi
je 0x14003193c
cmp r11, rdi
je 0x14003193c
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x141603300]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14003193c
test rax, rax
je 0x14003193c
call rsi
test rax, rax
je 0x140031936
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140031936
test byte [rsp + 0x38], 1
jne 0x14003193c
bts ebp, 0x15
jmp 0x14003197a
mov rcx, qword [0x1416032e8]
cmp rcx, rdi
je 0x14003197a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14003197a
call rax
mov rbx, rax
test rax, rax
je 0x14003197a
mov rcx, qword [0x1416032f0]
cmp rcx, rdi
je 0x14003197a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14003197a
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1416032e0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14003199b
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14003199d
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1401b12c0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1401b12cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1401b12dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1401b12c5
lea eax, [rcx + 1]
jmp 0x1401b12eb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1401b12fe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1401b12e4
sub eax, 3
jb 0x1401b131e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1401b136d
sar eax, 1
movsxd rbp, eax
jb 0x1401b1354
jmp 0x1401b132c
add ebx, ebx
jne 0x1401b132a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401b1354
inc ecx
add ebx, ebx
jne 0x1401b133a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401b1354
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1401b134d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1401b133c
add ecx, 2
jmp 0x1401b1359
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1401b1282
jmp 0x1401b12cd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xdca00
mov dl, 0x17
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1401b13bd
cmp rsi, rcx
jae 0x1401b13c5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1401b13a4
cmp al, 0x8f
ja 0x1401b13a4
cmp byte [rsi - 2], 0xf
je 0x1401b13aa
sub al, 0xe8
cmp al, 1
ja 0x1401b138e
cmp rsi, rcx
jae 0x1401b13c5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1401b1394
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1401b13c5
lodsb al, byte [rsi]
jmp 0x1401b13a4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1ae000]
mov eax, dword [rdi]
or eax, eax
je 0x1401b1422
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1cad90]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1401b13d2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1401b141c
mov qword [rbx], rax
add rbx, 8
jmp 0x1401b13f2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1401b145c
cmp al, 0xef
ja 0x1401b144e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1401b142e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1401b143d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.1401b14db], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1401b14db
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1401b14cb
sub rsp, 0xffffffffffffff80
jmp 0x1400013d0
Function at 0x140723058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1407231df
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 0x140723089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14072306f
add dl, dl
jne 0x140723096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407230f6
xor eax, eax
add dl, dl
jne 0x1407230a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407231ad
add dl, dl
jne 0x1407230b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407230c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407230d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407230dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407230ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14072307e
mov eax, 1
add dl, dl
jne 0x140723106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140723113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407230fb
sub eax, ebx
mov ebx, 1
jne 0x14072314c
mov ecx, 1
add dl, dl
jne 0x14072312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14072313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140723123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14072307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140723168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140723175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14072315d
cmp eax, 0x7d00
jae 0x14072319b
cmp eax, 0x500
jb 0x140723196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14072307e
cmp eax, 0x7f
ja 0x14072319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14072307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407231d2
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 0x14072307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800023b0
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0xa0
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov rsi, rcx
mov rax, qword [rcx + 0x128]
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x30]
mov qword [r11 - 0x80], rax
mov rax, qword [rcx + 0x98]
mov qword [r11 - 0x78], rax
mov rcx, rsi
call fcn.1800022b4
test al, al
je 0x1800025d1
cmp byte [rsi + 0x10], 0
je 0x180002415
mov rcx, rsi
call fcn.1800025dc
test al, al
je 0x18000251e
and dword [rsp + 0xc8], 0
lea rax, [rsi + 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc8]
mov r8d, 0x1000
mov rdx, qword [rsi + 0x60]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1800024d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x1800024a1
cmp eax, 0x3e5
je 0x18000249b
lea rax, str.Channel_read_failure
mov qword [rsp + 0xd0], rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x68]
call fcn.18000bd58
nop
lea rax, [0x1800249d8]
mov qword [rsp + 0x68], rax
lea rdx, [0x18002b2f0]
lea rcx, [rsp + 0x68]
call fcn.18000c558
mov byte [rsi + 0x10], 1
jmp 0x1800024d5
lea rcx, [rsp + 0x48]
call fcn.18000bdd0
nop
lea rax, [0x1800249d8]
mov qword [rsp + 0x48], rax
lea rax, [0x1800249f8]
mov qword [rsp + 0x48], rax
lea rdx, [0x18002b2a8]
lea rcx, [rsp + 0x48]
call fcn.18000c558
cmp byte [rsi + 0x10], 0
jne 0x18000251e
lea rbx, [rsi + 0x48]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx]
mov edx, dword [rsp + 0xc8]
add rdx, rdi
mov rcx, rbx
call fcn.180003400
mov rcx, qword [rbx]
mov r8d, dword [rsp + 0xc8]
add rcx, rdi
mov rdx, qword [rsi + 0x60]
call fcn.18000ad00
mov rcx, qword [rsi + 0x38]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov dil, 1
jmp 0x180002521
xor dil, dil
mov rcx, rsi
call fcn.180002794
mov bl, al
mov rcx, rsi
call fcn.180002c1c
or bl, dil
je 0x18000253d
jmp 0x1800023ef
mov r9d, 0x1f4
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea ecx, [r8 + 3]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x180002568
mov rcx, qword [rsi + 0x128]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x180002538
cmp eax, 3
jae 0x18000257f
mov rcx, rsi
call fcn.1800025dc
mov rcx, rsi
call fcn.180002a3c
jmp 0x180002595
cmp eax, 0x102
jne 0x18000259f
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x180002595
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, rsi
call fcn.180002c1c
jmp 0x180002538
lea rcx, [rsp + 0x80]
call fcn.18000bdd0
nop
lea rax, [0x1800249d8]
mov qword [rsp + 0x80], rax
lea rdx, [0x18002b2f0]
lea rcx, [rsp + 0x80]
call fcn.18000c558
nop
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret
Function at 0x180004b48
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0x98
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov rax, qword [0x18002c528]
xor rax, rsp
mov qword [rbp + 7], rax
mov r15, r9
mov rsi, r8
mov rdi, rdx
mov r13, rcx
mov qword [rbp - 0x21], rdx
mov qword [rbp - 0x29], r8
mov r9d, dword [0x18002ede8]
lea ecx, [r9 + 2]
lea eax, [r9 + 1]
imul ecx, eax
imul ecx, r9d
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub ecx, edx
xor r12d, r12d
cmp ecx, 0x13
jne 0x180004bfc
mov r8d, r12d
mov edx, r8d
mov r10d, 8
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, r9d
mov eax, edx
sar eax, 1
mov edx, ecx
xor edx, eax
dec r10
jne 0x180004bcd
add r9d, edx
inc r8d
cmp r8d, 0x100
jl 0x180004bc4
mov dword [0x18002ede8], r9d
mov rdx, rdi
lea rcx, [r13 + 0x10]
call fcn.180004d30
mov r14d, 0xf
cmp qword [rax], r12
jne 0x180004c70
lea r8, str..dll
mov rdx, rdi
lea rcx, [rbp - 0x19]
call fcn.180004e44
mov r14, rax
cmp qword [rax + 0x18], 0x10
jb 0x180004c33
mov r14, qword [rax]
mov rdx, rdi
lea rcx, [r13 + 0x10]
call fcn.180004d30
mov rbx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx], rax
cmp qword [rbp - 1], 0x10
jb 0x180004c5e
mov rcx, qword [rbp - 0x19]
call fcn.18000b380
mov r14d, 0xf
mov qword [rbp - 1], r14
mov qword [rbp - 9], r12
mov byte [rbp - 0x19], r12b
cmp qword [r15], r12
jne 0x180004cda
lea rax, [rbp - 0x19]
mov qword [rbp - 0x41], rax
lea rax, [rbp - 0x61]
mov qword [rbp - 0x39], rax
mov qword [rbp - 1], r14
mov qword [rbp - 9], r12
mov byte [rbp - 0x19], r12b
or rbx, 0xffffffffffffffff
mov r9, rbx
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x19]
call fcn.1800013f8
nop
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x51], r12
mov byte [rbp - 0x61], r12b
mov r9, rbx
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x61]
call fcn.1800013f8
nop
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x61]
mov rcx, r13
call fcn.180004f14
mov qword [r15], rax
cmp qword [rdi + 0x18], 0x10
jb 0x180004ce9
mov rcx, qword [rdi]
call fcn.18000b380
mov qword [rdi + 0x18], r14
mov qword [rdi + 0x10], r12
mov byte [rdi], r12b
cmp qword [rsi + 0x18], 0x10
jb 0x180004d03
mov rcx, qword [rsi]
call fcn.18000b380
mov qword [rsi + 0x18], r14
mov qword [rsi + 0x10], r12
mov byte [rsi], r12b
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.18000acd0
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x180006130
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x2e8]
sub rsp, 0x3d0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18002c528]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov r14, rcx
mov r9d, dword [0x18002ede8]
lea r8d, [r9 + 2]
lea eax, [r9 + 1]
imul r8d, eax
imul r8d, r9d
mov eax, 0x38e38e39
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
add eax, eax
sub r8d, eax
xor r15d, r15d
cmp r8d, 0xe
jne 0x1800061d1
mov ecx, r15d
lea rdx, [rsp + 0x60]
mov eax, dword [rdx]
imul eax, eax, 0x1f
add r9d, eax
inc ecx
lea rdx, [rdx + 4]
movsxd rax, ecx
cmp rax, 0x358
jb 0x1800061b1
mov dword [0x18002ede8], r9d
mov word [rsp + 0x60], r15w
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x62]
call fcn.18000fbf0
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x18000622d
lea rax, str.error_getting_exe_path
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x38]
call fcn.18000bd58
lea rdx, [0x18002b418]
lea rcx, [rsp + 0x38]
call fcn.18000c558
int3
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
jne 0x18000626d
lea rax, str.error_get_version_info_size
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x38]
call fcn.18000bd58
lea rdx, [0x18002b418]
lea rcx, [rsp + 0x38]
call fcn.18000c558
int3
mov rcx, rsi
call fcn.18000ac98
mov rdi, rax
mov qword [rsp + 0x58], rax
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.18000fbf0
mov r9, rdi
mov r8d, esi
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1800062ce
lea rax, str.error_get_version_info
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x38]
call fcn.18000bd58
lea rdx, [0x18002b418]
lea rcx, [rsp + 0x38]
call fcn.18000c558
int3
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x30], r15
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x30]
lea rdx, [0x180024c18]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x180006312
cmp dword [rsp + 0x20], r15d
je 0x180006312
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0xfeef04bd
jne 0x180006312
movzx eax, word [rax + 0xa]
mov dword [r14 + 0x58], eax
mov rcx, rdi
call fcn.18000bfd4
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.18000acd0
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x180006eac
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp edx, 1
jne 0x180006f67
mov qword [0x18002edf8], rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x180006dec]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x180006f5e
mov r8d, dword [0x18002ede8]
mov eax, r8d
imul eax, r8d
and eax, 0x8000000f
jge 0x180006f0c
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 0xa
jne 0x180006f5a
lea r10d, [rax + 0x23]
mov eax, r8d
xor ecx, ecx
cdq
sub eax, edx
sar eax, 1
mov edi, eax
test edi, edi
jle 0x180006f53
mov eax, r8d
mov rbx, rdi
cdq
and edx, 3
add eax, edx
sar eax, 2
xor r9d, r9d
test eax, eax
jle 0x180006f4b
mov edx, r9d
mov r11d, eax
add r10d, edx
dec edx
dec r11
jne 0x180006f41
add r9d, ecx
dec rbx
jne 0x180006f37
inc ecx
cmp ecx, r10d
jl 0x180006f21
xor eax, eax
jmp 0x180006f6c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x55
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400013ec
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r10d, r10d
mov ebx, edx
mov r11, rcx
test edx, edx
je 0x140001417
xor edx, edx
mov eax, r10d
div r9d
inc r10d
mov al, byte [rdx + r8]
xor byte [r11], al
inc r11
cmp r10d, ebx
jne 0x1400013fd
mov rbx, qword [rsp + 8]
ret
Function at 0x1403601ec
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9, rdx
mov r8, rcx
mov qword [r11 - 0x10], rax
xor edi, edi
mov edx, 0x1000
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
je 0x1403602b2
lea rcx, [0x1403762e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140375ef0]
jmp 0x140360276
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140360273
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x140375ef0]
mov rdx, rsi
call fcn.14036bc18
jmp 0x140360276
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140360243
mov rdx, qword [0x140374610]
lea rcx, [0x140375ef0]
mov rdi, rdx
inc rdx
mov qword [0x140374610], rdx
lea edx, [rbx + 0x20]
call fcn.14036bc60
lea rcx, [0x1403762e0]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
ret

Function at 0x14036038c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14036017c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x1403762e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140375ef0]
jmp 0x1403603c8
cmp qword [rbx + 0x18], rdi
je 0x1403603cf
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1403603bf
jmp 0x1403603e9
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140375ef0]
call fcn.14036bc18
lea rcx, [0x1403762e0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]