joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002e6fc
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14002e72a
xor eax, eax
jmp 0x14002e810
cmp qword [rcx + 0x68], 0
je 0x14002e73b
call fcn.140026180
jmp 0x14002e810
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14002e752
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14002e754
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14002e786
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14009be00
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14002e80a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14002e7bd
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14002e7e6
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140086f48
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14002e80a
cmp rsi, rbx
ja 0x14002e7c4
test rsi, rsi
je 0x14002e80a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140086f48
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14002e82c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14002e85b
call fcn.140026240
jmp 0x14002e8d2
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14002e872
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14002e874
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14002e8cc
test ecx, ecx
jle 0x14002e8ad
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call fcn.14009be00
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14002e8cc
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14002e8cc
mov r8, rbx
mov edx, 1
mov rcx, r15
call fcn.1400874b0
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14003137c
Capabilities:
Load windows common language runtime

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
cmp qword [0x1400d7cf0], rbx
jne 0x140031427
and qword [rsp + 0x38], rbx
lea r8, [rsp + 0x38]
lea rdx, [0x1400a6328]
lea rcx, [0x1400a6338]
call sub.mscoree.dll_CLRCreateInstance
mov ebx, eax
test eax, eax
js 0x140031427
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
and qword [rsp + 0x30], 0
lea r8, [0x1400a6348]
lea rdx, str.v4.0.30319
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x14003141c
mov rcx, qword [rsp + 0x30]
lea r9, [0x1400d7cf0]
lea r8, [0x1400a6378]
lea rdx, [0x1400a6368]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x140031411
mov rcx, qword [0x1400d7cf0]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140031430
Capabilities:
Load windows common language runtime

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp qword [0x1400d7cf0], rbx
jne 0x14003147c
lea rax, [0x1400d7cf0]
xor edx, edx
lea r9, [0x1400a6378]
mov qword [rsp + 0x20], rax
lea r8, [0x1400a6368]
lea rcx, str.v2.0.50727
call sub.mscoree.dll_CorBindToRuntime
mov ebx, eax
test eax, eax
js 0x14003147c
mov rcx, qword [0x1400d7cf0]
mov rdx, qword [rcx]
call qword [rdx + 0x50]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140032bcc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1400777dc
mov r9, rax
test rax, rax
je 0x140032bf6
mov rax, qword [rbx]
mov qword [r9], rax
jmp 0x140032bf9
xor r9d, r9d
mov qword [rsp + 0x40], r9
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
lea r8, [0x1400321d4]
xor edx, edx
xor ecx, ecx
call fcn.140087b3c
mov qword [rdi], rax
test rax, rax
je 0x140032c2f
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call fcn.1400758f8
int3
Function at 0x140035308
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400d5380]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov edi, r9d
mov r14d, r8d
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x48], rdx
xor r15d, r15d
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x140035351
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp - 0x70]
call fcn.14009c4a0
mov r8d, r14d
lea rdx, [0x1400a2f00]
lea rcx, [rbp - 0x70]
call fcn.140028b00
mov r8, rbx
lea rdx, str..pipe_
lea rcx, [rsp + 0x70]
call fcn.140002a70
nop
lea rcx, [rbp - 0x70]
or r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], r15w
jne 0x140035392
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.1400244a4
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r15
mov r14d, 7
mov qword [rax + 0x18], r14
mov word [rax], r15w
lea rcx, [rsp + 0x70]
call fcn.140024110
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 0xa
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], r14
cmova rcx, qword [rsp + 0x50]
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x140035423
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140035423
test edi, edi
jg 0x1400353e7
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], r14
cmova rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsi + 8], rax
cmp rax, 0xffffffffffffffff
setne dil
mov rdx, qword [rsp + 0x68]
cmp rdx, r14
jbe 0x1400354a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003549d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400354e0
call fcn.140077818
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r14
mov word [rsp + 0x50], r15w
mov rcx, rbx
call fcn.140024110
mov al, dil
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140077c90
mov rbx, qword [rsp + 0x168]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14007e634
nop
int3
Function at 0x1400354e8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
mov r8d, SafeArrayUnaccessData
lea rdx, str.FLiNGTrainerNamedPipe_
lea rcx, [rbp - 0x20]
call fcn.140003318
mov r9d, 0x2710
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140035308
test al, al
je 0x14003563d
mov rcx, rdi
call fcn.140053914
mov rcx, rdi
call fcn.14003b718
mov rcx, rdi
call fcn.14003b104
mov edx, dword [0x1400d7d04]
test edx, edx
je 0x14003557f
mov r8d, dword [0x1400d7d08]
test r8d, r8d
je 0x14003557f
mov rcx, rdi
call fcn.14003838c
mov rcx, rdi
call fcn.140037d34
mov rcx, rdi
call fcn.140037a70
mov rcx, rdi
call fcn.1400379d0
mov rcx, rdi
call fcn.140038140
mov rcx, rdi
call fcn.1400382fc
mov rcx, rdi
call fcn.140037780
call fcn.1400384d8
mov ecx, 8
call fcn.1400777dc
test rax, rax
je 0x1400355c6
mov qword [rax], rdi
mov qword [rbp + 0x18], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400321a4]
xor edx, edx
xor ecx, ecx
call fcn.140087b3c
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14003564f
cmp dword [rbp - 0x28], 0
je 0x140035664
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140076a88
test eax, eax
jne 0x140035664
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
jmp 0x14003562e
mov ecx, dword [0x1400d52dc]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.1400351c4
cmp byte [0x1400d7d00], 0
je 0x14003561a
cmp dword [rbp - 0x28], 0
jne 0x14003565e
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
and dword [rbp - 0x28], 0
mov ecx, 6
call fcn.1400758f8
nop
call fcn.1400879f0
nop
mov ecx, 1
call fcn.1400758f8
int3

Function at 0x140037780
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov ecx, 8
call fcn.1400777dc
test rax, rax
je 0x14003779b
mov qword [rax], rbx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140032048]
xor edx, edx
xor ecx, ecx
call fcn.140087b3c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400377fd
cmp dword [rsp + 0x38], 0
je 0x1400377f2
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140076a88
test eax, eax
jne 0x1400377f2
add rsp, 0x50
pop rbx
ret
mov ecx, 1
call fcn.1400758f8
nop
and dword [rsp + 0x38], 0
mov ecx, 6
call fcn.1400758f8
int3
Function at 0x140037810
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x1400d5380]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov dil, r8b
mov rbx, rdx
mov rsi, rcx
mov qword [rbp + 0x17], rdx
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2f], xmm1
cmp qword [rdx + 0x18], 0xf
jbe 0x14003785f
mov rdx, qword [rdx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp + 0x1f]
call fcn.140003420
mov byte [rbp + 0x3f], dil
mov qword [rbp + 0x47], rsi
mov ecx, 0x30
call fcn.1400777dc
test rax, rax
je 0x1400378ab
movups xmm0, xmmword [rbp + 0x1f]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp + 0x2f]
movups xmmword [rax + 0x10], xmm1
movdqa xmm0, xmmword [0x1400a2e20]
movdqu xmmword [rbp + 0x2f], xmm0
mov byte [rbp + 0x1f], 0
mov byte [rax + 0x20], dil
mov qword [rax + 0x28], rsi
mov qword [rbp + 7], rax
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140032078]
xor edx, edx
xor ecx, ecx
call fcn.140087b3c
mov qword [rbp - 9], rax
test rax, rax
je 0x1400379b3
mov edi, 0x1000
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x140037919
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, rdi
jb 0x140037914
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400379c2
call fcn.140077818
cmp dword [rbp - 1], 0
je 0x1400379a8
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.140076a88
test eax, eax
jne 0x1400379a8
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140037973
inc rdx
mov rcx, qword [rbx]
cmp rdx, rdi
jb 0x14003796e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400379c8
mov rcx, r8
call fcn.140077818
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], 0
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140077c90
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call fcn.1400758f8
nop
and dword [rbp - 1], 0
mov ecx, 6
call fcn.1400758f8
nop
call fcn.14007e634
nop
call fcn.14007e634
int3

Function at 0x1400379d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rdi, [0x1400d7d80]
mov qword [rsp + 0x48], rdi
mov rcx, rdi
call fcn.14007567c
test eax, eax
jne 0x140037a65
cmp dword [0x1400d7dcc], 0x7fffffff
je 0x140037a50
lea edx, [rax + 5]
mov rcx, rbx
call fcn.14003faec
lea rax, [0x1400373e0]
mov qword [rsp + 0x50], rax
and dword [rsp + 0x48], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, 8
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.140075684
mov dword [0x1400d7dcc], 0x7ffffffe
mov ecx, 6
call fcn.1400758f8
int3
mov ecx, 5
call fcn.1400758f8
int3
Function at 0x140037a70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
lea rbx, [rcx + 0x658]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.14003faac
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x140037b47
lea rsi, [0x1400d7d80]
mov qword [rsp + 0x40], rsi
mov rcx, rsi
call fcn.14007567c
test eax, eax
jne 0x140037b6c
cmp dword [0x1400d7dcc], 0x7fffffff
je 0x140037b57
lea edx, [rax + 3]
mov rcx, rdi
call fcn.14003faec
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
mov dword [rsp + 0x48], eax
and dword [rsp + 0x40], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, 4
lea rdx, [rsp + 0x48]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx]
mov qword [rsp + 0x48], rax
and dword [rsp + 0x40], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, 8
lea rdx, [rsp + 0x48]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rsi
call fcn.140075684
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov dword [0x1400d7dcc], 0x7ffffffe
mov ecx, 6
call fcn.1400758f8
int3
mov ecx, 5
call fcn.1400758f8
int3

Function at 0x140037b78
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rbx, rdx
mov rdi, rcx
lea r14, [0x1400d7d80]
mov qword [rbp - 0x30], r14
mov rcx, r14
call fcn.14007567c
test eax, eax
jne 0x140037c88
cmp dword [0x1400d7dcc], 0x7fffffff
je 0x140037c73
lea edx, [rax + 0xa]
mov rcx, rdi
call fcn.14003faec
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov r8d, SafeArrayUnaccessData
lea rdx, str.SET_GAMEPASS_EXE_PATH
lea rcx, [rbp - 0x28]
call fcn.140003238
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14003c2c8
and dword [rbp + 0x30], 0
and dword [rbp + 0x38], 0
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x30]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp + 0x30], 1
jne 0x140037c5b
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x140037c42
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.1400034e8
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14003c388
nop
mov rcx, r14
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop r14
pop rdi
pop rbp
jmp fcn.140075684
mov dword [0x1400d7dcc], 0x7ffffffe
mov ecx, 6
call fcn.1400758f8
int3
mov ecx, 5
call fcn.1400758f8
int3
Function at 0x140037c94
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rdi, [0x1400d7d80]
mov qword [rsp + 0x48], rdi
mov rcx, rdi
call fcn.14007567c
test eax, eax
jne 0x140037d27
cmp dword [0x1400d7dcc], 0x7fffffff
je 0x140037d12
lea edx, [rax + 2]
mov rcx, rbx
call fcn.14003faec
mov eax, dword [rbx + 0xe0]
mov dword [rsp + 0x50], eax
and dword [rsp + 0x48], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.140075684
mov dword [0x1400d7dcc], 0x7ffffffe
mov ecx, 6
call fcn.1400758f8
int3
mov ecx, 5
call fcn.1400758f8
int3

Function at 0x140038040
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rbx, r8
mov esi, edx
mov rdi, rcx
lea r14, [0x1400d7d80]
mov qword [rsp + 0x38], r14
mov rcx, r14
call fcn.14007567c
xor ebp, ebp
test eax, eax
jne 0x140038133
cmp dword [0x1400d7dcc], 0x7fffffff
je 0x14003811e
xor edx, edx
mov rcx, rdi
call fcn.14003faec
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x98], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x98]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 7
jbe 0x1400380c7
mov rbx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], bp
jne 0x1400380dd
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140003318
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14003c388
nop
mov rcx, r14
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
jmp fcn.140075684
mov dword [0x1400d7dcc], 0x7ffffffe
mov ecx, 6
call fcn.1400758f8
int3
mov ecx, 5
call fcn.1400758f8
int3

