joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bbfc0
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0xe0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rsi, rcx
mov r14d, edx
mov edi, r8d
mov ebx, r9d
lea rcx, [0x14018ce70]
call fcn.140002eb0
mov r15, rax
call fcn.140001d4b
mov rdx, qword [rax + 8]
lea rcx, [r15 + 8]
call fcn.1400039c0
mov qword [rbp - 0x40], r15
test ebx, ebx
je 0x1400bc113
test ebx, 0x80000000
jne 0x1400bc113
xor ecx, ecx
mov dword [rbp - 0x50], ecx
test rsi, rsi
je 0x1400bc045
mov qword [rbp + 0x10], rsi
lea rcx, [rsi + 0xc]
jmp 0x1400bc04b
xor ecx, ecx
mov qword [rbp + 0x10], rsi
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x70], rcx
lea r8, [rbp - 0x50]
mov qword [rbp - 0x78], r8
mov edx, 0x20001009
mov dword [rbp - 0x64], edx
mov r9d, 4
mov dword [rbp - 0x68], r9d
lea rcx, [rbp - 0xa8]
call fcn.140003b20
mov rcx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x78]
mov edx, dword [rbp - 0x64]
mov r9d, dword [rbp - 0x68]
call sub.KERNEL32.dll_GetLocaleInfoEx
lea rcx, [rbp - 0xa8]
call fcn.140003b70
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x58], rcx
mov ecx, dword [rbp - 0x50]
movzx ecx, cx
movzx edx, r14w
cmp ecx, edx
jne 0x1400bc101
mov rcx, qword [rbp + 0x10]
mov edx, ebx
call fcn.1400c1440
test rax, rax
je 0x1400bc0fb
mov qword [rbp - 0x48], rax
mov rcx, qword [rbp - 0x40]
inc dword [rcx + 0x14]
mov rdx, qword [rcx + 8]
mov r8d, dword [rcx + 0x10]
mov r9d, dword [rdx + 8]
cmp r9d, r8d
jbe 0x1400bc107
lea r9d, [r8 + 1]
mov dword [rcx + 0x10], r9d
mov ecx, r8d
lea rcx, [rdx + rcx*8 + 0x10]
mov rdx, rax
call fcn.1400039c0
mov rsi, qword [rbp + 0x10]
jmp 0x1400bc113
mov rsi, qword [rbp + 0x10]
jmp 0x1400bc113
mov rsi, qword [rbp + 0x10]
jmp 0x1400bc113
mov rdx, rax
call fcn.140110e30
mov rsi, qword [rbp + 0x10]
lea rdx, [rbp - 0x48]
test rsi, rsi
je 0x1400bc122
add rsi, 0xc
jmp 0x1400bc124
xor esi, esi
mov qword [rbp - 0x60], rsi
movzx r8d, r14w
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x28], rdx
mov rdx, rsi
mov qword [rbp - 0x78], rdx
mov dword [rbp - 0x68], r8d
mov qword [rbp - 0x70], r9
lea rcx, [0x1400bb790]
mov qword [rbp - 0x80], rcx
lea rcx, [rbp - 0xa8]
call fcn.140003b20
mov rdx, qword [rbp - 0x78]
mov r8d, dword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x80]
call sub.KERNEL32.dll_EnumCalendarInfoExEx
lea rcx, [rbp - 0xa8]
call fcn.140003b70
xor ecx, ecx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x60], rcx
mov rcx, qword [rbp - 0x40]
cmp dword [rcx + 0x10], 0
jne 0x1400bc19e
xor ecx, ecx
mov rsi, qword [rbp + 0x30]
mov qword [rsi], rcx
jmp 0x1400bc1de
mov rsi, qword [rbp + 0x30]
mov rcx, qword [rbp - 0x40]
call fcn.140111310
mov rbx, rax
cmp edi, 0x39
je 0x1400bc1b8
cmp edi, 4
jne 0x1400bc1ce
mov r9d, dword [rbx + 8]
mov rdx, rbx
lea rcx, [0x1401272f0]
xor r8d, r8d
call fcn.14011c180
mov rcx, rsi
mov rdx, rbx
call fcn.1400039f0
mov ecx, 1
movzx eax, cl
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400bc340
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x20]
xor eax, eax
mov qword [rbp + 0x48], rax
mov rax, qword [0x140204408]
mov qword [rbp + 0x40], rax
mov rdi, rcx
mov ebx, edx
mov rsi, r8
call fcn.1400010f3
cmp byte [rax], 0
je 0x1400bc38b
movzx edx, bl
mov rcx, rdi
mov r8, rsi
call fcn.1400bc580
jmp 0x1400bc533
mov rcx, rdi
mov qword [rbp + 0xb0], rsi
mov rdx, rsi
call fcn.1400ba870
mov r14d, eax
test bl, bl
je 0x1400bc530
xor ecx, ecx
mov dword [rbp + 0x50], ecx
test rdi, rdi
je 0x1400bc3b8
add rdi, 0xc
jmp 0x1400bc3ba
xor edi, edi
mov qword [rbp + 0x48], rdi
mov rcx, rdi
mov qword [rbp + 0x30], rcx
lea r8, [rbp + 0x50]
mov qword [rbp + 0x28], r8
mov edx, 0x20001009
mov dword [rbp + 0x3c], edx
mov r9d, 4
mov dword [rbp + 0x38], r9d
lea rcx, [rbp]
call fcn.140003b20
mov rcx, qword [rbp + 0x30]
mov r8, qword [rbp + 0x28]
mov edx, dword [rbp + 0x3c]
mov r9d, dword [rbp + 0x38]
call sub.KERNEL32.dll_GetLocaleInfoEx
lea rcx, [rbp]
call fcn.140003b70
xor eax, eax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x48], rax
mov eax, dword [rbp + 0x50]
test eax, eax
je 0x1400bc530
movzx r9d, ax
mov rsi, qword [rbp + 0xb0]
mov edi, dword [rsi + 8]
test edi, edi
je 0x1400bc56b
movzx ebx, word [rsi + 0x10]
cmp r9d, ebx
je 0x1400bc530
mov r15d, 1
cmp edi, 1
jle 0x1400bc45d
mov eax, r15d
movzx eax, word [rsi + rax*2 + 0x10]
cmp eax, r9d
je 0x1400bc464
inc r15d
cmp edi, r15d
jg 0x1400bc448
cmp edi, r14d
jg 0x1400bc479
jmp 0x1400bc47c
mov word [rsi + 0x10], r9w
mov eax, r15d
mov word [rsi + rax*2 + 0x10], bx
mov eax, r14d
jmp 0x1400bc533
inc r14d
mov eax, r14d
mov r8d, 2
mul r8
jb 0x1400bc55a
mov r15, rax
test r15, r15
je 0x1400bc4d3
mov rcx, r15
add rcx, 0xf
and rcx, 0xfffffffffffffff0
add rsp, 0x20
neg rcx
add rcx, rsp
jb 0x1400bc4af
xor ecx, ecx
test dword [rsp], esp
mov r8, rsp
sub r8, 0x1000
mov rsp, r8
cmp rsp, rcx
jae 0x1400bc4af
mov rsp, rcx
test dword [rsp], esp
sub rsp, 0x20
lea r15, [rsp + 0x20]
test r14d, r14d
jl 0x1400bc55f
mov r8d, r14d
test r14d, r14d
je 0x1400bc56b
mov word [r15], r9w
dec r8d
cmp edi, r8d
jb 0x1400bc55f
lea rdx, [rsi + 0x10]
cmp r14d, 1
jb 0x1400bc55f
lea rcx, [r15 + 2]
lea eax, [r14 - 1]
cmp r8d, eax
ja 0x1400bc565
mov r8d, r8d
add r8, r8
call fcn.14009b950
add rsi, 0x10
mov rcx, rsi
cmp r14d, edi
ja 0x1400bc565
mov r8d, r14d
add r8, r8
mov rdx, r15
call fcn.14009b950
mov eax, r14d
lea rcx, [0x140204408]
mov rcx, qword [rcx]
cmp qword [rbp + 0x40], rcx
je 0x1400bc548
call fcn.140003ec0
nop
lea rsp, [rbp + 0x58]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1400f98a0
call fcn.1400b6eb0
int3
call fcn.1400b6ee0
int3
call fcn.1400f98d0
int3
Function at 0x1400bc580
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0xe0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x20], r8
mov rdi, rcx
mov ebx, edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
lea rcx, [0x140193018]
call fcn.140002eb0
mov r14, rax
call fcn.140001e6e
mov rdx, qword [rax + 8]
lea rcx, [r14 + 8]
call fcn.1400039c0
mov qword [rbp - 0x48], r14
test bl, bl
je 0x1400bc6a1
xor ecx, ecx
mov dword [rbp - 0x50], ecx
test rdi, rdi
je 0x1400bc5fd
mov qword [rbp + 0x10], rdi
lea rcx, [rdi + 0xc]
jmp 0x1400bc603
xor ecx, ecx
mov qword [rbp + 0x10], rdi
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x70], rcx
lea r8, [rbp - 0x50]
mov qword [rbp - 0x78], r8
mov edx, 0x20001009
mov dword [rbp - 0x64], edx
mov r9d, 4
mov dword [rbp - 0x68], r9d
lea rcx, [rbp - 0xa8]
call fcn.140003b20
mov rcx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x78]
mov edx, dword [rbp - 0x64]
mov r9d, dword [rbp - 0x68]
call sub.KERNEL32.dll_GetLocaleInfoEx
lea rcx, [rbp - 0xa8]
call fcn.140003b70
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x58], rcx
mov edx, dword [rbp - 0x50]
test edx, edx
je 0x1400bc692
mov dword [rbp - 0x40], edx
mov rcx, qword [rbp - 0x48]
inc dword [rcx + 0x14]
mov rax, qword [rcx + 8]
mov r8d, dword [rcx + 0x10]
mov r9d, dword [rax + 8]
cmp r9d, r8d
jbe 0x1400bc698
lea r9d, [r8 + 1]
mov dword [rcx + 0x10], r9d
mov ecx, r8d
mov dword [rax + rcx*4 + 0x10], edx
mov rdi, qword [rbp + 0x10]
jmp 0x1400bc6a1
mov rdi, qword [rbp + 0x10]
jmp 0x1400bc6a1
call fcn.140107940
mov rdi, qword [rbp + 0x10]
lea r9, [rbp - 0x48]
test rdi, rdi
je 0x1400bc6b0
add rdi, 0xc
jmp 0x1400bc6b2
xor edi, edi
mov qword [rbp - 0x60], rdi
mov rdx, rdi
xor ecx, ecx
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x28], r9
mov r9, rcx
mov qword [rbp - 0x78], r9
mov qword [rbp - 0x70], rdx
lea rcx, [0x1400bb860]
mov qword [rbp - 0x80], rcx
mov r8d, 0xffffffff
mov dword [rbp - 0x68], r8d
lea rcx, [rbp - 0xa8]
call fcn.140003b20
mov r9, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x80]
mov r8d, dword [rbp - 0x68]
call sub.KERNEL32.dll_EnumCalendarInfoExEx
lea rcx, [rbp - 0xa8]
call fcn.140003b70
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x60], rax
mov rsi, qword [rbp + 0x20]
mov edx, dword [rsi + 8]
jmp 0x1400bc752
mov rcx, qword [rbp - 0x48]
cmp eax, r8d
jae 0x1400bc785
mov r8, qword [rcx + 8]
cmp eax, dword [r8 + 8]
jae 0x1400bc78b
mov ecx, eax
movzx ecx, word [r8 + rcx*4 + 0x10]
cmp eax, edx
jae 0x1400bc78b
mov r8d, eax
mov word [rsi + r8*2 + 0x10], cx
inc eax
mov ecx, edx
mov r8, qword [rbp - 0x48]
mov r8d, dword [r8 + 0x10]
mov r9d, r8d
cmp ecx, r9d
jle 0x1400bc766
jmp 0x1400bc769
mov r9d, ecx
cmp eax, r9d
jl 0x1400bc728
mov eax, r8d
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1400b6f80
int3
call fcn.1400f98d0
int3
Function at 0x1400c1440
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x20]
xor eax, eax
mov qword [rbp + 0x50], rax
mov rax, qword [0x140204408]
mov qword [rbp + 0x48], rax
test dword [rsp], esp
sub rsp, 0x430
lea rsi, [rsp + 0x20]
test rcx, rcx
je 0x1400c1480
add rcx, 0xc
jmp 0x1400c1482
xor ecx, ecx
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x38], rcx
mov dword [rbp + 0x44], edx
mov r8, rsi
mov qword [rbp + 0x30], r8
mov r9d, 0x212
mov dword [rbp + 0x40], r9d
lea rcx, [rbp + 8]
call fcn.140003b20
mov rcx, qword [rbp + 0x38]
mov edx, dword [rbp + 0x44]
mov r8, qword [rbp + 0x30]
mov r9d, dword [rbp + 0x40]
call sub.KERNEL32.dll_GetLocaleInfoEx
mov edi, eax
lea rcx, [rbp + 8]
call fcn.140003b70
xor ecx, ecx
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x50], rcx
test edi, edi
jle 0x1400c14de
mov rcx, rsi
call fcn.14009f1d0
jmp 0x1400c14e0
xor eax, eax
lea rcx, [0x140204408]
mov rcx, qword [rcx]
cmp qword [rbp + 0x48], rcx
je 0x1400c14f5
call fcn.140003ec0
nop
lea rsp, [rbp + 0x58]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400c1510
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x48], rax
or edx, 0x20000000
xor r8d, r8d
mov dword [rbp - 0x40], r8d
test rcx, rcx
je 0x1400c1546
add rcx, 0xc
jmp 0x1400c1548
xor ecx, ecx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x58], rcx
lea r8, [rbp - 0x40]
mov qword [rbp - 0x60], r8
mov dword [rbp - 0x4c], edx
mov r9d, 4
mov dword [rbp - 0x50], r9d
lea rcx, [rbp - 0x88]
call fcn.140003b20
mov rcx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x60]
mov edx, dword [rbp - 0x4c]
mov r9d, dword [rbp - 0x50]
call sub.KERNEL32.dll_GetLocaleInfoEx
lea rcx, [rbp - 0x88]
call fcn.140003b70
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x48], rax
mov eax, dword [rbp - 0x40]
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400c2db0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call fcn.14000128a
cmp byte [rax], 0
jne 0x1400c2de4
xor ecx, ecx
mov edx, 0x5c
call fcn.1400c1440
test rax, rax
jne 0x1400c2df8
lea rcx, [0x1401e7300]
mov edx, 0x5c
add rsp, 0x28
jmp fcn.1400c1440
call fcn.1400015bb
mov rcx, qword [rax + 0x18]
cmp dword [rcx], ecx
add rsp, 0x28
jmp fcn.1400c2530
add rsp, 0x28
ret
Function at 0x1400e48e0
Capabilities:
Print debug messages

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.1400e3cb0
test eax, eax
je 0x1400e4900
call fcn.1400e3cb0
test eax, eax
jne 0x1400e4919
add rsp, 0x20
pop rsi
ret
mov rcx, rsi
test rcx, rcx
jne 0x1400e490f
lea rcx, [0x1401e7008]
add rsp, 0x20
pop rsi
jmp fcn.1400fad00
lea rcx, [0x140180e98]
call fcn.140002eb0
mov rsi, rax
mov rcx, rsi
call fcn.1400ace10
mov rcx, rsi
call fcn.1400032b0
int3
Function at 0x1400e7220
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x20]
xorps xmm4, xmm4
movaps xmmword [rbp + 0x50], xmm4
movaps xmmword [rbp + 0x60], xmm4
movaps xmmword [rbp + 0x70], xmm4
movaps xmmword [rbp + 0x80], xmm4
movaps xmmword [rbp + 0x90], xmm4
xor eax, eax
mov qword [rbp + 0xa0], rax
mov rax, qword [0x140204408]
mov qword [rbp + 0x48], rax
test dword [rsp], esp
sub rsp, 0x210
lea rcx, [rsp + 0x20]
mov qword [rbp + 0x98], rcx
mov dword [rbp + 0xa0], 0x104
xor ecx, ecx
mov dword [rbp + 0x90], ecx
lea rcx, [rbp + 0x88]
call fcn.1400e71b0
test dword [rsp], esp
sub rsp, 0x210
lea rcx, [rsp + 0x20]
mov qword [rbp + 0x78], rcx
mov dword [rbp + 0x80], 0x104
xor ecx, ecx
mov dword [rbp + 0x70], ecx
mov rsi, qword [rbp + 0x98]
mov rdi, qword [rbp + 0x78]
mov qword [rbp + 0x60], rsi
lea rcx, [0x1401fbeb0]
add rcx, 0xc
mov qword [rbp + 0x58], rcx
mov rbx, qword [rbp + 0x58]
mov qword [rbp + 0x50], rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp + 0x3c], rcx
mov rdx, rbx
mov qword [rbp + 0x34], rdx
mov r9, rdi
mov qword [rbp + 0x2c], r9
xor r8d, r8d
mov dword [rbp + 0x44], r8d
lea rcx, [rbp]
call fcn.140003b20
mov rcx, qword [rbp + 0x3c]
mov rdx, qword [rbp + 0x34]
mov r9, qword [rbp + 0x2c]
mov r8d, dword [rbp + 0x44]
call sub.KERNEL32.dll_GetTempFileNameW
mov esi, eax
lea rcx, [rbp]
call fcn.140003b70
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], rax
call fcn.14000211a
mov dword [rax + 8], edi
xor eax, eax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x50], rax
mov rdi, qword [rbp + 0x88]
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
movups xmmword [rbp + 0x98], xmm0
test rdi, rdi
je 0x1400e738e
call fcn.140001df7
mov rcx, qword [rax + 8]
mov rdx, rdi
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x38]
test esi, esi
je 0x1400e7409
mov rcx, qword [rbp + 0x78]
mov r8d, dword [rbp + 0x80]
xor edx, edx
call fcn.140118760
mov dword [rbp + 0x70], eax
lea rcx, [rbp + 0x68]
call fcn.1400e9f00
mov rsi, rax
mov rdi, qword [rbp + 0x68]
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
movups xmmword [rbp + 0x78], xmm0
test rdi, rdi
je 0x1400e73dc
call fcn.140001df7
mov rcx, qword [rax + 8]
mov rdx, rdi
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rax, rsi
lea rcx, [0x140204408]
mov rcx, qword [rcx]
cmp qword [rbp + 0x48], rcx
je 0x1400e73f4
call fcn.140003ec0
nop
lea rsp, [rbp + 0xa8]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.14000211a
mov ecx, dword [rax + 8]
lea rdx, [0x1401e7008]
call fcn.1400ea8b0
mov rcx, rax
call fcn.1400032b0
int3
Function at 0x1400f5dc0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x40]
xorps xmm4, xmm4
movaps xmmword [rbp + 0x70], xmm4
xor eax, eax
mov qword [rbp + 0x80], rax
mov rax, qword [0x140204408]
mov qword [rbp + 0x50], rax
mov rdi, rcx
mov rsi, rdx
mov ebx, dword [rsi + 8]
shl ebx, 2
cmp ebx, 0x400
jge 0x1400f5e58
mov edx, ebx
mov r14, rdx
test r14, r14
je 0x1400f5e4e
mov rax, r14
add rax, 0xf
and rax, 0xfffffffffffffff0
add rsp, 0x40
neg rax
add rax, rsp
jb 0x1400f5e2a
xor eax, eax
test dword [rsp], esp
mov rcx, rsp
sub rcx, 0x1000
mov rsp, rcx
cmp rsp, rax
jae 0x1400f5e2a
mov rsp, rax
test dword [rsp], esp
sub rsp, 0x40
lea r14, [rsp + 0x40]
test ebx, ebx
jl 0x1400f5fd0
jmp 0x1400f5e6e
movsxd rdx, ebx
lea rcx, [0x1401a4898]
call fcn.140002fd0
lea r14, [rax + 0x10]
mov ebx, dword [rax + 8]
mov qword [rbp + 0x58], r14
mov qword [rbp + 0xd8], rsi
lea rcx, [rsi + 0xc]
mov qword [rbp + 0x80], rcx
mov r15, qword [rbp + 0x80]
xor r12d, r12d
test ebx, ebx
je 0x1400f5fcb
mov r12, r14
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x78], r12
lea rcx, [rbp]
call fcn.140003b20
call sub.KERNEL32.dll_GetConsoleOutputCP
mov esi, eax
lea rcx, [rbp]
call fcn.140003b70
mov ecx, esi
mov r8, r15
mov rsi, qword [rbp + 0xd8]
mov r9d, dword [rsi + 8]
mov r12, qword [rbp + 0x60]
mov dword [rsp + 0x28], ebx
xor edx, edx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rdx
mov dword [rbp + 0x4c], ecx
mov qword [rbp + 0x3c], r8
mov dword [rbp + 0x48], r9d
mov qword [rsp + 0x20], r12
mov dword [rbp + 0x44], edx
lea rcx, [rbp]
call fcn.140003b20
mov ecx, dword [rbp + 0x4c]
mov r8, qword [rbp + 0x3c]
mov r9d, dword [rbp + 0x48]
mov edx, dword [rbp + 0x44]
call sub.KERNEL32.dll_WideCharToMultiByte
mov esi, eax
lea rcx, [rbp]
call fcn.140003b70
xor ecx, ecx
mov qword [rbp + 0x78], rcx
mov qword [rbp + 0x80], rcx
test ebx, ebx
je 0x1400f5f30
mov r14, qword [rbp + 0x58]
mov rcx, r14
mov rbx, rcx
mov qword [rbp + 0x70], rbx
lea r14, [rbp + 0x6c]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
xor ecx, ecx
mov qword [rsp + 0x20], rcx
mov rcx, rdi
mov qword [rbp + 0x3c], rcx
mov rdx, rbx
mov qword [rbp + 0x34], rdx
mov r8d, esi
mov dword [rbp + 0x44], r8d
mov r9, r14
mov qword [rbp + 0x2c], r9
lea rcx, [rbp]
call fcn.140003b20
mov rcx, qword [rbp + 0x3c]
mov rdx, qword [rbp + 0x34]
mov r8d, dword [rbp + 0x44]
mov r9, qword [rbp + 0x2c]
call sub.KERNEL32.dll_WriteFile
lea rcx, [rbp]
call fcn.140003b70
call sub.KERNEL32.dll_GetLastError
mov esi, eax
call fcn.14000211a
mov dword [rax + 8], esi
xor eax, eax
mov qword [rbp + 0x70], rax
lea rcx, [0x140204408]
mov rcx, qword [rcx]
cmp qword [rbp + 0x50], rcx
je 0x1400f5fb6
call fcn.140003ec0
nop
lea rsp, [rbp + 0x88]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
jmp 0x1400f5e99
call fcn.1400b6eb0
int3
Function at 0x1400fa020
Capabilities:
Copy file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], rax
mov rsi, rdx
test r8b, r8b
jne 0x1400fa051
xor edi, edi
jmp 0x1400fa056
mov edi, 1
xor eax, eax
mov dword [rbp - 0x3c], eax
call fcn.1400e96d0
mov rbx, rax
mov rcx, rsi
call fcn.1400e96d0
test rbx, rbx
je 0x1400fa076
add rbx, 0xc
jmp 0x1400fa078
xor ebx, ebx
mov qword [rbp - 0x48], rbx
test rax, rax
je 0x1400fa08a
add rax, 0xc
mov rsi, rax
jmp 0x1400fa08c
xor esi, esi
mov qword [rbp - 0x50], rsi
lea r14, [rbp - 0x3c]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x28], edi
mov rcx, rbx
mov qword [rbp - 0x58], rcx
mov rdx, rsi
mov qword [rbp - 0x60], rdx
xor r8d, r8d
mov qword [rbp - 0x68], r8
xor r9d, r9d
mov qword [rbp - 0x70], r9
lea rcx, [rbp - 0x98]
call fcn.140003b20
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
call sub.KERNEL32.dll_CopyFileExW
mov esi, eax
lea rcx, [rbp - 0x98]
call fcn.140003b70
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
test esi, esi
setne sil
movzx esi, sil
call fcn.14000211a
mov dword [rax + 8], edi
xor edx, edx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x50], rdx
test esi, esi
jne 0x1400fa125
mov eax, dword [rax + 8]
jmp 0x1400fa127
xor eax, eax
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400fa2b0
Capabilities:
Delete file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x90]
xor eax, eax
mov qword [rbp - 0x40], rax
test rcx, rcx
je 0x1400fa2dc
add rcx, 0xc
mov rsi, rcx
jmp 0x1400fa2de
xor esi, esi
mov qword [rbp - 0x40], rsi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x70]
call fcn.140003b20
mov rcx, qword [rbp - 0x48]
call sub.KERNEL32.dll_DeleteFileW
mov esi, eax
lea rcx, [rbp - 0x70]
call fcn.140003b70
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
test esi, esi
setne sil
movzx esi, sil
call fcn.14000211a
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400fa900
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov esi, ecx
mov qword [rbp - 0x40], rdx
mov rdi, rdx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, esi
mov dword [rbp - 0x44], ecx
mov rdx, rdi
mov qword [rbp - 0x4c], rdx
lea rcx, [rbp - 0x78]
call fcn.140003b20
mov ecx, dword [rbp - 0x44]
mov rdx, qword [rbp - 0x4c]
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.140003b70
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.14000211a
mov dword [rax + 8], edi
mov eax, esi
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400fad70
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
mov qword [rbp + 0x10], rcx
mov rsi, rdx
mov edi, r8d
mov rbx, r9
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400f3a00
mov rcx, qword [rbp + 0x10]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x4c], rcx
mov rdx, rsi
mov qword [rbp - 0x54], rdx
mov r8d, edi
mov dword [rbp - 0x44], r8d
mov r9, rbx
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.140003b20
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_ReadFile
mov esi, eax
lea rcx, [rbp - 0x88]
call fcn.140003b70
call sub.KERNEL32.dll_GetLastError
mov edi, eax
cmp byte [rbp - 0x40], 0
je 0x1400fae20
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.1400f3a70
call fcn.14000211a
mov dword [rax + 8], edi
mov eax, esi
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret