joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007aba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0x38
mov rsi, qword [rcx + 0xa8]
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
mov r12, qword [rcx]
test rsi, rsi
je 0x14007ad94
mov qword [rsp + 0x68], r13
xor r13d, r13d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x60], rbp
nop dword [rax + rax]
movsxd r14, dword [rsi + 0x10]
movzx eax, byte [rbx + 0x1f]
mov r15d, dword [rsi + 0x14]
shl r14, 5
add r14, qword [r12 + 0x20]
test al, al
jne 0x14007ac01
inc dword [rbx + 0x38]
mov ebp, dword [rbx + 0x38]
jmp 0x14007ac10
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov ebp, dword [rbx + rax*4 + 0xe8]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r15 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x14007ac3d
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x37
mov rcx, rdi
call fcn.140034960
jmp 0x14007ac6b
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r13
mov r9, qword [r14 + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], 0x71
mov r9, qword [r9 + 0x68]
call fcn.140079f80
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x14007acaa
mov rcx, rdi
call fcn.140034820
test eax, eax
jne 0x14007ad80
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], 0x33
mov dword [rax + rcx*8 + 4], r13d
lea rax, [rax + rcx*8]
mov ecx, dword [rdi + 0x90]
mov dword [rax + 0xc], r13d
add ecx, 2
mov dword [rax + 8], ecx
mov byte [rax + 1], r13b
mov qword [rax + 0x10], r13
mov word [rax + 2], r13w
mov qword [rax + 0x18], 0x7f
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r13
mov qword [rax + 0x30], 0x61
mov qword [rax + 0x38], 2
mov qword [rax + 0x40], r13
mov qword [rax + 0x48], 0x80
mov qword [rax + 0x50], r13
mov qword [rax + 0x58], r13
mov qword [rax + 0x60], 0x7a
mov qword [rax + 0x68], r13
mov qword [rax + 0x70], r13
add dword [rdi + 0x90], 5
test rax, rax
je 0x14007ad80
mov dword [rax + 0x3c], ebp
lea edx, [r15 + 1]
mov dword [rax + 4], edx
lea ecx, [r15 - 1]
mov dword [rax + 0x20], edx
mov dword [rax + 0x34], ecx
mov dword [rax + 0x54], edx
mov dword [rax + 0x50], ebp
mov word [rax + 0x4a], 8
test ebp, ebp
je 0x14007ad74
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x14007ad74
mov dword [rbx + rax*4 + 0xe8], ebp
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14007abe0
mov rbp, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r15, qword [rsp + 0x30]
add rsp, 0x38
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400d9bb8
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x140064acd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140064add
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140064ac5
lea eax, [rcx + 1]
jmp 0x140064aeb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140064afe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140064ae4
sub eax, 3
jb 0x140064b1e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140064b6d
sar eax, 1
movsxd rbp, eax
jb 0x140064b54
jmp 0x140064b2c
add ebx, ebx
jne 0x140064b2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140064b54
inc ecx
add ebx, ebx
jne 0x140064b3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140064b54
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140064b4d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140064b3c
add ecx, 2
jmp 0x140064b59
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140064a82
jmp 0x140064acd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x28800
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140064bb9
cmp rsi, rcx
jae 0x140064bc1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140064ba0
cmp al, 0x8f
ja 0x140064ba0
cmp byte [rsi - 2], 0xf
je 0x140064ba6
sub al, 0xe8
cmp al, 1
ja 0x140064b8a
cmp rsi, rcx
jae 0x140064bc1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140064b90
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140064bc1
lodsb al, byte [rsi]
jmp 0x140064ba0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x62000]
mov eax, dword [rdi]
or eax, eax
je 0x140064c2a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x734c4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140064bce
jns 0x140064c03
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140064c0d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140064c24
mov qword [rbx], rax
add rbx, 8
jmp 0x140064bee
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140064c64
cmp al, 0xef
ja 0x140064c56
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140064c36
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140064c45
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140064cb8
sub rsp, 0xffffffffffffff80
jmp 0x14000afb0
Function at 0x1400087bc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140008808
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140008800
cmp dword [rcx + 0x3c], edx
jl 0x140008800
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140008800
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 0x140008808
mov rax, rdx
add rsp, 0x18
ret