Function at 0x140038254
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
movzx edi, dl
mov rbx, rcx
lea rsi, [0x1400d7d80]
mov qword [rsp + 0x50], rsi
mov rcx, rsi
call fcn.14007567c
test eax, eax
jne 0x1400382ee
cmp dword [0x1400d7dcc], 0x7fffffff
je 0x1400382d9
lea edx, [rax + 7]
mov rcx, rbx
call fcn.14003faec
mov dword [rsp + 0x58], edi
and dword [rsp + 0x50], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8d, 4
lea rdx, [rsp + 0x58]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140075684
mov dword [0x1400d7dcc], 0x7ffffffe
mov ecx, 6
call fcn.1400758f8
int3
mov ecx, 5
call fcn.1400758f8
int3
Function at 0x1400382fc
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov ecx, 8
call fcn.1400777dc
test rax, rax
je 0x140038317
mov qword [rax], rbx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140032174]
xor edx, edx
xor ecx, ecx
call fcn.140087b3c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140038379
cmp dword [rsp + 0x38], 0
je 0x14003836e
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140076a88
test eax, eax
jne 0x14003836e
add rsp, 0x50
pop rbx
ret
mov ecx, 1
call fcn.1400758f8
nop
and dword [rsp + 0x38], 0
mov ecx, 6
call fcn.1400758f8
int3

Function at 0x14003838c
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x40
mov edi, r8d
mov esi, edx
mov rbx, rcx
lea r14, [0x1400d7d80]
mov qword [rax + 0x20], r14
mov rcx, r14
call fcn.14007567c
test eax, eax
jne 0x14003845f
cmp dword [0x1400d7dcc], 0x7fffffff
je 0x14003844a
lea edx, [rax + 9]
mov rcx, rbx
call fcn.14003faec
mov dword [rsp + 0x30], esi
and dword [rsp + 0x68], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov esi, 4
mov r8d, esi
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x30], edi
and dword [rsp + 0x68], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, esi
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, r14
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
jmp fcn.140075684
mov dword [0x1400d7dcc], 0x7ffffffe
mov ecx, 6
call fcn.1400758f8
int3
mov ecx, 5
call fcn.1400758f8
int3
Function at 0x140038d64
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r13, r9
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov dword [rax - 0x48], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
mov rsi, qword [rsp + 0xa0]
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140038dbe
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
call fcn.1400034e8
nop
mov dword [rsp + 0x30], 1
mov rcx, r13
call fcn.140044128
test al, al
je 0x140038ed6
mov r15d, 0x200
mov r12d, 0x400
mov ecx, r12d
call fcn.140077d18
mov rbx, rax
test rax, rax
je 0x140038e0b
mov r8d, r12d
xor edx, edx
mov rcx, rax
call fcn.14009c4a0
jmp 0x140038e0d
xor ebx, ebx
mov qword [rsp + 0xa0], rbx
mov r12d, 5
mov dword [rsp + 0x30], r12d
mov rax, r13
cmp qword [r13 + 0x18], 7
jbe 0x140038e2e
mov rax, qword [r13]
mov r8, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140038e3b
mov r8, qword [rsi]
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x140038e48
mov rdx, qword [r14]
mov rcx, rbp
cmp qword [rbp + 0x18], 7
jbe 0x140038e56
mov rcx, qword [rbp]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [r15 - 1]
cmp eax, ecx
jb 0x140038ebc
mov rdx, rbx
mov rcx, rdi
call fcn.140024590
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140038e89
mov rcx, qword [rsi]
mov rdx, qword [rdi + 0x10]
mov r8, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140038e9a
mov r8, qword [rdi]
cmp rdx, qword [rsi + 0x10]
jne 0x140038ef1
test rdx, rdx
je 0x140038ebc
sub r8, rcx
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140038ef1
add rcx, 2
sub rdx, 1
jne 0x140038ea8
mov rdx, rbx
mov rcx, rdi
call fcn.140024590
nop
test rbx, rbx
je 0x140038ed6
mov rcx, rbx
call fcn.140077818
nop
mov rax, rdi
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
add r15d, r15d
cmp r15d, 0x6400000
ja 0x140038ebc
mov ecx, r15d
mov eax, 2
mul rcx
mov r14, rax
mov rax, 0xffffffffffffffff
cmovo r14, rax
mov rcx, r14
call fcn.140077d18
mov rbp, rax
test rax, rax
je 0x140038f35
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.14009c4a0
jmp 0x140038f37
xor ebp, ebp
or r12d, 2
mov dword [rsp + 0x30], r12d
mov rcx, rbx
mov rbx, rbp
mov qword [rsp + 0xa0], rbx
test rcx, rcx
mov r14, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
je 0x140038e20
call fcn.140077818
jmp 0x140038e20