joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e9c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1400433a0]
mov edi, edx
cmp byte [rbx + 0x1fa5], 0
jne 0x14000ea11
cmp byte [rbx + 0x1fa6], 0
jne 0x14000ea11
mov r9d, dword [rbx + 0x2fe4]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002710
test dil, 1
je 0x14000eb36
jmp 0x14000ea99
movss xmm1, dword [rbx + 0x1610]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14003c840]
xor eax, eax
mulss xmm1, dword [0x14003c82c]
addss xmm0, dword [rbx + 0x130]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0x134]
mov qword [rbx + 0x1b40], rax
mov dword [rbx + 0x1b2c], 1
movss dword [rbx + 0x1b38], xmm0
movss dword [rbx + 0x1b3c], xmm1
movss xmm0, dword [rbx + 0x166c]
mulss xmm0, dword [0x14003c7c4]
or dword [rbx + 0x1b28], 0x41
movss dword [rbx + 0x1b88], xmm0
mov r9d, dword [rbx + 0x2fe4]
call fcn.140002710
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14000eaf0
lea r11, [0x140036400]
nop dword [rax]
cmp r9b, 0x23
jne 0x14000ead3
cmp byte [r8], r9b
jne 0x14000ead3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14000eac0
not ecx
call fcn.1400084d0
test rax, rax
je 0x14000eb36
cmp byte [rax + 0x7e], 0
je 0x14000eb36
mov byte [rax + 0x85], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0x9c], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2fe4]
mov edx, 0x10
mov r9d, dword [rbx + 0x2fe4]
call fcn.140002710
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000ac10
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140013350
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x1400433a0]
cmp byte [rbx + 0x3050], 0
je 0x14001343c
cmp qword [rbx + 0x3058], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3060]
je 0x140013424
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x1400133cb
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140015220
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.140002ec0
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3058]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x3068]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x140043398]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.140002ec0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x140013d80
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x1400433a0]
xor r15d, r15d
mov rbp, rcx
mov dword [rdi + 0x301c], r15d
test rcx, rcx
je 0x140013ec2
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x3020]
mov dword [rdi + 0x301c], r15d
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rsi
test ecx, ecx
jns 0x140013dde
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140015220
mov dword [rbx], r15d
cmp dword [rbx + 4], r15d
jne 0x140013df4
mov edx, 8
mov rcx, rbx
call fcn.140015220
movsxd rcx, dword [rbx]
mov esi, r15d
mov rax, qword [rbx + 8]
mov byte [rcx + rax], r15b
inc dword [rbx]
mov eax, dword [rdi + 0x3030]
test eax, eax
jle 0x140013e61
mov qword [rsp + 0x50], r14
mov r14, r15
cmp r15d, eax
jl 0x140013e35
mov r8d, 0x554
lea rdx, str.C:UsersFortnDownloadsSpooferSpooferimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [rdi + 0x3038]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x38]
mov eax, dword [rdi + 0x3030]
inc esi
add r14, 0x48
cmp esi, eax
jl 0x140013e35
mov r14, qword [rsp + 0x50]
mov eax, dword [rbx]
lea rdx, [0x140036134]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3028]
cmove ecx, r15d
lea rdi, [0x140043398]
test rax, rax
movsxd rsi, ecx
mov rcx, rbp
cmovne rdi, rax
call fcn.140002840
mov rbx, rax
test rax, rax
je 0x140013eb8
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbp
ret
Function at 0x140031dd0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140031e1a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140031e1a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140031e1a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140031e1a
cmp dword [rcx + 0x84], 0xe
jbe 0x140031e1a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140031e1c
xor al, al
add rsp, 0x28
ret

Function at 0xf4a058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xf4a1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0xf4a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xf4a06f
add dl, dl
jne 0xf4a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xf4a0f6
xor eax, eax
add dl, dl
jne 0xf4a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xf4a1ad
add dl, dl
jne 0xf4a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf4a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf4a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf4a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0xf4a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0xf4a07e
mov eax, 1
add dl, dl
jne 0xf4a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf4a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xf4a0fb
sub eax, ebx
mov ebx, 1
jne 0xf4a14c
mov ecx, 1
add dl, dl
jne 0xf4a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf4a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xf4a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xf4a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xf4a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf4a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xf4a15d
cmp eax, 0x7d00
jae 0xf4a19b
cmp eax, 0x500
jb 0xf4a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xf4a07e
cmp eax, 0x7f
ja 0xf4a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xf4a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0xf4a1d2
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 0xf4a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x2fc4d41c0
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d52a0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d4bc2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f7108]
test eax, eax
je 0x2fc4d4c5a
lea rax, [0x2fc4f70e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f7110]
mov qword [rbp - 8], rax
jmp 0x2fc4d4c3e
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 0x2fc4d4c32
cmp qword [rbp - 0x10], 0
je 0x2fc4d4c32
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 0x2fc4d4bf8
lea rax, [0x2fc4f70e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d4c5b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d4d60
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 0x2fc4d4d88
mov eax, 0
jmp 0x2fc4d4dd6
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 0x2fc4d4db1
mov eax, 0
jmp 0x2fc4d4dd6
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 0x2fc4d4dd1
mov eax, 0
jmp 0x2fc4d4dd6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d4ddc
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 0x2fc4d4e5a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d4e51
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 0x2fc4d4e51
mov rax, qword [rbp - 8]
jmp 0x2fc4d4e6f
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 0x2fc4d4e24
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400025ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002636
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002636
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002636
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002636
cmp dword [rcx + 0x84], 0xe
jbe 0x140002636
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002638
xor al, al
add rsp, 0x28
ret
Function at 0x2fc4d1e20
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d2f00
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d2822
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f5108]
test eax, eax
je 0x2fc4d28ba
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f5110]
mov qword [rbp - 8], rax
jmp 0x2fc4d289e
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 0x2fc4d2892
cmp qword [rbp - 0x10], 0
je 0x2fc4d2892
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 0x2fc4d2858
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d28bb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d29c0
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 0x2fc4d29e8
mov eax, 0
jmp 0x2fc4d2a36
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 0x2fc4d2a11
mov eax, 0
jmp 0x2fc4d2a36
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 0x2fc4d2a31
mov eax, 0
jmp 0x2fc4d2a36
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d2a3c
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 0x2fc4d2aba
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d2ab1
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 0x2fc4d2ab1
mov rax, qword [rbp - 8]
jmp 0x2fc4d2acf
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 0x2fc4d2a84
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x180003f40
Capabilities:
Check if file exists

Disassembly:
lea r8, [0x1800210d0]
xor edx, edx
jmp fcn.180002ac8

Function at 0x180003f50
Capabilities:
Check if file exists

Disassembly:
lea r8, [0x180021220]
xor edx, edx
jmp fcn.180002ac8

Function at 0x180003f60
Capabilities:
Check if file exists

Disassembly:
lea r8, [0x180021370]
xor edx, edx
jmp fcn.180002ac8

Function at 0x180003f70
Capabilities:
Check if file exists

Disassembly:
lea r8, [0x1800214c0]
xor edx, edx
jmp fcn.180002ac8

Function at 0x180003f80
Capabilities:
Check if file exists

Disassembly:
lea r8, [0x180021610]
xor edx, edx
jmp fcn.180002ac8

Function at 0x180003f90
Capabilities:
Check if file exists

Disassembly:
lea r8, [0x180021760]
xor edx, edx
jmp fcn.180002ac8

Function at 0x180003fa0
Capabilities:
Check if file exists

Disassembly:
lea r8, [0x1800218b0]
xor edx, edx
jmp fcn.180002ac8

Function at 0x180003fb0
Capabilities:
Check if file exists

Disassembly:
lea r8, [0x180021a00]
xor edx, edx
jmp fcn.180002ac8

Function at 0x180003fc0
Capabilities:
Check if file exists

Disassembly:
lea r8, [0x180021b50]
xor edx, edx
jmp fcn.180002ac8

Function at 0x180003fd0
Capabilities:
Check if file exists

Disassembly:
lea r8, [0x180021ca0]
xor edx, edx
jmp fcn.180002ac8

Function at 0x180003fe0
Capabilities:
Check if file exists

Disassembly:
lea r8, [0x180021df0]
xor edx, edx
jmp fcn.180002ac8

Function at 0x180003ff0
Capabilities:
Check if file exists

Disassembly:
lea r8, [0x180021f40]
xor edx, edx
jmp fcn.180002ac8

Function at 0x180004000
Capabilities:
Check if file exists

Disassembly:
lea r8, [0x180022090]
xor edx, edx
jmp fcn.180002ac8

Function at 0x180004010
Capabilities:
Check if file exists

Disassembly:
lea r8, [0x1800221e0]
xor edx, edx
jmp fcn.180002ac8

Function at 0x180004020
Capabilities:
Check if file exists

Disassembly:
lea r8, [0x180022330]
xor edx, edx
jmp fcn.180002ac8

Function at 0x180004030
Capabilities:
Check if file exists

Disassembly:
lea r8, str.setup_WindowsInstallation.CustomActions.DeleteCloudHsmConfigFile
xor edx, edx
jmp fcn.180002ac8
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x140041490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400414a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.140021ac0
jmp 0x14000123c
mov rax, qword [0x1400414a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400414a0]
mov dword [rax], 1
mov rax, qword [0x1400414e0]
mov rdx, rax
mov rax, qword [0x1400414d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x140045024], 1
mov rax, qword [0x1400414a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400414c0]
mov rdx, rax
mov rax, qword [0x1400414b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400414a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x140041490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400413e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400413e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.140020d48
mov rax, qword [0x140041520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x140041480]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.140020540
mov eax, dword [0x140045004]
lea rdx, [0x140045008]
mov ecx, eax
call fcn.14000147c
call fcn.1400202d7
mov rax, qword [0x140041410]
mov rax, qword [rax]
mov rdx, qword [0x140045010]
mov qword [rax], rdx
mov rcx, qword [0x140045010]
mov rdx, qword [0x140045008]
mov eax, dword [0x140045004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x14004501c], eax
mov eax, dword [0x140045020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14004501c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x140045024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14004501c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140041440]
mov dword [rax], 1
mov rax, qword [0x140041450]
mov dword [rax], 1
mov rax, qword [0x140041460]
mov dword [rax], 1
mov rax, qword [0x140041400]
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 0x140020550
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.1400218b0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x140021222
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140045168]
test eax, eax
je 0x1400212ba
lea rax, [0x140045140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140045170]
mov qword [rbp - 8], rax
jmp 0x14002129e
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 0x140021292
cmp qword [rbp - 0x10], 0
je 0x140021292
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 0x140021258
lea rax, [0x140045140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400212bb
nop
add rsp, 0x30
pop rbp
ret