Function at 0x141240058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1412401df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141240089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14124006f
add dl, dl
jne 0x141240096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1412400f6
xor eax, eax
add dl, dl
jne 0x1412400a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1412401ad
add dl, dl
jne 0x1412400b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412400c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412400d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412400dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1412400ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14124007e
mov eax, 1
add dl, dl
jne 0x141240106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141240113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1412400fb
sub eax, ebx
mov ebx, 1
jne 0x14124014c
mov ecx, 1
add dl, dl
jne 0x14124012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14124013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141240123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14124007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141240168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141240175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14124015d
cmp eax, 0x7d00
jae 0x14124019b
cmp eax, 0x500
jb 0x141240196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14124007e
cmp eax, 0x7f
ja 0x14124019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14124007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1412401d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14124007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001268
Capabilities:
Enumerate services

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 4]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x140001374
and dword [rsp + 0x70], 0
mov ebx, 0x10000
and dword [rsp + 0x60], 0
mov edx, ebx
and dword [rsp + 0x68], 0
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, 0x30
mov rcx, rsi
mov rbp, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov r9, rbp
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea r8d, [rdx - 0x2d]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
je 0x140001374
xor ebx, ebx
cmp dword [rsp + 0x60], ebx
jbe 0x140001360
lea rdi, [rbx + rbx*2]
add rdi, rdi
lea rdx, str.VMware_Tools
mov rcx, qword [rbp + rdi*8 + 8]
call fcn.140003d9c
test rax, rax
jne 0x14000136d
mov rcx, qword [rbp + rdi*8 + 8]
lea rdx, str.VMware
call fcn.140003d9c
test rax, rax
jne 0x14000136d
mov rcx, qword [rbp + rdi*8 + 8]
lea rdx, str.Virtual_Machine
call fcn.140003d9c
test rax, rax
jne 0x14000136d
mov rcx, qword [rbp + rdi*8 + 8]
lea rdx, str.VirtualBox_Guest
call fcn.140003d9c
test rax, rax
jne 0x14000136d
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1400012f9
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x140001377
mov eax, 1
jmp 0x140001377
or eax, 0xffffffff
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001510
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Contain obfuscated stackstrings
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
call fcn.140001194
xor edi, edi
mov dword [rbp - 0x71], 0x6f0053
cmp dword [0x1402ac3d0], edi
mov dword [rbp - 0x6d], 0x740066
mov dword [rbp - 0x69], 0x610077
mov dword [rbp - 0x65], 0x650072
mov dword [rbp - 0x61], 0x54005c
mov dword [rbp - 0x5d], 0x6e0065
mov dword [rbp - 0x59], 0x650063
mov dword [rbp - 0x55], 0x74006e
mov dword [rbp - 0x51], 0x57005c
mov dword [rbp - 0x4d], 0x430065
mov dword [rbp - 0x49], 0x610068
mov dword [rbp - 0x45], 0x74
mov dword [rsp + 0x20], 0x6f0053
mov dword [rsp + 0x24], 0x740066
mov dword [rsp + 0x28], 0x610077
mov dword [rsp + 0x2c], 0x650072
mov dword [rsp + 0x30], 0x44005c
mov dword [rsp + 0x34], 0x6e0069
mov dword [rsp + 0x38], 0x540067
mov dword [rbp - 0x7d], 0x6c0061
mov dword [rbp - 0x79], 0x6b
mov dword [rbp - 0x39], 0x6f0053
mov dword [rbp - 0x35], 0x740066
mov dword [rbp - 0x31], 0x610077
mov dword [rbp - 0x2d], 0x650072
mov dword [rbp - 0x29], 0x54005c
mov dword [rbp - 0x25], 0x6c0065
mov dword [rbp - 0x21], 0x670065
mov dword [rbp - 0x1d], 0x610072
mov dword [rbp - 0x19], 0x44006d
mov dword [rbp - 0x15], 0x730065
mov dword [rbp - 0x11], 0x74006b
mov dword [rbp - 0xd], 0x70006f
mov dword [rbp - 9], 0x43005c
mov dword [rbp - 5], 0x700061
mov dword [rbp - 1], 0x620061
mov dword [rbp + 3], 0x6c0069
mov dword [rbp + 7], 0x740069
mov dword [rbp + 0xb], 0x650069
mov dword [rbp + 0xf], 0x5c0073
mov dword [rbp + 0x13], 0x720055
mov dword [rbp + 0x17], 0x41006c
mov dword [rbp + 0x1b], 0x730073
mov dword [rbp + 0x1f], 0x63006f
mov dword [rbp + 0x23], 0x610069
mov dword [rbp + 0x27], 0x690074
mov dword [rbp + 0x2b], 0x6e006f
mov dword [rbp + 0x2f], 0x73
jne 0x140001713
lea rdx, [rbp - 0x71]
lea ebx, [rdi + 1]
call fcn.140001220
test eax, eax
cmovne ebx, edi
cmp dword [0x1402ac3d4], edi
je 0x1400016c2
lea rdx, [rsp + 0x20]
call fcn.140001220
test eax, eax
je 0x1400016c2
mov ebx, edi
cmp dword [0x1402ac3c4], edi
je 0x1400016d9
lea rdx, [rbp - 0x39]
call fcn.140001220
test eax, eax
je 0x1400016d9
mov ebx, edi
cmp dword [0x1402ac3d8], edi
je 0x1400016f0
call fcn.140001268
test eax, eax
jne 0x1400016f0
test ebx, ebx
je 0x140001713
mov ebx, edi
test ebx, ebx
je 0x140001713
lea rdx, str.Error
xor r9d, r9d
mov r8, rdx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x14000174a
lea r8, str.TEST
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
test rax, rax
je 0x14000174a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000174a
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.1400019cc
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140001770
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rax, qword gs:[0x30]
xor ebx, ebx
xor r9d, r9d
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov rdx, qword [rax + 0x10]
mov rax, qword [rdx]
mov rdx, qword [rax]
mov r10, qword [rdx + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov edx, dword [rax + r10 + 0x88]
add rdx, r10
mov eax, dword [rdx + 0x14]
mov r14d, dword [rdx + 0x1c]
mov r13d, dword [rdx + 0x20]
add r14, r10
mov r12d, dword [rdx + 0x24]
add r13, r10
mov r8d, dword [rdx + 0x18]
add r12, r10
mov dword [rsp + 0x48], r8d
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140001856
movzx ecx, word [0x1400da470]
cmp dword [r14 + r9*4], 0
je 0x14000184e
mov ebp, r8d
xor r8d, r8d
test rbp, rbp
je 0x140001849
movzx esi, word [r12 + r8*2]
cmp rsi, r9
jne 0x14000183c
mov r11d, dword [r13 + r8*4]
add r11, r10
xor edi, edi
jmp 0x140001827
mov edx, edi
mov eax, edi
shl eax, 0x19
shr edx, cl
mov edi, edx
or edi, eax
movsx eax, r15b
add edi, eax
inc r11
mov r15b, byte [r11]
test r15b, r15b
jne 0x140001811
cmp edi, dword [rsp + 0x40]
jne 0x14000183c
mov ebx, dword [r14 + rsi*4]
add rbx, r10
inc r8
cmp r8, rbp
jb 0x1400017fb
mov rax, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x48]
inc r9
cmp r9, rax
jb 0x1400017e9
mov rax, rbx
mov rbx, qword [rsp + 0x58]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000bcf8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000bb1c
Function at 0x180001a40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x18004d010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rcx
xor edi, edi
test edx, edx
je 0x180001b5a
cmp edx, 1
jne 0x180001b22
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
nop
lea ecx, [rdi + 0x10]
call fcn.18003b920
lea rcx, str.C:Usersuser_source_reposInternalImGuix64Release
mov qword [rax], rcx
lea rcx, [0x1800022a0]
mov qword [rax + 8], rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x180001fd0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180001b48
cmp dword [rsp + 0x38], edi
jne 0x180001ad9
lea ecx, [rdi + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x180001afb
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x1800019c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov eax, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18003b900
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
mov dword [rsp + 0x38], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
jmp 0x180001b22
cmp dword [0x18004dbc8], 0
je 0x180001b82
call fcn.18003b400
mov rcx, qword [0x18004dbc0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [0x18004dbc0], rdi
mov dword [0x18004dbc8], edi
call fcn.180001320
jmp 0x180001b22
Function at 0x180002a90
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x180002ab8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x180002ade
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180002ae0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180002b39
test ecx, ecx
jle 0x180002b19
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
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 0x180002b39
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180002b39
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x180002b60
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180002b82
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x180002b98
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180002bb4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180002bb6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180002bf2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180002c8e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180002c2d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x180002c6e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x180002c8e
cmp rbx, rax
ja 0x180002c40
test rbx, rbx
je 0x180002c8e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x1800030a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x18004d010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1800030cd
xor eax, eax
jmp 0x18000322a
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x1800030f8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x1800030f8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x18000322a
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18000321d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x18000313b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x180003166
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x180003222
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1800031d5
sub eax, 1
je 0x1800031d5
cmp eax, 2
jne 0x18000321d
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x180003222
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180003203
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x18000321d
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x180003222
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18003b900
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret