joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a0f0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x250
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, qword [rsp + 0x2a0]
mov rsi, r9
mov ebp, r8d
mov rbx, rdx
mov rcx, qword [0x14009b028]
lea r15, [0x14009b028]
lea r12, [0x140088500]
cmp rcx, r15
je 0x14000a15d
test byte [rcx + 0x1c], 4
je 0x14000a15d
cmp byte [rcx + 0x19], 5
jb 0x14000a15d
mov rcx, qword [rcx + 0x10]
mov edx, 0xed
mov r8, r12
call fcn.140001024
lea rcx, str.SentItems
test ebp, ebp
lea rax, str.Inbox
mov r9, rbx
cmovne rax, rcx
lea r8, [0x140087ff0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov edx, 0x104
call fcn.140002ac0
mov ebx, eax
test eax, eax
jns 0x14000a1da
mov rcx, qword [0x14009b028]
cmp rcx, r15
je 0x14000a1c1
test byte [rcx + 0x1c], 4
je 0x14000a1c1
cmp byte [rcx + 0x19], 2
jb 0x14000a1c1
mov rcx, qword [rcx + 0x10]
mov edx, 0xee
mov r9d, eax
mov r8, r12
call fcn.140001050
mov ecx, ebx
movzx eax, bx
and ecx, 0x1fff0000
cmp ecx, 0x70000
cmove ebx, eax
jmp 0x14000a2c6
mov rdx, rsi
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14000a2b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xb7
jne 0x14000a285
mov rcx, qword [0x14009b028]
cmp rcx, r15
je 0x14000a237
test byte [rcx + 0x1c], 4
je 0x14000a237
cmp byte [rcx + 0x19], 5
jb 0x14000a237
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x38]
lea r9, [rsp + 0x30]
mov r8, r12
call fcn.1400011fc
lea rdx, [rsp + 0x30]
call fcn.140009eb8
test eax, eax
jne 0x14000a281
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r15
je 0x14000a2c6
test byte [rcx + 0x1c], 4
je 0x14000a2c6
cmp byte [rcx + 0x19], 2
jb 0x14000a2c6
mov rcx, qword [rcx + 0x10]
mov edx, 0xf0
mov r9d, eax
mov r8, r12
call fcn.140001050
jmp 0x14000a2c6
xor eax, eax
jmp 0x14000a2be
mov rcx, qword [0x14009b028]
cmp rcx, r15
je 0x14000a2c6
test byte [rcx + 0x1c], 4
je 0x14000a2c6
cmp byte [rcx + 0x19], 2
jb 0x14000a2c6
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x30]
mov edx, 0xf1
mov dword [rsp + 0x20], eax
mov r8, r12
call fcn.140001328
jmp 0x14000a2c6
mov eax, 1
xor ebx, ebx
cmp dword [rdi], ebx
je 0x14000a2c6
mov dword [rdi], eax
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14007e560
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000a618
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x290
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r14, r8
mov rdi, rdx
xor ebp, ebp
mov rcx, qword [0x14009b028]
lea r12, [0x14009b028]
cmp rcx, r12
je 0x14000a679
test byte [rcx + 0x1c], 4
je 0x14000a679
cmp byte [rcx + 0x19], 5
jb 0x14000a679
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088500]
mov edx, 0xfa
call fcn.140001024
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000a703
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14000a6d9
test byte [rcx + 0x1c], 4
je 0x14000a6d9
cmp byte [rcx + 0x19], 3
jb 0x14000a6d9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088500]
mov edx, 0xfb
mov qword [rsp + 0x20], rdi
mov r9d, eax
call fcn.140001094
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14007e560
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, dword [rsp + 0x4c]
lea rdx, [rsp + 0x30]
mov eax, dword [rsp + 0x50]
shl rcx, 0x20
or rcx, rax
add rbp, rcx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14000a703
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x12
je 0x14000a775
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14000a775
test byte [rcx + 0x1c], 4
je 0x14000a775
cmp byte [rcx + 0x19], 2
jb 0x14000a775
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088500]
mov edx, 0xfc
mov qword [rsp + 0x20], rdi
mov r9d, eax
call fcn.140001094
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test eax, eax
jne 0x14000a7bd
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14000a7bd
test byte [rcx + 0x1c], 4
je 0x14000a7bd
cmp byte [rcx + 0x19], 2
jb 0x14000a7bd
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088500]
mov edx, 0xfd
mov qword [rsp + 0x20], rdi
mov r9d, ebx
call fcn.140001094
cmp ebx, 0x12
jne 0x14000a6d9
mov qword [r14], rbp
xor eax, eax
jmp 0x14000a6db
Function at 0x14000b288
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, rdx
mov rcx, qword [0x14009b028]
lea r14, [0x14009b028]
cmp rcx, r14
je 0x14000b2d4
test byte [rcx + 0x1c], 4
je 0x14000b2d4
cmp byte [rcx + 0x19], 5
jb 0x14000b2d4
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400885d0]
mov edx, 0x20
call fcn.140001024
mov r9d, 2
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000002
call fcn.14006abdc
xor ebx, ebx
mov rsi, rax
test rax, rax
jne 0x14000b349
mov rax, qword [0x14009b028]
cmp rax, r14
je 0x14000b3aa
test byte [rax + 0x1c], 4
je 0x14000b3aa
cmp byte [rax + 0x19], 3
jb 0x14000b3aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea edx, [rsi + 0x21]
mov r9, rdi
mov dword [rsp + 0x20], eax
lea r8, [0x1400885d0]
mov rcx, qword [rcx + 0x10]
call fcn.140001328
jmp 0x14000b3aa
lea rdx, str.NTUserName
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, eax
je 0x14000b39b
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14000b39b
test byte [rcx + 0x1c], 4
je 0x14000b39b
cmp byte [rcx + 0x19], 3
jb 0x14000b39b
mov rcx, qword [rcx + 0x10]
lea r9, str.NTUserName
mov edx, 0x22
mov dword [rsp + 0x20], eax
lea r8, [0x1400885d0]
call fcn.140001328
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rdx, rdi
mov rcx, 0xffffffff80000002
call fcn.14006b4b4
test eax, eax
jne 0x14000b3ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14000b3ff
test byte [rcx + 0x1c], 4
je 0x14000b3ff
cmp byte [rcx + 0x19], 2
jb 0x14000b3ff
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400885d0]
mov edx, 0x23
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140001328
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x14000be48
Capabilities:
Compare security identifiers

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, 0x20
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov rcx, qword [0x14009b028]
lea rax, [0x14009b028]
cmp rcx, rax
je 0x14000be9e
test byte [rcx + 0x1c], 4
je 0x14000be9e
cmp byte [rcx + 0x19], 5
jb 0x14000be9e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400885d0]
mov edx, 0x44
call fcn.140001024
mov rax, qword [rsi + 8]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14000bece
mov rbp, qword [rbx + 0x10]
mov rcx, r14
mov rdx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
jne 0x14000beec
mov rbx, qword [rbx]
cmp rbx, qword [rsi + 8]
jne 0x14000beaa
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test rdi, rdi
je 0x14000bef4
mov qword [rdi], rbx
mov rax, rbp
jmp 0x14000bed0
Function at 0x14000fbcc
Capabilities:
Compare security identifiers

Disassembly:
sub rsp, 0x28
mov r10d, dword [rcx + 0x24]
test edx, r10d
jne 0x14000fbdd
xor eax, eax
jmp 0x14000fc19
lea eax, [r10 - 4]
test eax, 0xfffffffb
je 0x14000fc14
test r8d, r8d
jne 0x14000fc14
cmp r10d, 2
jne 0x14000fbfa
mov rcx, qword [rcx + 0x248]
mov rdx, qword [rcx + 0x198]
mov rcx, r9
call qword [sym.imp.ADVAPI32.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
je 0x14000fbd9
mov eax, 1
add rsp, 0x28
ret
Function at 0x140022e4c
Capabilities:
Check os version

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, 0x60
xor ebp, ebp
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov esi, ebp
lea edx, [rbp + 1]
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r14, [0x14009b028]
cmp rcx, r14
je 0x140022eb2
test byte [rcx + 0x1c], 4
je 0x140022eb2
cmp byte [rcx + 0x19], 5
jb 0x140022eb2
mov rcx, qword [rcx + 0x10]
lea edx, [rbp + 0x17]
lea r8, str._j_
call fcn.140001024
call fcn.14006d2b8
lea rax, [0x140087fe0]
mov qword [0x14009f060], rbp
lea rbx, [0x14009f050]
mov qword [0x14009f078], rax
mov qword [0x14009b028], rbx
lea rdi, [0x14009f078]
mov qword [0x14009f050], rbp
mov qword [0x14009f068], 1
mov r8, qword [rdi]
lea rax, [rbx + 8]
mov qword [rsp + 0x38], rax
lea rcx, [0x1400220b0]
mov qword [rsp + 0x30], rbp
lea rax, [rsp + 0x48]
mov qword [rsp + 0x48], r8
lea rdi, [rdi + 8]
mov qword [rsp + 0x50], rbp
mov r9d, 1
mov qword [rsp + 0x28], rbp
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov qword [rbx + 0x20], r8
call qword [sym.imp.ADVAPI32.dll_RegisterTraceGuidsW]
nop dword [rax + rax]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140022ef3
mov rax, qword [0x14009b028]
cmp rax, r14
je 0x140022f8a
test byte [rax + 0x1c], 4
je 0x140022f8a
cmp byte [rax + 0x19], 5
jb 0x140022f8a
call qword [sym.imp.KERNEL32.dll_GetVersion]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea edx, [rbx + 0x18]
mov r9d, eax
lea r8, str._j_
mov rcx, qword [rcx + 0x10]
call fcn.140001050
mov ecx, 1
call qword [sym.imp.GDI32.dll_EnableEUDC]
nop dword [rax + rax]
test eax, eax
je 0x140022ffa
lea rcx, section..data
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
nop dword [rax + rax]
test eax, eax
jne 0x140023027
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
mov rbx, qword [0x14009b028]
cmp rbx, r14
je 0x14002305d
test byte [rbx + 0x1c], 4
je 0x14002302e
cmp byte [rbx + 0x19], 2
jb 0x14002302e
mov rcx, qword [rbx + 0x10]
lea r8, str._j_
mov edx, 0x19
mov r9d, eax
call fcn.140001050
jmp 0x140023027
mov rbx, qword [0x14009b028]
cmp rbx, r14
je 0x14002305d
test byte [rbx + 0x1c], 4
je 0x14002302e
cmp byte [rbx + 0x19], 2
jb 0x14002302e
mov rcx, qword [rbx + 0x10]
lea r8, str._j_
mov edx, 0x1a
call fcn.140001024
mov rbx, qword [0x14009b028]
cmp rbx, r14
je 0x14002305d
jmp 0x140023051
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14002304e
call qword [sym.imp.ADVAPI32.dll_UnregisterTraceGuids]
nop dword [rax + rax]
mov qword [rbx + 8], rbp
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140023035
mov qword [0x14009b028], r14
or rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [0x14009f524], eax
add eax, ebx
jne 0x14002308e
mov rcx, qword [0x14009bd40]
cmp rcx, rbx
je 0x14002308e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [0x14009bd40], rbx
lea r11, [rsp + 0x60]
mov eax, esi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400239f4
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rcx, qword [0x14009b028]
lea r14, [0x14009b028]
cmp rcx, r14
je 0x140023a3d
test byte [rcx + 0x1c], 4
je 0x140023a3d
cmp byte [rcx + 0x19], 5
jb 0x140023a3d
mov rcx, qword [rcx + 0x10]
lea r8, str._j_
mov edx, 0x2b
call fcn.140001024
mov r9d, 0x2001f
lea rdx, str.SoftwareMicrosoftFaxReceipts
xor r8d, r8d
mov rcx, 0xffffffff80000002
call fcn.14006abdc
xor esi, esi
mov rdi, rax
test rax, rax
jne 0x140023ab5
mov rax, qword [0x14009b028]
cmp rax, r14
je 0x140023bbc
test byte [rax + 0x1c], 4
je 0x140023bbc
cmp byte [rax + 0x19], 2
jb 0x140023bbc
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea edx, [rdi + 0x2c]
mov r9d, eax
lea r8, str._j_
mov rcx, qword [rcx + 0x10]
call fcn.140001050
jmp 0x140023bbc
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140077b08
mov rbx, rax
mov eax, dword [rsp + 0x40]
cmp eax, 1
je 0x140023b89
test eax, eax
je 0x140023b3f
test rbx, rbx
lea r8, [0x140087fc8]
mov rcx, rdi
cmovne r8, rbx
call fcn.140077730
test eax, eax
jne 0x140023b89
mov rax, qword [0x14009b028]
cmp rax, r14
je 0x140023b3f
test byte [rax + 0x1c], 4
je 0x140023b3f
cmp byte [rax + 0x19], 2
jb 0x140023b3f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, str._j_
mov r9d, eax
mov edx, 0x2d
mov rcx, qword [rcx + 0x10]
call fcn.140001050
lea rdx, str.Password
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, eax
je 0x140023b89
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x140023b89
test byte [rcx + 0x1c], 4
je 0x140023b89
cmp byte [rcx + 0x19], 2
jb 0x140023b89
mov rcx, qword [rcx + 0x10]
lea r8, str._j_
mov edx, 0x2e
mov r9d, eax
call fcn.140001050
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test rbx, rbx
je 0x140023bbc
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], si
jne 0x140023ba1
add rcx, rcx
xor eax, eax
mov rdi, rbx
rep stosb byte [rdi], al
mov rcx, rbx
call fcn.1400670c4
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140024edc
Capabilities:
Listen for remote procedure calls

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
sub rsp, 0x20
mov rcx, qword [0x14009b028]
lea rsi, [0x14009b028]
lea rbp, str._j_
cmp rcx, rsi
je 0x140024f22
test byte [rcx + 0x1c], 4
je 0x140024f22
cmp byte [rcx + 0x19], 5
jb 0x140024f22
mov rcx, qword [rcx + 0x10]
mov edx, 0x63
mov r8, rbp
call fcn.140001024
call fcn.140024cb0
mov ebx, eax
test eax, eax
je 0x140024f60
mov rcx, qword [0x14009b028]
cmp rcx, rsi
je 0x140024f59
test byte [rcx + 0x1c], 4
je 0x140024f59
cmp byte [rcx + 0x19], 2
jb 0x140024f59
mov edx, 0x64
mov r9d, eax
mov rcx, qword [rcx + 0x10]
mov r8, rbp
call fcn.140001050
mov eax, ebx
jmp 0x1400250b2
call fcn.14006bf24
lea ecx, [rax - 1]
cmp ecx, 1
jbe 0x140025016
cmp eax, 0x20
je 0x140025016
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0xa]
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterAuthInfoW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x140025016
mov rcx, qword [0x14009b028]
cmp rcx, rsi
je 0x140024fc4
test byte [rcx + 0x1c], 4
je 0x140024fc4
cmp byte [rcx + 0x19], 2
jb 0x140024fc4
mov rcx, qword [rcx + 0x10]
mov edx, 0x65
mov r9d, eax
mov r8, rbp
call fcn.140001050
xor edx, edx
lea rcx, [0x140084770]
lea r8d, [rdx + 1]
call qword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
nop dword [rax + rax]
test eax, eax
je 0x140024f59
mov rcx, qword [0x14009b028]
cmp rcx, rsi
je 0x140024f59
test byte [rcx + 0x1c], 4
je 0x140024f59
cmp byte [rcx + 0x19], 2
jb 0x140024f59
mov edx, 0x66
mov r9d, eax
jmp 0x140024f4d
mov ecx, 1
mov edx, 0x4d2
mov r8d, ecx
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400250b0
mov rcx, qword [0x14009b028]
cmp rcx, rsi
je 0x140025061
test byte [rcx + 0x1c], 4
je 0x140025061
cmp byte [rcx + 0x19], 2
jb 0x140025061
mov rcx, qword [rcx + 0x10]
mov edx, 0x67
mov r9d, eax
mov r8, rbp
call fcn.140001050
xor edx, edx
lea rcx, [0x140084770]
lea r8d, [rdx + 1]
call qword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
nop dword [rax + rax]
test eax, eax
je 0x140024f59
mov rcx, qword [0x14009b028]
cmp rcx, rsi
je 0x140024f59
test byte [rcx + 0x1c], 4
je 0x140024f59
cmp byte [rcx + 0x19], 2
jb 0x140024f59
mov edx, 0x68
jmp 0x14002500e
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x1400277dc
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push r12
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r15, rdx
mov r14, rcx
xor ebx, ebx
mov edi, ebx
lea r12, [0x14009b028]
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x140027847
test byte [rcx + 0x1c], 4
je 0x140027847
cmp byte [rcx + 0x19], 5
jb 0x140027847
lea edx, [rbx + 0xa]
lea r8, [0x140088d20]
mov rcx, qword [rcx + 0x10]
call fcn.140001024
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
cmp dword [0x14009f294], ebx
jne 0x140027867
jmp 0x140027a03
lea r8, [rsp + 0x48]
mov rdx, r15
mov rcx, r14
call fcn.140028704
test eax, eax
jne 0x1400278b0
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x1400278a6
test byte [rcx + 0x1c], 4
je 0x1400278a6
cmp byte [rcx + 0x19], 2
jb 0x1400278a6
lea edx, [rax + 0xb]
lea r8, [0x140088d20]
mov rcx, qword [rcx + 0x10]
call fcn.140001024
mov edi, 0xe
jmp 0x1400279cc
xor ecx, ecx
call fcn.14002b48c
test eax, eax
je 0x14002794a
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x1400278ec
test byte [rcx + 0x1c], 4
je 0x1400278ec
cmp byte [rcx + 0x19], 5
jb 0x1400278ec
mov edx, 0xd
lea r8, [0x140088d20]
mov rcx, qword [rcx + 0x10]
call fcn.140001024
xor ecx, ecx
call fcn.14002b694
mov edi, eax
test eax, eax
je 0x14002794a
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x140027929
test byte [rcx + 0x1c], 4
je 0x140027929
cmp byte [rcx + 0x19], 2
jb 0x140027929
mov edx, 0xe
mov r9d, eax
lea r8, [0x140088d20]
mov rcx, qword [rcx + 0x10]
call fcn.140001050
cmp dword [0x14009f294], ebx
je 0x1400279c8
mov rcx, qword [0x14009f080]
cmp rcx, 0xffffffffffffffff
je 0x1400279c8
mov edi, ebx
jmp 0x140027951
mov rcx, qword [0x14009f080]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x60]
add r8d, r8d
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x1400279c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x1400279c8
test byte [rcx + 0x1c], 4
je 0x1400279c8
cmp byte [rcx + 0x19], 2
jb 0x1400279c8
mov edx, 0xf
mov r9d, eax
lea r8, [0x140088d20]
mov rcx, qword [rcx + 0x10]
call fcn.140001050
jmp 0x1400279c8
test edi, edi
je 0x1400279f1
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
nop
cmp qword [rsp + 0x68], 8
jb 0x1400279ed
mov rcx, qword [rsp + 0x50]
call fcn.14007e0b4
xor eax, eax
jmp 0x140027a08
cmp qword [rsp + 0x68], 8
jb 0x140027a03
mov rcx, qword [rsp + 0x50]
call fcn.14007e0b4
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14007e560
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x140027a38
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push r15
sub rsp, 0x80
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, rcx
xor ebx, ebx
mov edi, ebx
lea r15, [0x14009b028]
mov rcx, qword [0x14009b028]
cmp rcx, r15
je 0x140027aa0
test byte [rcx + 0x1c], 4
je 0x140027aa0
cmp byte [rcx + 0x19], 5
jb 0x140027aa0
lea edx, [rbx + 0x10]
lea r8, [0x140088d20]
mov rcx, qword [rcx + 0x10]
call fcn.140001024
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
cmp dword [0x14009f298], ebx
jne 0x140027ac0
jmp 0x140027c5f
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.140029048
test eax, eax
jne 0x140027b06
mov rcx, qword [0x14009b028]
cmp rcx, r15
je 0x140027afc
test byte [rcx + 0x1c], 4
je 0x140027afc
cmp byte [rcx + 0x19], 2
jb 0x140027afc
lea edx, [rax + 0x11]
lea r8, [0x140088d20]
mov rcx, qword [rcx + 0x10]
call fcn.140001024
mov edi, 0xe
jmp 0x140027c28
mov ecx, 1
call fcn.14002b48c
test eax, eax
je 0x140027ba6
mov rcx, qword [0x14009b028]
cmp rcx, r15
je 0x140027b45
test byte [rcx + 0x1c], 4
je 0x140027b45
cmp byte [rcx + 0x19], 5
jb 0x140027b45
mov edx, 0x13
lea r8, [0x140088d20]
mov rcx, qword [rcx + 0x10]
call fcn.140001024
mov ecx, 1
call fcn.14002b694
mov edi, eax
test eax, eax
je 0x140027ba6
mov rcx, qword [0x14009b028]
cmp rcx, r15
je 0x140027b85
test byte [rcx + 0x1c], 4
je 0x140027b85
cmp byte [rcx + 0x19], 2
jb 0x140027b85
mov edx, 0x14
mov r9d, eax
lea r8, [0x140088d20]
mov rcx, qword [rcx + 0x10]
call fcn.140001050
cmp dword [0x14009f298], ebx
je 0x140027c24
mov rcx, qword [0x14009f0b0]
cmp rcx, 0xffffffffffffffff
je 0x140027c24
mov edi, ebx
jmp 0x140027bad
mov rcx, qword [0x14009f0b0]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x60]
add r8d, r8d
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x140027c24
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14009b028]
cmp rcx, r15
je 0x140027c24
test byte [rcx + 0x1c], 4
je 0x140027c24
cmp byte [rcx + 0x19], 2
jb 0x140027c24
mov edx, 0x15
mov r9d, eax
lea r8, [0x140088d20]
mov rcx, qword [rcx + 0x10]
call fcn.140001050
jmp 0x140027c24
test edi, edi
je 0x140027c4d
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
nop
cmp qword [rsp + 0x68], 8
jb 0x140027c49
mov rcx, qword [rsp + 0x50]
call fcn.14007e0b4
xor eax, eax
jmp 0x140027c64
cmp qword [rsp + 0x68], 8
jb 0x140027c5f
mov rcx, qword [rsp + 0x50]
call fcn.14007e0b4
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14007e560
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret