joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5eb380
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x10]
cmp r12, qword [r14 + 0x10]
jbe 0x5eb595
sub rsp, 0x90
mov qword [rsp + 0x88], rbp
lea rbp, [rsp + 0x88]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], r8
test rdi, rdi
je 0x5eb4c6
mov rax, rcx
mov rbx, rdi
mov rcx, rsi
call fcn.004df620
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x60], rbx
mov rdx, qword [rsp + 0xc0]
mov rax, rdx
mov ebx, 0xa
call fcn.00493440
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x50], rbx
mov rdx, qword [rsp + 0x80]
mov qword [rsp], rdx
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 8], rsi
mov byte [rsp + 0x10], 0x3a
call fcn.00403220
xorps xmm15, xmm15
mov r14, qword [0x00844340]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x5eb48c
xor eax, eax
lea rbx, [0x006474e4]
mov ecx, 1
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x60]
lea r8, [0x00647569]
mov r9d, 2
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x50]
call fcn.0044e200
jmp 0x5eb4b6
xor eax, eax
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
lea rdi, [0x006b4a48]
mov esi, 1
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x50]
call fcn.0044e120
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
mov rax, r8
mov ebx, 0xa
call fcn.00493440
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x48], rbx
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x78], rcx
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 0x58], rdx
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call fcn.00403220
xorps xmm15, xmm15
mov r14, qword [0x00844340]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x5eb55a
xor eax, eax
lea rbx, [0x006474e4]
mov ecx, 1
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x58]
lea r8, [0x00647569]
mov r9d, 2
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x48]
call fcn.0044e200
jmp 0x5eb585
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
lea rdi, [0x006b4a48]
mov esi, 1
mov r8, qword [rsp + 0x68]
mov r9, qword [rsp + 0x48]
nop dword [rax]
call fcn.0044e120
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call fcn.00462240
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.005eb380
Function at 0x140996058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1409961df
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 0x140996089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14099606f
add dl, dl
jne 0x140996096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409960f6
xor eax, eax
add dl, dl
jne 0x1409960a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409961ad
add dl, dl
jne 0x1409960b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409960c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409960d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409960dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409960ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14099607e
mov eax, 1
add dl, dl
jne 0x140996106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140996113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409960fb
sub eax, ebx
mov ebx, 1
jne 0x14099614c
mov ecx, 1
add dl, dl
jne 0x14099612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14099613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140996123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14099607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140996168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140996175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14099615d
cmp eax, 0x7d00
jae 0x14099619b
cmp eax, 0x500
jb 0x140996196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14099607e
cmp eax, 0x7f
ja 0x14099619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14099607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409961d2
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 0x14099607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x40c880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov eax, r8d
mov qword [rsp + 0x70], rsi
mov rsi, rdx
shr eax, 4
add ax, 1
mov ebx, r8d
mov rbp, rcx
movzx edx, ax
mov r8d, 6
mov rcx, rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x50], r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
mov r12, rax
je 0x40c9f5
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x40c9f5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
je 0x40c9f5
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rdi
and ebx, 0xf
jbe 0x40c926
nop
cmp rdi, r11
jae 0x40c9f5
add ebx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x40c910
cmp rdi, r11
jae 0x40c9f5
movzx eax, word [rdi]
test ax, ax
je 0x40c9f5
mov qword [rsp + 0x48], r13
movzx ebx, ax
call qword [0x00473428]
xor r13d, r13d
lea r12, [rdi + 2]
mov r9d, ebx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov ecx, eax
mov r8, r12
xor edx, edx
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rbp]
mov edx, 1
movsxd rsi, eax
sub edx, dword [rcx - 8]
mov ecx, dword [rcx - 0xc]
sub ecx, esi
or edx, ecx
jge 0x40c996
mov edx, esi
mov rcx, rbp
call fcn.0040c700
mov rbx, qword [rbp]
movzx edi, word [rdi]
call qword [0x00473428]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov ecx, eax
mov r9d, edi
mov r8, r12
xor edx, edx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test esi, esi
mov r13, qword [rsp + 0x48]
js 0x40c9ea
mov rcx, qword [rbp]
cmp esi, dword [rcx - 0xc]
jg 0x40c9ea
mov dword [rcx - 0x10], esi
mov rcx, qword [rbp]
mov eax, 1
mov byte [rsi + rcx], 0
jmp 0x40c9f7
mov ecx, 0x80070057
call fcn.0040c6e0
int3
xor eax, eax
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
add rsp, 0x58
ret

Function at 0x40ca20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x40ca5b
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x28
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rbx, rax
je 0x40ca9f
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x40ca9a
cmp rbx, r11
jae 0x40ca9f
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x40ca88
cmp rbx, r11
jb 0x40caa3
xor eax, eax
jmp 0x40caaf
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x28
ret
Function at 0x416d8c
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x416dc2
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x416e79
call fcn.00416444
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x416de1
mov ecx, 0x80004005
call fcn.0040c6e0
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax + 0x118]
mov rdx, rsi
mov rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x50]
mov rcx, rdi
call fcn.0043d660
test eax, eax
je 0x416e4c
cmp eax, 0xc
je 0x416e46
cmp eax, 0x16
je 0x416e40
cmp eax, 0x22
je 0x416e40
cmp eax, 0x50
je 0x416e4c
call fcn.0041fb2c
int3
call fcn.0041fb2c
int3
call fcn.0041fae4
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x416e77
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.oledlg.dll_OleUIBusyA + 8]
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret

Function at 0x41f818
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
test rdx, rdx
mov rsi, rdx
mov rbp, rcx
je 0x41f872
call fcn.004138dc
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x41f872
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rbx, rax
je 0x41f894
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.0041f298
test rdi, rdi
mov esi, eax
je 0x41f892
test rbx, rbx
je 0x41f892
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
add rsp, 0x20
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x43f4b7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x00471cc0]
jne 0x4394ca
rol rcx, 0x10
test cx, 0xffff
jne 0x4394c6
repz ret
ror rcx, 0x10
jmp 0x43f410
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x00477150]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x00477248]
mov qword [rsp + 0x58], rax
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 0x43f495
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, [0x00477150]
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 0x43f4b7
mov rax, qword [rsp + 0x88]
mov qword [0x00477248], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x004771e8], rax
mov rax, qword [0x00477248]
mov qword [0x004770c0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x004771d0], rax
mov dword [0x004770b0], 0xc0000409
mov dword [0x004770b4], 1
mov rax, qword [0x00471cc0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x00471cc8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x00477148], eax
mov ecx, 1
call fcn.0043f600
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x0045c928]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x00477148], 0
jne 0x43f53e
mov ecx, 1
call fcn.0043f600
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 0x44c2c0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.0043f680
xor ebx, ebx
cmp qword [0x00477ea0], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x44c3f1
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x44c323
xor eax, eax
jmp 0x44c4d1
lea rdx, [0x0045e448]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x44c31c
mov rcx, rax
call fcn.0043f610
lea rdx, [0x0045e438]
mov rcx, rbp
mov qword [0x00477ea0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0043f610
lea rdx, [0x0045e420]
mov rcx, rbp
mov qword [0x00477ea8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0043f610
lea rcx, [rsp + 0x30]
mov qword [0x00477eb0], rax
call fcn.0043bb10
test eax, eax
je 0x44c3a7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.004398e0
cmp dword [rsp + 0x30], 2
jne 0x44c3f1
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0043f610
test rax, rax
mov qword [0x00477ec0], rax
je 0x44c3f1
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0043f610
mov qword [0x00477eb8], rax
mov rcx, qword [0x00477eb8]
cmp rcx, rsi
je 0x44c483
cmp qword [0x00477ec0], rsi
je 0x44c483
call fcn.0043f6e0
call rax
test rax, rax
mov rbp, rax
je 0x44c44e
mov rcx, qword [0x00477ec0]
call fcn.0043f6e0
lea rcx, [rsp + 0x38]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x44c44e
test byte [rsp + 0x48], 1
jne 0x44c483
lea rcx, [rsp + 0x34]
call fcn.0043bb60
test eax, eax
je 0x44c470
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.004398e0
cmp dword [rsp + 0x34], 4
jb 0x44c47d
bts edi, 0x15
jmp 0x44c4b7
bts edi, 0x12
jmp 0x44c4b7
mov rcx, qword [0x00477ea8]
cmp rcx, rsi
je 0x44c4b7
call fcn.0043f6e0
call rax
test rax, rax
mov rbx, rax
je 0x44c4b7
mov rcx, qword [0x00477eb0]
cmp rcx, rsi
je 0x44c4b7
call fcn.0043f6e0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x00477ea0]
call fcn.0043f6e0
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140001140
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor eax, eax
cpuid
mov eax, 1
cpuid
movabs r9, 0xb2d05e00
cpuid
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
fldpi
frndint
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rcx
cmp rax, r9
jb 0x140001163
push rbp
mov rbp, rsp
sub rsp, 8
mov r10, 0xa
mov rcx, 0xffffffff9f345678
dec rcx
xor r9, r9
mov rax, rcx
jne 0x14000118e
xor rax, rax
mov rax, rbx
add rax, rdx
nop
nop
nop
dec r10
xor r11, r11
jne 0x140001187
xor rax, rax
mov rax, 0xa
dec rax
nop
nop
add rsp, 8
pop rbp
ret

Function at 0x140004000
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov r12, rcx
xor ebp, ebp
mov dword [rsp + 0x70], ebp
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r12], rax
lea rdx, [0x1400128bc]
test rdx, 0xffffffffffff0000
jne 0x140004071
movzx edi, dx
xor edx, edx
mov ecx, edi
call fcn.140005fc0
test rax, rax
je 0x14000408d
mov r8d, edi
mov rdx, rax
mov rcx, r12
call fcn.1400060f0
jmp 0x14000408d
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, r12
call fcn.140006280
nop
mov dword [rsp + 0x70], 1
mov eax, dword [0x1400178f4]
test al, 1
jne 0x14000413e
or eax, 1
mov dword [0x1400178f4], eax
mov rdi, qword [0x140017828]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x1400040d7
cmp rax, qword [rdi - 0x18]
jne 0x1400040d7
lea rbx, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x140004112
mov rax, qword [rax]
mov r8d, 1
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x1400040f3
call fcn.140005f60
int3
mov eax, dword [rdi - 0x10]
mov dword [rbx + 8], eax
mov eax, dword [rdi - 0x10]
add eax, 1
movsxd rdx, eax
mov r8, rdi
lea rcx, [rbx + 0x18]
mov r9, rdx
call qword [0x1400121d0]
lea rax, [rbx + 0x18]
mov qword [0x140017848], rax
mov rdx, qword [0x140017830]
lea rcx, [0x140017840]
call fcn.14000da80
nop
lea rcx, [0x1400113f0]
call fcn.14000f010
nop
lea r8, [0x140012588]
Function at 0x140004690
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x280
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140017060]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor r13b, r13b
mov eax, dword [0x1400178f4]
test al, 1
jne 0x140004777
or eax, 1
mov dword [0x1400178f4], eax
mov rdi, qword [0x140017828]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x140004710
cmp rax, qword [rdi - 0x18]
jne 0x140004710
lea rbx, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x14000474b
mov rax, qword [rax]
mov r8d, 1
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x14000472c
call fcn.140005f60
int3
mov eax, dword [rdi - 0x10]
mov dword [rbx + 8], eax
mov eax, dword [rdi - 0x10]
add eax, 1
movsxd rdx, eax
mov r8, rdi
lea rcx, [rbx + 0x18]
mov r9, rdx
call qword [0x1400121d0]
lea rax, [rbx + 0x18]
mov qword [0x140017848], rax
mov rdx, qword [0x140017830]
lea rcx, [0x140017840]
call fcn.14000da80
nop
lea rcx, [0x1400113f0]
call fcn.14000f010
nop
lea r8, [0x140012588]
lea rdx, str.IsOutlookRunning
lea rcx, [0x140017840]
call fcn.14000e310
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
lea r14, str.outlook.exe
or r12, 0xffffffffffffffff
test r14, 0xffffffffffff0000
jne 0x1400047ef
movzx edi, r14w
xor edx, edx
mov ecx, edi
call fcn.140005fc0
test rax, rax
je 0x1400048e9
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400060f0
mov rbx, qword [rsp + 0x20]
jmp 0x1400048e9
xor eax, eax
mov rcx, r12
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140004867
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400048e9
cmp dword [rdx + 0x10], eax
jge 0x140004838
cmp dword [rbx - 0xc], eax
jge 0x14000482d
mov ecx, 0x80070057
call fcn.140005f70
int3
mov dword [rbx - 0x10], eax
mov word [rbx], ax
jmp 0x1400048e9
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140004850
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
jmp 0x1400048e9
mov esi, dword [rbx - 0x10]
mov rbp, r14
sub rbp, rbx
sar rbp, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi

Function at 0x140004b40
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xb8
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov eax, dword [0x1400178f4]
test al, 1
jne 0x140004c05
or eax, 1
mov dword [0x1400178f4], eax
mov rdi, qword [0x140017828]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x140004b9e
cmp rax, qword [rdi - 0x18]
jne 0x140004b9e
lea rbx, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x140004bd9
mov rax, qword [rax]
mov r8d, 1
Function at 0x140005fc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r12d, ecx
lea rcx, [0x140017130]
xor r13d, r13d
xor edx, edx
mov rbx, r13
call fcn.14000ead4
lea ebp, [r13 + 1]
test rax, rax
mov rsi, rax
je 0x1400060c6
nop
test rbx, rbx
jne 0x1400060c6
mov eax, r12d
lea edx, [rbx + 6]
xor r9d, r9d
shr eax, 4
mov rcx, rsi
add ax, 1
movzx r8d, ax
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
mov rdi, rax
jne 0x140006033
mov rbx, r13
jmp 0x1400060a9
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140006049
mov rbx, r13
jmp 0x1400060a4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rbx, rax
jne 0x14000605f
mov rbx, r13
jmp 0x1400060a4
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, r12d
mov r11d, eax
add r11, rbx
and ecx, 0xf
jbe 0x140006092
nop
nop
cmp rbx, r11
jae 0x140006097
add ecx, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x140006080
cmp rbx, r11
jb 0x14000609c
mov rbx, r13
jmp 0x1400060a4
cmp word [rbx], r13w
cmove rbx, r13
test rbx, rbx
jne 0x1400060e1
lea rcx, [0x140017130]
mov edx, ebp
call fcn.14000ead4
add ebp, 1
test rax, rax
mov rsi, rax
jne 0x140006000
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
mov rax, rsi
jmp 0x1400060c8
Function at 0x1400060f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov eax, r8d
mov rbp, rdx
mov ebx, r8d
shr eax, 4
mov rsi, rcx
mov r8d, 6
add ax, 1
mov rcx, rbp
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov r12, rax
je 0x140006262
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140006262
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
je 0x140006262
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rdi
and ebx, 0xf
jbe 0x140006196
nop
cmp rdi, r11
jae 0x140006262
add ebx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x140006180
cmp rdi, r11
jae 0x140006262
movzx eax, word [rdi]
test ax, ax
je 0x140006262
movzx ebx, ax
mov rax, qword [rsi]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, ebx
or ecx, eax
jge 0x1400061cc
mov edx, ebx
mov rcx, rsi
call fcn.140005e00
movzx ecx, word [rdi]
lea r8, [rdi + 2]
cmp ecx, 0xffffffff
jne 0x1400061e9
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r8
repne scasw ax, word [rdi]
not rcx
and ecx, ecx
movsxd r9, ecx
mov rcx, qword [rsi]
lea rdi, [rbx + rbx]
mov rdx, rdi
add r9, r9
call qword [0x1400121d0]
test eax, eax
je 0x140006238
cmp eax, 0xc
je 0x14000622d
cmp eax, 0x16
je 0x140006222
cmp eax, 0x22
je 0x140006222
cmp eax, 0x50
je 0x140006238
mov ecx, 0x80004005
call fcn.140005f70
int3
mov ecx, 0x80070057
call fcn.140005f70
int3
mov ecx, 0x8007000e
call fcn.140005f70
int3
test ebx, ebx
js 0x140006257
mov rcx, qword [rsi]
cmp ebx, dword [rcx - 0xc]
jg 0x140006257
mov dword [rcx - 0x10], ebx
mov rcx, qword [rsi]
mov eax, 1
mov word [rdi + rcx], 0
jmp 0x140006264
mov ecx, 0x80070057
call fcn.140005f70
int3
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret