joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180042410
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movzx r8d, byte [rcx]
xor r9d, r9d
mov r10, rdx
cmp r8b, 0x2d
jne 0x18004242b
movzx r8d, byte [rcx + 1]
mov r9d, 1
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x180042441
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x18004247e
movss xmm2, dword [0x180058f44]
cmp al, 0x39
ja 0x18004247e
movzx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x180042458
mov rax, rcx
test r9d, r9d
je 0x18004248d
xorps xmm1, xmmword [0x1800591f0]
movss dword [r10], xmm1
ret

Function at 0x1800424a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movzx r8d, byte [rcx]
xor r9d, r9d
mov r10, rdx
cmp r8b, 0x2d
jne 0x1800424bb
movzx r8d, byte [rcx + 1]
mov r9d, 1
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x1800424d1
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x18004250c
movsd xmm2, qword [0x180058ee0]
cmp al, 0x39
ja 0x18004250c
movzx eax, al
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x1800424e8
mov rax, rcx
test r9d, r9d
je 0x18004251b
xorps xmm1, xmmword [0x1800591e0]
movsd qword [r10], xmm1
ret

Function at 0x180045860
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180045ab0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18004597a
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800458c4
mov rax, qword [0x180061008]
cmp qword [rsp + 0x20], rax
ja 0x1800458c4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180045886
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x1800458f5
jmp 0x18004597a
cmp dword [rsp + 0x50], 0x10000
jne 0x18004595d
cmp qword [rsp + 0x48], 0x10000
jb 0x18004595d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18004593b
mov rax, qword [rsp + 0x28]
jmp 0x18004597c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x18004594b
xor eax, eax
jmp 0x18004597c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180045975
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180045ab0
mov qword [rsp + 0x20], rax
jmp 0x180045886
xor eax, eax
add rsp, 0x68
ret
Function at 0x180045990
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180045af0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180045aa6
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800459eb
mov rax, qword [0x180061008]
cmp qword [rsp + 0x20], rax
ja 0x1800459eb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800459ad
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x180045a1c
jmp 0x180045aa6
cmp dword [rsp + 0x50], 0x10000
jne 0x180045a84
cmp qword [rsp + 0x48], 0x10000
jb 0x180045a84
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180045a62
mov rax, qword [rsp + 0x28]
jmp 0x180045aa8
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180045a72
xor eax, eax
jmp 0x180045aa8
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180045aa1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180045af0
mov qword [rsp + 0x20], rax
jmp 0x1800459ad
xor eax, eax
add rsp, 0x68
ret
Function at 0x180045b40
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800460d0
mov qword [rsp + 0x28], 0
cmp qword [0x180061558], 0
jne 0x180045b88
cmp qword [0x180061550], 0
je 0x180045b88
mov rax, qword [0x180061550]
mov qword [0x180061558], rax
cmp qword [0x180061558], 0
je 0x180045c2e
mov rax, qword [0x180061558]
cmp qword [rax + 0x10], 0
je 0x180045c2e
mov rax, qword [0x180061558]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180045c2e
mov rax, qword [0x180061558]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180045c2e
mov rax, qword [0x180061558]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180045bf4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x180045bfb
xor eax, eax
jmp 0x180045da5
mov rax, qword [0x180061558]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x180045da5
mov rax, qword [0x180061550]
mov qword [0x180061558], rax
jmp 0x180045c50
mov rax, qword [0x180061558]
mov rax, qword [rax + 8]
mov qword [0x180061558], rax
cmp qword [0x180061558], 0
je 0x180045c9d
cmp qword [0x180061558], 0
je 0x180045c9b
mov rax, qword [0x180061558]
cmp qword [rax + 0x10], 0
je 0x180045c9b
mov rax, qword [0x180061558]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180045c9b
mov rax, qword [0x180061558]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180045c9b
jmp 0x180045bcc
jmp 0x180045c3e
mov rax, qword [rsp + 0x60]
and rax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180045db0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180045da3
mov rax, qword [rsp + 0x48]
mov qword [0x180061558], rax
mov rax, qword [0x180061558]
mov dword [rax], 0x52727464
mov rax, qword [0x180061558]
mov qword [rax + 0x10], 0
mov rax, qword [0x180061558]
mov rcx, qword [0x180061550]
mov qword [rax + 8], rcx
mov rax, qword [0x180061558]
mov qword [0x180061550], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180061558]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180045d54
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180045d8e
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x180045d4a
mov rax, qword [0x180061558]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x180045bcc
xor eax, eax
add rsp, 0x58
ret
Function at 0x180046ac0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180046b07
xor al, al
jmp 0x180046ba9
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x180046b31
xor al, al
jmp 0x180046ba9
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x180046ba1
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x180046ba1
mov al, 1
jmp 0x180046ba9
jmp 0x180046ba7
xor al, al
add rsp, 0x78
ret

Function at 0x180046eb0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180061550]
mov qword [rsp + 0x28], rax
jmp 0x180046ed0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180046eff
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x180046efd
call sub.KERNEL32.dll_GetLastError
jmp 0x180046f01
jmp 0x180046ec2
xor eax, eax
add rsp, 0x38
ret
Function at 0x1800475c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180061568], eax
je 0x1800475ed
mov eax, 0x10dd
jmp 0x180047806
cmp dword [0x18006156c], 0
je 0x180047601
mov eax, dword [0x18006156c]
jmp 0x180047806
cmp qword [rsp + 0x78], 0
jne 0x180047613
mov eax, 0x57
jmp 0x180047806
cmp qword [rsp + 0x70], 0
jne 0x180047625
mov eax, 6
jmp 0x180047806
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x180047657
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x18006156c], eax
mov rax, qword [rsp + 0x70]
mov qword [0x180061570], rax
mov eax, dword [rsp + 0x20]
jmp 0x180047806
mov ecx, 0x30
call fcn.180049438
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1800476c9
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x18006156c], eax
cmp qword [rsp + 0x30], 0
je 0x1800476b4
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.180049428
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x180061570], rax
mov eax, dword [rsp + 0x20]
jmp 0x180047806
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.180047590
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.180047590
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x180047726
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x180047743
mov dword [rsp + 0x20], 9
cmp dword [0x180061560], 0
je 0x18004773e
jmp 0x18004768a
jmp 0x180047680
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x180047770
mov dword [rsp + 0x20], 9
cmp dword [0x180061560], 0
je 0x18004776b
jmp 0x18004768a
jmp 0x180047680
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1800477a7
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180047680
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x180061580]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x180061580], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x180047810
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180061568], eax
je 0x18004782b
mov eax, 0x10dd
jmp 0x180047950
mov rax, qword [0x180061580]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800478d5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x1800478a0
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x1800478a0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.180046210
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.180049428
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x180047837
mov qword [0x180061580], 0
call fcn.180046c70
mov rax, qword [0x180061578]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180047939
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.180049428
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x1800478f1
mov qword [0x180061578], 0
mov dword [0x180061568], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x180047e80
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x18006156c], 0
je 0x180047e9d
mov eax, dword [0x18006156c]
jmp 0x180047f63
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x180047eb0
xor eax, eax
jmp 0x180047f63
mov ecx, 0x10
call fcn.180049438
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180047f1e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x180047f03
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.180049428
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x18006156c], eax
mov qword [0x180061570], 0
mov eax, dword [rsp + 0x20]
jmp 0x180047f63
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x180047f38
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180047ed9
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x180061578]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x180061578], rax
xor eax, eax
add rsp, 0x48
ret
Function at 0x14000b7b0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x14008d058]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
cmp dword [r8 + 0x18], 0x201
mov rbx, r8
mov rdi, rcx
jne 0x14000b8ad
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x208
call fcn.1400141d0
mov rcx, qword [rbx]
lea r9, [rsp + 0x20]
xor eax, eax
xor r8d, r8d
mov qword [rsp + 0x24], rax
mov edx, 0x44b
mov eax, dword [rbx + 0x2c]
mov dword [rsp + 0x20], eax
mov eax, dword [rbx + 0x30]
mov dword [rsp + 0x24], eax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
call qword [sym.imp.USER32.dll_SendMessageW]
and dword [rsp + 0x34], 0
lea rax, [rbp - 0x60]
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x30]
and qword [rsp + 0x40], 0
xorps xmm1, xmm1
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
xor eax, eax
mov dword [rsp + 0x30], WSAStartup
mov qword [rbp - 0x68], rax
movdqa xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 5
movups xmmword [rsp + 0x68], xmm1
movups xmmword [rsp + 0x78], xmm1
movups xmmword [rbp - 0x78], xmm1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rdi + 0x80]
call qword [sym.imp.USER32.dll_HideCaret]
mov rax, qword [rdi + 0x140]
cmp rax, qword [rdi + 0x148]
je 0x14000b8b1
mov rcx, qword [rax]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x14000b8b1
and dword [r9], 0
xor eax, eax
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140011770
add rsp, 0x2c0
pop rdi
pop rbx
pop rbp
ret
Function at 0x14001f72c
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x14008d058]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor esi, esi
mov rbx, rdx
test rdx, rdx
jne 0x14001f46b
call fcn.140022e4c
mov dword [rax], socket
call fcn.14001826c
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140011770
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
test rcx, rcx
je 0x14001f432
mov dword [rsp + 0x28], esi
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001f4d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x14001f4ac
cmp eax, 3
jbe 0x14001f4c9
cmp eax, 8
je 0x14001f4b9
cmp eax, 0x12
je 0x14001f4c9
call fcn.140022e4c
mov dword [rax], socket
jmp 0x14001f442
call fcn.140022e4c
mov dword [rax], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
jmp 0x14001f442
call fcn.140022e4c
mov dword [rax], 2
jmp 0x14001f442
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, esi
mov dword [rbx], eax
call fcn.14001f674
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.14001f674
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.14001f674
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x24]
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov dword [rbx + 0x20], eax
call fcn.14002c294
test eax, eax
jne 0x14001f537
mov rax, rdi
jmp 0x14001f446
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400182bc
int3
jmp 0x14001f404
Function at 0x14001f734
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x14008d058]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edi, edi
mov rbx, rdx
test rcx, rcx
jne 0x14001f5a9
call fcn.140022e4c
mov dword [rax], socket
call fcn.14001826c
or eax, 0xffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140011770
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x290
pop rdi
ret
cmp rcx, 0xffffffffffffffff
je 0x14001f575
test rbx, rbx
je 0x14001f575
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001f604
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x14001f5dd
cmp eax, 3
jbe 0x14001f5f7
cmp eax, 8
je 0x14001f5ea
cmp eax, 0x12
je 0x14001f5f7
call fcn.140022e4c
mov dword [rax], socket
jmp 0x14001f585
call fcn.140022e4c
mov dword [rax], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
jmp 0x14001f585
call fcn.140022e4c
mov dword [rax], 2
jmp 0x14001f585
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, edi
mov dword [rbx], eax
call fcn.14001f674
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.14001f674
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.14001f674
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x24]
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov dword [rbx + 0x20], eax
call fcn.14002c294
test eax, eax
je 0x14001f588
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400182bc
int3
jmp 0x14001f54c

Function at 0x14001f73c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001f75c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140022dc0
or eax, 0xffffffff
jmp 0x14001f75e
xor eax, eax
add rsp, 0x28
ret

Function at 0x14001f91c
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14001f93c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140022dc0
or eax, 0xffffffff
jmp 0x14001f93e
xor eax, eax
add rsp, 0x28
ret
Function at 0x140020a74
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rbx, rcx
mov ecx, dword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
jne 0x140020aaf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140022dc0
call fcn.140022e4c
mov eax, dword [rax]
jmp 0x140020b26
cmp rdi, qword [rbx + 0x18]
ja 0x140020abb
mov qword [rbx + 0x20], rdi
jmp 0x140020b24
cmp byte [rbx + 0x28], 0
lea rsi, [rdi + 1]
je 0x140020ad2
mov rcx, qword [rbx + 0x10]
call fcn.14002965c
mov byte [rbx + 0x28], 0
lea rcx, [rdi*2 + 2]
call fcn.14002ac3c
mov qword [rbx + 0x10], rax
mov r8, rax
neg rax
mov edx, 0
sbb eax, eax
not eax
and eax, 0xc
cmove rdx, rsi
test eax, eax
sete cl
mov byte [rbx + 0x28], cl
mov qword [rbx + 0x18], rdx
test eax, eax
jne 0x140020b26
mov ecx, dword [rbx + 0x18]
mov rdx, r8
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, eax
test rax, rax
je 0x140020a99
mov qword [rbx + 0x20], rax
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140021ac8
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x240
mov rax, qword [0x14008d058]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [0x14006e528]
mov rbp, rcx
call fcn.1400221fc
xor edi, edi
test rax, rax
je 0x140021bae
mov ebx, edi
call fcn.140022e4c
mov r14d, dword [rax]
call fcn.140022e4c
mov r8d, 0x104
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov dword [rax], edi
call fcn.140021da0
mov rsi, rax
test rax, rax
je 0x140021b3f
call fcn.140022e4c
mov dword [rax], r14d
jmp 0x140021b69
call fcn.140022e4c
cmp dword [rax], 0x22
jne 0x140021ba6
call fcn.140022e4c
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.140021da0
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x140021ba6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x140021b6d
cmp rax, 3
je 0x140021b88
mov rcx, rsi
call fcn.140021a24
test al, al
je 0x140021b99
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140021b99
mov dil, 1
mov rcx, rbx
call fcn.140017e68
mov al, dil
jmp 0x140021bb0
mov rcx, rbx
call fcn.140017e68
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140011770
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140026d20
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140026b10