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

Disassembly:
jmp 0x1400145a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112bc
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400158f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015910
xor al, al
jmp 0x140015991
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015923
xor al, al
jmp 0x140015991
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001594d
xor al, al
jmp 0x140015991
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015961
xor al, al
jmp 0x140015991
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015973
xor al, al
jmp 0x140015991
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001598f
xor al, al
jmp 0x140015991
mov al, 1
add rsp, 0x38
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14000c9d0]
mov dword [rax], 1
mov rax, qword [0x14000c9e0]
mov dword [rax], 1
mov rax, qword [0x14000c9f0]
mov dword [rax], 1
mov rax, qword [0x14000c980]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001b7f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov eax, ecx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov byte [rbp + 0x10], al
mov byte [rbp - 1], 0
jmp 0x140001c18
mov byte [rbp - 2], 0
jmp 0x140001c0e
movzx eax, byte [rbp - 1]
movzx edx, byte [rbp - 2]
mov rcx, qword [rbp + 0x18]
movsxd rdx, edx
cdqe
shl rax, 2
add rax, rcx
add rax, rdx
movzx r8d, byte [rax]
movzx eax, byte [rbp + 0x10]
lea edx, [rax*4]
movzx eax, byte [rbp - 1]
add eax, edx
lea edx, [rax*4]
movzx eax, byte [rbp - 2]
add eax, edx
movsxd rdx, eax
mov rax, qword [rbp + 0x20]
add rax, rdx
movzx edx, byte [rax]
movzx eax, byte [rbp - 1]
movzx ecx, byte [rbp - 2]
xor edx, r8d
mov r8, qword [rbp + 0x18]
movsxd rcx, ecx
cdqe
shl rax, 2
add rax, r8
add rax, rcx
mov byte [rax], dl
add byte [rbp - 2], 1
cmp byte [rbp - 2], 3
jbe 0x140001ba0
add byte [rbp - 1], 1
cmp byte [rbp - 1], 3
jbe 0x140001b9a
nop
nop
add rsp, 0x10
pop rbp
ret

Function at 0x140001c2a
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov byte [rbp - 1], 0
jmp 0x140001c9d
mov byte [rbp - 2], 0
jmp 0x140001c93
movzx eax, byte [rbp - 2]
movzx edx, byte [rbp - 1]
mov rcx, qword [rbp + 0x10]
movsxd rdx, edx
cdqe
shl rax, 2
add rax, rcx
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
movzx r9d, byte [rbp - 2]
movzx ecx, byte [rbp - 1]
cdqe
lea rdx, str.cw
movzx edx, byte [rax + rdx]
mov r8, qword [rbp + 0x10]
movsxd rcx, ecx
movsxd rax, r9d
shl rax, 2
add rax, r8
add rax, rcx
mov byte [rax], dl
add byte [rbp - 2], 1
cmp byte [rbp - 2], 3
jbe 0x140001c42
add byte [rbp - 1], 1
cmp byte [rbp - 1], 3
jbe 0x140001c3c
nop
nop
add rsp, 0x10
pop rbp
ret

Function at 0x140002755
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov byte [rbp - 1], 0
jmp 0x1400027c8
mov byte [rbp - 2], 0
jmp 0x1400027be
movzx eax, byte [rbp - 2]
movzx edx, byte [rbp - 1]
mov rcx, qword [rbp + 0x10]
movsxd rdx, edx
cdqe
shl rax, 2
add rax, rcx
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
movzx r9d, byte [rbp - 2]
movzx ecx, byte [rbp - 1]
cdqe
lea rdx, [0x14000c160]
movzx edx, byte [rax + rdx]
mov r8, qword [rbp + 0x10]
movsxd rcx, ecx
movsxd rax, r9d
shl rax, 2
add rax, r8
add rax, rcx
mov byte [rax], dl
add byte [rbp - 2], 1
cmp byte [rbp - 2], 3
jbe 0x14000276d
add byte [rbp - 1], 1
cmp byte [rbp - 1], 3
jbe 0x140002767
nop
nop
add rsp, 0x10
pop rbp
ret

