joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140058ec0
Capabilities:
Acquire debug privileges

Disassembly:
push rdi
sub rsp, 0x90
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x1401b5e90]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov edi, edx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call fcn.140029030
mov rcx, rax
lea r9, [rsp + 0x30]
mov r8d, 0x20028
mov rdx, rbx
call fcn.14003fc60
test eax, eax
jne 0x140058f52
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.14004f240
mov rbx, rax
call fcn.140051240
mov rdx, rax
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.1400549e0
lea rdx, [0x140180970]
lea rcx, [rsp + 0x38]
call fcn.1400d39b8
nop
lea r8, [rsp + 0x48]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x140058fb1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.14004f240
mov rbx, rax
call fcn.140051820
mov rdx, rax
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.1400549e0
lea rdx, [0x140180970]
lea rcx, [rsp + 0x38]
call fcn.1400d39b8
nop
mov dword [rsp + 0x58], 1
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x5c], rax
neg edi
sbb eax, eax
and eax, 2
mov dword [rsp + 0x64], eax
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x58]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x140059035
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.14004f240
mov r9, rax
call fcn.140050480
mov rdx, rax
mov r8, r9
lea rcx, [rsp + 0x38]
call fcn.1400549e0
lea rdx, [0x140180970]
lea rcx, [rsp + 0x38]
call fcn.1400d39b8
nop
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x1401bdd80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x55555556
imul r8d
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
sub r8d, ecx
mov ecx, dword [0x1401befa0]
mov edx, 0x596b203d
cmp r8d, 1
cmove ecx, edx
mov dword [0x1401befa0], ecx
mov eax, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400cbae0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x14005a570
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rbp, rdx
mov rsi, rcx
mov edx, 0x5c
mov rcx, qword [rcx + 0x1b0]
call fcn.1400ce3c8
or rbx, 0xffffffffffffffff
test rax, rax
jne 0x14005a5ad
mov eax, ebx
jmp 0x14005a5b7
sub rax, qword [rsi + 0x1b0]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 0x1b0]
call fcn.140027f30
nop
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, qword [rsi + 0x1b0]
mov rcx, qword [rsi + 0x2d8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005a65b
call fcn.140051770
mov r8, rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14001aed0
nop
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x20], rbp
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005a64f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test edi, edi
jne 0x14005a65b
mov dil, 1
jmp 0x14005a75d
call fcn.140052100
mov rdi, rax
lea rcx, [0x1401b59a8]
mov rdx, qword [0x1401b59a8]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
test rdi, rdi
je 0x14005a6bc
test rdi, 0xffffffffffff0000
jne 0x14005a6ac
movzx edi, di
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14005a6cf
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140002690
jmp 0x14005a6cf
mov rax, rbx
nop
inc rax
cmp word [rdi + rax*2], 0
jne 0x14005a6b0
jmp 0x14005a6be
xor eax, eax
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400023a0
nop
call fcn.140051970
mov r8, rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14001aed0
nop
lea r8, [rsi + 0x190]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14000feb0
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005a715
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.140015400
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005a73d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14005a75a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor dil, dil
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005a777
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, dil
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005c6c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r15, r9
mov r12, r8
mov r14, rcx
call fcn.14000a9e0
xor edi, edi
mov edx, 0x81
lea r8d, [rdi + 5]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x14005c7e2
mov edx, 0x81
mov rcx, r14
mov qword [rsp + 0x50], rbx
lea r8d, [rdx + 0x6f]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14005c733
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rsi
mov rcx, r14
mov qword [rsp + 0x58], rbp
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14005c7ac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x14005c7ac
mov rcx, rax
call fcn.14004ee60
mov r9, r15
mov r8, r12
mov rcx, r14
mov rdx, rax
mov qword [rsp + 0x20], rdi
mov rsi, rax
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rdi, rax
test rax, rax
jne 0x14005c78e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp rsi, rbp
je 0x14005c7b4
test rsi, rsi
je 0x14005c7b4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14005c7b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rbp, qword [rsp + 0x58]
test ebx, ebx
je 0x14005c7c5
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
mov rax, rdi
jmp 0x14005c7cd
Function at 0x14005e8e0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push r14
sub rsp, 0xe0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401b5e90]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rdi, rcx
cmp byte [rcx + 0x10], 0
je 0x14005e929
call fcn.14005eb20
test al, al
je 0x14005eab0
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rax, [rdi + 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov rdx, qword [rdi + 0x60]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14005e9e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x14005e9ab
cmp eax, 0x3e5
je 0x14005e9a5
lea rax, str.Channel_read_failure
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.1400cef68
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x60], rax
lea rdx, [0x140180ad8]
lea rcx, [rsp + 0x60]
call fcn.1400d39b8
int3
mov byte [rdi + 0x10], 1
jmp 0x14005e9e0
lea rcx, [rsp + 0x40]
call fcn.1400cefe0
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x40], rax
lea rax, vtable.CRSimpleIPCExceptionDisconnected.0
mov qword [rsp + 0x40], rax
lea rdx, [0x140180a90]
lea rcx, [rsp + 0x40]
call fcn.1400d39b8
int3
cmp byte [rdi + 0x10], bl
jne 0x14005ea6f
mov r14, qword [rdi + 0x50]
sub r14, qword [rdi + 0x48]
mov r8d, dword [0x1401bdd80]
mov ecx, r8d
imul ecx, r8d
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xb
sub ecx, edx
cmp ecx, 0xa
jne 0x14005ea3b
test r8d, r8d
je 0x14005ea35
nop
mov ecx, r8d
and ecx, 1
add ebx, ecx
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
jne 0x14005ea20
mov dword [0x1401bdd80], ebx
mov edx, dword [rsp + 0x30]
add rdx, r14
lea rcx, [rdi + 0x48]
call fcn.140031880
mov r8d, dword [rsp + 0x30]
mov rax, qword [rdi + 0x48]
lea rcx, [r14 + rax]
mov rdx, qword [rdi + 0x60]
call fcn.1400cbb10
mov rcx, qword [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov al, 1
jmp 0x14005eab2
call fcn.14005cce0
test al, al
jne 0x14005eab0
lea rdx, [rsp + 0x80]
mov r8d, dword [0x1401bdd80]
nop word [rax + rax]
mov ecx, dword [rdx]
lea eax, [r8 + rcx]
lea r8d, [rax + rcx*4]
inc ebx
lea rdx, [rdx + 4]
movsxd rax, ebx
cmp rax, 0x50
jb 0x14005ea90
mov dword [0x1401bdd80], r8d
xor al, al
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400cbae0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14005ecb0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rdi, rcx
cmp byte [rcx + 0x78], 0
je 0x14005ecdf
call fcn.14005ef00
test al, al
je 0x14005eee2
lea rsi, [rdi + 0xb0]
mov rax, qword [rsi + 8]
cmp qword [rsi], rax
jne 0x14005ed82
lea rax, [rdi + 0xd0]
mov qword [rsp + 0x98], rax
lea rbx, [rax + 8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp qword [rdi + 0x120], 0
jne 0x14005ed28
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14005eee2
lea rcx, [rdi + 0x100]
lea rdx, [rsp + 0x50]
call fcn.1400365f0
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
jne 0x14005ed48
xor eax, eax
jmp 0x14005ed4b
mov rax, qword [rcx]
mov rcx, qword [rax + 0x10]
dec rcx
and rcx, qword [rdx + 0x10]
mov rax, qword [rax + 8]
mov rcx, qword [rax + rcx*8]
call fcn.14005e190
mov rdx, rax
mov rcx, rsi
call fcn.140031760
mov qword [rdi + 0xc8], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x90], 0
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rdx
lea rcx, [rdi + 0x80]
add rdx, qword [rdi + 0xc8]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x90]
mov rcx, qword [rdi + 0xa8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14005ee54
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x14005ee1f
cmp eax, 0x3e5
je 0x14005ee19
lea rax, str.Channel_write_failure
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x50]
call fcn.1400cef68
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x50], rax
lea rdx, [0x140180ad8]
lea rcx, [rsp + 0x50]
call fcn.1400d39b8
int3
mov byte [rdi + 0x78], 1
jmp 0x14005ee54
lea rcx, [rsp + 0x38]
call fcn.1400cefe0
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x38], rax
lea rax, vtable.CRSimpleIPCExceptionDisconnected.0
mov qword [rsp + 0x38], rax
lea rdx, [0x140180a90]
lea rcx, [rsp + 0x38]
call fcn.1400d39b8
int3
cmp byte [rdi + 0x78], 0
jne 0x14005eee2
mov eax, dword [rsp + 0x90]
add qword [rdi + 0xc8], rax
mov bpl, 1
mov rax, qword [rsi + 8]
sub rax, qword [rsi]
cmp qword [rdi + 0xc8], rax
jne 0x14005eecf
lea rax, [rdi + 0xd0]
mov qword [rsp + 0x98], rax
lea rbx, [rax + 8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rcx, [rdi + 0x100]
call fcn.14005f3c0
mov rax, qword [rsi]
mov qword [rsi + 8], rax
mov qword [rdi + 0xc8], 0
cmp qword [rdi + 0x120], 0
setne bpl
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
movzx eax, bpl
jmp 0x14005eee4
xor al, al
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140060180
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [0x1401bdd80]
mov eax, 0x66666667
mov r8d, ecx
imul r8d, ecx
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
sub r8d, eax
cmp r8d, 2
jne 0x140060277
lea r8d, [rcx + 1]
mov eax, 0x4ec4ec4f
imul r8d, ecx
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xd
sub r8d, edx
cmp r8d, 8
jne 0x140060274
xor r8d, r8d
nop dword [rax + rax]
mov edx, r8d
mov eax, r8d
inc r8d
sar eax, 1
and edx, 1
dec edx
not edx
and edx, ecx
xor edx, eax
mov eax, edx
sar edx, 1
and eax, 1
dec eax
not eax
and eax, ecx
xor eax, edx
mov edx, eax
sar eax, 1
and edx, 1
dec edx
not edx
and edx, ecx
xor edx, eax
mov eax, edx
sar edx, 1
and eax, 1
dec eax
not eax
and eax, ecx
xor eax, edx
mov edx, eax
sar eax, 1
and edx, 1
dec edx
not edx
and edx, ecx
xor edx, eax
mov eax, edx
sar edx, 1
and eax, 1
dec eax
not eax
and eax, ecx
xor eax, edx
mov edx, eax
sar eax, 1
and edx, 1
dec edx
not edx
and edx, ecx
xor edx, eax
mov eax, edx
sar edx, 1
and eax, 1
dec eax
not eax
and eax, ecx
xor eax, edx
add ecx, eax
cmp r8d, 0x100
jl 0x1400601e0
mov dword [0x1401bdd80], ecx
xor al, al
ret
mov al, 1
ret

Function at 0x1400604a0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
mov ecx, dword [0x1401bdd80]
lea r9d, [rcx + 1]
mov eax, 0x92492493
mov esi, r8d
imul r9d, ecx
imul r9d
add edx, r9d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xe
sub r9d, edx
cmp r9d, 0xa
jne 0x140060529
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 4
imul edx, edx, 0x64
sub ecx, edx
add ecx, 0x141
movsxd rcx, ecx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400cb128
mov rcx, rax
call fcn.1400cc208
xor r8d, r8d
test esi, esi
jle 0x14006057a
mov r9, rbx
sub rdi, rbx
lea r10, str._Abraham_took_Ishmael_his_son__and_all_that_were_born_in_his_house__and_all_that_were_bought_with_his_money__every_male_among_the_men_of_Abrahams_house__and_circumcised_the_flesh_of_their_foreskin_in_the_selfsame_day__as_God_had_said_unto_him.
nop dword [rax]
mov eax, 0x4325c53f
lea r9, [r9 + 1]
imul r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r8d
inc r8d
imul edx, edx, 0xf4
sub eax, edx
movsxd rcx, eax
movzx eax, byte [rcx + r10]
xor al, byte [rdi + r9 - 1]
mov byte [r9 - 1], al
cmp r8d, esi
jl 0x140060540
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140066330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1401b5e90]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400663be
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400663be
call fcn.140004620
mov ebx, eax
jmp 0x1400664e3
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400663df
call fcn.140004620
jmp 0x1400664d2
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140066402
call fcn.140004620
jmp 0x1400664d2
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x140066424
mov ebx, 0x8007000e
jmp 0x1400664d4
mov ecx, eax
test eax, eax
je 0x14006645c
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140066452
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14006645c
lea rcx, [rsp + 0x70]
call fcn.140068ba0
jmp 0x140066466
mov ecx, 0x80070216
call fcn.140001920
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x140066479
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x14006648a
mov ebx, 0x8007000e
jmp 0x1400664d4
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1400664af
call fcn.140004620
jmp 0x1400664d2
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140067340
mov ebx, eax
test rdi, rdi
je 0x1400664e3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x1400664fa
lea rcx, [rsp + 0x70]
call fcn.140068b90
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400cbae0
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14006d810
Capabilities:
Terminate process

