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

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x108], 0
mov rbx, rcx
mov edi, edx
jg 0x140009aa5
mov r8d, 0x6d4
lea rdx, str.C:UsersPCDesktopoblivionimguiimgui.h
lea rcx, str.Size___0
call fcn.14006a538
movsxd r8, dword [rbx + 0x108]
mov rax, qword [rbx + 0x110]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x14008a580]
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 [0x1400bd770]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1d6c], edx
jne 0x140009b1f
mov dword [rax + 0x1d70], edx
cmp dword [rax + 0x1da8], edx
jne 0x140009b2e
mov byte [rax + 0x1dac], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x140016830
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400bd770]
mov edi, ecx
mov rbx, qword [rax + 0x1d18]
cmp dword [rbx + 0x108], 0
jg 0x140016870
mov r8d, 0x6d4
lea rdx, str.C:UsersPCDesktopoblivionimguiimgui.h
lea rcx, str.Size___0
call fcn.14006a538
movsxd rcx, dword [rbx + 0x108]
lea r9, [0x14008a580]
mov rax, qword [rbx + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx eax, dil
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x31]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x32]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
shr r8d, 8
xor rcx, rax
movzx eax, byte [rsp + 0x33]
xor r8d, dword [r9 + rcx*4]
lea rcx, [rbx + 0x108]
movzx edx, r8b
xor rdx, rax
shr r8d, 8
xor r8d, dword [r9 + rdx*4]
lea rdx, [rsp + 0x30]
not r8d
mov dword [rsp + 0x30], r8d
call fcn.14002d3c0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400180a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400a3040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400bd770]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x140018100
cmp byte [rbx + 0x20d6], 0
jne 0x140018100
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400069f0
test dil, 1
je 0x140018226
jmp 0x14001818f
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140097d98]
xor eax, eax
mulss xmm1, dword [0x140097d84]
addss xmm0, dword [rbx + 0x120]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1ddc], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd4], xmm0
mov byte [rbx + 0x1dfc], 1
movss dword [rbx + 0x1dd8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x140097cd4]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
mov r9d, dword [rbx + 0x3178]
call fcn.1400069f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400181e0
lea r11, [0x14008a580]
nop
cmp r9b, 0x23
jne 0x1400181c3
cmp byte [r8], r9b
jne 0x1400181c3
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 0x1400181b0
not ecx
call fcn.14000f8f0
test rax, rax
je 0x140018226
cmp byte [rax + 0xcf], 0
je 0x140018226
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, 0x10
mov r9d, dword [rbx + 0x3178]
call fcn.1400069f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.140012250
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140056180
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001df90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1400bd770]
cmp byte [rbx + 0x31f8], 0
jne 0x14001e0d2
cmp dword [rbx + 0x3220], 0
je 0x14001dfda
mov r8d, 0x2b0e
lea rdx, str.C:UsersPCDesktopoblivionimguiimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call fcn.14006a538
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001e0cb
lea rdx, [0x140092a68]
call fcn.140006b20
mov rdi, rax
test rax, rax
je 0x14001e0cb
mov rcx, rax
call fcn.14005dee4
mov ebp, eax
cmp eax, 0xffffffff
je 0x14001e0c3
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.14005e9f0
test eax, eax
jne 0x14001e0c3
mov rcx, rdi
call fcn.14005dee4
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14001e0c3
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call fcn.14005e9f0
test eax, eax
jne 0x14001e0c3
cmp rsi, 0xffffffffffffffff
je 0x14001e0c3
mov rax, qword [0x1400bd770]
test rax, rax
je 0x14001e065
inc dword [rax + 0x3b0]
mov rcx, rsi
call fcn.14006a644
mov rbp, rax
test rax, rax
je 0x14001e0c3
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call fcn.14006476c
mov rcx, rdi
cmp rax, rsi
je 0x14001e097
call fcn.14005e6d4
jmp 0x14001e0a7
call fcn.14005e6d4
mov rdx, rsi
mov rcx, rbp
call fcn.14001e3e0
mov rax, qword [0x1400bd770]
test rax, rax
je 0x14001e0b9
dec dword [rax + 0x3b0]
mov rcx, rbp
call fcn.1400644f8
jmp 0x14001e0cb
mov rcx, rdi
call fcn.14005e6d4
mov byte [rbx + 0x31f8], 1
movss xmm0, dword [rbx + 0x31fc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001e15f
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x31fc], xmm0
jb 0x14001e15f
mov rdi, qword [rbx + 0x20]
xor ebp, ebp
test rdi, rdi
je 0x14001e152
mov rax, qword [0x1400bd770]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x31fc], ebp
call fcn.14001e8c0
lea rdx, [0x140092a6c]
mov rcx, rdi
mov rsi, rax
call fcn.140006b20
mov rdi, rax
test rax, rax
je 0x14001e159
mov r8, qword [rsp + 0x30]
lea edx, [rbp + 1]
mov r9, rax
mov rcx, rsi
call fcn.14005f420
mov rcx, rdi
call fcn.14005e6d4
jmp 0x14001e159
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x31fc], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001e360
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rbx]
lea r8, [rbx + 1]
test r9b, r9b
je 0x14001e3b6
lea r11, [0x14008a580]
cmp r9b, 0x23
jne 0x14001e399
cmp byte [r8], r9b
jne 0x14001e399
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 0x14001e386
not ecx
call fcn.14001e270
test rax, rax
jne 0x14001e3cf
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14001e180
add rsp, 0x20
pop rbx
ret
Function at 0x140022c50
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x140022e8e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1400a3040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x14008a580]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x140022e56
mov rcx, rbp
call fcn.140021f30
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x140022d21
movsxd rdx, dword [rbp + 0x31c0]
mov r8, qword [rbp + 0x31c8]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x140022d11
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x140022d09
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x140022d0c
mov rdx, rcx
test rdx, rdx
jne 0x140022ce0
cmp r8, r10
je 0x140022d21
cmp dword [r8], r9d
jne 0x140022d21
mov rcx, qword [r8 + 8]
jmp 0x140022d23
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x140022db7
cmp qword [rcx + 0x18], 0
jne 0x140022dac
mov qword [rcx + 0x18], rbx
jmp 0x140022db7
cmp qword [rcx + 0x20], 0
jne 0x140022db7
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140022dec
nop
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140022de0
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.1400069f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x140022e48
cmp r9b, 0x23
jne 0x140022e2b
cmp byte [r8], r9b
jne 0x140022e2b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x140022e18
not ecx
call fcn.14000f8f0
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x140022ca0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140056180
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140052430
Capabilities:
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
test r8, r8
je 0x1400524e1
test dword [rcx + 0x10], 0x100000
jne 0x140052464
mov r8d, 0x1cfe
lea rdx, str.C:UsersPCDesktopoblivionimguiimgui_widgets.cpp
lea rcx, str.tab_bar__Flags__ImGuiTabBarFlags_DockNode
call fcn.14006a538
movzx r9d, byte [rsi]
lea r8, [rsi + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1400524b1
lea r11, [0x14008a580]
cmp r9b, 0x23
jne 0x140052494
cmp byte [r8], r9b
jne 0x140052494
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 0x140052481
mov rcx, qword [0x1400bd770]
not eax
cmp dword [rcx + 0x1d6c], eax
jne 0x1400524c8
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x140052566
mov byte [rcx + 0x1dac], 1
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1400bd770]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rbx + 0x1d18]
cmp dword [rdi + 0x108], 0
jg 0x140052522
mov r8d, 0x6d4
lea rdx, str.C:UsersPCDesktopoblivionimguiimgui.h
lea rcx, str.Size___0
call fcn.14006a538
mov rbx, qword [0x1400bd770]
movsxd rax, dword [rdi + 0x108]
xor edx, edx
mov r8, qword [rdi + 0x110]
mov rcx, rsi
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140006a70
mov rdi, qword [rsp + 0x38]
cmp dword [rbx + 0x1d6c], eax
jne 0x140052552
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], eax
jne 0x140052561
mov byte [rbx + 0x1dac], 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rsi
ret

Function at 0x14005702c
Capabilities:
Parse pe header

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14005d003
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005d003
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005d003
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005d003
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005d003
cmp dword [rcx + 0x84], 0xe
jbe 0x14005d003
cmp dword [rcx + 0xf8], 0
je 0x14005d003
mov ecx, ebx
call fcn.14005d0b4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14005ce90
nop
cmp dword [rbp + 0x20], 0
je 0x14005d051
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14005d05c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14005cf94

Function at 0x14005d2dc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14005d313
call fcn.14006bfe8
mov dword [rax], 0x16
call fcn.14005d924
xor eax, eax
jmp 0x14005d3a1
mov rdx, r9
mov rcx, r8
call fcn.14005d278
mov rbx, rax
test rax, rax
je 0x14005d39e
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14005d1a4]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14005d38b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14006bf5c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14005d372
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14005d381
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14006c080
jmp 0x14005d39e
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14005d39b
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14005dd00
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.14007bda0
sub rsp, rax
mov rax, qword [0x1400a3040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14006e06c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14005dd4f
mov rax, rbp
jmp 0x14005de57
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 + 0xbd240]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14006e2fc
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xbd240]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14005de53
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 0x14005de53
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14006e2fc
test rax, rax
js 0x14005de53
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14005de53
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14005de45
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14005de45
cmp byte [rcx], 0xd
jne 0x14005de2b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14005de3a
cmp byte [rcx + 1], 0xa
jne 0x14005de3a
inc rcx
jmp 0x14005de3a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xa3350]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14005de0d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14005de57
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140056180
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 0x14006e3a8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400bd240]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14006e3ff
cmp word [rdx], r13w
jne 0x14006e3ff
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14006e404
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14006e529
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14006e54a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14006e43d
mov rdx, r9
mov word [rbx], cx
jmp 0x14006e464
cmp r9, r8
jae 0x14006e474
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14006e41e
jmp 0x14006e529
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14006e51e
cmp dword [rsp + 0x80], esi
je 0x14006e51e
lea r8, [0x1400bd240]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14006e4f6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14006e4c6
mov word [rbx], r13w
jmp 0x14006e526
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14006e4d3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14006e526
cmp word [rsp + 0x70], r13w
jne 0x14006e503
cmp rbx, r14
je 0x14006e4c0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14006e304
cmp word [rsp + 0x70], r13w
je 0x14006e529
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400bd240]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14006e523
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14006e529
Function at 0x140070990
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400709a6
mov al, 1
jmp 0x140070a06
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400709b7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140070a04
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400759a8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140070a04
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140070a04
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140070a04
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140070a06
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140074e08
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 0x140074e38
xor eax, eax
jmp 0x140074efb
mov rbp, rbx
cmp word [rax], si
je 0x140074e5d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140074e44
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140074e40
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.140074d28
movsxd r14, eax
test eax, eax
jne 0x140074e9b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140074e31
mov rcx, r14
call fcn.140071098
mov rdi, rax
test rax, rax
jne 0x140074eb4
xor ecx, ecx
call fcn.14006c080
jmp 0x140074e90
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.140074d28
test eax, eax
jne 0x140074ee5
mov rcx, rdi
call fcn.14006c080
jmp 0x140074eef
xor ecx, ecx
call fcn.14006c080
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 0x140079aac
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.14005df7c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140079b36
cmp byte [rbp - 0x21], r15b
je 0x140079b31
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140079b6c
call fcn.14006cab0
test eax, eax
jne 0x140079b58
cmp byte [rbp - 0x21], r15b
je 0x140079b50
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140079b6c
cmp byte [rbp - 0x21], r15b
je 0x140079b69
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.14006de00
test eax, eax
jne 0x140079c0c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14005df7c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140079bab
cmp byte [rbp - 0x21], r15b
je 0x140079be0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140079be0
call fcn.14006cab0
test eax, eax
jne 0x140079bcc
cmp byte [rbp - 0x21], r15b
je 0x140079bc5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140079be0
cmp byte [rbp - 0x21], r15b
je 0x140079bdd
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.14006de00
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140079c0c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140079c0f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140079c1d
mov rcx, rdi
call fcn.14006c080
cmp byte [rbp + 0x3f], r15b
je 0x140079c2c
mov rcx, qword [rbp + 0x27]
call fcn.14006c080
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