Function at 0x140002a1b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov byte [rbp - 1], 0
jmp 0x140002a64
movzx edx, byte [rbp - 1]
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx r8d, byte [rax]
movzx edx, byte [rbp - 1]
mov rax, qword [rbp + 0x18]
add rax, rdx
movzx ecx, byte [rax]
movzx edx, byte [rbp - 1]
mov rax, qword [rbp + 0x10]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add byte [rbp - 1], 1
cmp byte [rbp - 1], 0xf
jbe 0x140002a31
nop
nop
add rsp, 0x10
pop rbp
ret
Function at 0x140002b8c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp - 8], 0
mov dword [rbp - 0xc], 0x10
jmp 0x140002c83
cmp dword [rbp - 0xc], 0x10
jne 0x140002c4f
mov rax, qword [rbp + 0x10]
add rax, 0xb0
mov rdx, qword [rax + 8]
mov rax, qword [rax]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov rdx, qword [rbp + 0x10]
lea rax, [rbp - 0x20]
mov rcx, rax
call dbg.Cipher
mov dword [rbp - 0xc], 0xf
jmp 0x140002c42
mov rdx, qword [rbp + 0x10]
mov eax, dword [rbp - 0xc]
cdqe
movzx eax, byte [rdx + rax + 0xb0]
cmp al, 0xff
jne 0x140002c18
mov rdx, qword [rbp + 0x10]
mov eax, dword [rbp - 0xc]
cdqe
mov byte [rdx + rax + 0xb0], 0
jmp 0x140002c3e
mov rdx, qword [rbp + 0x10]
mov eax, dword [rbp - 0xc]
cdqe
movzx eax, byte [rdx + rax + 0xb0]
lea ecx, [rax + 1]
mov rdx, qword [rbp + 0x10]
mov eax, dword [rbp - 0xc]
cdqe
mov byte [rdx + rax + 0xb0], cl
jmp 0x140002c48
sub dword [rbp - 0xc], 1
cmp dword [rbp - 0xc], 0
jns 0x140002bf0
mov dword [rbp - 0xc], 0
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp - 8]
add rax, rdx
movzx r8d, byte [rax]
mov eax, dword [rbp - 0xc]
cdqe
movzx ecx, byte [rbp + rax - 0x20]
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp - 8]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add qword [rbp - 8], 1
add dword [rbp - 0xc], 1
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x20]
jb 0x140002bb4
nop
nop
add rsp, 0x40
pop rbp
ret

Function at 0x140002ff0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x140003cc2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140010128]
test eax, eax
je 0x140003d5a
lea rax, [0x140010100]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140010130]
mov qword [rbp - 8], rax
jmp 0x140003d3e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140003d32
cmp qword [rbp - 0x10], 0
je 0x140003d32
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140003cf8
lea rax, [0x140010100]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140003d5b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140003e60
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140003e88
mov eax, 0
jmp 0x140003ed6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140003eb1
mov eax, 0
jmp 0x140003ed6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140003ed1
mov eax, 0
jmp 0x140003ed6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x140003edc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140003f5a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140003f51
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140003f51
mov rax, qword [rbp - 8]
jmp 0x140003f6f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140003f24
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1406c40b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406c4237
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 0x1406c40e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406c40c7
add dl, dl
jne 0x1406c40ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406c414e
xor eax, eax
add dl, dl
jne 0x1406c40fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406c4205
add dl, dl
jne 0x1406c410e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406c411b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406c4128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406c4135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406c4142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406c40d6
mov eax, 1
add dl, dl
jne 0x1406c415e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406c416b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406c4153
sub eax, ebx
mov ebx, 1
jne 0x1406c41a4
mov ecx, 1
add dl, dl
jne 0x1406c4186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406c4193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406c417b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406c40d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406c41c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406c41cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406c41b5
cmp eax, 0x7d00
jae 0x1406c41f3
cmp eax, 0x500
jb 0x1406c41ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406c40d6
cmp eax, 0x7f
ja 0x1406c41f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406c40d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406c422a
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 0x1406c40d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1409256ce
Capabilities:
Encode data using xor

Disassembly:
invalid
jae 0x140925704
outsb dx, byte [rsi]
stc
imul edi, dword [rsi], 0x71
push 0xffffffffb695bd11
test byte [rax + rbp*8 - 0x4f], ah
xchg esp, eax
in eax, 0xe2
mov ebx, 0x800bc6b3
insb byte [rdi], dx
push rdx
and dword [rbp - 0x61], ebx
xchg edi, eax
and byte [rdi], ah
xor dword es:[rsi - 0x80], edx
mov dh, 0xf8
sbb al, 5
or al, 0xf4
mov ebp, 0x50a2d4a7
pop rdx
cmc
add al, 0x91
rcr byte [rax - 0x61], cl
adc bl, byte [rdx - 0x7869d57e]
pushfq
push rcx
pushfq
movabs rcx, 0x14d1207e50ba7068
call fcn.1404f1ae6
xlatb
jne 0x140925685
adc al, 0xb0
jae 0x140925684
jrcxz 0x1409256f9
wait
fcom qword [rsi + 0x28]
pop r9
cmp ax, 0xee67
clc
mov ebx, 0xfdee6aa6
ret
ret
sbb ch, dh
cwde
mov bl, 0xdb
fistp qword [rbx + rsi + 0x43267b20]
pop rdi
and byte [rbx + 0x26], bh
pop r15
jo 0x14092576a
jmp 0x14092570c
push rcx
retf
Function at 0x140002f70
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov dl, 1
lea rcx, str.Removing_dim_job_to_startup
call fcn.140018f90
mov qword [rsp + 0x38], 0xffffffff80000001
mov qword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x90]
add rax, 0x178
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.14001d020
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x90]
add rax, 0x178
mov rcx, rax
call fcn.14001d080
mov r8, qword [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400034b0
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea r8, [rsp + 0x28]
lea rdx, [0x140039260]
lea rcx, [rsp + 0x60]
call fcn.1400034b0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_1496]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
cmp dword [rsp + 0x20], 0
jne 0x14000308e
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
add rsp, 0x88
ret
Function at 0x140005530
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14005bd60]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0xf0], 0
je 0x14000567a
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0xe0], 0
je 0x14000567a
mov dl, 1
lea rcx, str.Resuming_Sub_Job
call fcn.140018f90
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x78]
call fcn.140020f20
mov qword [rsp + 0x28], 0
lea rdx, [0x140049a08]
lea rcx, [rsp + 0x40]
call fcn.140003c80
movzx eax, al
test eax, eax
je 0x14000567a
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0xf0]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0xf0]
mov rax, qword [rax]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x40]
call qword [rax + 0x20]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0xe0]
call fcn.14001d0e0
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
call fcn.140020d00
nop
cmp dword [rsp + 0x24], 0
jl 0x140005622
cmp qword [rsp + 0x28], 0
jne 0x140005641
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000563f
mov byte [rsp + 0x20], 1
jmp 0x14000566f
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov dl, 1
mov rcx, rax
call fcn.140018f90
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax + 0x38]
mov dword [rsp + 0x24], eax
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140029b50
add rsp, 0x68
ret

Function at 0x140007710
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x28], 0xfffffffffffffffe
cmp qword [rsp + 0x48], 0
je 0x1400077e9
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax]
test eax, eax
je 0x1400077e9
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140007791
mov dl, 1
lea rcx, str.Using_custom_UI_at:
call fcn.140018f90
mov dl, 1
mov rcx, qword [rsp + 0x48]
call fcn.140018f90
mov rax, qword [rsp + 0x40]
add rax, 0x498
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
jmp 0x1400077e7
lea rdx, str.cannot_find_html_resouce_for_this_dialog.
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_286]
nop
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
lea rdx, str._doesnt_exist
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov dl, 1
mov rcx, rax
call fcn.140018f90
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
jmp 0x1400077f7
mov dl, 1
lea rcx, str.cannot_find_html_resouce_for_this_dialog
call fcn.140018f90
add rsp, 0x38
ret
Function at 0x140007cf0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x518
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x14005bd60]
xor rax, rsp
mov qword [rsp + 0x500], rax
mov rax, qword [rsp + 0x520]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x520]
call qword [rax + 0x3e0]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.14001d860
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_286]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_7775]
movzx eax, al
test eax, eax
jne 0x140007e2b
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140007e2b
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov r9, qword [rsp + 0x520]
mov r8, qword [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400070d0
nop
lea rcx, [rsp + 0x60]
call fcn.1400246c0
cmp rax, 1
jne 0x140007dc5
mov rcx, qword [rsp + 0x520]
call sub.mfc120u.dll_Ordinal_8612
jmp 0x140007e1f
lea rdx, [0x14003c25c]
lea rcx, [rsp + 0x38]
call fcn.140008240
nop
mov rax, qword [rsp + 0x520]
add rax, 0x120
mov rcx, qword [rsp + 0x520]
mov rcx, qword [rcx + 0x120]
mov qword [rsp + 0x30], rcx
xor r9d, r9d
lea r8, [rsp + 0x38]
lea rdx, str.OnTimer
mov rcx, rax
mov rax, qword [rsp + 0x30]
call qword [rax + InitCommonControls]
nop
lea rcx, [rsp + 0x38]
call fcn.1400082a0
nop
lea rcx, [rsp + 0x60]
call fcn.140007230
jmp 0x140007e39
mov rcx, qword [rsp + 0x520]
call sub.mfc120u.dll_Ordinal_8612
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.140029b50
add rsp, 0x518
ret

Function at 0x140008370
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.14000a050
nop
lea rcx, [rsp + 0x38]
call fcn.14000ae50
test eax, eax
jne 0x1400083f2
mov edx, 0x104
lea rcx, [rsp + 0x38]
call fcn.14000a720
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rcx, [rsp + 0x38]
call fcn.14000a650
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
je 0x1400083f2
mov eax, dword [rsp + 0x24]
and eax, 0x10
test eax, eax
je 0x1400083f2
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x38]
call fcn.140009f90
movzx eax, byte [rsp + 0x21]
add rsp, 0x58
ret
Function at 0x140008420
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x280
mov rax, qword [0x14005bd60]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x40], 0x18
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x40]
call fcn.140008590
movzx eax, al
test eax, eax
je 0x14000847b
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor eax, eax
mov word [rsp + 0x60], ax
lea rax, [rsp + 0x62]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_521
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
test eax, eax
je 0x14000853c
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5c
je 0x1400084d4
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x2f
jne 0x140008501
mov rax, qword [rsp + 0x290]
cmp qword [rsp + 0x20], rax
jbe 0x140008501
mov rax, qword [rsp + 0x20]
movzx eax, word [rax - 2]
cmp eax, 0x3a
je 0x140008501
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
movzx ecx, word [rcx]
mov word [rax], cx
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
add rax, 2
mov qword [rsp + 0x20], rax
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov word [rcx], ax
jmp 0x1400084aa
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [rsp + 0x30]
call fcn.140008600
mov rcx, qword [rsp + 0x290]
call fcn.140008370
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140029b50
add rsp, 0x280
pop rdi
ret