joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000dc60
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
movsxd r9, dword [rdx + 0x3c]
xor r10d, r10d
add r9, rdx
mov r11, r8
mov rdi, rdx
mov rbx, rcx
movzx eax, word [r9 + 0x14]
add rax, 0x18
add rax, r9
movzx r9d, word [r9 + 6]
cmp r10w, r9w
jae 0x14000dcbe
mov ecx, dword [rax + 8]
test ecx, ecx
jne 0x14000dc9e
mov ecx, dword [rax + 0x10]
mov r8d, dword [rax + 0xc]
cmp r11, r8
jb 0x14000dcb0
lea edx, [r8 + rcx]
cmp r11, rdx
jb 0x14000dcd0
inc r10w
add rax, 0x28
cmp r10w, r9w
jb 0x14000dc94
mov byte [rbx + 8], 0
mov rax, rbx
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
sub r8d, dword [rax + 0x14]
mov eax, r8d
sub rdi, rax
mov byte [rbx + 8], 1
add rdi, r11
mov rax, rbx
mov qword [rbx], rdi
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x14000e02c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14000e0b0
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140033e60]
cmp byte [rcx + rax], 0
je 0x14000e0b0
dec r8
sub rdx, 1
jne 0x14000e096
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400102dc
Capabilities:
Parse pe header

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