Disassembly:
mov eax, 0x28
call fcn.1400d0b90
sub rsp, rax
lea r8, [0x140183d08]
lea edx, [rax - 0x27]
lea ecx, [rax - 0x23]
mov r9d, 0x244
call fcn.140074250
cmp dword [0x14018324c], 0
jne 0x14006d85c
mov edx, 1
lea r8, [0x140183d20]
mov r9d, 0x247
lea ecx, [rdx + 5]
add rsp, 0x28
jmp fcn.140074250
mov edx, 1
lea r8, [0x140183d38]
mov r9d, 0x24b
lea ecx, [rdx + 5]
call fcn.140074250
mov edx, 1
lea r8, [0x140183d50]
lea ecx, [rdx + 8]
mov r9d, 0x24c
call fcn.140074250
cmp dword [0x14018324c], 0
jne 0x14006d8b7
mov edx, 1
lea r8, [0x140183d68]
mov r9d, 0x24f
lea ecx, [rdx + 9]
add rsp, 0x28
jmp fcn.140074250
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x20], rdi
lea rsi, [0x1401b9fe0]
lea rbx, [0x1401bafc8]
mov edi, 1
lea rbp, [0x140183d80]
cmp qword [rbx], 0
mov dword [rbx - 8], edi
jne 0x14006d91b
mov ecx, edi
call fcn.1400d0de4
test rax, rax
je 0x14006d912
mov r8d, 0x20
mov rdx, rax
mov rcx, rsi
call fcn.1400d0c80
mov byte [rsi + 0x1f], 0
mov qword [rbx], rsi
cmp qword [rbx], 0
jne 0x14006d91b
mov qword [rbx], rbp
inc edi
add rbx, 0x10
add rsi, 0x20
cmp edi, 0x7f
jle 0x14006d8e5
mov edx, 1
lea r8, [0x140183d88]
mov r9d, 0x26c
lea ecx, [rdx + 9]
mov dword [0x14018324c], 0
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
jmp fcn.140074250
Function at 0x140070890
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r10, dword [rdx + 8]
lea rbx, [rcx - 1]
movsxd rcx, dword [r8 + 8]
xor rcx, r10
shr rbx, 0x3f
movsxd rsi, r9d
dec rbx
lea eax, [rsi - 1]
mov r11, r8
and rcx, rbx
mov rdi, rdx
xor r10d, ecx
mov dword [rdx + 8], r10d
xor dword [r8 + 8], ecx
cmp eax, 9
ja case.default.0x1400708e7
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x70a90]
add rcx, rdx
jmp rcx
mov r9d, 0xa
cmp r9, rsi
jge case.0x1400708e7.10
nop word [rax + rax]
mov rax, qword [r11]
mov r8, qword [rdi]
inc r9
mov rcx, qword [r8 + r9*8 - 8]
mov rdx, qword [rax + r9*8 - 8]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + r9*8 - 8], rcx
mov rax, qword [r11]
xor qword [rax + r9*8 - 8], rdx
cmp r9, rsi
jl 0x140070900
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x48]
mov rdx, qword [rax + 0x48]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x48], rcx
mov rax, qword [r11]
xor qword [rax + 0x48], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x40]
mov rdx, qword [rax + 0x40]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x40], rcx
mov rax, qword [r11]
xor qword [rax + 0x40], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x38]
mov rdx, qword [rax + 0x38]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x38], rcx
mov rax, qword [r11]
xor qword [rax + 0x38], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x30]
mov rdx, qword [rax + 0x30]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x30], rcx
mov rax, qword [r11]
xor qword [rax + 0x30], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x28]
mov rdx, qword [rax + 0x28]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x28], rcx
mov rax, qword [r11]
xor qword [rax + 0x28], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x20]
mov rdx, qword [rax + 0x20]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x20], rcx
mov rax, qword [r11]
xor qword [rax + 0x20], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x18]
mov rdx, qword [rax + 0x18]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x18], rcx
mov rax, qword [r11]
xor qword [rax + 0x18], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x10]
mov rdx, qword [rax + 0x10]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x10], rcx
mov rax, qword [r11]
xor qword [rax + 0x10], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 8]
mov rdx, qword [rax + 8]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 8], rcx
mov rax, qword [r11]
xor qword [rax + 8], rdx
mov r8, qword [rdi]
mov rax, qword [r11]
mov rsi, qword [rsp + 0x10]
mov rdx, qword [r8]
mov rcx, qword [rax]
mov rdi, qword [rsp + 0x18]
xor rcx, rdx
and rcx, rbx
mov rbx, qword [rsp + 8]
xor rdx, rcx
mov qword [r8], rdx
mov rax, qword [r11]
xor qword [rax], rcx
ret
Function at 0x140073a60
Capabilities:
Terminate process

Disassembly:
push rdi
mov eax, 0x20
call fcn.1400d0b90
sub rsp, rax
mov edi, ecx
test ecx, ecx
je 0x140073a7c
or eax, 0xffffffff
sub eax, ecx
mov edi, eax
cmp qword [0x1401bbb58], 0
je 0x140073b3b
mov edx, 0x1d
lea r8, [0x140184960]
mov r9d, 0x131
lea ecx, [rdx - 0x14]
call fcn.140074250
mov rcx, qword [0x1401bbb20]
test rcx, rcx
je 0x140073b41
call fcn.140083fc0
cmp edi, eax
jge 0x140073b41
mov rcx, qword [0x1401bbb20]
mov edx, edi
mov qword [rsp + 0x30], rbx
call fcn.140083fd0
mov rbx, rax
test rax, rax
je 0x140073af8
dec dword [rax]
cmp dword [rax], 0
jg 0x140073af6
mov rcx, qword [0x1401bbb20]
xor r8d, r8d
mov edx, edi
call fcn.140083ff0
jmp 0x140073af8
xor ebx, ebx
mov edx, 0x1d
lea r8, [0x140184990]
mov r9d, 0x14b
lea ecx, [rdx - 0x13]
call fcn.140074250
test rbx, rbx
je 0x140073b36
mov rcx, qword [rbx + 8]
lea rdx, [0x1401849a8]
mov r8d, 0x14f
call qword [0x1401bbb58]
mov rcx, rbx
call fcn.140075700
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0x1d
lea r8, [0x140184978]
mov r9d, 0x135
lea ecx, [rdx - 0x13]
add rsp, 0x20
pop rdi
jmp fcn.140074250