joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14005e1d8]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREAdobeAdobe_NGLCEF1.0RestrictedSecuritySettings
mov rcx, 0xffffffff80000002
mov bl, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003069
mov rcx, qword [rsp + 0x30]
lea rdx, str.CEFSecurityMK
mov dword [rsp + 0x38], eax
xor r9d, r9d
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x3c], 4
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000305e
cmp dword [rsp + 0x38], eax
setne bl
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140033c40
add rsp, 0x50
pop rbx
ret

Function at 0x140003080
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14005e1d8]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp qword [rcx + 0x10], 0
mov rdi, rcx
movzx ebx, dl
je 0x140003132
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREAdobeAdobe_NGLCEF1.0RestrictedSecuritySettings
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003132
cmp qword [rdi + 0x18], 0x10
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], 4
jb 0x1400030f4
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x38]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140003127
cmp dword [rsp + 0x38], eax
setne bl
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140033c40
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x14003bdd4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003bc00
Function at 0x14000c980
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000c9cc
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000c9c4
cmp dword [rcx + 0x3c], edx
jl 0x14000c9c4
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000c9c4
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000c9cc
mov rax, rdx
add rsp, 0x18
ret

Function at 0x1400a433e
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xbea9bea8
stosb byte [rdi], al
adc ebp, ebp
test eax, 0xed13aabe
xor dword [rcx], edi
push rbx
jp 0x1400a4341
cmp al, 0x6b
xor dword [rcx + rax], edx
test al, 0x21
sbb byte [rsi], dl
test dword [rdi], esi
jge 0x1400a43ba
mov esp, 0xd7d832c4
cmp dword [rdx], edi
add edi, dword [rdx + 0x15d22562]
pop rdx
xchg esp, eax
sub edx, dword [rbx]
sbb byte [rdx - 2], 0x1f
lahf
adc dword [rax - 0x8ac05af], esp
test byte [rdi - 0x3bef3adf], cl
invalid
invalid
Function at 0x180054ca0
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x168]
sub rsp, 0x268
mov rax, qword [0x1800e5c38]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov r10, r9
mov qword [rsp + 0x60], r9
mov rsi, r8
mov qword [rbp - 0x60], r8
mov qword [rsp + 0x48], rdx
mov r11, rcx
mov qword [rsp + 0x68], rcx
mov r9, qword [rbp + 0x1d0]
mov qword [rsp + 0x58], r9
mov r8, qword [rbp + 0x1e0]
mov qword [rsp + 0x50], r8
xor eax, eax
mov ebx, eax
mov dword [rsp + 0x40], eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], ax
mov r15d, eax
mov qword [rbp + 0x20], rax
mov r14d, 7
mov qword [rbp + 0x28], r14
mov word [rbp + 0x10], ax
mov r13d, dword [rbp + 0x1d8]
lea eax, [r13 + 0x13]
mov dword [rbp - 0x70], eax
mov rdi, qword [rbp + 0x10]
cmp r13d, eax
jae 0x180055277
lea rcx, [0x180000000]
mov qword [rsp + 0x78], rdi
mov r12d, dword [rbp - 0x70]
nop dword [rax]
lea eax, [r13 - 0x93]
cmp eax, 0x3b
ja 0x180055465
movzx eax, byte [rcx + rax + 0x5554c]
mov ecx, dword [rcx + rax*4 + 0x55500]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov r9, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x48]
mov r10, qword [rsp + 0x60]
mov r8, qword [rsp + 0x50]
mov r11, qword [rsp + 0x68]
jmp 0x18005545e
cmp r14, 8
jb 0x18005548e
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180055485
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180055485
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsi + 0x28]
xor r8d, r8d
mov rdx, r15
call fcn.1800bb360
jmp 0x180054e35
lea rcx, [0x180000000]
inc r13d
cmp r13d, dword [rbp - 0x70]
jae 0x180055277
jmp 0x180054d60
mov rcx, rdi
call fcn.1800cfd58
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1800554d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800554cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800554cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cfd58
mov eax, dword [rbp - 0x80]
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1800d0500
add rsp, 0x268
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x18006fdc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, qword [rsp + 0x88]
lea ebp, [rcx - 5]
mov r14, r8
mov r15, rdx
mov esi, ecx
cmp ecx, ebp
jbe 0x18006ff31
mov edi, dword [rsp + 0x70]
lea r12, [0x1800e5df0]
xor r13d, r13d
nop dword [rax]
mov eax, esi
sub eax, 0x8e
je 0x18006ff31
sub eax, 1
je 0x18006fede
sub eax, 3
je 0x18006fe87
sub eax, 1
je 0x18006fe37
cmp eax, 1
jne 0x18006ff27
mov edi, eax
mov dword [0x1800e5df0], r13d
jmp 0x18006ff27
mov r9d, 0x80
nop dword [rax]
mov eax, edi
lea r10d, [r9 + r9]
mov ecx, edi
and al, 1
neg al
mov r8d, r13d
sbb edi, edi
shr ecx, 1
and edi, 0x82f63b78
xor edi, ecx
nop dword [rax + rax]
mov eax, r8d
mov edx, dword [r12 + rax*4]
lea eax, [r8 + r9]
xor edx, edi
add r8d, r10d
mov dword [r12 + rax*4], edx
cmp r8d, 0x100
jb 0x18006fe60
shr r9d, 1
jne 0x18006fe40
jmp 0x18006ff27
lea r9, [0x1800e61f0]
mov r10d, pe_nt_image_headers64
nop dword [rax]
nop dword [rax + rax]
mov edi, dword [r9 - 0x400]
mov rdx, r9
mov r8d, 7
mov eax, edi
movzx ecx, dil
shr eax, 8
lea rdx, [rdx + 0x400]
mov edi, dword [r12 + rcx*4]
xor edi, eax
mov dword [rdx - 0x400], edi
sub r8, 1
jne 0x18006feb0
add r9, 4
sub r10, 1
jne 0x18006fea0
jmp 0x18006ff27
xor r9d, r9d
mov qword [rsp + 0x20], r13
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x3d]
call fcn.18005e660
test al, al
jne 0x18006ff18
mov ecx, 0x13
nop dword [rax]
mov eax, ecx
sub eax, 0x13
je 0x18006ff0e
cmp eax, 1
je 0x18006ff31
jmp 0x18006ff11
mov rbx, r13
inc ecx
cmp ecx, 0x15
jb 0x18006ff00
mov rcx, qword [r14]
mov rdx, r15
call qword [0x1800e5d38]
mov rbx, rax
dec esi
cmp esi, ebp
ja 0x18006fe00
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180088f20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov ebx, dword [rsp + 0x80]
lea r14d, [r8 - 0xb]
mov r15, r9
mov esi, r8d
mov r12, rdx
cmp r8d, r14d
jbe case.0x180088f8f.0
mov r13d, dword [rsp + 0x80]
lea ebp, [r8 - 0x4b]
mov rdi, qword [rsp + 0x90]
lea rdx, [0x180000000]
cmp ebp, 0x22
ja case.0x180088f8f.8
movzx eax, byte [rdx + rbp + 0x890f8]
mov ecx, dword [rdx + rax*4 + 0x890d4]
add rcx, rdx
jmp rcx
lea rcx, [0x1800d95c0]
call fcn.1800cfb40
xor ebx, ebx
jmp 0x180089099
mov edx, dword [r12 + 8]
lea rcx, str.No_swap_chain
call fcn.1800cfb40
mov eax, dword [r12 + 8]
lea rdx, [rsp + 0x80]
mov r8, qword [r12]
mov ecx, 0x52
mov dword [rsp + 0x80], eax
call fcn.1800b82d0
jmp 0x180089099
mov eax, dword [r12]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x80], eax
mov r9d, 0x96
mov rax, qword [r15]
xor edx, edx
mov qword [rsp + 0x30], rax
mov rcx, rdi
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
call fcn.180057610
mov ebx, eax
jmp 0x180089099
mov eax, dword [r12]
lea rcx, [rsp + 0x80]
mov r9, r15
mov dword [rsp + 0x80], eax
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov edx, SHSetFolderPathW
call fcn.18008cbf0
mov ebx, eax
jmp 0x180089099
mov r13d, dword [r15]
jmp case.0x180088f8f.8
mov rax, qword [rsp + 0x90]
mov ecx, r13d
mov r8d, dword [r15 + 0x48]
mov rdx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
movsxd rcx, eax
mov eax, dword [r15 + 0x48]
cmp rcx, rax
je 0x180089091
mov edi, 0x20
mov eax, edi
sub eax, 0x1f
je case.0x180088f8f.0
cmp eax, 1
jne 0x18008908a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [rax]
dec edi
cmp edi, 0x1e
ja 0x180089076
mov rdi, qword [rsp + 0x90]
lea rdx, [0x180000000]
dec esi
dec ebp
cmp esi, r14d
ja 0x180088f74
mov rbp, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor ebx, ebx
jmp case.0x180088f8f.8

Function at 0x18008d460
Capabilities:
Check for software breakpoints

Disassembly:
sub rsp, 0x28
mov rax, qword [rsp + 0x40]
lea r11d, [rdx - 4]
cmp edx, r11d
mov r10d, edx
mov r9, rcx
jbe 0x18008d556
mov ecx, r10d
sub ecx, 0xff
je 0x18008d520
sub ecx, 2
je 0x18008d4d8
sub ecx, 1
je 0x18008d4fa
cmp ecx, 1
jne 0x18008d527
cmp qword [r9], 0
jne 0x18008d527
mov edx, 0xce
nop dword [rax]
mov ecx, edx
sub ecx, 0xcd
je 0x18008d556
cmp ecx, 1
jne 0x18008d4c6
lea eax, [rcx + 0x15]
dec edx
cmp edx, 0xcc
ja 0x18008d4b0
dec r10d
cmp r10d, r11d
jmp 0x18008d476
mov edx, 0x41
nop dword [rax]
mov ecx, edx
sub ecx, 0x40
je 0x18008d556
cmp ecx, 1
jne 0x18008d4f3
mov rax, qword [r9]
mov rax, qword [rax + 0x28]
dec edx
cmp edx, 0x3f
ja 0x18008d4e0
mov r8, qword [r9]
mov edx, dword [r8]
lea ecx, [rdx - 0x7f2bb708]
cmp ecx, 2
jbe 0x18008d540
lea ecx, [rdx - 0x7f2bb76d]
cmp ecx, 2
jbe 0x18008d527
mov eax, 0x16
add rsp, 0x28
ret
mov rcx, qword [r9]
or dword [rcx + 0x10], 8
dec r10d
cmp r10d, r11d
jmp 0x18008d476
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], r8
mov ecx, 0x44
call fcn.180084940
mov eax, eax
add rsp, 0x28
ret
Function at 0x1800abae0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x1800e5c38]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov ebx, dword [rsp + 0x40]
lea r14d, [r8 + 0xa]
mov qword [rsp + 0x58], rcx
mov r13, rdx
mov r12, r9
mov esi, r8d
mov rdx, rcx
cmp r8d, r14d
jae case.0x1800abb54.4
mov r15, qword [rsp + 0x48]
lea edi, [r8 - 0xce]
lea r8, [0x180000000]
nop
cmp edi, 0xe
ja case.0x1800abb54.5
mov ecx, dword [r8 + rdi*4 + 0xabd34]
add rcx, r8
jmp rcx
lea rcx, str.CacheSizeMethods
jmp 0x1800abcec
mov ecx, dword [r12]
test ecx, ecx
je case.0x1800abb54.5
xor edx, edx
mov eax, 0xffffffff
div ecx
cmp eax, dword [r13]
jae 0x1800abcf8
mov eax, 0x7f2bb746
jmp 0x1800abd0c
mov qword [rdx], r15
xor ebx, ebx
jmp case.0x1800abb54.5
mov rax, qword [0x1800ea430]
lea r9, [rsp + 0x40]
mov r8d, 0x11f
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x79]
mov dword [rsp + 0x40], 8
lea rcx, [rsp + 0x48]
call fcn.18008b2d0
test eax, eax
je 0x1800abcf1
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, qword [rbp - 0x79]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov edx, 0xd4
lea rcx, [rbp - 0x69]
call fcn.180085fb0
test eax, eax
jne 0x1800abbca
jmp 0x1800abcf1
mov rax, qword [rbp - 0x79]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
mov edx, 0xc3
xor ecx, ecx
mov qword [rsp + 0x20], 0
call fcn.1800c24c0
jmp 0x1800abcf1
mov edx, dword [r13]
mov ecx, dword [r12]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r15, rax
jmp 0x1800abcf1
test r15, r15
je 0x1800abb81
jmp case.0x1800abb54.5
cmp dword [rsp + 0x50], 0
je 0x1800abce5
nop word [rax + rax]
mov rax, qword [rbp - 0x79]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov edx, 0xd4
lea rcx, [rbp - 0x69]
call fcn.180085fb0
cmp eax, 0x7f2bb742
jne 0x1800abcd6
mov eax, dword [rsp + 0x50]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x48]
mov rax, qword [0x1800ea608]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xa6
mov qword [rsp + 0x20], rax
call fcn.18005b9d0
jmp 0x1800abcde
test eax, eax
jne 0x1800abbca
cmp dword [rsp + 0x50], 0
jne 0x1800abc70
lea rcx, [0x1800d95c0]
call fcn.1800cfb40
lea r8, [0x180000000]
mov rdx, qword [rsp + 0x58]
inc esi
inc edi
cmp esi, r14d
jb 0x1800abb40
mov eax, ebx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1800d0500
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800c0d60
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r15d, dword [rsp + 0x80]
mov r14, rdx
mov rbp, r9
mov rsi, r8
mov rdx, rcx
lea edi, [r15 - 7]
mov dword [rsp + 0x80], edi
mov ebx, dword [rsp + 0x80]
cmp r15d, edi
jbe case.0x1800c0dd4.13
mov r13, qword [rsp + 0x88]
lea r12d, [r15 - 0x52]
lea r8, [0x180000000]
cmp r12d, 0xe
ja case.0x1800c0dd4.1
mov ecx, dword [r8 + r12*4 + 0xc0efc]
add rcx, r8
jmp rcx
mov edi, 0x81
nop dword [rax + rax]
cmp edi, 0x81
je 0x1800c0e0f
cmp edi, 0x143
jne 0x1800c0e36
mov rbp, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, dword [rbp + 0xe4]
mov r9d, 4
mov r10, qword [rbp + 0x130]
and eax, 0x10
mov edx, dword [rsi]
mov r8, r13
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [r10]
mov ebx, eax
add edi, 0xc2
cmp edi, 0x205
jb 0x1800c0de0
mov edi, dword [rsp + 0x80]
xor ebx, ebx
jmp case.0x1800c0dd4.1
mov r9d, dword [rsi]
lea rcx, str.yandex_version
mov edx, dword [r14]
mov r8, rbp
call fcn.1800cfb40
jmp case.0x1800c0dd4.1
mov eax, 0xdb
nop dword [rax + rax]
cmp eax, 0xdb
je 0x1800c0e84
cmp eax, 0x184
je case.0x1800c0dd4.13
jmp 0x1800c0e89
mov ebx, dword [r14]
add ebx, dword [rsi]
add eax, 0xa9
cmp eax, 0x22d
jb 0x1800c0e70
mov r9d, dword [r14]
mov r8d, dword [rdx]
cmp r9d, r8d
je case.0x1800c0dd4.1
mov rdx, rbp
lea rcx, str.Invalid_recordVersion_to_read_:_u
call fcn.1800cfb40
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r9d, dword [rsi]
mov r8d, dword [r13]
cmp r9d, r8d
jne 0x1800c0ee0
dec r15d
dec r12d
cmp r15d, edi
jbe case.0x1800c0dd4.13
mov rdx, qword [rsp + 0x60]
jmp 0x1800c0db8
mov rdx, rbp
lea rcx, str.Boost_or_cut_lower_frequencies.
call fcn.1800cfb40
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
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 [0x1400e4490]
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 [0x1400e44a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.1400c6ce0
jmp 0x14000123c
mov rax, qword [0x1400e44a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400e44a0]
mov dword [rax], 1
mov rax, qword [0x1400e44e0]
mov rdx, rax
mov rax, qword [0x1400e44d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x1400e8024], 1
mov rax, qword [0x1400e44a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400e44c0]
mov rdx, rax
mov rax, qword [0x1400e44b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400e44a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x1400e4490]
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 [str.0U_f_]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [str.0U_f_]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400c5f68
mov rax, qword [0x1400e4520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x1400e4480]
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.1400c5760
mov eax, dword [0x1400e8004]
lea rdx, [0x1400e8008]
mov ecx, eax
call fcn.14000147c
call fcn.1400c54f7
mov rax, qword [0x1400e4410]
mov rax, qword [rax]
mov rdx, qword [0x1400e8010]
mov qword [rax], rdx
mov rcx, qword [0x1400e8010]
mov rdx, qword [0x1400e8008]
mov eax, dword [0x1400e8004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x1400e801c], eax
mov eax, dword [0x1400e8020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x1400e801c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x1400e8024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x1400e801c]
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 [0x1400e4440]
mov dword [rax], 1
mov rax, qword [0x1400e4450]
mov dword [rax], 1
mov rax, qword [0x1400e4460]
mov dword [rax], 1
mov rax, qword [0x1400e4400]
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 0x1400c5770
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.1400c6ad0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x1400c6442
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400e8168]
test eax, eax
je 0x1400c64da
lea rax, [0x1400e8140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400e8170]
mov qword [rbp - 8], rax
jmp 0x1400c64be
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 0x1400c64b2
cmp qword [rbp - 0x10], 0
je 0x1400c64b2
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 0x1400c6478
lea rax, [0x1400e8140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400c64db
nop
add rsp, 0x30
pop rbp
ret
Function at 0x1400c65e0
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 0x1400c6608
mov eax, 0
jmp 0x1400c6656
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 0x1400c6631
mov eax, 0
jmp 0x1400c6656
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 0x1400c6651
mov eax, 0
jmp 0x1400c6656
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x1400c665c
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 0x1400c66da
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400c66d1
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 0x1400c66d1
mov rax, qword [rbp - 8]
jmp 0x1400c66ef
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 0x1400c66a4
mov eax, 0
add rsp, 0x20
pop rbp
ret