Function at 0x14001c0fc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001beec
Function at 0x1400225a8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x1400225da
call fcn.14001aef8
mov dword [rax], 0x16
call fcn.140016148
jmp 0x1400226f9
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400226f9
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400226f9
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140022609
lock or dword [rcx + 0x14], 0x10
jmp 0x1400226f9
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14002261d
call fcn.140023d58
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140021370
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.140023388
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1400226e7
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x1400226b2
mov rcx, rsi
call fcn.140021370
cmp eax, edi
je 0x14002269d
mov rcx, rsi
call fcn.140021370
cmp eax, 0xfffffffe
je 0x14002269d
mov rcx, rsi
call fcn.140021370
movsxd rbx, eax
lea r14, [0x140047c00]
mov rcx, rsi
sar rbx, 6
call fcn.140021370
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1400226a4
lea rdx, [0x140045460]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400226b2
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x1400226d6
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x1400226d6
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x1400226d6
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x1400226fc
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140022a24
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14000ff70
sub rsp, rax
mov rax, qword [0x1400450a8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140021370
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140022a73
mov rax, rbp
jmp 0x140022b7b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x47c00]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140023b60
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x47c00]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140022b77
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140022b77
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140023b60
test rax, rax
js 0x140022b77
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140022b77
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140022b69
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140022b69
cmp byte [rcx], 0xd
jne 0x140022b4f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140022b5e
cmp byte [rcx + 1], 0xa
jne 0x140022b5e
inc rcx
jmp 0x140022b5e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x454b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140022b31
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140022b7b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14000fca0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140022edc
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x140047c00]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x140022f3a
cmp word [rdx], r12w
jne 0x140022f3a
or byte [rax + r8*8 + 0x38], cl
jmp 0x140022f40
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14002309b
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x140023076
lea r9, [rcx + 2]
cmp ax, r13w
je 0x140022f79
mov rcx, r9
jmp 0x140022f9c
cmp r9, rdx
jae 0x140022fb3
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x140022f5d
jmp 0x14002309b
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140023070
cmp dword [rsp + 0x80], edi
je 0x140023070
mov rdx, r14
lea r11, [0x140047c00]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x140023049
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14002301c
mov word [rbx], r12w
jmp 0x140023097
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x140023025
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x140023097
cmp word [rsp + 0x70], r12w
jne 0x140023056
cmp rbx, rsi
je 0x140023016
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140023b68
cmp word [rsp + 0x70], r12w
je 0x14002309b
mov word [rbx], r13w
jmp 0x140023097
lea r11, [0x140047c00]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140023093
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14002309b
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14002861c
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14002864c
xor eax, eax
jmp 0x14002870f
mov rbp, rbx
cmp word [rax], si
je 0x140028671
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140028658
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140028654
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140026dc8
movsxd r14, eax
test eax, eax
jne 0x1400286af
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140028645
mov rcx, r14
call fcn.140023dc4
mov rdi, rax
test rax, rax
jne 0x1400286c8
xor ecx, ecx
call fcn.140020570
jmp 0x1400286a4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140026dc8
test eax, eax
jne 0x1400286f9
mov rcx, rdi
call fcn.140020570
jmp 0x140028703
xor ecx, ecx
call fcn.140020570
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14002f454
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14001b060
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002f4de
cmp byte [rbp - 0x21], r15b
je 0x14002f4d9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002f514
call fcn.140020874
test eax, eax
jne 0x14002f500
cmp byte [rbp - 0x21], r15b
je 0x14002f4f8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002f514
cmp byte [rbp - 0x21], r15b
je 0x14002f511
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001b62c
test eax, eax
jne 0x14002f5b4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001b060
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002f553
cmp byte [rbp - 0x21], r15b
je 0x14002f588
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14002f588
call fcn.140020874
test eax, eax
jne 0x14002f574
cmp byte [rbp - 0x21], r15b
je 0x14002f56d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14002f588
cmp byte [rbp - 0x21], r15b
je 0x14002f585
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001b62c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002f5b4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002f5b7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002f5c5
mov rcx, rdi
call fcn.140020570
cmp byte [rbp + 0x3f], r15b
je 0x14002f5d4
mov rcx, qword [rbp + 0x27]
call fcn.140020570
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400303c4
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140023b68
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140023b68
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140030514
cmp rax, 0xffffffffffffffff
je 0x140030514
xor edi, edi
test rbp, rbp
jle 0x1400304bf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400204f8
mov rbx, rax
test rax, rax
jne 0x14003044c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400304b5
mov edx, 0x8000
mov ecx, r14d
call fcn.14001cf80
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140022298
cmp eax, 0xffffffff
je 0x140030495
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14003045c
mov edx, r15d
mov ecx, r14d
call fcn.14001cf80
jmp 0x1400304b5
cmp byte [rsi + 0x38], dil
je 0x1400304ac
cmp dword [rsi + 0x34], 5
jne 0x1400304ac
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400304b5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140020570
jmp 0x140030528
jns 0x140030528
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140023b68
cmp rax, 0xffffffffffffffff
jne 0x1400304e0
cmp byte [rsi + 0x30], dil
je 0x140030528
mov edi, dword [rsi + 0x2c]
jmp 0x140030528
mov ecx, r14d
call fcn.14002933c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140030528
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140030528
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140030521
mov eax, dword [rsi + 0x2c]
jmp 0x140030526
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140023b68
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180002620
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18000267d
lea rbx, [0x18003c250]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180002664
cmp r10, 2
jb 0x180002664
cmp byte [r9], r8b
jne 0x180002664
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180002640
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800026bf
lea rbx, [0x18003c250]
cmp r8b, 0x23
jne 0x1800026a3
cmp byte [r9], r8b
jne 0x1800026a3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180002690
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180002930
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x18000295f
mov r8d, 0x59a
lea rdx, str.C:UserseemelDesktopStryke_IL2CPP_Template_mainStrykeDrawimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x18000296b
mov qword [rdi], 0
lea rdx, [0x18003bf10]
mov rcx, rbx
call fcn.1800026d0
mov rbx, rax
test rax, rax
jne 0x18000298d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x180002a64
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180002a64
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x180002a64
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180002a64
cmp rsi, 0xffffffffffffffff
je 0x180002a64
mov rax, qword [0x180063bf8]
test rax, rax
je 0x180002a01
inc dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x180002a64
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x180002a51
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180063bf8]
test rax, rax
je 0x180002a46
dec dword [rax + 0x3bc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180002a6d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x180002a5f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x180002a6f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180004950
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc0], 0
mov rbx, rcx
mov edi, edx
jg 0x180004986
mov r8d, 0x502
lea rdx, str.C:UserseemelDesktopStryke_IL2CPP_Template_mainStrykeDrawimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0xc0]
mov rax, qword [rbx + 0xc8]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x18003c250]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x180063bf8]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1a60], edx
jne 0x180004a00
mov dword [rax + 0x1a64], edx
cmp dword [rax + 0x1a9c], edx
jne 0x180004a0f
mov byte [rax + 0x1aa0], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x180007610
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp byte [rcx], 0
mov rbx, rcx
jne 0x18000762b
cmp byte [rcx + 0x2ef4], 0
je 0x180007645
mov r8d, 0xedf
lea rdx, str.C:UserseemelDesktopStryke_IL2CPP_Template_mainStrykeDrawimgui.cpp
lea rcx, str._g.Initialized___g.SettingsLoaded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
lea r8, [0x18003a669]
mov dword [rsp + 0x2c], eax
lea r11, [0x18003c250]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov edx, r10d
mov qword [rsp + 0x20], rax
mov r9b, 0x57
cmp r9b, 0x23
jne 0x180007689
cmp byte [r8], r9b
jne 0x180007689
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x180007676
mov ecx, dword [rbx + 0x2f14]
lea rax, [0x180014380]
mov edi, dword [rbx + 0x2f10]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x180014400]
mov qword [rsp + 0x38], rax
lea rax, [0x1800144e0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x18000778b
inc edi
test ecx, ecx
je 0x1800076f5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800076fa
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x18000778b
mov rax, qword [0x180063bf8]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x18000771e
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x2f18]
mov rsi, rax
test rdx, rdx
je 0x180007779
movsxd rcx, dword [rbx + 0x2f10]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x2f18]
test rcx, rcx
je 0x180007773
mov rax, qword [0x180063bf8]
test rax, rax
je 0x180007773
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2f18], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x2f14], edi
movsxd rax, dword [rbx + 0x2f10]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2f18]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2f10]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x180008d10
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180008d60
lea r11, [0x18003c250]
nop dword [rax]
cmp r9b, 0x23
jne 0x180008d43
cmp byte [r8], r9b
jne 0x180008d43
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180008d30
mov rcx, qword [0x180063bf8]
not eax
movsxd rdx, dword [rcx + 0x1a00]
mov r9, qword [rcx + 0x1a08]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180008dc1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180008db9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x180008dbc
mov rdx, r8
test rdx, rdx
jne 0x180008d90
cmp r9, r10
je 0x180008dd0
cmp dword [r9], eax
jne 0x180008dd0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x180013980
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 [0x180063bf8]
cmp byte [rbx + 0x2f30], 0
je 0x180013a6c
cmp qword [rbx + 0x2f38], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x2f40]
je 0x180013a54
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x1800139fb
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.1800155a0
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.180002ff0
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x2f38]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x2f48]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x180063bf0]
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.180002ff0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret