joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140073d60
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140073da2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140073de9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140073e42
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140073e00
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140073e83
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14008575a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14008575b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140073e50
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140074d54
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140074d9e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140074d9e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140074d9e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140074d9e
cmp dword [rcx + 0x84], 0xe
jbe 0x140074d9e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140074da0
xor al, al
add rsp, 0x28
ret
Function at 0x140001540
Capabilities:
Get hostname
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
movzx esi, dl
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
xor r8d, r8d
lea rdx, [0x1402795c8]
call fcn.140004b40
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
mov dword [rsp + 0x34], reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x14000161e
lea rax, [rsp + 0x38]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400015d0
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.1400043a0
test sil, sil
je 0x14000161e
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x14000161e
lea rax, [rsp + 0x48]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140001605
mov r8, rbx
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.1400043a0
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401d75d0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400039f0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp byte [0x1402c2ea8], 0
jne 0x140003a09
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140003160
int3
Function at 0x14000f1d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x20], 0
mov rbx, rcx
jne 0x14000f2bd
mov qword [rsp + 0x88], rdi
lea rdx, [rsp + 0x20]
xor edi, edi
mov word [rsp + 0x28], 0x101
mov qword [rsp + 0x20], rdi
mov byte [rsp + 0x2a], dil
call fcn.14000f060
mov rax, qword [rsp + 0x20]
test rax, rax
js 0x14000f2b5
cmp byte [0x1402bf331], dil
mov qword [rsp + 0x30], rax
jne 0x14000f23f
call sub.api_ms_win_crt_time_l1_1_0.dll__tzset
mov byte [0x1402bf331], 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call sub.api_ms_win_crt_time_l1_1_0.dll__localtime64_s
mov eax, dword [rsp + 0x4c]
test eax, eax
jns 0x14000f261
xor ecx, ecx
call fcn.14000c230
mov eax, dword [rsp + 0x4c]
mov ecx, 0x76c
mov word [rbx + 0x1e], di
add ax, cx
mov dword [rbx + 0x24], 0xffffffff
mov word [rbx + 0x10], ax
movzx eax, word [rsp + 0x48]
inc ax
mov byte [rbx + 0x20], 1
mov word [rbx + 0x12], ax
movzx eax, word [rsp + 0x50]
mov word [rbx + 0x14], ax
movzx eax, word [rsp + 0x44]
mov word [rbx + 0x16], ax
movzx eax, word [rsp + 0x40]
mov word [rbx + 0x18], ax
movzx eax, word [rsp + 0x3c]
mov word [rbx + 0x1a], ax
movzx eax, word [rsp + 0x38]
mov word [rbx + 0x1c], ax
mov rdi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401d75d0
add rsp, 0x70
pop rbx
ret
Function at 0x1400190e0
Capabilities:
Reference http user-agent string

Disassembly:
push rbx
sub rsp, 0x320
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rbx, rcx
mov byte [rcx + 0x38c9], dl
test dl, dl
je 0x140019254
mov byte [rcx + 0x38c8], 0
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x1a0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x1a0]
call fcn.140005780
nop
lea rdx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__rv:91.0__Gecko_20100101_Firefox_91.0
lea rcx, [rsp + 0x1a0]
call fcn.14000a540
lea r8, [rsp + 0x1a0]
lea rdx, str.User_Agent
mov rcx, rbx
call fcn.1400198c0
xor edx, edx
mov r8d, 0x178
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.140053290
nop
add rbx, 0x1f10
lea r9, [rsp + 0x20]
lea r8, str.text_html_application_xhtmlxml_application_xml_q0.9_image_webp___q0.8
lea rdx, str.Accept
mov rcx, rbx
call fcn.1400c3ca0
lea r8, [rsp + 0x20]
lea rdx, str.Accept_Language
mov rcx, rbx
call fcn.1400c03a0
test al, al
jne 0x1400191d3
lea r9, [rsp + 0x20]
lea r8, str.en_US_en_q0.5
lea rdx, str.Accept_Language
mov rcx, rbx
call fcn.1400c3ca0
lea r8, [rsp + 0x20]
lea rdx, str.Connection
mov rcx, rbx
call fcn.1400c03a0
test al, al
jne 0x140019206
lea r9, [rsp + 0x20]
lea r8, str.keep_alive
lea rdx, str.Connection
mov rcx, rbx
call fcn.1400c3ca0
lea r8, [rsp + 0x20]
lea rdx, str.Upgrade_Insecure_Requests
mov rcx, rbx
call fcn.1400c03a0
test al, al
jne 0x14001923a
lea r9, [rsp + 0x20]
lea r8, [0x1401e2c84]
lea rdx, str.Upgrade_Insecure_Requests
mov rcx, rbx
call fcn.1400c3ca0
nop
lea rcx, [rsp + 0x20]
call fcn.1400532c0
nop
lea rcx, [rsp + 0x1a0]
call fcn.1400057e0
jmp 0x14001926a
add rcx, 0x1f10
mov r8b, 1
lea rdx, str.User_Agent
call fcn.1400c3bc0
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1401d75d0
add rsp, 0x320
pop rbx
ret
Function at 0x1400217b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x238
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rsp + 0x220], rax
movzx r15d, r9b
mov rdi, r8
mov rbp, rdx
mov r13, rcx
mov r14, qword [rsp + 0x2a0]
mov rbx, qword [rsp + 0x2b0]
mov r12, qword [rsp + 0x2b8]
lea rdx, [rcx + 0x3800]
mov r8d, 4
mov rcx, rbp
call fcn.14000aff0
mov rcx, r14
call fcn.14003f3c0
xor esi, esi
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x20], rsi
mov r9d, dword [r13 + 0xf2c]
mov r8d, dword [r13 + 0xf28]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.1400c5540
nop
mov rcx, r13
call fcn.140018b00
mov byte [r13 + 0x1f80], 1
call sub.KERNEL32.dll_GetTickCount
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x80], rsi
xor edx, edx
mov r8d, 0x188
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x78]
call fcn.1400c5c80
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140079c50
nop
mov dword [rsp + 0xd4], esi
lea rbx, [r13 + 0x1820]
mov rcx, rdi
call fcn.140008ee0
mov rdi, rax
mov rcx, rbp
call fcn.140008ee0
mov rdx, rax
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x90]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rbx
mov byte [rsp + 0x38], sil
mov byte [rsp + 0x30], r15b
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r13
lea r9, [r13 + 0x1d78]
lea r8, [r13 + 0x35c8]
mov rcx, r13
call fcn.140081770
movzx ebx, al
mov ecx, dword [rsp + 0xd4]
mov dword [r13 + 0xff4], ecx
movzx ecx, byte [rsp + 0xc2]
mov byte [r13 + 0x15db], cl
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [rsp + 0x70]
cmp eax, ecx
jb 0x140021949
sub eax, ecx
mov r8d, eax
lea rdx, str.totalElapsedMs
mov rcx, r12
call fcn.140051f90
mov rdx, r12
test bl, bl
je 0x140021985
lea rcx, [rsp + 0x78]
call fcn.1400c5ab0
lea rcx, [r13 + 0xbf0]
mov r8, qword [r13 + 0x1bf0]
lea rdx, str.ContentLength
call fcn.140051f20
cmp dword [r13 + 0x1be8], 0x190
jl 0x140021992
xor bl, bl
jmp 0x140021992
lea rcx, [r13 + 0x35c8]
call fcn.1400c5250
nop
lea rcx, [rsp + 0x90]
call fcn.140079cf0
nop
lea rcx, [rsp + 0x78]
call fcn.1400c5590
movzx eax, bl
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1401d75d0
add rsp, 0x238
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14002fbc0
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
mov eax, r8d
mov r9, rdx
mov r8, rcx
mov edx, eax
mov rcx, r9
jmp fcn.14004e510

Function at 0x140041310
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov esi, dword [rdx + 0x10]
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
cmp esi, dword [r8 + 0x10]
jne 0x14004136e
test esi, esi
jne 0x140041361
xor r9d, r9d
mov dword [rcx + 0x10], r9d
cmp byte [rcx + 0x19], r9b
je 0x140041435
mov qword [rcx + 0x20], r9
mov al, 1
mov dword [rcx + 0x14], r9d
mov byte [rcx + 0x19], r9b
jmp 0x140041370
cmp byte [rcx + 0x18], 0xdb
je 0x14004138b
xor ecx, ecx
call fcn.14000c230
xor al, al
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
cmp dword [rcx + 0x14], esi
jae 0x1400413e7
mov ecx, esi
call fcn.140010d80
mov r14, rax
test rax, rax
je 0x14004136e
mov eax, dword [rbx + 0x10]
test eax, eax
je 0x1400413c8
cmp qword [rbx + 0x20], 0
je 0x1400413c8
cmp eax, esi
jbe 0x1400413b8
xor ecx, ecx
call fcn.14000c230
mov r8d, dword [rbx + 0x10]
mov rcx, r14
mov rdx, qword [rbx + 0x20]
call sub.VCRUNTIME140.dll_memcpy
cmp byte [rbx + 0x19], 0
jne 0x1400413dc
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400413dc
call fcn.1401d7b18
mov qword [rbx + 0x20], r14
mov dword [rbx + 0x14], esi
mov byte [rbx + 0x19], 0
mov edx, dword [rdi + 0x10]
mov eax, edx
cmp edx, dword [rbx + 0x14]
cmova eax, dword [rbx + 0x14]
cmp qword [rbx + 0x20], 0
mov dword [rbx + 0x10], eax
je 0x14004136e
xor r9d, r9d
cmp dword [rdi + 0x10], r9d
jbe 0x140041435
nop word [rax + rax]
mov rax, qword [rdi + 0x20]
mov rcx, qword [rbp + 0x20]
mov r8d, r9d
inc r9d
movzx edx, byte [r8 + rcx]
xor dl, byte [rax + r8]
mov rax, qword [rbx + 0x20]
mov byte [r8 + rax], dl
cmp r9d, dword [rdi + 0x10]
jb 0x140041410
mov al, 1
jmp 0x140041370
Function at 0x140044780
Capabilities:
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x318
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rbx, r9
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
mov dword [r8], 0
mov dword [rdx], 0xffffffff
call fcn.140009540
test al, al
je 0x1400447dc
test rbx, rbx
je 0x1400447d5
mov rax, qword [rbx]
lea rdx, str.GetAttributes:_filename_is_empty
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x1400448b7
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.140005780
nop
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.140006490
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x20]
call fcn.140009ca0
lea rcx, [rsp + 0x20]
call fcn.140008600
test eax, eax
jle 0x140044882
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x190]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x190]
call fcn.140005780
nop
mov r8, rbx
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x20]
call fcn.140044c80
lea rcx, [rsp + 0x190]
call fcn.1400092f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rdi], eax
lea rcx, [rsp + 0x190]
call fcn.1400057e0
jmp 0x140044897
lea rcx, [rsp + 0x20]
call fcn.1400092f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rdi], eax
cmp dword [rdi], 0xffffffff
jne 0x1400448a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
cmp dword [rdi], 0xffffffff
setne bl
lea rcx, [rsp + 0x20]
call fcn.1400057e0
movzx eax, bl
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1401d75d0
add rsp, 0x318
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140045810
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x310
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.140005780
nop
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140006490
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x20]
call fcn.140009ca0
lea rcx, [rsp + 0x20]
call fcn.140008600
test eax, eax
jle 0x1400458dd
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x190]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x190]
call fcn.140005780
nop
xor r8d, r8d
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x20]
call fcn.140044c80
lea rcx, [rsp + 0x190]
call fcn.1400092f0
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
lea rcx, [rsp + 0x190]
call fcn.1400057e0
jmp 0x1400458f4
lea rcx, [rsp + 0x20]
call fcn.1400092f0
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
test ebx, ebx
jne 0x140045934
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140045909
mov bl, 1
jmp 0x140045937
test rdi, rdi
je 0x140045932
mov rax, qword [rdi]
mov r8b, 1
lea rdx, str.createDirWin32
mov rcx, rdi
call qword [rax + 0x48]
mov rcx, rdi
call fcn.140052920
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x50]
test ebx, ebx
setne bl
lea rcx, [rsp + 0x20]
call fcn.1400057e0
movzx eax, bl
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1401d75d0
mov rbx, qword [rsp + 0x330]
add rsp, 0x310
pop rdi
ret
Function at 0x140045a60
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x13a0]
mov eax, 0x14a0
call fcn.1401d7ed0
sub rsp, rax
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rbp + 0x1390], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x30]
call fcn.140005780
nop
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140006490
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x30]
call fcn.140009ca0
lea rcx, [rsp + 0x30]
call fcn.140008600
cmp eax, 0x104
jle 0x140045bf9
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0xa0]
call fcn.140005780
nop
lea rcx, [rbp + 0xa0]
call fcn.14000b060
lea rcx, [rsp + 0x30]
call fcn.1400092f0
mov rcx, rax
lea r9, [rsp + 0x20]
lea r8, [rbp + 0x380]
mov edx, 0x800
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rcx, [rbp + 0xa0]
test eax, eax
je 0x140045b4e
lea rdx, [rbp + 0x380]
call fcn.14000a760
mov bl, 1
jmp 0x140045b5a
lea rdx, [rsp + 0x30]
call fcn.140006e90
xor bl, bl
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x210]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x210]
call fcn.140005780
nop
test bl, bl
je 0x140045b92
lea rdx, [0x1401e5d40]
lea rcx, [rbp + 0x210]
call fcn.140006320
lea rcx, [rbp + 0xa0]
call fcn.140008ee0
mov rdx, rax
lea rcx, [rbp + 0x210]
call fcn.140006320
lea rcx, [rbp + 0x210]
call fcn.1400092f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test eax, eax
jne 0x140045bd9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 1
cmp eax, 2
cmove ebx, ecx
test ebx, ebx
setne bl
lea rcx, [rbp + 0x210]
call fcn.1400057e0
nop
lea rcx, [rbp + 0xa0]
call fcn.1400057e0
jmp 0x140045c4d
lea rcx, [rsp + 0x30]
call fcn.1400092f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test eax, eax
jne 0x140045c48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test rdi, rdi
je 0x140045c3d
mov edx, eax
mov rcx, rdi
call fcn.140052c50
lea r8, [rsp + 0x30]
lea rdx, str.failedToDeleteFilepath
mov rcx, rdi
call fcn.140052580
mov ecx, 1
cmp esi, 2
cmove ebx, ecx
test ebx, ebx
setne bl
lea rcx, [rsp + 0x30]
call fcn.1400057e0
movzx eax, bl
mov rcx, qword [rbp + 0x1390]
xor rcx, rsp
call fcn.1401d75d0
mov rbx, qword [rsp + 0x14d0]
add rsp, 0x14a0
pop rdi
pop rsi
pop rbp
ret

Function at 0x140046180
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1850
call fcn.1401d7ed0
sub rsp, rax
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rsp + 0x1840], rax
mov rbx, rcx
lea rdx, [rsp + 0x830]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1400461da
lea rdx, [rsp + 0x20]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000a0f0
jmp 0x1400461ea
lea rdx, [rsp + 0x830]
mov rcx, rbx
call fcn.14000a760
mov rcx, qword [rsp + 0x1840]
xor rcx, rsp
call fcn.1401d75d0
add rsp, 0x1850
pop rbx
ret
Function at 0x140046220
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x90]
call fcn.140005780
nop
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.140005780
nop
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.140006490
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140006490
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rbp + 0x90]
call fcn.140009ca0
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x20]
call fcn.140009ca0
lea rcx, [rbp + 0x90]
call fcn.140009540
test al, al
je 0x140046318
lea rcx, [rsp + 0x20]
call fcn.140009540
test al, al
je 0x140046318
lea rcx, [rsp + 0x20]
call fcn.1400092f0
mov rbx, rax
lea rcx, [rbp + 0x90]
call fcn.1400092f0
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
jmp 0x1400463c9
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x370]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x370]
call fcn.140005780
nop
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x200]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x200]
call fcn.140005780
nop
xor r8d, r8d
lea rdx, [rbp + 0x370]
lea rcx, [rbp + 0x90]
call fcn.140044c80
xor r8d, r8d
lea rdx, [rbp + 0x200]
lea rcx, [rsp + 0x20]
call fcn.140044c80
lea rcx, [rbp + 0x200]
call fcn.1400092f0
mov rbx, rax
lea rcx, [rbp + 0x370]
call fcn.1400092f0
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
lea rcx, [rbp + 0x200]
call fcn.1400057e0
nop
lea rcx, [rbp + 0x370]
call fcn.1400057e0
test bl, bl
jne 0x1400463db
test rsi, rsi
je 0x1400463db
mov rcx, rsi
call fcn.140052920
nop
lea rcx, [rsp + 0x20]
call fcn.1400057e0
nop
lea rcx, [rbp + 0x90]
call fcn.1400057e0
movzx eax, bl
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.1401d75d0
mov rbx, qword [rsp + 0x628]
add rsp, 0x5f0
pop rdi
pop rsi
pop rbp
ret
jmp 0x140046220
Function at 0x140046420
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x90]
call fcn.140005780
nop
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.140005780
nop
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.140006490
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140006490
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rbp + 0x90]
call fcn.140009ca0
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x20]
call fcn.140009ca0
lea rcx, [rbp + 0x90]
call fcn.140009540
test al, al
je 0x140046318
lea rcx, [rsp + 0x20]
call fcn.140009540
test al, al
je 0x140046318
lea rcx, [rsp + 0x20]
call fcn.1400092f0
mov rbx, rax
lea rcx, [rbp + 0x90]
call fcn.1400092f0
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
jmp 0x1400463c9
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x370]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x370]
call fcn.140005780
nop
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x200]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x200]
call fcn.140005780
nop
xor r8d, r8d
lea rdx, [rbp + 0x370]
lea rcx, [rbp + 0x90]
call fcn.140044c80
xor r8d, r8d
lea rdx, [rbp + 0x200]
lea rcx, [rsp + 0x20]
call fcn.140044c80
lea rcx, [rbp + 0x200]
call fcn.1400092f0
mov rbx, rax
lea rcx, [rbp + 0x370]
call fcn.1400092f0
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
lea rcx, [rbp + 0x200]
call fcn.1400057e0
nop
lea rcx, [rbp + 0x370]
call fcn.1400057e0
test bl, bl
jne 0x1400463db
test rsi, rsi
je 0x1400463db
mov rcx, rsi
call fcn.140052920
nop
lea rcx, [rsp + 0x20]
call fcn.1400057e0
nop
lea rcx, [rbp + 0x90]
call fcn.1400057e0
movzx eax, bl
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.1401d75d0
mov rbx, qword [rsp + 0x628]
add rsp, 0x5f0
pop rdi
pop rsi
pop rbp
ret
jmp 0x140046220
Function at 0x140046a00
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x1a0
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.140005780
nop
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14000a540
lea rcx, [rsp + 0x20]
call fcn.1400092f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea rcx, [rsp + 0x20]
call fcn.1400057e0
mov eax, ebx
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401d75d0
add rsp, 0x1a0
pop rbx
ret

Function at 0x140046a90
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov edi, edx
mov rbx, rcx
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.140005780
nop
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14000a540
lea rcx, [rsp + 0x20]
call fcn.1400092f0
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
lea rcx, [rsp + 0x20]
call fcn.1400057e0
movzx eax, bl
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401d75d0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret