joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180004d50
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
push r14
push r15
sub rsp, 0x20
mov qword [rsp + 0x40], rbp
lea rbx, [rcx + 0x210]
mov qword [rsp + 0x48], rsi
mov rdi, rcx
xor r15d, r15d
nop word [rax + rax]
mov eax, dword [rdi + 0x270]
test eax, eax
jle 0x180004eb7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rsi, qword [rdi + 0x240]
cmp rsi, qword [rdi + 0x248]
je 0x180004dbd
mov rax, qword [rsi + 8]
mov qword [rdi + 0x240], rax
mov qword [rax + 0x10], r15
test rsi, rsi
je 0x180004dde
jmp 0x180004dd0
test rsi, rsi
je 0x180004dde
mov qword [rdi + 0x240], r15
mov qword [rdi + 0x248], r15
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], r15
dec dword [rdi + 0x238]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rsi, rsi
je 0x180004eb7
mov r8d, dword [rsi + 0x30]
xor r9d, r9d
sub r8d, dword [rsi + 0x28]
mov rdx, qword [rsi + 0x28]
mov rcx, qword [rdi + 0xb0]
call qword [sym.imp.WS2_32.dll_send]
mov ebp, eax
test eax, eax
jle 0x180004e46
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [rdi + 0x270]
sub ecx, ebp
mov dword [rdi + 0x270], ecx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdx, rsi
lea rcx, [rdi + 0x110]
call fcn.180001c70
jmp 0x180004d80
cmp ebp, 0xffffffff
je 0x180004e5f
mov rdx, rsi
lea rcx, [rdi + 0x110]
call fcn.180001c70
jmp 0x180004d80
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x180004ed5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rdi + 0x240]
test rax, rax
je 0x180004e92
mov qword [rax + 0x10], rsi
mov rax, qword [rdi + 0x240]
mov qword [rsi + 8], rax
jmp 0x180004ea1
mov qword [rsi + 0x10], r15
mov qword [rsi + 8], r15
mov qword [rdi + 0x248], rsi
inc dword [rdi + 0x238]
mov rcx, rbx
mov qword [rdi + 0x240], rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov rdx, rsi
mov dword [rdi + 0xa0], 1
lea rcx, [rdi + 0x110]
mov dword [rdi + 0xa4], 3
mov dword [rdi + 0xa8], eax
mov dword [rdi + 0xac], 1
call fcn.180001c70
xor eax, eax
jmp 0x180004ebc
Function at 0x18000b2c0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18000b310
cmp dword [0x1800447c4], 0
je 0x18000b310
cmp qword [0x180045f98], 0
jne 0x18000b310
xor eax, eax
lea r8, [0x18000af80]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov qword [0x180045f98], rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
add rsp, 0x38
ret

Function at 0x18000b320
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov edi, r8d
mov ebx, edx
mov r8, rcx
mov edx, 0xff
lea rcx, str.192.168.1.200
mov esi, r9d
call fcn.180012e00
xor eax, eax
mov dword [0x1800447bc], ebx
mov qword [rsp + 0x28], rax
lea r8, [0x18000af80]
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor edx, edx
mov dword [0x1800447c0], edi
xor ecx, ecx
mov dword [0x1800447c4], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov qword [0x180045f98], rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rsp + 0x40]
xor al, al
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x18000b3b0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r8, [0x18000af80]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
add rsp, 0x38
ret

Function at 0x180013454
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x18001332b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18001332b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18001332b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18001332b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18001332b
cmp dword [rcx + 0x84], 0xe
jbe 0x18001332b
cmp dword [rcx + 0xf8], 0
je 0x18001332b
mov ecx, ebx
call fcn.1800133cc
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1800131bc
cmp dword [rbp + 0x20], 0
je 0x180013378
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180013380
int3
xor r8d, r8d
xor edx, edx
jmp 0x1800132c4
Function at 0x5adbe0
Capabilities:
Execute syscall
Write file on windows

Disassembly:
test rsi, rsi
je 0x5adce8
push rbp
mov rbp, rsp
push r14
push r13
push r12
sub rsp, 0xfb8
mov rdx, rdi
mov rcx, rsi
lea r13, [rbp - 0xfc0]
mov esi, 0xfa0
mov rdi, r13
call fcn.005ac230
cmp rax, 0xf9f
mov r12d, 0xf9f
cmovbe r12, rax
mov edx, dword [0x0060a2c0]
test dl, 4
je 0x5adc88
sub rsp, 0x20
call qword [sym.imp.kernel32.dll_GetLastError]
mov r14d, eax
mov rcx, 0xfffffffffffffff4
call qword [sym.imp.kernel32.dll_GetStdHandle]
mov rcx, rax
add rsp, 0x18
push 0
sub rsp, 0x20
lea r9, [rbp - 0xfc4]
mov r8d, r12d
mov rdx, r13
call qword [sym.imp.kernel32.dll_WriteFile]
pop rax
pop rdx
mov ecx, r14d
call qword [sym.imp.kernel32.dll_SetLastError]
add rsp, 0x20
lea rsp, [rbp - 0x18]
pop r12
pop r13
pop r14
pop rbp
ret
and edx, 2
je 0x5adcf0
xor ecx, ecx
test rax, rax
je 0x5adccf
mov edx, 0x3fd
in al, dx
and eax, 0x20
mov esi, eax
mov edi, eax
mov edx, 0x3f8
nop word cs:[rax + rax]
test sil, sil
jne 0x5adcbf
nop dword [rax]
pause
test dil, dil
je 0x5adcb8
movzx eax, byte [r13 + rcx]
out dx, al
add rcx, 1
cmp r12, rcx
ja 0x5adcb0
lea rax, [0x00000000]
test rax, rax
je 0x5adc78
mov rsi, r12
mov rdi, r13
call rax
jmp 0x5adc78
ret
mov rax, qword [0x0062e970]
mov rsi, r13
mov rdx, r12
mov edi, 2
syscall
lea rsp, [rbp - 0x18]
pop r12
pop r13
pop r14
pop rbp
ret
Function at 0x14001b4d0
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 0x14001b52d
lea rbx, [0x140155e20]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14001b514
cmp r10, 2
jb 0x14001b514
cmp byte [r9], r8b
jne 0x14001b514
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 0x14001b4f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001b56f
lea rbx, [0x140155e20]
cmp r8b, 0x23
jne 0x14001b553
cmp byte [r9], r8b
jne 0x14001b553
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 0x14001b540
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14002a960
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x100]
mov rdi, rcx
movsxd rsi, edx
test eax, eax
jg 0x14002a9a3
mov r8d, 0x7d0
lea rdx, str.C:UsersShovenDesktopmenuimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x100]
movsxd rcx, eax
lea rdx, [0x140155e20]
mov rax, qword [rdi + 0x108]
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, sil
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 [rdi]
not ebx
cmp dword [rcx + 0x408c], ebx
jne 0x14002aa19
mov r8, rsi
mov edx, 4
mov ecx, ebx
call fcn.140037ec0
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14002aa30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov eax, dword [rcx + 0x100]
mov rdi, rdx
mov rbx, rcx
test eax, eax
jg 0x14002aa6a
mov r8d, 0x7d0
lea rdx, str.C:UsersShovenDesktopmenuimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0x100]
movss xmm2, dword [rbx + 0x120]
lea r9, [0x140155e20]
movss xmm0, dword [rdi]
movss xmm3, dword [rbx + 0x124]
subss xmm0, xmm2
movss xmm1, dword [rdi + 4]
movsxd rcx, eax
subss xmm1, xmm3
mov rax, qword [rbx + 0x108]
movss dword [rsp + 0x20], xmm0
movss xmm0, dword [rdi + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movzx eax, byte [rsp + 0x20]
not r8d
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x21]
movss dword [rsp + 0x24], xmm1
movss xmm1, dword [rdi + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x22]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x23]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x24]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x25]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x26]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x27]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x28]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x29]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2a]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2b]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2c]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
mov rbx, qword [rsp + 0x40]
xor rcx, rax
movzx eax, byte [rsp + 0x2d]
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2e]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0x2f]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x30
pop rdi
ret
Function at 0x14002fdc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140196dd0]
mov edi, ecx
cmp byte [rbx + 0x4d6d], 0
jne 0x14002fe12
cmp byte [rbx + 0x4d6e], 0
jne 0x14002fe12
movsx r9d, word [rbx + 0x5ed8]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14001b280
test dil, 2
je 0x14002ff3f
jmp 0x14002fe9b
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14016bd4c]
xor eax, eax
mulss xmm1, dword [0x14016bd34]
addss xmm0, dword [rbx + 0xf8]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xfc]
mov qword [rbx + 0x4a60], rax
mov dword [rbx + 0x4a4c], 1
movss dword [rbx + 0x4a58], xmm0
movss dword [rbx + 0x4a5c], xmm1
movss xmm0, dword [rbx + 0x3a2c]
mulss xmm0, dword [0x14016bc58]
or dword [rbx + 0x4a48], 0x41
movss dword [rbx + 0x4aa8], xmm0
movsx r9d, word [rbx + 0x5ed8]
call fcn.14001b280
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14002fef0
lea r11, [0x140155e20]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x14002fed3
cmp byte [r8], r9b
jne 0x14002fed3
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 0x14002fec0
not ecx
call fcn.140023190
test rax, rax
je 0x14002ff3f
cmp byte [rax + 0xbe], 0
je 0x14002ff3f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc6], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5ed8]
movsx r9d, word [rbx + 0x5ed8]
call fcn.14001b280
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.1400265a0
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x1400363a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6030], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x140036423
xor edx, edx
add rcx, 0x6038
call fcn.140038500
mov r8, rsi
lea rcx, [rbx + 0x6038]
mov rdx, rbp
call fcn.14001bde0
mov eax, dword [rbx + 0x6038]
xor edx, edx
mov r9, qword [rbx + 0x6030]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x6040]
cmove ecx, edx
test rax, rax
movsxd r8, ecx
mov edx, 1
lea rcx, [0x140196dc8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x14003642f
add rcx, 0x6038
call fcn.14001bde0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140036790
Capabilities:
Read file on windows
Write 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 [0x140196dd0]
cmp byte [rbx + 0x5f88], 0
jne 0x1400368c0
cmp dword [rbx + 0x5fb0], 0
je 0x1400367db
mov r8d, 0x35a3
lea rdx, str.C:UsersShovenDesktopmenuimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400368b9
lea rdx, [0x1401555d8]
call fcn.14001b580
mov rdi, rax
test rax, rax
je 0x1400368b9
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400368b0
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400368b0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400368b0
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400368b0
cmp rsi, 0xffffffffffffffff
je 0x1400368b0
mov rcx, rsi
call fcn.14001f100
mov rbp, rax
test rax, rax
je 0x1400368b0
mov r9, rdi
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, rdi
cmp rax, rsi
je 0x140036890
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rbp
call fcn.14001f1b0
jmp 0x1400368b9
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1400368a6
mov rdx, rsi
mov rcx, rbp
call fcn.140036b40
mov rcx, rbp
call fcn.14001f1b0
jmp 0x1400368b9
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [rbx + 0x5f88], 1
movss xmm0, dword [rbx + 0x5f8c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14003694f
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f8c], xmm0
jb 0x14003694f
mov rdi, qword [rbx + 0x20]
xor ebp, ebp
test rdi, rdi
je 0x140036942
mov rax, qword [0x140196dd0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f8c], ebp
call fcn.140036da0
lea rdx, [0x1401555dc]
mov rcx, rdi
mov rsi, rax
call fcn.14001b580
mov rdi, rax
test rax, rax
je 0x140036949
mov r8, qword [rsp + 0x30]
lea edx, [rbp + 1]
mov r9, rax
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140036949
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f8c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140036aa0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140196dd0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140036b03
mov qword [rsp], rbx
lea rbx, [0x140155e20]
nop dword [rax]
cmp r9b, 0x23
jne 0x140036ae3
cmp byte [r8], r9b
jne 0x140036ae3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140036ad0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5fa0]
not eax
mov r8, qword [r10 + 0x5fa8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x140036b2f
cmp dword [r8 + 8], eax
je 0x140036b36
add r8, 0x48
cmp r8, rcx
jne 0x140036b20
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14006e5b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x14006e5e7
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14006e608
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14006e60a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14006e663
test ecx, ecx
jle 0x14006e643
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14006e663
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14006e663
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14006e690
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14006e6c1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x14006e6df
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbx
mov qword [rsp + 0x38], rdi
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14006e700
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14006e702
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14006e734
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
mov rbx, rdi
je 0x14006e7d1
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14006e772
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 rdi, 0xfff
jbe 0x14006e7b1
nop dword [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]
sub rdi, rax
add r14, rax
mov rbx, rdi
cmp rax, 0xfff
jne 0x14006e7f2
cmp rdi, rax
ja 0x14006e780
test rbx, rbx
je 0x14006e7d1
mov r9, qword [rsi + 0x80]
mov r8, rdi
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 + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
sub rbp, rdi
jmp 0x14006e7d4
Function at 0x14006ec20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14006ec44
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14006ec7b
mov rax, qword [rcx + 0x58]
movsxd rcx, dword [rax]
add rcx, rdx
cmp rdx, rcx
jae 0x14006ec7b
mov rcx, rbx
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
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x14006eda4
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14006ecbe
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
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 0x14006ece9
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 0x14006eda9
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
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 0x14006ed5e
sub eax, 1
je 0x14006ed5e
cmp eax, 2
jne 0x14006eda4
movsx ecx, byte [rsp + 0x40]
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 0x14006eda9
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x14006ed8f
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14006eda4
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov eax, edi
jne 0x14006eda9
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x14006f290
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14006f359
cmp byte [rcx + 0x71], 0
je 0x14006f359
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14006f34c
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14006f308
sub eax, 1
je 0x14006f30c
cmp eax, 2
jne 0x14006f34c
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x14006f33a
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14006f34c
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret