joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004d3c0
Capabilities:
Create thread

Disassembly:
push rbp
push rdi
push r12
sub rsp, 0x30
xor r12d, r12d
mov rbp, rcx
mov edi, r12d
cmp dword [rcx + 0x18], r12d
jbe 0x14004d4f0
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
nop word [rax + rax]
lea r8, [0x14004d140]
mov r9, rbp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
call fcn.140057b18
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14004d4d6
mov rax, qword [rbp + 0xa8]
lea rcx, [rsp + 0x50]
cmp rcx, rax
jae 0x14004d482
mov rcx, qword [rbp + 0xa0]
lea rdx, [rsp + 0x50]
cmp rcx, rdx
ja 0x14004d482
lea rsi, [rsp + 0x50]
sub rsi, rcx
sar rsi, 3
cmp rax, qword [rbp + 0xb0]
jne 0x14004d466
lea rcx, [rbp + 0xa0]
mov edx, 1
call fcn.140043e60
mov rdx, qword [rbp + 0xa8]
test rdx, rdx
je 0x14004d4ab
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax + rsi*8]
mov qword [rdx], rcx
jmp 0x14004d4ab
cmp rax, qword [rbp + 0xb0]
jne 0x14004d49c
lea rcx, [rbp + 0xa0]
mov edx, 1
call fcn.140043e60
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x14004d4ab
mov qword [rcx], rsi
add qword [rbp + 0xa8], 8
inc edi
cmp edi, dword [rbp + 0x18]
jb 0x14004d3f0
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x7c], 8
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, r12d
jmp 0x14004d4c3
mov eax, 1
add rsp, 0x30
pop r12
pop rdi
pop rbp
ret

Function at 0x14004e0a0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rcx]
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
mov ebx, 1
call qword [rax + 0x58]
test eax, eax
jne 0x14004e0d0
xor ebx, ebx
jmp 0x14004e13f
cmp word [rbp + 0x10], 2
lea rcx, [rbp + 0x10]
mov eax, 0x1c
mov edx, reloc.WS2_32.dll_recv
cmove eax, edx
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rdi + 0x158]
xor edx, edx
call qword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x14004e130
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x14004e130
mov rax, qword [rdi]
mov rcx, rdi
xor ebx, ebx
call qword [rax + 0x58]
test eax, eax
je 0x14004e13f
mov ecx, 0x80004005
call fcn.140028010
int3
lea rcx, str._S_CNNID:__Iu__send_0_bytes__detect_package__n
mov rdx, rsi
call fcn.14003b640
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400504d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r14, qword [r8]
xor r9d, r9d
mov r15d, 0x1c
cmp word [r14], 2
mov r12, rdx
mov r10d, r15d
mov edx, 8
mov rdi, rcx
mov r8d, 0x811c9dc5
cmove r10d, edx
test r10, r10
jle 0x140050537
nop word [rax + rax]
movzx eax, byte [r9 + r14]
imul r8, r8, 0x1000193
inc r9
xor r8, rax
cmp r9, r10
jl 0x140050520
mov rcx, qword [rcx + 0x40]
mov rsi, rcx
and rsi, r8
cmp qword [rdi + 0x48], rsi
ja 0x140050554
shr rcx, 1
or rax, 0xffffffffffffffff
sub rax, rcx
add rsi, rax
mov r13, qword [rdi + 0x20]
mov rdi, qword [rdi + 8]
add rsi, rsi
mov rbp, qword [r13 + rsi*8]
mov rbx, rbp
mov qword [rsp + 0x60], rbx
cmp rbp, rdi
jne 0x140050576
mov rax, rdi
jmp 0x14005057e
mov rax, qword [r13 + rsi*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400505ea
mov rcx, qword [rbx + 0x10]
mov r8, r15
cmp word [rcx], 2
cmove r8, rdx
mov rdx, r14
call fcn.140057980
test eax, eax
je 0x1400505a8
mov rbx, qword [rbx]
mov edx, 8
jmp 0x140050567
cmp word [r14], 2
mov rdx, qword [rbx + 0x10]
mov eax, 8
cmove r15, rax
mov rcx, r14
mov r8, r15
call fcn.140057980
test eax, eax
je 0x1400505dc
lea rax, [rsp + 0x70]
mov qword [rsp + 0x70], rdi
mov rax, qword [rax]
mov qword [r12], rax
jmp 0x1400505ee
lea rax, [rsp + 0x60]
mov rax, qword [rax]
mov qword [r12], rax
jmp 0x1400505ee
mov qword [r12], rdi
mov rax, r12
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140050610
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, qword [r8]
xor r9d, r9d
mov r10d, 0x1c
cmp word [r15], 2
mov r11d, 8
mov r13, rdx
cmove r10d, r11d
mov rdx, rcx
mov r8d, 0x811c9dc5
test r10, r10
jle 0x140050677
nop word [rax + rax]
movzx eax, byte [r9 + r15]
imul r8, r8, 0x1000193
inc r9
xor r8, rax
cmp r9, r10
jl 0x140050660
mov rcx, qword [rcx + 0x40]
mov rbp, rcx
and rbp, r8
cmp qword [rdx + 0x48], rbp
ja 0x140050694
shr rcx, 1
or rax, 0xffffffffffffffff
sub rax, rcx
add rbp, rax
mov r14, qword [rdx + 0x20]
mov rsi, qword [rdx + 8]
add rbp, rbp
mov r12, qword [r14 + rbp*8]
mov qword [rsp + 0x70], rdi
mov rbx, r12
nop dword [rax + rax]
cmp r12, rsi
jne 0x1400506ba
mov rax, rsi
jmp 0x1400506c2
mov rax, qword [r14 + rbp*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x14005074f
mov rcx, qword [rbx + 0x10]
mov r8d, 0x1c
mov rdx, r15
cmp word [rcx], 2
cmove r8, r11
call fcn.140057980
test eax, eax
je 0x1400506f4
mov rbx, qword [rbx]
mov r11d, 8
jmp 0x1400506b0
mov rdi, rbx
mov r13d, 8
nop dword [rax]
cmp r12, rsi
jne 0x14005070a
mov rax, rsi
jmp 0x140050712
mov rax, qword [r14 + rbp*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x14005073b
cmp word [r15], 2
mov rdx, qword [rbx + 0x10]
mov r8d, 0x1c
cmove r8, r13
mov rcx, r15
call fcn.140057980
test eax, eax
jne 0x14005073b
mov rbx, qword [rbx]
jmp 0x140050700
mov r13, qword [rsp + 0x68]
cmp rdi, rbx
je 0x14005074f
mov qword [r13], rdi
mov qword [r13 + 8], rbx
jmp 0x140050760
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov qword [r13], rax
mov qword [r13 + 8], rax
mov rax, r13
mov rdi, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret
Function at 0x140050780
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x20
mov r11, qword [r8 + 0x10]
xor r10d, r10d
mov rdi, rcx
cmp word [r11], 2
mov ecx, 0x1c
mov eax, 8
cmove ecx, eax
mov rsi, rdx
mov r9d, 0x811c9dc5
test rcx, rcx
jle 0x1400507d7
nop
movzx eax, byte [r10 + r11]
imul r9, r9, 0x1000193
inc r10
xor r9, rax
cmp r10, rcx
jl 0x1400507c0
mov rcx, qword [rdi + 0x40]
mov rdx, rcx
and rdx, r9
cmp qword [rdi + 0x48], rdx
ja 0x1400507f4
shr rcx, 1
or rax, 0xffffffffffffffff
sub rax, rcx
add rdx, rax
mov rcx, qword [rdi + 0x20]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x14005082a
cmp qword [rcx + rdx*8], r8
jne 0x14005081f
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [rdi + 0x20]
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140050837
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140050837
cmp qword [rcx + rdx*8], r8
jne 0x14005083c
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov r8, qword [rsp + 0x40]
mov rbx, qword [r8]
cmp r8, qword [rdi + 8]
je 0x140050863
mov rax, qword [r8 + 8]
mov rcx, r8
mov qword [rax], rbx
mov rdx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
call fcn.140055a70
dec qword [rdi + 0x10]
mov qword [rsi], rbx
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140050a80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r15, qword [r8]
mov rbp, rdx
mov rdi, r9
xor r9d, r9d
cmp word [r15], 2
mov r10d, 0x1c
mov r11d, 8
mov edx, r10d
mov r12, rcx
cmove edx, r11d
mov r8d, 0x811c9dc5
test rdx, rdx
jle 0x140050ae7
nop dword [rax + rax]
movzx eax, byte [r9 + r15]
imul r8, r8, 0x1000193
inc r9
xor r8, rax
cmp r9, rdx
jl 0x140050ad0
mov rcx, qword [rcx + 0x40]
mov rsi, rcx
and rsi, r8
cmp qword [r12 + 0x48], rsi
ja 0x140050b05
shr rcx, 1
or rax, 0xffffffffffffffff
sub rax, rcx
add rsi, rax
mov rax, qword [r12 + 0x20]
mov rbx, qword [r12 + 8]
add rsi, rsi
mov r14, qword [rax + rsi*8]
cmp rbx, r14
je 0x140050b61
mov rbx, qword [rax + rsi*8 + 8]
mov rbx, qword [rbx]
cmp rbx, r14
je 0x140050b61
cmp word [r15], 2
mov rax, r10
cmove rax, r11
mov qword [rsp + 0x70], rax
nop dword [rax]
mov rbx, qword [rbx + 8]
mov r8, rax
mov rcx, r15
mov rdx, qword [rbx + 0x10]
call fcn.140057980
test eax, eax
je 0x140050bb7
mov rax, qword [rsp + 0x70]
cmp rbx, r14
jne 0x140050b40
mov rax, qword [rdi]
cmp rbx, rax
je 0x140050b94
lea r8, [r12 + 8]
lea rcx, [r12 + 8]
mov r9, rdi
mov rdx, rbx
mov qword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
call fcn.140053490
mov rdi, qword [rsp + 0x88]
mov rdx, qword [r12 + 0x20]
mov rax, qword [rdx + rsi*8]
cmp rax, qword [r12 + 8]
jne 0x140050c12
mov qword [rdx + rsi*8], rdi
mov rax, qword [r12 + 0x20]
mov qword [rax + rsi*8 + 8], rdi
jmp 0x140050c42
mov rcx, qword [rbx + 0x10]
mov eax, 8
mov r8d, 0x1c
cmp word [rcx], 2
mov rdx, r15
cmove r8d, eax
call fcn.140057980
test eax, eax
je 0x140050bdf
mov rbx, qword [rbx]
jmp 0x140050b61
cmp rdi, qword [r12 + 8]
je 0x140050c08
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
mov rcx, rdi
call fcn.140055a70
dec qword [r12 + 0x10]
mov qword [rbp], rbx
mov byte [rbp + 8], 0
jmp 0x140050c5a
cmp rax, rbx
jne 0x140050c1d
mov qword [rdx + rsi*8], rdi
jmp 0x140050c42
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + rsi*8 + 8], rcx
cmp rcx, rdi
je 0x140050c42
mov rdx, qword [r12 + 0x20]
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + rsi*8 + 8], rcx
mov rcx, r12
call fcn.140050910
mov r11, qword [rsp + 0x88]
mov byte [rbp + 8], 1
mov qword [rbp], r11
mov rax, rbp
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140052740
Capabilities:
Create thread

Disassembly:
push rbp
push rdi
push r12
sub rsp, 0x30
xor r12d, r12d
mov rbp, rcx
mov edi, r12d
cmp dword [rcx + 0x18], r12d
jbe 0x140052873
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
nop word [rax + rax]
lea r8, [0x140052510]
mov r9, rbp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
call fcn.140057b18
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140052856
mov rax, qword [rbp + 0x178]
lea rcx, [rsp + 0x50]
cmp rcx, rax
jae 0x140052802
mov rcx, qword [rbp + 0x170]
lea rdx, [rsp + 0x50]
cmp rcx, rdx
ja 0x140052802
lea rsi, [rsp + 0x50]
sub rsi, rcx
sar rsi, 3
cmp rax, qword [rbp + 0x180]
jne 0x1400527e6
lea rcx, [rbp + 0x170]
mov edx, 1
call fcn.140043e60
mov rdx, qword [rbp + 0x178]
test rdx, rdx
je 0x14005282b
mov rax, qword [rbp + 0x170]
mov rcx, qword [rax + rsi*8]
mov qword [rdx], rcx
jmp 0x14005282b
cmp rax, qword [rbp + 0x180]
jne 0x14005281c
lea rcx, [rbp + 0x170]
mov edx, 1
call fcn.140043e60
mov rcx, qword [rbp + 0x178]
test rcx, rcx
je 0x14005282b
mov qword [rcx], rsi
add qword [rbp + 0x178], 8
inc edi
cmp edi, dword [rbp + 0x18]
jb 0x140052770
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x16c], 8
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, r12d
jmp 0x140052843
mov eax, 1
add rsp, 0x30
pop r12
pop rdi
pop rbp
ret

Function at 0x140059368
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400591d8
Function at 0x140066d6f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400b1770]
jne 0x14005aa3a
rol rcx, 0x10
test cx, 0xffff
jne 0x14005aa36
repz ret
ror rcx, 0x10
jmp 0x140066cc8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400b5d50]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400b5e48]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140066d4d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400b5d50]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140066d6f
mov rax, qword [rsp + 0x88]
mov qword [0x1400b5e48], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400b5de8], rax
mov rax, qword [0x1400b5e48]
mov qword [0x1400b5cc0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400b5dd0], rax
mov dword [0x1400b5cb0], 0xc0000409
mov dword [0x1400b5cb4], 1
mov rax, qword [0x1400b1770]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400b1778]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400b5d48], eax
mov ecx, 1
call fcn.140072778
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400981d0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400b5d48], 0
jne 0x140066df6
mov ecx, 1
call fcn.140072778
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140075520
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1400b1770]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14005d690
xor ebx, ebx
cmp qword [0x1400b62e0], rbx
mov rdi, rax
jne 0x140075633
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14007570a
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14007570a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400b62e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400b62e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1400b62f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1400b6300], rax
test rax, rax
je 0x14007562a
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1400b62f8], rax
jmp 0x14007563a
mov rax, qword [0x1400b62f8]
jmp 0x140075641
mov rax, qword [0x1400b62f8]
mov r11, qword [0x1400b6300]
cmp rax, rdi
je 0x1400756a8
cmp r11, rdi
je 0x1400756a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1400b6300]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400756a8
test rax, rax
je 0x1400756a8
call rsi
test rax, rax
je 0x1400756a2
lea rcx, [rsp + 0x30]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400756a2
test byte [rsp + 0x40], 1
jne 0x1400756a8
bts ebp, 0x15
jmp 0x1400756e8
mov rcx, qword [0x1400b62e8]
cmp rcx, rdi
je 0x1400756e8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400756e8
call rax
mov rbx, rax
test rax, rax
je 0x1400756e8
mov rcx, qword [0x1400b62f0]
cmp rcx, rdi
je 0x1400756e8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400756e8
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400b62e0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14007570a
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14007570c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005aa20
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400042b0
Capabilities:
Terminate process

Disassembly:
push rsi
sub rsp, 0x150
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rsi, qword [0x140024fa0]
mov rcx, rsi
call fcn.1400043d0
test al, al
jne 0x1400043b3
mov qword [rsp + 0x160], rbx
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x168], rdi
mov r8d, 0x108
call sub.VCRUNTIME140.dll_memset
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x140004310
add eax, 0xa
movsxd rbx, eax
mov rcx, rbx
call fcn.140016760
mov r8, rsi
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [0x14001a554]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, str..enabled
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov r8d, 0x12
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.1400044a0
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
mov rdi, qword [rsp + 0x168]
mov rbx, qword [rsp + 0x160]
test al, al
je 0x1400043a9
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [rsp + 0x30]
call fcn.140004080
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400166d0
add rsp, 0x150
pop rsi
ret

Function at 0x140004940
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 0x140004968
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 0x14000498e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140004990
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400049e9
test ecx, ecx
jle 0x1400049c9
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 0x1400049e9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400049e9
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 0x140004a10
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 0x140004a32
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140004a48
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 0x140004a64
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004a66
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004aa2
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 0x140004b3e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140004add
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 0x140004b1e
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 0x140004b3e
cmp rbx, rax
ja 0x140004af0
test rbx, rbx
je 0x140004b3e
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 0x140004fa0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140004fcd
xor eax, eax
jmp 0x140005139
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140005007
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140005007
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140005139
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000512c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000504a
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 0x140005075
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 0x140005131
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 0x1400050e4
sub eax, 1
je 0x1400050e4
cmp eax, 2
jne 0x14000512c
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 0x140005131
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140005112
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 0x14000512c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140005131
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400166d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret