joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401370
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
sub rsp, 0x28
xor rcx, rcx
call sub.KERNEL32_GetModuleHandleA
mov qword [0x004580a0], rax
call fcn.0043af60
call fcn.00436b20
call fcn.0043af70
lea rax, [section..data]
lea rcx, [0x00402200]
mov qword [rax + 0x30], rcx
lea rcx, section..text
mov qword [rax], rcx
lea rcx, [0x0040130c]
mov qword [rax + 8], rcx
lea rcx, [0x0040130c]
mov qword [rax + 0x10], rcx
lea rcx, [0x0040136c]
mov qword [rax + 0x18], rcx
lea rcx, [0x0044c450]
mov qword [rax + 0x68], rcx
lea rcx, [0x0044c850]
mov qword [rax + 0x70], rcx
lea rcx, [0x0044c880]
mov qword [rax + 0x78], rcx
lea rcx, [0x0044ce30]
mov qword [rax + 0x80], rcx
lea rcx, [0x004659c0]
mov qword [rax + 0x50], rcx
mov rcx, rax
push 0
jmp 0x44e3e0
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rsi, r9
mov r14d, r8d
mov ebx, edx
mov edi, ecx
call fcn.0044e380
test edi, edi
je 0x44bfe5
test ebx, ebx
jne 0x44bffc
test edi, edi
jne 0x44bfd6
call qword [0x004665c8]
call qword [0x004665d0]
call fcn.0044e3a0
mov ecx, r14d
call fcn.0044e130
jmp 0x44bffc
mov rcx, rsi
call fcn.0044bd90
call fcn.0044e250
call qword [0x004665c0]
test ebx, ebx
je 0x44bfc6
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.0044e3a0
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov eax, dword [rsi + 0x20]
and eax, 1
mov dword [0x00466630], eax
mov rcx, qword [rsi + 0x50]
call fcn.0043d300
mov rcx, qword [rsi + 0x88]
call fcn.0043d310
mov dword [0x00479f40], 1
lea rdi, [0x00479f40]
mov qword [0x00479f48], rsi
call sub.KERNEL32_GetEnvironmentStrings
mov qword [0x00479ee0], rax
call sub.KERNEL32_GetCommandLineA
mov qword [0x00479ef0], rax
mov rcx, qword [rsi + 0x68]
mov rdx, qword [rsi + 0x70]
mov r8, qword [rsi + 0x78]
mov r9, qword [rsi + 0x80]
call fcn.0044c210
xor edx, edx
mov rcx, rdi
call fcn.0044e150
test byte [rsi + 0x20], 1
jne 0x44e4a4
mov ecx, dword [0x00479f0c]
mov rdx, qword [0x00479f10]
mov r8, qword [0x00479f18]
call qword [rsi + 0x30]
xor ecx, ecx
xor edx, edx
mov r9, 0xffffffffffffffff
mov r8d, eax
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop rbp
jmp 0x44bfa0
mov rax, qword [0x00479ef0]
nop dword [rax + rax]
inc rax
mov cl, byte [rax - 1]
cmp cl, 9
je 0x44e4b0
cmp cl, 0x20
je 0x44e4b0
cmp cl, 0x22
jne 0x44e4ce
mov cl, byte [rax]
mov edx, 0x22
jmp 0x44e4d6
dec rax
mov edx, 0x20
movsx edi, cl
cmp edx, edi
je 0x44e4f4
nop dword [rax]
test cl, cl
je 0x44e4f4
cmp cl, 9
je 0x44e4f4
movsx ecx, byte [rax + 1]
inc rax
cmp edx, ecx
jne 0x44e4e0
lea rdi, [rax + 1]
cmp cl, 0x22
cmovne rdi, rax
jmp 0x44e513
inc rdi
movzx eax, byte [rdi]
cmp al, 0x20
je 0x44e510
cmp al, 9
je 0x44e510
mov rbx, qword [rsi + 0x30]
xor ecx, ecx
call sub.KERNEL32_GetModuleHandleA
mov rsi, rax
lea rcx, [rbp - 0x60]
call sub.KERNEL32_GetStartupInfoA
mov eax, dword [rbp - 0x24]
test al, 1
movzx eax, word [rbp - 0x20]
mov r9d, 0xa
cmovne r9d, eax
xor edx, edx
mov rcx, rsi
mov r8, rdi
call rbx
xor ecx, ecx
xor edx, edx
mov r9, 0xffffffffffffffff
mov r8d, eax
call 0x44bfa0
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x401840
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x80]
mov rsi, rdx
mov rax, rcx
lea rdx, [0x00454310]
lea rdi, [rbp - 0x48]
mov rcx, rdi
mov r8, rax
call fcn.00403c80
lea rdx, [0x0045433e]
mov r8d, 0x14
mov rcx, rdi
call fcn.00406650
mov rdi, rax
mov qword [rbp + 0x50], 7
mov qword [rbp + 0x48], 0
mov word [rbp + 0x38], 0
mov rcx, qword [rdi + 0x20]
cmp rcx, 7
ja 0x4018c9
mov r8, qword [rdi + 0x18]
mov rbx, rdi
add rbx, 8
inc r8
je 0x4018e0
lea rcx, [rbp + 0x38]
mov rdx, rbx
call fcn.0043b930
mov rcx, qword [rdi + 0x20]
jmp 0x4018e0
mov rbx, rdi
add rbx, 8
mov rax, qword [rdi + 8]
mov qword [rbp + 0x38], rax
mov qword [rdi + 8], 0
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rcx
mov qword [rdi + 0x20], 7
mov qword [rdi + 0x18], 0
mov word [rbx], 0
lea rcx, [rbp - 0x20]
lea rdx, [rbp + 0x30]
mov r8, rsi
call fcn.00403b60
lea rdx, [0x00454368]
lea rcx, [rbp - 0x20]
mov r8d, 1
call fcn.00406650
mov rdi, rax
mov qword [rbp + 0x28], 7
lea rsi, [rbp + 0x10]
mov qword [rbp + 0x20], 0
mov word [rbp + 0x10], 0
mov rcx, qword [rdi + 0x20]
cmp rcx, 7
ja 0x40196f
mov r8, qword [rdi + 0x18]
mov rbx, rdi
add rbx, 8
inc r8
je 0x401986
mov rcx, rsi
mov rdx, rbx
call fcn.0043b930
mov rcx, qword [rdi + 0x20]
jmp 0x401986
mov rbx, rdi
add rbx, 8
mov rax, qword [rdi + 8]
mov qword [rbp + 0x10], rax
mov qword [rdi + 8], 0
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rcx
mov qword [rdi + 0x20], 7
mov qword [rdi + 0x18], 0
mov word [rbx], 0
mov rax, qword [rbp]
cmp rax, 8
jb 0x4019cb
mov rcx, qword [rbp - 0x18]
lea rax, [rax + rax + 2]
cmp rax, 0x1000
jb 0x4019c6
mov rcx, qword [rcx - 8]
call fcn.00408c90
mov qword [rbp], 7
mov qword [rbp - 8], 0
mov word [rbp - 0x18], 0
mov rax, qword [rbp + 0x50]
cmp rax, 8
jb 0x401a05
mov rcx, qword [rbp + 0x38]
lea rax, [rax + rax + 2]
cmp rax, 0x1000
jb 0x401a00
mov rcx, qword [rcx - 8]
call fcn.00408c90
mov qword [rbp + 0x50], 7
mov qword [rbp + 0x48], 0
mov word [rbp + 0x38], 0
mov rax, qword [rbp - 0x28]
cmp rax, 8
jb 0x401a3f
mov rcx, qword [rbp - 0x40]
lea rax, [rax + rax + 2]
cmp rax, 0x1000
jb 0x401a3a
mov rcx, qword [rcx - 8]
call fcn.00408c90
cmp qword [rbp + 0x28], 7
cmova rsi, qword [rbp + 0x10]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, [0x0045436c]
lea r8, [0x00454376]
xor ecx, ecx
mov r9, rsi
call sub.SHELL32.DLL_ShellExecuteW
cmp eax, 0x20
jg 0x401ab4
lea rcx, [0x00467c68]
lea rdx, [0x004540a6]
call fcn.004038a0
mov rsi, rax
mov rax, qword [rsi]
mov rcx, qword [rax - 0x18]
add rcx, rsi
mov edx, 0xa
call fcn.00406170
movzx edx, al
mov rcx, rsi
call fcn.00406000
mov rcx, rsi
call fcn.00405270
mov rax, qword [rbp + 0x28]
cmp rax, 8
jb 0x401ad8
mov rcx, qword [rbp + 0x10]
lea rax, [rax + rax + 2]
cmp rax, 0x1000
jb 0x401ad3
mov rcx, qword [rcx - 8]
call fcn.00408c90
nop
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x401e40
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x468
lea rbp, [rsp + 0x80]
mov rsi, rdx
mov r12, rcx
mov dword [rsp + 0x20], 0
lea rcx, [0x00454010]
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call sub.WININET_InternetOpenA
mov r15, rax
test r15, r15
je 0x401fc4
lea rdx, [rsi + 8]
cmp qword [rsi + 0x20], 0xf
cmova rdx, qword [rsi + 8]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r8d, r8d
xor r9d, r9d
mov rcx, r15
call sub.WININET_InternetOpenUrlA
mov rbx, rax
test rbx, rbx
je 0x402003
mov qword [rbp + 0x3d8], 0xf
mov qword [rbp + 0x3d0], 0
mov byte [rbp + 0x3c0], 0
mov dword [rbp + 0x3e4], 0
lea r14, [rbp - 0x51]
lea rdi, [rbp - 0x50]
lea rsi, [rbp + 0x3e4]
lea r13, [rbp + 0x3b8]
nop word cs:[rax + rax]
mov r8d, 0x400
mov rcx, rbx
mov rdx, rdi
mov r9, rsi
call sub.WININET_InternetReadFile
mov eax, dword [rbp + 0x3e4]
test rax, rax
je 0x401f62
mov byte [rbp + rax - 0x50], 0
mov r8, r14
nop word [rax + rax]
cmp byte [r8 + 1], 0
lea r8, [r8 + 1]
jne 0x401f40
sub r8, rdi
mov rcx, r13
mov rdx, rdi
call fcn.00405cf0
cmp dword [rbp + 0x3e4], 0
jne 0x401f10
mov rcx, rbx
call sub.WININET_InternetCloseHandle
mov rcx, r15
call sub.WININET_InternetCloseHandle
mov qword [r12 + 0x20], 0xf
lea rcx, [r12 + 8]
mov qword [r12 + 0x18], 0
mov byte [r12 + 8], 0
mov rsi, qword [rbp + 0x3d8]
cmp rsi, 0xf
ja 0x402071
mov rdi, qword [rbp + 0x3d0]
mov r8, rdi
inc r8
je 0x40208f
lea rdx, [rbp + 0x3c0]
call fcn.0043b350
jmp 0x402096
lea rcx, [0x00467c68]
lea rdx, [0x00454016]
call fcn.004038a0
mov rsi, rax
mov rax, qword [rsi]
mov rcx, qword [rax - 0x18]
add rcx, rsi
mov edx, 0xa
call fcn.00406170
movzx edx, al
mov rcx, rsi
call fcn.00406000
mov rcx, rsi
call fcn.00405270
jmp 0x402048
lea rcx, [0x00467c68]
lea rdx, [0x00454034]
call fcn.004038a0
mov rsi, rax
mov rax, qword [rsi]
mov rcx, qword [rax - 0x18]
add rcx, rsi
mov edx, 0xa
call fcn.00406170
movzx edx, al
mov rcx, rsi
call fcn.00406000
mov rcx, rsi
call fcn.00405270
mov rcx, r15
call sub.WININET_InternetCloseHandle
mov qword [r12 + 0x20], 0xf
mov qword [r12 + 0x18], 0
mov byte [r12 + 8], 0
lea rdx, [0x004540c2]
mov rcx, r12
call fcn.004048b0
jmp 0x4020a0
mov rax, qword [rbp + 0x3c0]
mov qword [rcx], rax
mov qword [rbp + 0x3c0], 0
mov rdi, qword [rbp + 0x3d0]
jmp 0x402096
mov rdi, 0xffffffffffffffff
mov qword [r12 + 0x18], rdi
mov qword [r12 + 0x20], rsi
mov rax, r12
add rsp, 0x468
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x4363e0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov r14, r9
mov r15, r8
mov rbx, rdx
mov rsi, rcx
test rsi, rsi
je 0x436522
test rbx, rbx
je 0x436522
test r15, r15
je 0x436522
lea rcx, [0x00456290]
call sub.KERNEL32_GetModuleHandleA
mov rdi, rax
test rdi, rdi
je 0x436522
mov r13, qword [rbp + 0x78]
mov r12, qword [rbp + 0x70]
lea rdx, [0x00456299]
mov rcx, rdi
call sub.KERNEL32_GetProcAddress
mov qword [rsi], rax
lea rdx, [0x004562b2]
mov rcx, rdi
call sub.KERNEL32_GetProcAddress
mov qword [rbx], rax
lea rdx, [0x004562cd]
mov rcx, rdi
call sub.KERNEL32_GetProcAddress
mov qword [r15], rax
lea rdx, [0x004562ec]
mov rcx, rdi
call sub.KERNEL32_GetProcAddress
mov qword [r14], rax
lea rdx, [0x00456307]
mov rcx, rdi
call sub.KERNEL32_GetProcAddress
mov qword [r12], rax
lea rdx, [0x00456335]
mov rcx, rdi
call sub.KERNEL32_GetProcAddress
mov qword [r13], rax
mov rax, qword [rsi]
mov qword [0x00468670], rax
cmp qword [r14], 0
je 0x4364fe
cmp qword [r12], 0
jne 0x4364cc
lea rax, [0x00436390]
mov qword [r12], rax
mov rcx, qword [r13]
test rcx, rcx
je 0x436511
cmp qword [rsi], 0
je 0x436522
cmp qword [rbx], 0
je 0x436522
cmp qword [r15], 0
je 0x436522
cmp qword [r14], 0
je 0x436522
cmp qword [r12], 0
je 0x436522
xor eax, eax
test rcx, rcx
setne al
jmp 0x436524
lea rax, [0x004363a0]
mov qword [r14], rax
cmp qword [r12], 0
jne 0x4364cc
jmp 0x4364c1
lea rcx, [0x00436390]
mov qword [r13], rcx
cmp qword [rsi], 0
jne 0x4364db
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x4382c0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rsi
sub rsp, 0x58
lea rbp, [rsp + 0x50]
cmp dword [0x00468ac0], 0
jg 0x43832c
mov eax, dword [0x00468ac0]
test eax, eax
jg 0x43832c
mov esi, 0xffffffff
nop word cs:[rax + rax]
test eax, eax
jne 0x438300
xor eax, eax
lock cmpxchg dword [0x00468ac0], esi
je 0x438315
xor ecx, ecx
xor edx, edx
call sub.KERNEL32_SleepEx
mov eax, dword [0x00468ac0]
test eax, eax
jle 0x4382f0
jmp 0x43832c
lea rcx, [0x00468ac8]
call fcn.00453080
mov eax, 1
xchg dword [0x00468ac0], eax
lea rcx, [0x00468ac8]
call fcn.00452f20
cmp qword [0x004686c0], 0
jne 0x4383ba
lea rcx, [rbp - 0x28]
call sub.KERNEL32_GetSystemInfo
mov eax, dword [rbp]
lea ecx, [rax - 1]
test rcx, rax
jne 0x4383ce
mov edx, 0xffffffff
mov ecx, dword [rbp - 0x24]
add edx, ecx
test rdx, rcx
jne 0x4383ce
mov qword [0x004686d0], rax
mov qword [0x004686c8], rcx
movaps xmm0, xmmword [0x00456460]
movups xmmword [0x004686d8], xmm0
mov dword [0x004686e8], 7
mov dword [0x00468a60], 7
lea rcx, [0x00468a68]
mov edx, 0x80000fa0
call sub.KERNEL32_InitializeCriticalSectionAndSpinCount
call sub.KERNEL32_GetTickCount
and eax, 0xfffffff0
xor eax, 0x55555558
mov qword [0x004686c0], rax
lea rcx, [0x00468ac8]
call fcn.004530b0
nop
add rsp, 0x58
pop rsi
pop rbp
ret
call fcn.0044bc90
ud2
Function at 0x43bf70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov esi, edx
call sub.KERNEL32_GetFileAttributesA
mov ecx, eax
cmp ecx, 0xffffffff
je 0x43bfad
xor eax, eax
test sil, 2
je 0x43bfa6
and ecx, 1
je 0x43bfa6
call fcn.0044b470
mov dword [rax], 5
mov eax, 0xffffffff
add rsp, 0x28
pop rsi
pop rbp
ret
add rsp, 0x28
pop rsi
pop rbp
jmp fcn.0043ea60
jmp 0x43bf70

Function at 0x43c3a0
Capabilities:
Check if file exists

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov ebx, edx
mov r14, rcx
mov qword [rbp + 0x48], r9
mov qword [rbp + 0x40], r8
call fcn.0043df00
test bh, 0xc0
jne 0x43c3d6
mov rax, qword [0x004659d0]
mov ecx, 0xc000
and ecx, dword [rax]
or ebx, ecx
mov eax, ebx
and eax, 0x700
add eax, 0xffffff00
shr eax, 8
mov edi, 3
cmp eax, 6
ja 0x43c401
shl rax, 0x28
sar rax, 0x28
lea rcx, [0x004564c0]
mov edi, dword [rcx + rax*4]
test bh, 1
je 0x43c426
lea rax, [rbp + 0x48]
mov qword [rbp - 0x18], rax
mov al, byte [0x004611a0]
and al, byte [rbp + 0x40]
mov eax, 0x80
mov ecx, 1
cmovs ecx, eax
jmp 0x43c436
mov rcx, r14
call sub.KERNEL32_GetFileAttributesA
xor ecx, ecx
cmp eax, 0xffffffff
cmovne ecx, eax
mov eax, ebx
and al, 3
je 0x43c44f
cmp al, 2
je 0x43c456
cmp al, 1
jne 0x43c536
mov edx, 0x40000000
jmp 0x43c45b
mov edx, 0x80000000
jmp 0x43c45b
mov edx, 0xc0000000
mov eax, ebx
and eax, 0x70
add eax, 0xfffffff0
shr eax, 4
cmp eax, 3
mov esi, 3
cmovb esi, eax
xor r8d, r8d
cmp edx, 0x80000000
sete r8b
test bl, 4
cmove r8d, esi
mov dword [rbp - 0x18], 0x18
mov qword [rbp - 0x10], 0
mov eax, ebx
shr eax, 7
not eax
and eax, 1
mov dword [rbp - 8], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x30], 0
lea r9, [rbp - 0x18]
mov rcx, r14
call sub.KERNEL32_CreateFileA
mov rsi, rax
cmp rsi, 0xffffffffffffffff
je 0x43c516
mov edi, ebx
shr edi, 1
not edi
and edi, 0x4000
or edi, ebx
mov ecx, esi
call fcn.0043c2e0
mov edx, edi
or edx, 0x2000
test eax, eax
cmove edx, edi
and edx, 0xfffff8ff
mov ecx, esi
call fcn.0043e0f0
mov edi, eax
cmp edi, 0xffffffff
jne 0x43c542
mov ecx, 4
call fcn.0043e9a0
mov rcx, rsi
call sub.KERNEL32_CloseHandle
mov edi, 0xffffffff
jmp 0x43c542
call sub.KERNEL32_GetLastError
movzx eax, ax
test bh, 1
mov edx, 0x50
mov ecx, 2
cmovne ecx, edx
cmp eax, 0x6e
cmovne ecx, eax
jmp 0x43c53b
mov ecx, 1
call fcn.0043e9a0
mov edi, eax
call fcn.0043df60
mov eax, edi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret

Function at 0x43ce00
Capabilities:
Read file on windows

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
cmp dword [0x004651b0], ecx
jbe 0x43ce3c
movsxd rax, ecx
lea rcx, [0x00469310]
movsxd rcx, dword [rcx + rax*4]
mov qword [rsp + 0x20], 0
lea r9, [rbp - 4]
call sub.KERNEL32_ReadFile
cmp eax, 1
jne 0x43ce4d
mov eax, dword [rbp - 4]
jmp 0x43ce46
mov ecx, 6
call fcn.0043e9a0
nop
add rsp, 0x30
pop rbp
ret
call sub.KERNEL32_GetLastError
mov ecx, eax
xor eax, eax
cmp ecx, 0x6d
je 0x43ce46
jmp 0x43ce41
Function at 0x43ce90
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
cmp dword [0x004651b0], ecx
jbe 0x43cecc
movsxd rax, ecx
lea rcx, [0x00469310]
movsxd rcx, dword [rcx + rax*4]
mov qword [rsp + 0x20], 0
lea r9, [rbp - 4]
call sub.KERNEL32_WriteFile
cmp eax, 1
jne 0x43ced8
mov eax, dword [rbp - 4]
jmp 0x43cedd
mov ecx, 6
call fcn.0043e9a0
jmp 0x43cedd
call fcn.0043ea60
nop
add rsp, 0x30
pop rbp
ret

Function at 0x43dca0
Capabilities:
Get disk information

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov ecx, 0x104
call fcn.004367f0
mov rdi, rax
test rdi, rdi
je 0x43dd36
lea r9, [rbp - 0x10]
mov edx, 0x104
mov rcx, rbx
mov r8, rdi
call sub.KERNEL32_GetFullPathNameA
mov ebx, eax
lea eax, [rbx - 1]
cmp eax, 0x103
jae 0x43dd2e
cmp byte [rdi + 1], 0x3a
jne 0x43dd0d
mov al, byte [rdi]
mov byte [rbp - 4], al
mov word [rbp - 3], 0x5c3a
mov byte [rbp - 1], 0
lea rcx, [rbp - 4]
call sub.KERNEL32_GetDriveTypeA
cmp eax, 1
jbe 0x43dd2e
mov edx, ebx
test rsi, rsi
je 0x43dd46
cmp rdx, r14
jae 0x43dd2e
mov rcx, rsi
mov rdx, rdi
call fcn.0043be40
mov rcx, rdi
call fcn.00436800
jmp 0x43dd38
mov rcx, rdi
call fcn.00436800
xor esi, esi
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
inc rdx
mov rcx, rdi
call fcn.00436810
mov rsi, rax
jmp 0x43dd38

Function at 0x43ddc0
Capabilities:
Get common file path
Get disk information

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x138
lea rbp, [rsp + 0x80]
mov edi, r8d
mov rsi, rdx
mov ebx, ecx
test ebx, ebx
je 0x43de27
call sub.KERNEL32_GetLogicalDrives
lea ecx, [rbx - 1]
bt eax, ecx
jae 0x43de85
add ebx, 0x40
mov byte [rbp + 0xb4], bl
mov word [rbp + 0xb5], 0x2e3a
mov byte [rbp + 0xb7], 0
lea rcx, [rbp + 0xb4]
lea r8, [rbp - 0x60]
lea r9, [rbp + 0xa8]
mov edx, 0x103
call sub.KERNEL32_GetFullPathNameA
jmp 0x43de3d
lea rdx, [rbp - 0x60]
mov ecx, 0x103
call sub.KERNEL32_GetCurrentDirectoryA
test eax, eax
je 0x43de7a
cmp eax, edi
jg 0x43de7a
lea rcx, [rbp - 0x60]
call fcn.0043bd60
cmp eax, edi
jge 0x43de6d
test rsi, rsi
jne 0x43de5f
movsxd rcx, edi
call fcn.004367f0
mov rsi, rax
test rsi, rsi
je 0x43de7a
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.0043be40
jmp 0x43de87
call fcn.0044b470
mov dword [rax], 0x22
jmp 0x43de85
call fcn.0044b470
mov dword [rax], 8
xor esi, esi
mov rax, rsi
add rsp, 0x138
pop rbx
pop rdi
pop rsi
pop rbp
ret

Function at 0x440980
Capabilities:
Delete file

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
call sub.KERNEL32_DeleteFileA
cmp eax, 1
jne 0x44099c
xor eax, eax
add rsp, 0x20
pop rbp
ret
add rsp, 0x20
pop rbp
jmp fcn.0043ea60
Function at 0x440c20
Capabilities:
Timestomp file

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov rdi, rdx
call fcn.0043f3b0
mov rsi, rax
cmp rsi, 0xffffffffffffffff
je 0x440c67
test rdi, rdi
je 0x440c6e
mov rcx, qword [rdi]
lea rdx, [rbp - 8]
call fcn.004409b0
cmp eax, 1
jne 0x440ca1
mov rcx, qword [rdi + 8]
lea rdx, [rbp - 0x10]
call fcn.004409b0
cmp eax, 1
je 0x440c8e
jmp 0x440ca1
mov ecx, 0xffffffff
jmp 0x440cae
lea rdi, [rbp - 0x20]
mov rcx, rdi
call sub.KERNEL32_GetLocalTime
lea rdx, [rbp - 8]
mov rcx, rdi
call sub.KERNEL32_SystemTimeToFileTime
mov rax, qword [rbp - 8]
mov qword [rbp - 0x10], rax
lea r8, [rbp - 8]
lea rdx, [rbp - 0x10]
mov rcx, rsi
mov r9, rdx
call sub.KERNEL32_SetFileTime
xor ecx, ecx
test eax, eax
jne 0x440cae
call fcn.0043ea60
mov ecx, eax
mov eax, ecx
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x442250
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov esi, edx
call sub.KERNEL32_GetFileAttributesA
mov ecx, eax
cmp ecx, 0xffffffff
je 0x43bfad
xor eax, eax
test sil, 2
je 0x43bfa6
and ecx, 1
je 0x43bfa6
call fcn.0044b470
mov dword [rax], 5
mov eax, 0xffffffff
add rsp, 0x28
pop rsi
pop rbp
ret
add rsp, 0x28
pop rsi
pop rbp
jmp fcn.0043ea60
jmp 0x43bf70
Function at 0x444320
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x228
lea rbp, [rsp + 0x80]
mov r14, rdx
mov r15, rcx
mov ecx, dword [r15 + 4]
lea rbx, [rbp - 0x60]
mov edi, pe_nt_image_headers64
mov edx, 0x1001
mov r9d, pe_nt_image_headers64
mov r8, rbx
call sub.KERNEL32_GetLocaleInfoA
mov rcx, rbx
call fcn.0043bd60
mov word [rbp + rax - 0x60], 0x5f
mov esi, dword [r15 + 4]
mov rcx, rbx
call fcn.0043bd60
lea r8, [rbp + rax - 0x60]
sub edi, eax
mov edx, 0x1002
mov ecx, esi
mov r9d, edi
call sub.KERNEL32_GetLocaleInfoA
mov rcx, rbx
call fcn.0043bd60
mov word [rbp + rax - 0x60], 0x2e
mov esi, dword [r15]
mov rcx, rbx
call fcn.0043bd60
lea rdx, [rbp + rax - 0x60]
mov r8d, 0xa
mov ecx, esi
call fcn.00448570
mov rbx, qword [r15 + 0x38]
test rbx, rbx
je 0x444403
mov rcx, rbx
call fcn.0043bd60
mov rsi, rax
mov rcx, r14
call fcn.0043bd60
mov rdi, rax
lea rcx, [rbp - 0x60]
call fcn.0043bd60
add rdi, rsi
lea rdx, [rax + rdi + 3]
mov rcx, rbx
call fcn.00436810
mov rbx, rax
mov qword [r15 + 0x38], rbx
test rbx, rbx
jne 0x444447
jmp 0x44448a
mov rcx, r14
call fcn.0043bd60
mov rsi, rax
lea rcx, [rbp - 0x60]
call fcn.0043bd60
mov rdi, rax
lea rcx, [rsi + rdi + 3]
call fcn.004367f0
mov rbx, rax
mov qword [r15 + 0x38], rbx
test rbx, rbx
je 0x44448a
mov rcx, r14
call fcn.0043bd60
lea r8, [rdi + rax + 3]
xor edx, edx
mov rcx, rbx
call fcn.0043b620
mov rcx, rbx
mov rdx, r14
call fcn.0043bdf0
mov rsi, qword [r15 + 0x38]
mov rcx, rsi
call fcn.0043bd60
mov word [rsi + rax], 0x3d
mov rcx, qword [r15 + 0x38]
lea rdx, [rbp - 0x60]
call fcn.0043bdf0
mov rsi, qword [r15 + 0x38]
mov rcx, rsi
call fcn.0043bd60
mov word [rsi + rax], 0xa
mov eax, 1
jmp 0x44448c
xor eax, eax
add rsp, 0x228
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
Function at 0x4444a0
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov rdi, rdx
mov r12, rcx
xorps xmm0, xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x60], 0x656e6f6e
mov dword [rbp + 0xc], 0x303030
mov rcx, rdi
call fcn.004465c0
xor esi, esi
mov r13d, 1
lea r14, [rbp - 0x60]
lea rbx, [rbp + 0xc]
mov r15d, 1
mov qword [rbp + 0x10], rdi
nop word cs:[rax + rax]
mov edi, r15d
and edi, 0xfbff
or edi, 0x400
mov edx, 0x1001
mov r9d, 0x40
mov ecx, edi
mov r8, r14
call sub.KERNEL32_GetLocaleInfoA
mov edx, 3
mov r9d, 4
mov ecx, edi
mov rdi, qword [rbp + 0x10]
mov r8, rbx
call sub.KERNEL32_GetLocaleInfoA
mov rcx, r14
call fcn.004465c0
mov rcx, rbx
call fcn.004465c0
mov rcx, rdi
mov rdx, r14
call fcn.0043b0a0
test rax, rax
jne 0x4445e7
mov rcx, rbx
call fcn.0043bd60
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.0043b8d0
xor ecx, ecx
test eax, eax
setne cl
cmove esi, r13d
add r15d, ecx
cmp r15d, 0x38
jg 0x44459f
test esi, esi
je 0x444510
test esi, esi
jne 0x4445e7
mov edx, 0x5f
mov rcx, rdi
call fcn.0043bf10
test rax, rax
jne 0x4445cb
mov edx, 0x2e
mov rcx, rdi
call fcn.0043bf10
test rax, rax
je 0x4446f7
mov r15d, dword [r12 + 4]
test r15d, r15d
je 0x4445de
and r15d, 0x3ff
jmp 0x4445e7
call sub.KERNEL32_GetSystemDefaultLangID
movzx r15d, ax
mov edx, 0x5f
mov rcx, rdi
call fcn.0043bf10
test rax, rax
je 0x4446a5
mov qword [rbp], r12
inc rax
mov edx, 0x2e
mov qword [rbp - 0x10], rax
mov rcx, rax
call fcn.0043bf10
test rax, rax
je 0x44461d
mov byte [rax], 0
mov qword [rbp - 8], rax
xor ebx, ebx
lea rdi, [rbp - 0x60]
mov r13d, 1
xor r12d, r12d
mov eax, r13d
shl eax, 0xa
or eax, r15d
movzx esi, ax
mov edx, 0x1002
mov r9d, 0x40
mov ecx, esi
mov r8, rdi
call sub.KERNEL32_GetLocaleInfoA
mov r14d, eax
mov rcx, rdi
call fcn.004465c0
mov rcx, rdi
mov rdx, qword [rbp - 0x10]
call fcn.0043be80
xor ecx, ecx
test eax, eax
setne al
mov edx, 1
cmove r12d, edx
cmove ebx, esi
test r14d, r14d
je 0x44468a
mov cl, al
add r13d, ecx
test r12d, r12d
je 0x444630
test r12d, r12d
je 0x4446f7
mov rax, qword [rbp - 8]
test rax, rax
je 0x44469b
mov byte [rax], 0x2e
mov r12, qword [rbp]
mov rdi, qword [rbp + 0x10]
jmp 0x4446b6
and r15d, 0xfbff
or r15d, 0x400
mov ebx, r15d
mov edx, 0x2e
mov rcx, rdi
call fcn.0043bf10
mov rsi, rax
test rsi, rsi
je 0x4446d0
inc rsi
jmp 0x4446e9
lea rsi, [rbp - 0x17]
mov edx, 0xb
mov r9d, 7
mov ecx, ebx
mov r8, rsi
call sub.KERNEL32_GetLocaleInfoA
mov rcx, rsi
call fcn.00447bc0
mov dword [r12], eax
jmp 0x444703
mov ecx, 0x20000101
call sub.KERNEL32_SetLastError
xor ebx, ebx
mov eax, ebx
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret