joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140171ec0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
xor eax, eax
mov rbx, rcx
mov qword [r11 - 0x38], rax
xor ecx, ecx
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov dword [rsp + 0x40], eax
call fcn.140173dc0
lea r8, [rsp + 0x20]
xor edx, edx
mov rsi, qword [rax]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
movsxd rcx, eax
call fcn.140171260
xor edi, edi
mov rcx, rsi
test rax, rax
sete dil
call rbx
mov ebp, eax
test eax, eax
jne 0x140171dcc
test edi, edi
jne 0x140171dcc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rsi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
movsxd rcx, eax
call fcn.140171260
test rax, rax
jne 0x140171dcc
mov rcx, qword gs:[0x58]
mov ebx, 0x2f80
add rbx, qword [rcx]
nop dword [rax]
mov rax, qword [rbx]
test rax, rax
jne 0x140171d9d
call fcn.1401762d4
cmp dword [rax], 5
jne 0x140171dcc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 2
ja 0x140171de3
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
movsxd rcx, eax
call fcn.140171260
test rax, rax
je 0x140171d90
mov eax, ebp
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
or eax, 0xffffffff
jmp 0x140171dce
mov rdx, rcx
lea rcx, [0x1401887f0]
jmp 0x140171cf0

Function at 0x1401722f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
sub rsp, 0x20
cmp byte [rcx], 0
mov rsi, rcx
jne 0x14017232b
mov rax, qword gs:[0x58]
mov edx, 0x2f80
mov rcx, qword [rax]
mov rax, qword [rdx + rcx]
test rax, rax
jne 0x14017231d
call fcn.1401762d4
mov dword [rax], 2
xor eax, eax
add rsp, 0x20
pop rsi
ret
mov rdx, rsi
xor ecx, ecx
call fcn.140173dc0
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
call fcn.140171260
cmp eax, 0xffffffff
je 0x140172323
test al, 0x10
jne 0x14017237b
mov rax, qword gs:[0x58]
mov edx, 0x2f80
mov rcx, qword [rax]
mov rax, qword [rdx + rcx]
test rax, rax
jne 0x14017236d
call fcn.1401762d4
mov dword [rax], reloc.WS2_32.dll_sendto
xor eax, eax
add rsp, 0x20
pop rsi
ret
mov edx, 1
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
lea ecx, [rdx + 0x27]
call fcn.1401762f4
mov edx, 1
mov ecx, 0x128
mov rdi, rax
call fcn.1401762f4
mov rcx, rsi
mov rbx, rax
call fcn.140172930
mov qword [rbx], rax
mov rax, rdi
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 0x10], 0xffffffffffffffff
mov dword [rdi + 0x18], 0x128
mov dword [rdi + 0x1c], 0x128
mov dword [rdi + 8], 8
mov dword [rdi + 0x20], 1
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x1401723f0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x380
mov r14, qword [rcx]
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
or rbx, 0xffffffffffffffff
cmp rcx, rbx
jne 0x1401724ca
mov rdx, qword [r14]
lea r8, [rsp + 0x20]
sub r8, rdx
nop word [rax + rax]
movzx eax, byte [rdx]
mov byte [r8 + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140172430
lea rcx, [rsp + 0x20]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x140172447
cdqe
cmp byte [rsp + rax + 0x1f], 0x2f
je 0x140172475
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140172461
movzx eax, word [0x1401a6168]
mov word [rcx], ax
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140172480
movzx eax, word [0x1401ab97c]
lea rdx, [rsp + 0x20]
mov word [rcx], ax
xor ecx, ecx
call fcn.140173dc0
lea rdx, [rsp + 0x130]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rcx, rax
call fcn.140171260
mov qword [rdi + 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x140172522
xor eax, eax
jmp 0x1401725c1
lea rdx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
movsxd rcx, eax
call fcn.140171260
test rax, rax
jne 0x140172522
mov rax, qword gs:[0x58]
mov ebx, 0x2f80
add rbx, qword [rax]
mov rax, qword [rbx]
test rax, rax
jne 0x140172503
call fcn.1401762d4
cmp dword [rax], 0x12
jne 0x14017251b
mov rax, qword [rbx]
test rax, rax
jne 0x140172515
call fcn.1401762d4
mov dword [rax], 0
xor eax, eax
jmp 0x1401725c1
test byte [rsp + 0x130], 0x10
lea rdx, [rsp + 0x15c]
mov ecx, 4
mov qword [rsp + 0x390], r15
mov eax, 8
mov qword [r14 + 8], 0
cmovne eax, ecx
xor ecx, ecx
mov byte [r14 + 0x120], al
mov eax, 0x120
mov word [r14 + 0x10], ax
call fcn.140173a10
mov r8d, 0x104
lea rcx, [r14 + 0x14]
mov rdx, qword [rax]
call fcn.140173cb0
nop dword [rax]
inc rbx
cmp byte [r14 + rbx + 0x14], 0
jne 0x140172580
mov rax, qword gs:[0x58]
mov edx, 0x2f80
mov word [r14 + 0x12], bx
mov rcx, qword [rax]
mov rax, qword [rdx + rcx]
test rax, rax
jne 0x1401725af
call fcn.1401762d4
mov r15, qword [rsp + 0x390]
mov dword [rax], 0
lea rax, [r14 + 8]
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x140172d50
Capabilities:
Timestomp file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rbx, rdx
or edi, 0xffffffff
xor esi, esi
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov edx, 0x100
mov dword [rsp + 0x28], 0x2000080
lea r8d, [rdi + 4]
mov dword [rsp + 0x20], 3
call fcn.140173fe0
mov rcx, rax
call fcn.1401712b0
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140172dfb
test rbx, rbx
jne 0x140172dbb
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
jmp 0x140172dd6
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1401740b0
lea rcx, [rbx + 8]
lea rdx, [rsp + 0x78]
call fcn.1401740b0
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
movsxd rcx, eax
call fcn.140171260
test rax, rax
cmovne edi, esi
lea rcx, [rsp + 0x40]
call fcn.140173fa0
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140173660
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, edx
mov r8d, ecx
xor ebx, ebx
xor edx, edx
lea ecx, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
call fcn.1401712b0
mov rsi, rax
test rax, rax
jne 0x1401736a4
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
test edi, edi
je 0x1401736fd
cmp edi, 9
je 0x1401736dc
cmp edi, 0x16
je 0x1401736dc
mov rax, qword gs:[0x58]
mov edx, 0x2f80
mov rcx, qword [rax]
mov rax, qword [rdx + rcx]
test rax, rax
jne 0x1401736d1
call fcn.1401762d4
mov dword [rax], reloc.WS2_32.dll_shutdown
or ebx, 0xffffffff
jmp 0x1401736fd
or edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
movsxd rcx, eax
call fcn.140171260
mov ecx, ebx
or ebx, 0xffffffff
test rax, rax
cmove ecx, ebx
mov ebx, ecx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1401739d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
mov rax, qword gs:[0x58]
mov rdx, rcx
mov ecx, 0x3380
add rcx, 0x20
add rcx, qword [rax]
call fcn.140173e20
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140175fec
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x1402326f0]
xor ecx, ecx
lea r8, [0x1402326e8]
lea rdx, [0x1402326f0]
call fcn.140175e14
mov rbx, rax
test rax, rax
je 0x14017602c
mov rcx, rax
call fcn.14017489c
mov rcx, rdi
call rbx
jmp 0x140176032
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140176094
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140232728]
mov edi, ecx
lea rdx, [0x140232728]
mov ecx, 3
lea r8, [0x140232720]
call fcn.140175e14
mov rsi, rax
test rax, rax
je 0x1401760e0
mov rcx, rax
call fcn.14017489c
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x1401760eb
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1401765b4
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140176388
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140176388
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140176388
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140176388
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140176388
cmp dword [rcx + 0x84], 0xe
jbe 0x140176388
cmp dword [rcx + 0xf8], esi
je 0x140176388
mov ecx, r14d
call fcn.1401764d0
mov ecx, 2
call fcn.14018dedc
nop
cmp byte [0x14027ca80], 0
jne 0x140176452
mov r15d, 1
mov eax, r15d
xchg dword [0x14027ca70], eax
test ebx, ebx
jne 0x1401763fb
mov rdi, qword [0x140274dd0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14027ca78]
cmp rcx, rax
je 0x1401763f2
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [0x1401a4890]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14027d138]
jmp 0x140176407
cmp ebx, r15d
jne 0x14017640d
lea rcx, [0x14027d150]
call fcn.14018d26c
nop
test ebx, ebx
jne 0x140176424
lea rdx, [0x1401a4c60]
lea rcx, [0x1401a4c40]
call fcn.14018cc50
lea rdx, [0x1401a4db0]
lea rcx, [0x1401a4c68]
call fcn.14018cc50
movzx eax, byte [0x14027ca80]
test esi, esi
cmove eax, r15d
mov byte [0x14027ca80], al
jmp 0x140176452
mov ecx, 2
call fcn.14018df30
test esi, esi
jne 0x140176469
mov ecx, r14d
call fcn.140176484
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140176318
Function at 0x14018ed94
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14018ec34
call fcn.1401762d4
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14018d8ac
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14018ec1c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14018ec1c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14018ec66
lock or dword [rax + 0x14], 0x10
jmp 0x14018ec1c
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14018ec83
mov rcx, qword [rbp + 0x10]
call fcn.140194490
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140187284
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14018af18
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14018ecda
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14018ec1c
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14018ed46
mov rcx, qword [rbp + 0x10]
call fcn.140187284
cmp eax, 0xffffffff
je 0x14018ed2d
mov rcx, qword [rbp + 0x10]
call fcn.140187284
cmp eax, 0xfffffffe
je 0x14018ed2d
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140187284
movsxd rdi, eax
lea rsi, [0x14027cbe0]
mov rcx, rbx
sar rdi, 6
call fcn.140187284
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14018ed34
lea rax, [0x1402750c0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14018ed46
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14018ed7c
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14018ed78
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14018ed78
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14018ec1f
jmp 0x14018ebec

Function at 0x14019063c
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x140190619
call fcn.1401762d4
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14018d8ac
or eax, 0xffffffff
jmp 0x140190636
sub dword [rcx + 0x10], 1
jns 0x140190628
add rsp, 0x28
jmp fcn.14018ed94
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1401905f8
Function at 0x1401914e4
Capabilities:
Create thread
Print debug messages

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, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.14018e8cc
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x140191537
test rbx, rbx
je 0x140191528
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x140191537
mov edi, 4
jmp 0x1401915e0
call fcn.14018e6d4
test al, al
jne 0x140191554
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x1401915e0
test bpl, bpl
je 0x1401915b7
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x1401914bc]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401915e0
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x1401915b1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1401915e0
mov edi, dword [rsp + 0x44]
jmp 0x1401915a9
call fcn.14018e7f8
test al, al
jne 0x1401915c8
bts esi, 0x15
xor ecx, ecx
jmp 0x1401915d0
call fcn.14018e730
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.14018e5c0
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret

Function at 0x140199180
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
cmp qword [0x14027d5f8], 0
je 0x14019923b
cmp dword [0x14027d614], 0
je 0x14019923b
call fcn.14019d2d0
test eax, eax
je 0x140199203
mov r9d, dword [0x14027d614]
lea rdx, [rsp + 0x30]
mov r8, qword [0x14027d608]
xor ecx, ecx
call fcn.14019c8d0
test rax, rax
je 0x140199203
movsxd rdx, dword [rsp + 0x30]
mov r8d, 1
mov r9, qword [0x14027d5f8]
mov rcx, rax
call fcn.14017e654
movsxd rax, dword [0x14027d614]
add qword [0x14027d600], rax
mov dword [0x14027d614], 0
call fcn.140199410
add rsp, 0x28
ret
movsxd rdx, dword [0x14027d614]
mov r8d, 1
mov r9, qword [0x14027d5f8]
mov rcx, qword [0x14027d608]
call fcn.14017e654
movsxd rax, dword [0x14027d614]
add qword [0x14027d600], rax
mov dword [0x14027d614], 0
add rsp, 0x28
ret

Function at 0x140199690
Capabilities:
Write file on windows

Disassembly:
cmp qword [0x14027d700], 0
jne fcn.14019b5c0
jmp fcn.140199180
Function at 0x1401997c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
cmp dword [0x14027d638], 0
mov rbp, rcx
movsxd rsi, edx
jne 0x140199802
call fcn.14019d2d0
test eax, eax
jne 0x140199802
mov r9, qword [0x14027d5f8]
lea r8d, [rax + 1]
mov rdx, rsi
mov rcx, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
jmp fcn.14017e654
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
nop dword [rax]
movsxd rcx, dword [0x14027d614]
mov edi, esi
mov eax, dword [0x14027d618]
mov rdx, rbp
sub eax, ecx
cmp esi, eax
cmovge edi, eax
add rcx, qword [0x14027d608]
movsxd rbx, edi
mov r8, rbx
call fcn.140174ed0
add dword [0x14027d614], edi
add rbp, rbx
sub esi, edi
je 0x140199860
cmp qword [0x14027d700], 0
je 0x140199859
call fcn.14019b5c0
jmp 0x140199810
call fcn.140199180
jmp 0x140199810
cmp dword [0x14027d638], 0
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
jne 0x140199891
cmp qword [0x14027d700], 0
je 0x14019988c
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
jmp fcn.14019b5c0
call fcn.140199180
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret

Function at 0x14019b250
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
lea r8, [0x14019b9d0]
mov rbx, rdx
lea rcx, [rsp + 0x28]
sub rcx, 8
lea rdx, [rsp + 0x48]
call fcn.140029110
mov r8d, 0x80
mov qword [rsp + 0x48], rax
lea rdx, str.last__dKB_of_log_file:_n
mov dword [rsp + 0x40], 0x30400
mov rcx, rsi
xor edi, edi
call fcn.140021930
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.14002a4b0
mov rdx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x40]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.14002cd10
test eax, eax
jne 0x14019b371
mov r9, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov rbx, qword [r9]
cmp ecx, 0x20000
jle 0x14019b358
mov edx, ebx
sub edx, ebx
add edx, ecx
mov rcx, rbx
call fcn.14019d0f0
test rax, rax
je 0x14019b343
nop word [rax + rax]
mov r9, qword [rsp + 0x48]
mov rcx, rax
sub rcx, qword [r9]
cmp rcx, 0x10400
jge 0x14019b335
mov edx, dword [r9]
mov rdi, rax
inc rax
sub edx, eax
mov rcx, rax
add edx, dword [rsp + 0x40]
call fcn.14019d0f0
test rax, rax
jne 0x14019b300
mov r9, qword [rsp + 0x48]
test rdi, rdi
je 0x14019b348
mov ecx, dword [rsp + 0x40]
mov rbx, rdi
jmp 0x14019b358
mov r9, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
lea eax, [rcx - 0x20000]
movsxd rdx, eax
add rbx, rdx
movsxd r8, ecx
mov edx, 1
sub r8, rbx
mov rcx, rbx
add r8, qword [r9]
mov r9, rsi
call fcn.14017e654
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14019c3b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call fcn.14019bb50
lea rdi, [rsp + 0x28]
mov r8, rax
lea rcx, [rdi - 8]
mov rbx, rax
lea rdx, str._s.sending
call fcn.1400294a0
mov rcx, qword [rax]
call fcn.140171ec0
mov r8, rbx
lea rdx, str._s.sent
lea rcx, [rdi - 8]
call fcn.1400294a0
lea rdx, [0x1401a4de0]
mov rcx, qword [rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14002ce30
Function at 0x14019cba0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov eax, r9d
mov rbx, rdx
cmp r9d, 0xffffffff
jne 0x14019cbc0
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], 0
jne 0x14019cbb6
mov r9d, eax
lea rdx, [rsp + 0x48]
call fcn.14019c8d0
test rax, rax
je 0x14019cbec
movsxd r8, dword [rsp + 0x48]
mov r9, rbx
mov edx, 1
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.14017e654
add rsp, 0x20
pop rbx
ret

Function at 0x14019d060
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov ebx, r8d
lea rdx, str.wbEe
call fcn.14002c6c0
mov qword [rsp + 0x20], rax
mov rsi, rax
test rax, rax
je 0x14019d0d6
cmp ebx, 0xffffffff
jne 0x14019d0a0
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14019d097
mov r9d, ebx
lea rdx, [rsp + 0x58]
mov r8, rdi
xor ecx, ecx
call fcn.14019c8d0
test rax, rax
je 0x14019d0cc
movsxd r8, dword [rsp + 0x58]
mov r9, rsi
mov edx, 1
mov rcx, rax
call fcn.14017e654
lea rcx, [rsp + 0x20]
call fcn.14002c690
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400037d0
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 0x14000382d
lea rbx, [0x1400c8a50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003814
cmp r10, 2
jb 0x140003814
cmp byte [r9], r8b
jne 0x140003814
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 0x1400037f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000386f
lea rbx, [0x1400c8a50]
cmp r8b, 0x23
jne 0x140003853
cmp byte [r9], r8b
jne 0x140003853
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 0x140003840
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003a30
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 0x140003a5f
mov r8d, 0x789
lea rdx, str.C:UsersFelpDownloadsimgui_glasss_xd11imgui_glasss_xd11imgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x140003a6b
mov qword [rdi], 0
lea rdx, [0x1400c8298]
mov rcx, rbx
call fcn.140003880
mov rbx, rax
test rax, rax
jne 0x140003a8d
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 0x140003b66
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003b66
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003b66
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 0x140003b66
cmp rsi, 0xffffffffffffffff
je 0x140003b66
mov rax, qword [0x140156480]
test rax, rax
je 0x140003b03
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140003b66
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 0x140003b53
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140156480]
test rax, rax
je 0x140003b48
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003b6f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140003b61
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140003b71
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 0x1400066e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xd0], 0
mov rbx, rcx
movsxd rdi, edx
jg 0x140006717
mov r8d, 0x707
lea rdx, str.C:UsersFelpDownloadsimgui_glasss_xd11imgui_glasss_xd11imgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0xd8]
lea rdx, [0x1400c8a50]
movsxd r8, dword [rbx + 0xd0]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [0x140156480]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x140006796
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001d660
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret