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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
sub rsp, 0xa0
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x58], rbx
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x38], r13
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x28], r15
mov rax, qword [0x0046d048]
mov qword [rbp + 0x18], rax
mov esi, r9d
mov r15, r8
mov r13d, edx
mov r14d, ecx
mov r10d, dword [0x00470164]
test r10d, r10d
jne 0x43d3e3
xor r9d, r9d
xor r8d, r8d
lea edx, [r10 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43d3c3
mov r10d, 1
mov dword [0x00470164], r10d
jmp 0x43d3e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r10d, dword [0x00470164]
mov ecx, 2
cmp eax, 0x78
cmove r10d, ecx
mov dword [0x00470164], r10d
cmp r10d, 2
je 0x43d53d
test r10d, r10d
je 0x43d53d
cmp r10d, 1
jne 0x43d539
xor edi, edi
mov r12d, edi
mov eax, edi
mov dword [rbp], edi
mov eax, dword [rbp + 0x90]
test eax, eax
cmove eax, dword [0x0046fbe8]
mov dword [rbp + 0x90], eax
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movsxd rcx, eax
mov dword [rbp + 4], ecx
test eax, eax
je 0x43d54f
mov rax, rcx
add rax, rax
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.00454200
sub rsp, rax
lea rbx, [rsp + 0x40]
mov qword [rbp + 0x10], rbx
jmp 0x43d48e
test rbx, rbx
jne 0x43d4b1
movsxd rcx, ecx
add rcx, rcx
call fcn.00433d20
mov rbx, rax
test rax, rax
je 0x43d54f
mov dword [rbp], 1
mov r9d, dword [rbp + 4]
mov r8, rbx
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43d526
test esi, esi
jne 0x43d4f9
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
lea r9d, [rsi - 1]
mov r8, rbx
xor edx, edx
mov ecx, dword [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r12d, eax
jmp 0x43d526
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
mov r9d, 0xffffffff
mov r8, rbx
xor edx, edx
mov ecx, dword [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r12d, eax
cmp dword [rbp], 0
je 0x43d534
mov rcx, rbx
call fcn.00429ab0
mov eax, r12d
jmp 0x43d54f
xor eax, eax
jmp 0x43d54f
mov r9d, esi
mov r8, r15
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov rcx, qword [rbp + 0x18]
call fcn.004541d0
mov rbx, qword [rbp + 0x58]
mov rsi, qword [rbp + 0x50]
mov rdi, qword [rbp + 0x48]
mov r12, qword [rbp + 0x40]
mov r13, qword [rbp + 0x38]
mov r14, qword [rbp + 0x30]
mov r15, qword [rbp + 0x28]
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x43f2c0
Capabilities:
Hash data with md5

Disassembly:
lea rax, [0x00456f50]
mov qword [rcx], rax
xor eax, eax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov dword [rcx + 0x4c], eax
mov dword [rcx + 0x48], eax
mov dword [rcx + 0x50], 0x67452301
mov dword [rcx + 0x54], 0xefcdab89
mov rax, rcx
mov dword [rcx + 0x58], 0x98badcfe
mov dword [rcx + 0x5c], 0x10325476
ret

Function at 0x43ff90
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rax, qword [rcx + 0x1c8]
mov qword [r11 - 8], r12
mov r12, rcx
test byte [rax + 0x10], 1
je 0x4400bd
mov qword [r11 - 0x10], r13
xor r13d, r13d
cmp dword [rcx + 0xa4], r13d
jbe 0x4400b8
mov qword [r11 - 0x18], r14
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
nop
nop
nop
mov rax, qword [r12 + 0xb0]
mov edx, dword [r12 + 0xc0]
lea rcx, [r12 + 0xb0]
call qword [rax + 8]
mov esi, dword [r12 + 0x2f8]
mov edi, dword [r12 + 0x2f0]
mov ebp, r13d
and esi, 0xfffd
add rbp, qword [r12 + 0xb8]
or esi, 2
movzx ebx, byte [rbp]
call fcn.00444af0
xor bl, dil
shr edi, 8
movzx ecx, bl
mov ebx, dword [r12 + 0x2f8]
mov eax, dword [rax + rcx*4]
xor eax, edi
movzx edi, al
mov dword [r12 + 0x2f0], eax
add edi, dword [r12 + 0x2f4]
imul edi, edi, 0x8088405
inc edi
mov dword [r12 + 0x2f4], edi
shr edi, 0x18
call fcn.00444af0
xor dil, bl
shr ebx, 8
inc r13d
movzx ecx, dil
mov eax, dword [rax + rcx*4]
xor eax, ebx
mov dword [r12 + 0x2f8], eax
mov eax, esi
xor eax, 1
imul eax, esi
sar eax, 8
xor byte [rbp], al
cmp r13d, dword [r12 + 0xa4]
jb 0x43ffe0
mov r14, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
add rsp, 0x38
ret
Function at 0x440140
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx + 0x1c8]
mov qword [rsp + 0x50], rsi
mov rsi, rcx
test byte [rax + 0x10], 1
je 0x440242
test edx, edx
je 0x440242
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x40], rbx
xor ebp, ebp
mov r13d, edx
mov qword [rsp + 0x58], rdi
mov rax, qword [rsi + 0xb0]
mov edx, dword [rsi + 0xc0]
lea rcx, [rsi + 0xb0]
call qword [rax + 8]
mov ecx, dword [rsi + 0x2f8]
mov r11, qword [rsi + 0xb8]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
sar eax, 8
xor byte [r11 + rbp], al
movzx ebx, byte [r11 + rbp]
mov edi, dword [rsi + 0x2f0]
call fcn.00444af0
xor bl, dil
shr edi, 8
movzx ecx, bl
mov ebx, dword [rsi + 0x2f8]
mov eax, dword [rax + rcx*4]
xor eax, edi
movzx edi, al
mov dword [rsi + 0x2f0], eax
add edi, dword [rsi + 0x2f4]
imul edi, edi, 0x8088405
inc edi
mov dword [rsi + 0x2f4], edi
shr edi, 0x18
call fcn.00444af0
xor dil, bl
shr ebx, 8
inc rbp
movzx ecx, dil
mov eax, dword [rax + rcx*4]
xor eax, ebx
dec r13
mov dword [rsi + 0x2f8], eax
jne 0x440183
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x38
ret

Function at 0x440400
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x38], rbp
xor ebp, ebp
mov qword [rsp + 0x40], rsi
cmp dword [rcx + 0x2e0], ebp
mov rsi, rcx
mov dword [rcx + 0x2f0], 0x12345678
mov dword [rcx + 0x2f4], 0x23456789
mov dword [rcx + 0x2f8], 0x34567890
jbe 0x4404e9
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x48], rdi
nop
mov rax, qword [rsi + 0x2d0]
mov edx, dword [rsi + 0x2e0]
lea rcx, [rsi + 0x2d0]
call qword [rax + 8]
mov rax, qword [rsi + 0x2d8]
mov edi, dword [rsi + 0x2f0]
movzx ebx, byte [rbp + rax]
call fcn.00444af0
xor bl, dil
shr edi, 8
movzx ecx, bl
mov ebx, dword [rsi + 0x2f8]
mov eax, dword [rax + rcx*4]
xor eax, edi
movzx edi, al
mov dword [rsi + 0x2f0], eax
add edi, dword [rsi + 0x2f4]
imul edi, edi, 0x8088405
inc edi
mov dword [rsi + 0x2f4], edi
shr edi, 0x18
call fcn.00444af0
xor dil, bl
shr ebx, 8
inc ebp
movzx ecx, dil
mov eax, dword [rax + rcx*4]
xor eax, ebx
mov dword [rsi + 0x2f8], eax
cmp ebp, dword [rsi + 0x2e0]
jb 0x440450
mov r12, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x28
ret
Function at 0x440500
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x50], r12
mov rbp, rcx
xor r8d, r8d
lea edx, [r8 + 0xc]
lea rcx, [rsp + 0x28]
call fcn.00444340
nop
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0x28]
mov rax, qword [rsp + 0x28]
call qword [rax + 8]
lea rcx, [rbp + 0xd0]
xor r9d, r9d
lea r8d, [r9 + 0xc]
mov rdx, qword [rsp + 0x30]
call fcn.00447b90
xor r12d, r12d
nop
nop
nop
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0x28]
mov rax, qword [rsp + 0x28]
call qword [rax + 8]
mov r11d, dword [rbp + 0x2f8]
and r11d, 0xfffd
or r11d, 2
mov esi, r11d
xor esi, 1
imul esi, r11d
sar esi, 8
mov rax, qword [rsp + 0x30]
xor sil, byte [r12 + rax]
mov ebx, dword [rbp + 0x2f0]
call fcn.00444af0
movzx edx, sil
xor dl, bl
movzx ecx, dl
shr ebx, 8
mov eax, dword [rax + rcx*4]
xor eax, ebx
mov dword [rbp + 0x2f0], eax
movzx edi, al
add edi, dword [rbp + 0x2f4]
imul edi, edi, 0x8088405
inc edi
mov dword [rbp + 0x2f4], edi
shr edi, 0x18
mov ebx, dword [rbp + 0x2f8]
call fcn.00444af0
xor dil, bl
movzx ecx, dil
shr ebx, 8
mov eax, dword [rax + rcx*4]
xor eax, ebx
mov dword [rbp + 0x2f8], eax
inc r12
cmp r12, 0xc
jl 0x440570
mov rcx, qword [rbp + 0x1c8]
movzx eax, byte [rcx + 0x10]
shr al, 3
test al, 1
je 0x44062d
cmp byte [rcx + 0x15], sil
sete bl
jmp 0x440634
cmp byte [rcx + 0x1b], sil
sete bl
lea rcx, [rsp + 0x28]
call fcn.004441d0
mov al, bl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov r12, qword [rsp + 0x50]
add rsp, 0x58
ret
Function at 0x449770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
sub rsp, 0x108
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov qword [rax - 8], rsi
mov qword [rax - 0x10], rdi
mov qword [rax - 0x18], r12
mov qword [rax - 0x20], r13
mov rax, qword [0x0046d048]
mov qword [rsp + 0xd0], rax
movzx ebx, dl
mov rsi, rcx
add rcx, 0x90
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 8]
mov byte [rsi + 0xc0], bl
mov dl, 1
movzx ecx, bl
call fcn.00444ad0
mov qword [rsi + 0xb8], rax
mov ebp, dword [rsi + 0x78]
cmp byte [rsi + 0x88], 0
jne 0x44990d
xor edi, edi
test ebp, ebp
jle 0x44993e
mov r12, rdi
lea r13, [0x00459df0]
nop
nop
mov rax, qword [rsi + 0x70]
mov rbx, qword [r12 + rax]
mov qword [rsp + 0x30], r13
mov eax, dword [rbx + 8]
mov dword [rsp + 0x38], eax
movzx eax, word [rbx + 0xc]
mov word [rsp + 0x3c], ax
movzx eax, word [rbx + 0xe]
mov word [rsp + 0x3e], ax
movzx eax, word [rbx + 0x10]
mov word [rsp + 0x40], ax
movzx eax, word [rbx + 0x12]
mov word [rsp + 0x42], ax
movzx eax, word [rbx + 0x14]
mov word [rsp + 0x44], ax
movzx eax, word [rbx + 0x16]
mov word [rsp + 0x46], ax
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x48], eax
mov eax, dword [rbx + 0x1c]
mov dword [rsp + 0x4c], eax
mov eax, dword [rbx + 0x20]
mov dword [rsp + 0x50], eax
movzx eax, word [rbx + 0x24]
mov word [rsp + 0x54], ax
movzx eax, word [rbx + 0x26]
mov word [rsp + 0x56], ax
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x58], eax
movzx eax, word [rbx + 0x2c]
mov word [rsp + 0x5c], ax
movzx eax, word [rbx + 0x2e]
mov word [rsp + 0x5e], ax
mov eax, dword [rbx + 0x30]
mov dword [rsp + 0x60], eax
lea rdx, [rbx + 0x38]
lea rcx, [rsp + 0x68]
call fcn.00444450
nop
lea rdx, [rbx + 0x58]
lea rcx, [rsp + 0x88]
call fcn.00444450
nop
lea rdx, [rbx + 0x78]
lea rcx, [rsp + 0xa8]
call fcn.00444450
nop
cmp byte [rsi + 0x88], 0
jne 0x4498e1
movzx r8d, byte [rsi + 0x89]
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.00444950
movzx r8d, di
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.00448c20
nop
lea rcx, [rsp + 0x30]
call fcn.00442c40
inc edi
add r12, 8
cmp edi, ebp
jl 0x449800
jmp 0x44993e
xor edi, edi
test ebp, ebp
jle 0x44993e
mov rbx, rdi
nop
nop
nop
mov rdx, qword [rsi + 0x70]
movzx r8d, di
mov rdx, qword [rbx + rdx]
mov rcx, rsi
call fcn.00448c20
inc edi
add rbx, 8
cmp edi, ebp
jl 0x449920
mov rcx, qword [rsp + 0xd0]
call fcn.004541d0
mov rbx, qword [rsp + 0x120]
mov rbp, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x100]
mov rdi, qword [rsp + 0xf8]
mov r12, qword [rsp + 0xf0]
mov r13, qword [rsp + 0xe8]
add rsp, 0x108
ret

Function at 0x44a5c0
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x44a7f0
Capabilities:
Get disk size

Disassembly:
push rbx
sub rsp, 0x110
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.00440ab0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.0044a6e0
nop
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 8]
lea r11, [rsp + 0x50]
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x138]
lea r8, [rsp + 0x130]
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x44a96f
mov edx, dword [rsp + 0x40]
test edx, edx
jle 0x44a8a0
mov r9, qword [rsp + 0x38]
movsxd rax, edx
movzx r8d, byte [rax + r9 - 1]
mov al, 0x5c
lea rcx, [0x00456d80]
cmp al, r8b
je 0x44a896
inc rcx
movzx eax, byte [rcx]
test al, al
je 0x44a8a0
jmp 0x44a885
dec edx
mov dword [rsp + 0x40], edx
test edx, edx
jg 0x44a873
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 8]
movsxd rbx, dword [rsp + 0x40]
lea edx, [rbx + 1]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 8]
cmp ebx, ebx
jge 0x44a8de
mov rdx, qword [rsp + 0x38]
add rdx, rbx
lea rcx, [rdx + 1]
mov eax, ebx
sub eax, ebx
movsxd r8, eax
call fcn.00429770
mov rax, rbx
add rax, qword [rsp + 0x38]
mov byte [rax], 0x5c
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 8]
lea r11, [rsp + 0x50]
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x138]
lea r8, [rsp + 0x130]
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x44a96f
lea rax, [0x004555a0]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x38]
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x48], eax
test rcx, rcx
je 0x44a955
call fcn.00429ab0
lea rax, [0x00455570]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x60]
call fcn.0044add0
xor eax, eax
jmp 0x44a9c8
mov ebx, dword [rsp + 0x128]
imul ebx, dword [rsp + 0x130]
imul ebx, dword [rsp + 0x138]
lea rax, [0x004555a0]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x38]
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x48], eax
test rcx, rcx
je 0x44a9b0
call fcn.00429ab0
lea rax, [0x00455570]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x60]
call fcn.0044add0
mov eax, ebx
add rsp, 0x110
pop rbx
ret

Function at 0x44aa20
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x38], rbp
mov rbp, rcx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x40], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
mov esi, eax
jne 0x44aa50
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x28
ret
mov rcx, rsi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x48], rdi
call fcn.0042aea0
mov ecx, esi
mov bl, 1
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x44aa7a
xor bl, bl
jmp 0x44aa85
mov rdx, rdi
mov rcx, rbp
call fcn.0040bd10
mov rcx, rdi
call fcn.004296a0
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x44aab0
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x100
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.00440ab0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.0044a6e0
mov rbx, rax
mov r8, qword [rax]
mov edx, dword [rax + 0x10]
mov rcx, rax
call qword [r8 + 8]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
sete bl
lea rax, [0x004555a0]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x28]
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x38], eax
test rcx, rcx
je 0x44ab29
call fcn.00429ab0
lea rax, [0x00455570]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
call fcn.0044add0
mov al, bl
add rsp, 0x100
pop rbx
ret

Function at 0x44ad20
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov rdi, rcx
movzx ebx, dl
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x44ad5f
test bl, bl
je 0x44ad4e
lea ecx, [rax + 0x71]
mov rdx, rdi
call fcn.0043f870
int3
xor al, al
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
ret
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x28
ret

Function at 0x44ad70
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov rdi, rcx
movzx ebx, r8b
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x44adb0
test bl, bl
je 0x44ad9f
lea ecx, [rax + 0x72]
mov rdx, rdi
call fcn.0043f870
int3
xor al, al
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
ret
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x28
ret
Function at 0x44e1b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x58], rdi
mov edi, dword [rcx + 0x44]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov rbp, rcx
nop
nop
mov edx, dword [rbp + 0x94]
mov ebx, dword [rbp + 0x58]
mov eax, dword [rbp + 0x44]
sub ebx, dword [rbp + 0x9c]
lea ecx, [rdi + rax - 0x106]
sub ebx, edx
cmp edx, ecx
jb 0x44e27c
mov rcx, qword [rbp + 0x50]
mov r8, rdi
lea rdx, [rcx + rdi]
call fcn.00429770
mov r8d, dword [rbp + 0x74]
mov rax, qword [rbp + 0x68]
sub dword [rbp + 0x98], edi
sub dword [rbp + 0x94], edi
sub dword [rbp + 0x84], edi
lea rdx, [rax + r8*2]
nop
movzx eax, word [rdx - 2]
sub rdx, 2
cmp eax, edi
jb 0x44e240
sub eax, edi
jmp 0x44e242
xor eax, eax
add r8d, 0xffffffff
mov word [rdx], ax
jne 0x44e230
mov rax, qword [rbp + 0x60]
mov edx, edi
lea rcx, [rax + rdi*2]
nop
nop
nop
movzx eax, word [rcx - 2]
sub rcx, 2
cmp eax, edi
jb 0x44e270
sub eax, edi
jmp 0x44e272
xor eax, eax
add edx, 0xffffffff
mov word [rcx], ax
jne 0x44e260
add ebx, edi
mov rsi, qword [rbp]
cmp dword [rsi + 8], 0
je 0x44e35a
mov eax, dword [rbp + 0x94]
mov r13d, dword [rbp + 0x9c]
add r13, rax
mov eax, dword [rsi + 8]
add r13, qword [rbp + 0x50]
cmp eax, ebx
mov r12d, eax
cmova r12d, ebx
test r12d, r12d
je 0x44e302
sub eax, r12d
mov dword [rsi + 8], eax
mov rax, qword [rsi + 0x28]
mov ecx, dword [rax + 0x2c]
cmp ecx, 1
jne 0x44e2d4
mov rdx, qword [rsi]
mov ecx, dword [rsi + 0x4c]
mov r8d, r12d
call fcn.0044fe00
mov dword [rsi + 0x4c], eax
jmp 0x44e2ea
cmp ecx, 2
jne 0x44e2ea
mov rdx, qword [rsi]
mov ecx, dword [rsi + 0x4c]
mov r8d, r12d
call fcn.00444e20
mov dword [rsi + 0x4c], eax
mov rdx, qword [rsi]
mov r8d, r12d
mov rcx, r13
mov ebx, r12d
call fcn.00429770
add qword [rsi], rbx
add dword [rsi + 0xc], r12d
add dword [rbp + 0x9c], r12d
mov r9d, dword [rbp + 0x9c]
cmp r9d, 3
jb 0x44e343
mov eax, dword [rbp + 0x94]
mov rdx, qword [rbp + 0x50]
mov ecx, dword [rbp + 0x80]
movzx r8d, byte [rax + rdx]
mov dword [rbp + 0x70], r8d
shl r8d, cl
inc eax
movzx eax, byte [rax + rdx]
xor r8d, eax
and r8d, dword [rbp + 0x7c]
mov dword [rbp + 0x70], r8d
cmp r9d, 0x106
jae 0x44e35a
mov rax, qword [rbp]
cmp dword [rax + 8], 0
jne 0x44e1e0
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x38
ret
Function at 0x452080
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4520ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00432b10
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
test al, 1
je 0x4520d5
test bl, 2
je 0x4520d5
call fcn.00432ab0
mov dword [rax], 0xd
call fcn.00432ae0
mov dword [rax], 5
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x452650
Capabilities:
Timestomp file

Disassembly:
sub rsp, 0x58
test rdx, rdx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
mov edi, ecx
mov rbx, rdx
jne 0x452681
lea rcx, [rsp + 0x48]
call fcn.0042b780
mov r11, qword [rsp + 0x48]
lea rbx, [rsp + 0x40]
mov qword [rsp + 0x40], r11
lea rcx, [rbx + 8]
call fcn.00452380
test rax, rax
mov r11, rax
je 0x4527c3
movzx eax, word [rax + 0x14]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
add ax, 0x76c
mov word [rsp + 0x30], ax
movzx eax, word [r11 + 0x10]
inc ax
mov word [rsp + 0x32], ax
movzx eax, word [r11 + 0xc]
mov word [rsp + 0x36], ax
movzx eax, word [r11 + 8]
mov word [rsp + 0x38], ax
movzx eax, word [r11 + 4]
mov word [rsp + 0x3a], ax
movzx eax, word [r11]
mov word [rsp + 0x3e], 0
mov word [rsp + 0x3c], ax
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x4527c3
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x4527c3
mov rcx, rbx
call fcn.00452380
test rax, rax
mov r11, rax
je 0x4527c3
movzx eax, word [rax + 0x14]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
add ax, 0x76c
mov word [rsp + 0x30], ax
movzx eax, word [r11 + 0x10]
inc ax
mov word [rsp + 0x32], ax
movzx eax, word [r11 + 0xc]
mov word [rsp + 0x36], ax
movzx eax, word [r11 + 8]
mov word [rsp + 0x38], ax
movzx eax, word [r11 + 4]
mov word [rsp + 0x3a], ax
movzx eax, word [r11]
mov word [rsp + 0x3e], 0
mov word [rsp + 0x3c], ax
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x4527c3
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x4527c3
mov ecx, edi
call fcn.0042eaf0
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x4527c3
xor eax, eax
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x58
ret
call fcn.00432ab0
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov dword [rax], 0x16
mov eax, 0xffffffff
add rsp, 0x58
ret
Function at 0x452850
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
push rbp
sub rsp, 0x170
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x168], rbx
mov qword [rbp + 0x170], rsi
mov qword [rbp + 0x178], rdi
mov qword [rbp + 0x148], r12
mov qword [rbp + 0x140], r13
mov rax, qword [0x0046d048]
mov qword [rbp + 0x130], rax
lea rdi, [rbp + 0x20]
xor r12d, r12d
mov esi, r12d
mov r13d, 0xffffffff
mov dword [rbp + 8], r13d
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x452976
lea rdx, [rbp + 0x20]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ebx, eax
mov dword [rbp + 0xc], eax
cmp eax, 0x104
jle 0x452933
inc eax
cdqe
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.00454200
sub rsp, rax
lea rdi, [rsp + 0x20]
mov qword [rbp + 0x10], rdi
jmp 0x452921
test ebx, ebx
je 0x452933
lea ecx, [rbx + 1]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ebx, eax
test ebx, ebx
je 0x452976
movzx eax, byte [rdi]
cmp al, 0x5c
je 0x452942
cmp al, 0x2f
jne 0x45294c
cmp al, byte [rdi + 1]
jne 0x45294c
mov r13d, r12d
jmp 0x452976
mov byte [rbp], 0x3d
movzx ecx, byte [rdi]
call fcn.00453760
mov byte [rbp + 1], al
mov byte [rbp + 2], 0x3a
mov byte [rbp + 3], 0
mov rdx, rdi
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
cmovne r13d, r12d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00432b10
test esi, esi
je 0x45298f
mov rcx, rdi
call fcn.00429ab0
mov eax, r13d
mov rcx, qword [rbp + 0x130]
call fcn.004541d0
mov rbx, qword [rbp + 0x168]
mov rsi, qword [rbp + 0x170]
mov rdi, qword [rbp + 0x178]
mov r12, qword [rbp + 0x148]
mov r13, qword [rbp + 0x140]
lea rsp, [rbp + 0x150]
pop rbp
ret