joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cea90
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rdx, qword [rcx + 8]
mov r8, rcx
test rdx, rdx
je 0x1400ceac1
mov rax, qword [0x14046a608]
test rax, rax
je 0x1400ceac1
nop dword [rax + rax]
cmp rax, rdx
je 0x1400ceb59
mov rax, qword [rax]
test rax, rax
jne 0x1400ceab0
mov r9, qword [0x14046a5e8]
cmp dword [r8 + 0x10], 0
jne 0x1400cead9
mov eax, dword [r8 + 0x14]
mov dword [0x14045b480], eax
mov rdx, qword [r8]
test rdx, rdx
je 0x1400cebb5
mov rax, r9
test r9, r9
je 0x1400ceafe
nop dword [rax]
cmp rax, rdx
je 0x1400ceb46
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x1400ceaf0
mov rax, qword [0x140469978]
test rax, rax
je 0x1400ceb22
nop word [rax + rax]
cmp rax, rdx
je 0x1400cebae
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x1400ceb10
mov rax, qword [0x14046a5f0]
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x1400ceb40
cmp rcx, rdx
je 0x1400cebae
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400ceb32
xor eax, eax
test eax, eax
je 0x1400cebb5
mov rax, qword [rdx + 8]
mov qword [0x14045b410], rax
mov qword [0x14046a618], rdx
ret
mov rcx, qword [0x14046a5f0]
mov rax, qword [0x14046a5e8]
mov qword [0x14046a5f0], rdx
mov qword [rcx + 0x20], rax
mov rax, qword [0x14046a5f8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x140469c60]
mov qword [rcx + 8], rax
mov rax, qword [rdx + 0x28]
mov r9, qword [rdx + 0x20]
mov qword [0x14046a5f8], rax
mov rax, qword [rdx + 8]
mov qword [0x140469c60], rax
mov qword [0x14046a5e8], r9
jmp 0x1400ceac8
mov eax, 1
jmp 0x1400ceb42
mov rax, qword [0x14046a618]
cmp dword [rax + 0x160], 0
je 0x1400cebcd
mov rcx, r9
jmp fcn.140330710
ret
Function at 0x1400e0c00
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
xor edx, edx
mov rsi, rcx
call fcn.140321ad0
mov rbx, rax
test rax, rax
je 0x1400e0c55
mov rcx, rax
mov qword [rsp + 0x30], rdi
call fcn.140018de0
cmp dword [0x14045b3f8], 0
mov edi, eax
jne 0x1400e0c3c
mov rcx, rbx
call fcn.140005660
test edi, edi
mov rdi, qword [rsp + 0x30]
jne 0x1400e0c55
mov eax, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
lea rcx, str.E739:_Cannot_create_directory:__s
call qword [case.0x1400407ae.0]
mov rcx, rax
mov rdx, rsi
call fcn.1401860c0
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x1400e2090
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r15
sub rsp, 0x40
mov qword [rsp + 0x58], rbp
xor r15d, r15d
mov qword [rsp + 0x60], rsi
mov ebp, edx
mov qword [rsp + 0x38], rdi
mov esi, ecx
mov qword [rsp + 0x20], r14
mov edi, r15d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
test ebp, ebp
je 0x1400e20f6
mov eax, dword [0x14045b974]
mov dword [0x140465078], 1
test eax, eax
je 0x1400e2120
cmp dword [0x140464664], r15d
jne 0x1400e2120
mov rcx, qword [0x1404687e0]
call fcn.1402ab4a0
mov dword [0x140464664], 1
jmp 0x1400e2120
cmp dword [0x140464664], edi
je 0x1400e2120
cmp dword [0x140465078], edi
jne 0x1400e2120
mov rcx, qword [0x1404687e8]
call fcn.1402ab4a0
mov dword [0x140464664], r15d
mov dword [0x140465078], r15d
call fcn.1402ac330
mov eax, dword [0x14045b41c]
test eax, eax
jne 0x1400e21d4
mov qword [rsp + 0x30], r12
lea r12d, [rax + 0x14]
mov qword [rsp + 0x28], r13
mov r13d, 0x3e8
mov qword [rsp + 0x50], rbx
nop dword [rax]
cmp edi, esi
jge 0x1400e21c5
mov ebx, esi
sub ebx, edi
cmp ebx, r13d
cmovg ebx, r13d
call fcn.1402bef50
test eax, eax
jle 0x1400e216d
cmp eax, ebx
cmovl ebx, eax
cmp qword [0x140468020], r15
je 0x1400e217d
cmp ebx, r12d
cmovg ebx, r12d
cmp qword [0x140467ff0], r15
je 0x1400e218d
cmp ebx, r12d
cmovg ebx, r12d
mov edx, 1
mov ecx, ebx
call fcn.1402c60f0
mov ecx, r15d
cmp qword [0x140468020], rcx
setne cl
call fcn.1402c5ec0
call fcn.140123b50
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x14045b41c]
mov edi, eax
sub edi, r14d
test ecx, ecx
je 0x1400e2150
mov rbx, qword [rsp + 0x50]
mov r12, qword [rsp + 0x30]
mov r13, qword [rsp + 0x28]
mov eax, dword [0x14045b41c]
mov r14, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x60]
test eax, eax
je 0x1400e2218
cmp dword [0x1404431ac], 0xffffffff
je 0x1400e2211
cmp dword [0x1404601b4], r15d
jne 0x1400e2218
cmp qword [0x140460020], r15
jne 0x1400e2211
cmp qword [0x140460190], r15
je 0x1400e2218
xor ecx, ecx
call fcn.14011f670
test ebp, ebp
mov rbp, qword [rsp + 0x58]
je 0x1400e224b
cmp dword [0x140464664], r15d
mov dword [0x140465078], r15d
je 0x1400e224b
mov rcx, qword [0x1404687e8]
call fcn.1402ab4a0
mov dword [0x140464664], r15d
mov dword [0x140465078], r15d
add rsp, 0x40
pop r15
ret
Function at 0x1400fd9d0
Capabilities:
Manipulate console buffer

Disassembly:
sub rsp, 0x28
cmp dword [0x14045b61c], 0
jne 0x1400fd9fa
mov dword [0x14045b4e0], 0
call fcn.1400fefd0
call fcn.1400ffc40
add rsp, 0x28
jmp fcn.1400ff450
add rsp, 0x28
ret

Function at 0x1400ff450
Capabilities:
Manipulate console buffer

Disassembly:
sub rsp, 0x28
cmp dword [0x14045b61c], 0
jne 0x1400ff4fa
cmp dword [0x14045b82c], 0
mov eax, dword [0x14045fb04]
mov ecx, dword [0x14046a250]
cdq
je 0x1400ff4b2
mov r10d, dword [0x140420870]
lea r9d, [r10 - 1]
idiv r9d
add ecx, eax
mov eax, dword [0x14045fb04]
cdq
mov dword [0x14046a25c], ecx
idiv r9d
sub r10d, edx
dec r10d
mov dword [0x14046a49c], r10d
test ecx, ecx
jg 0x1400ff4e9
mov ecx, dword [0x140420f60]
dec ecx
jmp 0x1400ff4e3
idiv dword [0x140420870]
add ecx, eax
mov eax, dword [0x14045fb04]
cdq
mov dword [0x14046a25c], ecx
idiv dword [0x140420870]
mov eax, dword [0x140420f60]
mov dword [0x14046a49c], edx
mov r10d, edx
cmp ecx, eax
jl 0x1400ff4e9
lea ecx, [rax - 1]
mov dword [0x14046a25c], ecx
mov edx, r10d
call fcn.1402471a0
add rsp, 0x28
jmp fcn.1401e0380
add rsp, 0x28
ret
Function at 0x140100080
Capabilities:
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x50
xor edx, edx
mov rsi, rcx
xor edi, edi
call fcn.140321ad0
mov rbp, rax
test rax, rax
je 0x140100238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [0x14045b3f8], edi
mov ebx, eax
jne 0x1401000be
mov rcx, rbp
call fcn.140005660
cmp ebx, 0xffffffff
je 0x140100238
shr ebx, 4
bt ebx, 0
jae 0x140100238
mov rcx, rsi
call fcn.1401e1160
test eax, eax
jne 0x140100238
mov rcx, rsi
call fcn.14028ad70
mov r15, rax
test rax, rax
jne 0x140100103
lea eax, [r15 - 1]
add rsp, 0x50
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rsp + 0x28], edi
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, r15
call fcn.140100260
cmp eax, 1
jne 0x140100215
mov esi, dword [rsp + 0x30]
lea ebp, [rax - 2]
mov qword [rsp + 0x90], r14
mov r14, qword [rsp + 0x40]
test esi, esi
jle 0x140100196
mov qword [rsp + 0x80], r12
mov rbx, r14
mov r12d, esi
nop
mov rax, qword [rbx]
lea r8, [0x1403bf2d0]
mov rcx, qword [0x14046a2b0]
mov r9, r15
mov edx, 0x400
mov qword [rsp + 0x20], rax
call fcn.14028ab80
mov rcx, qword [0x14046a2b0]
call fcn.140100080
test eax, eax
lea rbx, [rbx + 8]
cmovne edi, ebp
sub r12, 1
jne 0x140100150
mov r12, qword [rsp + 0x80]
test r14, r14
je 0x1401001d8
test esi, esi
jle 0x1401001c2
mov rbx, r14
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401001b8
cmp dword [0x14045b3f8], 0
jne 0x1401001b8
call fcn.140005660
add rbx, 8
sub rsi, 1
jne 0x1401001a2
test r14, r14
je 0x1401001d8
cmp dword [0x14045b3f8], 0
jne 0x1401001d8
mov rcx, r14
call fcn.140005660
xor edx, edx
mov rcx, r15
call fcn.140321ad0
mov r14, qword [rsp + 0x90]
mov rbx, rax
test rax, rax
je 0x140100211
mov rcx, rax
call fcn.140019eac
cmp dword [0x14045b3f8], 0
mov esi, eax
jne 0x14010020d
mov rcx, rbx
call fcn.140005660
test esi, esi
je 0x14010021a
mov edi, ebp
jmp 0x14010021a
mov edi, 0xffffffff
cmp dword [0x14045b3f8], 0
jne 0x140100244
mov rcx, r15
call fcn.140005660
mov eax, edi
add rsp, 0x50
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, rsi
call fcn.1401e0f20
neg eax
sbb edi, edi
mov eax, edi
add rsp, 0x50
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401023c0
Capabilities:
Delete file
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x14041f010]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov ebx, edx
mov edi, ecx
xor esi, esi
lea rdx, [rsp + 0x30]
mov ecx, 0x104
mov word [rsp + 0x240], si
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x140102413
mov dword [rsp + 0x30], 0x5c002e
mov word [rsp + 0x34], si
movabs rax, 0x4d00490056
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r9, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
lea r8d, [rdi + rax]
mov eax, 0x38e38e39
imul r8d
mov eax, 0x38e38e39
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, r8d
lea edx, [rdx + rdx*8]
shl edx, 2
sub ecx, edx
movsxd rcx, ecx
movzx ecx, word [r9 + rcx*2]
mov word [rsp + 0x22], cx
imul ecx, r8d, 0x65
xor r8d, r8d
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
shl eax, 2
lea rdx, [rsp + 0x20]
sub ecx, eax
movsxd rax, ecx
lea rcx, [rsp + 0x30]
movzx eax, word [r9 + rax*2]
lea r9, [rsp + 0x240]
mov word [rsp + 0x24], ax
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x1401024ad
xor eax, eax
jmp 0x14010253c
test ebx, ebx
jne 0x1401024bf
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edx, edx
lea rcx, [rsp + 0x240]
call fcn.140321ea0
mov rcx, qword [0x140469678]
mov rbx, rax
call fcn.140111730
mov rcx, qword [0x140469668]
mov rdi, rax
cmp byte [rcx], 0x2d
jne 0x140102514
lea rdx, str.powershell
mov rcx, rax
call fcn.140001ee0
test rax, rax
jne 0x140102514
lea rdx, str.pwsh
mov rcx, rdi
call fcn.140001ee0
test rax, rax
je 0x14010251c
cmp dword [0x14046a330], esi
je 0x140102539
movzx ecx, byte [rbx]
mov rax, rbx
test cl, cl
je 0x140102539
cmp cl, 0x5c
jne 0x14010252e
mov byte [rax], 0x2f
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
jne 0x140102526
mov rax, rbx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140001200
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140133720
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rax, ecx
mov edi, edx
lea rcx, [rax + rax*8]
mov rax, qword [0x140460528]
lea rbx, [rcx*8]
mov rdx, qword [rbx + rax + 0x40]
test rdx, rdx
je 0x140133770
lea rcx, [0x1403c1bd0]
call fcn.140015e6c
mov rcx, qword [0x140460528]
mov rcx, qword [rbx + rcx + 0x40]
call fcn.1400163cc
mov rax, qword [0x140460528]
mov rcx, qword [rbx + rax + 0x20]
test rcx, rcx
je 0x1401337b9
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1401337a0
mov rcx, qword [0x140460528]
xor edx, edx
mov rcx, qword [rbx + rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x140460528]
mov rcx, qword [rbx + rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x140460528]
mov rcx, qword [rbx + rax + 0x38]
test rcx, rcx
je 0x1401337cf
call fcn.140013970
mov rax, qword [0x140460528]
mov rcx, qword [rbx + rax + 0x40]
test rcx, rcx
je 0x1401337e5
call fcn.140013970
mov rax, qword [0x140460528]
test edi, edi
je 0x140133845
mov rcx, qword [rbx + rax]
test rcx, rcx
je 0x140133807
cmp dword [0x14045b3f8], 0
jne 0x140133807
call fcn.140005660
mov rax, qword [0x140460528]
mov rcx, qword [rbx + rax + 8]
test rcx, rcx
je 0x140133826
cmp dword [0x14045b3f8], 0
jne 0x140133826
call fcn.140005660
mov rax, qword [0x140460528]
mov rcx, qword [rbx + rax + 0x10]
test rcx, rcx
je 0x140133845
cmp dword [0x14045b3f8], 0
jne 0x140133845
call fcn.140005660
mov rax, qword [0x140460528]
xor ecx, ecx
mov qword [rbx + rax], rcx
mov qword [rbx + rax + 8], rcx
mov qword [rbx + rax + 0x10], rcx
mov qword [rbx + rax + 0x28], rcx
mov dword [rbx + rax + 0x30], ecx
mov dword [rbx + rax + 0x18], ecx
mov qword [rbx + rax + 0x38], rcx
mov qword [rbx + rax + 0x40], rcx
mov qword [rbx + rax + 0x20], rcx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14016adb0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [0x140461738], 0
lea rdi, str.msvcrt.dll
mov ebx, ecx
lea rsi, str.iconv.dll
je 0x14016adf8
cmp qword [0x140461730], 0
je 0x14016ae58
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
lea rcx, str.libiconv2.dll
call fcn.1401e0900
mov qword [0x140461738], rax
test rax, rax
jne 0x14016ae58
lea rcx, str.libiconv_2.dll
call fcn.1401e0900
mov qword [0x140461738], rax
test rax, rax
jne 0x14016ae58
mov rcx, rsi
call fcn.1401e0900
mov qword [0x140461738], rax
test rax, rax
jne 0x14016ae58
lea rcx, str.libiconv.dll
call fcn.1401e0900
mov qword [0x140461738], rax
test rax, rax
je 0x14016afd7
mov rcx, rdi
call fcn.1401e0900
mov rcx, qword [0x140461738]
mov qword [0x140461730], rax
test rcx, rcx
je 0x14016afd7
test rax, rax
je 0x14016afd7
lea rdx, str.libiconv
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140461738]
lea rdx, str.libiconv_open
mov qword [0x14046a0d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140461738]
lea rdx, str.libiconv_close
mov qword [0x140469128], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140461738]
lea rdx, str.libiconvctl
mov qword [0x14046a0c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140461738]
lea rdx, str._errno
xor r9d, r9d
mov qword [0x1404690b0], rax
xor r8d, r8d
call fcn.1401ddad0
mov qword [0x14046a0b8], rax
test rax, rax
jne 0x14016af25
mov rcx, qword [0x140461730]
lea rdx, str._errno
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14046a0b8], rax
cmp qword [0x14046a0d8], 0
je 0x14016af56
cmp qword [0x140469128], 0
je 0x14016af56
cmp qword [0x14046a0c0], 0
je 0x14016af56
cmp qword [0x1404690b0], 0
je 0x14016af56
test rax, rax
jne 0x14016ade3
call fcn.14016a540
test ebx, ebx
je 0x14016b049
cmp dword [0x14046a3b4], 0
jle 0x14016b049
mov rax, qword [0x14042ecb0]
cmp byte [rax], 0
je 0x14016af82
inc dword [0x14045b530]
lea rcx, str.E448:_Could_not_load_library_function__s
call qword [case.0x1400407ae.0]
mov rcx, rax
lea rdx, str.for_libiconv
call fcn.1401860c0
mov rax, qword [0x14042ecb0]
cmp byte [rax], 0
je 0x14016b049
sub dword [0x14045b530], 1
jns 0x14016b049
mov dword [0x14045b530], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
test ebx, ebx
je 0x14016b044
cmp dword [0x14046a3b4], 0
jle 0x14016b044
mov rax, qword [0x14042ecb0]
cmp byte [rax], 0
je 0x14016aff6
inc dword [0x14045b530]
call fcn.1401e0870
cmp qword [0x140461738], 0
lea rcx, str.E370:_Could_not_load_library__s:__s
mov rbx, rax
cmove rdi, rsi
call qword [case.0x1400407ae.0]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call fcn.1401860c0
mov rax, qword [0x14042ecb0]
cmp byte [rax], 0
je 0x14016b044
sub dword [0x14045b530], 1
jns 0x14016b044
mov dword [0x14045b530], 0
call fcn.14016a540
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140186be0
Capabilities:
List user accounts

Disassembly:
mov r11, rsp
sub rsp, 0x68
cmp dword [0x1404619a0], 0
jne 0x140186dbb
lea rax, [r11 + 0x10]
mov qword [r11 - 8], rbp
xor ebp, ebp
mov dword [0x1404619a0], 1
mov qword [r11 - 0x30], rbp
lea r9, [r11 + 0x18]
mov qword [r11 - 0x38], rax
xor r8d, r8d
lea rax, [r11 + 8]
mov qword [0x140461998], rbp
mov qword [r11 - 0x40], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0xffffffff
mov qword [0x140461988], rbp
mov dword [0x140461990], 8
mov dword [0x140461994], 0x14
mov dword [rsp + 0x70], ebp
mov dword [rsp + 0x78], ebp
call qword [sym.imp.NETAPI32.dll_NetUserEnum]
test eax, eax
jne 0x140186db6
mov qword [rsp + 0x88], rbx
mov ebx, ebp
cmp dword [rsp + 0x70], ebp
jbe 0x140186da0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r15
nop dword [rax + rax]
mov rcx, qword [rsp + 0x80]
xor edx, edx
mov eax, ebx
mov rcx, qword [rcx + rax*8]
call fcn.140321ea0
mov rdi, rax
test rax, rax
je 0x140186d80
cmp byte [rax], bpl
je 0x140186d80
mov edx, dword [0x14046198c]
mov ecx, dword [0x140461988]
sub edx, ecx
cmp edx, 1
jge 0x140186d6c
mov eax, ecx
mov r8d, 1
cmp dword [0x140461994], r8d
cdq
cmovg r8d, dword [0x140461994]
sub eax, edx
sar eax, 1
cmp r8d, eax
mov r15d, eax
cmovge r15d, r8d
lea edx, [r15 + rcx]
movsxd rcx, dword [0x140461990]
movsxd rsi, edx
imul rsi, rcx
mov rcx, qword [0x140461998]
mov rdx, rsi
call fcn.140005658
mov r14, rax
test rax, rax
jne 0x140186d2a
mov ecx, dword [0x140461988]
mov eax, ebp
jmp 0x140186d68
movsxd rcx, dword [0x140461990]
xor edx, edx
movsxd rax, dword [0x14046198c]
imul rcx, rax
sub rsi, rcx
add rcx, r14
mov r8, rsi
call fcn.140002810
mov ecx, dword [0x140461988]
mov qword [0x140461998], r14
lea eax, [r15 + rcx]
mov dword [0x14046198c], eax
mov eax, 1
test eax, eax
je 0x140186d80
mov rax, qword [0x140461998]
movsxd rdx, ecx
mov qword [rax + rdx*8], rdi
inc dword [0x140461988]
inc ebx
cmp ebx, dword [rsp + 0x70]
jb 0x140186c90
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov rbx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x140188670
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x20
xor edi, edi
mov r12, r9
cmp dword [0x14045b790], edi
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
je 0x1401886da
lea rcx, str.E145:_Shell_commands_and_some_functionality_not_allowed_in_rvim
call qword [case.0x1400407ae.0]
mov rbx, rax
call fcn.140182a30
test eax, eax
jne 0x1401886bf
mov rcx, rbx
call fcn.140182400
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r12
pop rdi
ret
call fcn.1400dab00
test eax, eax
jne 0x1401886bf
xor edx, edx
lea ecx, [rax + 0x6f]
call fcn.1401023c0
mov r14, rax
test rax, rax
jne 0x1401886fe
lea rcx, str.E483:_Cant_get_temp_file_name
jmp 0x1401886a5
mov r8, r14
mov rdx, rbx
mov rcx, rbp
call fcn.1400d7290
mov rbx, rax
test rax, rax
je 0x140188881
inc dword [0x14045b798]
or esi, 0xa
mov edx, esi
mov rcx, rax
call fcn.14018ec60
dec dword [0x14045b798]
cmp dword [0x14045b3f8], edi
jne 0x140188741
mov rcx, rbx
call fcn.140005660
lea rdx, [0x1403bf360]
mov qword [rsp + 0x40], r15
mov rcx, r14
call fcn.1401e07e0
mov rbp, rax
test rax, rax
je 0x140188857
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.14000c12c
cmp eax, 0xffffffff
je 0x140188857
mov rcx, rbp
call fcn.1400183c8
movsxd r15, eax
cmp r15d, 0xffffffff
je 0x140188857
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call fcn.14000c12c
cmp eax, 0xffffffff
je 0x140188857
lea rcx, [r15 + 1]
mov edx, 1
call fcn.140032b90
mov rdi, rax
test rax, rax
je 0x140188845
mov r9, rbp
mov r8, r15
mov edx, 1
mov rcx, rax
call fcn.14000bd5c
mov rcx, rbp
mov rbx, rax
call fcn.140013970
mov rcx, r14
call fcn.1401e0f20
cmp ebx, r15d
je 0x140188815
lea rcx, str.E485:_Cant_read_file__s
call qword [case.0x1400407ae.0]
mov rcx, rax
mov rdx, r14
call fcn.1401860c0
cmp dword [0x14045b3f8], 0
jne 0x140188811
mov rcx, rdi
call fcn.140005660
xor edi, edi
jmp 0x14018887c
test r12, r12
jne 0x14018883f
test r15d, r15d
jle 0x140188838
mov rcx, rdi
cmp byte [rcx], 0
jne 0x14018882a
mov byte [rcx], 1
inc rcx
mov rax, rcx
sub rax, rdi
cmp rax, r15
jl 0x140188822
mov byte [r15 + rdi], 0
jmp 0x14018887c
mov dword [r12], r15d
jmp 0x14018887c
mov rcx, rbp
call fcn.140013970
mov rcx, r14
call fcn.1401e0f20
jmp 0x14018887c
lea rcx, str.E282:_Cannot_read_from___s_
call qword [case.0x1400407ae.0]
mov rcx, rax
mov rdx, r14
call fcn.1401860c0
test rbp, rbp
je 0x14018887c
mov rcx, rbp
call fcn.140013970
mov r15, qword [rsp + 0x40]
cmp dword [0x14045b3f8], 0
jne 0x140188892
mov rcx, r14
call fcn.140005660
mov rax, rdi
jmp 0x1401886c1

Function at 0x14018aac0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub rsp, 0x28
cmp dword [0x14045b404], 0
jne 0x14018aae2
xor ecx, ecx
call fcn.140122f90
mov ecx, 0x40
add rsp, 0x28
jmp fcn.14018aca0
add rsp, 0x28
ret
Function at 0x14018aca0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub rsp, 0x28
cmp dword [0x14045b404], 0
mov dword [0x140469228], 1
jne 0x14018aec8
cmp dword [0x14045b4f8], 0
jne 0x14018aec8
mov eax, dword [0x14046916c]
mov qword [rsp + 0x30], rbx
test ecx, eax
jne 0x14018ae2e
test al, 1
jne 0x14018ae2e
cmp dword [0x140461980], 0
je 0x14018ad05
mov ebx, dword [0x14046197c]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x1f4
jle 0x14018ae2e
mov dword [0x140461980], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x140469318], 0
mov dword [0x14046197c], eax
je 0x14018ae24
mov rbx, qword [0x1404688b8]
test rbx, rbx
je 0x14018adaf
cmp byte [rbx], 0
je 0x14018adaf
mov ecx, dword [0x14046507c]
cmp ecx, 0x7af
jle 0x14018ad52
call fcn.1402ac330
mov ecx, dword [0x14046507c]
movzx edx, byte [rbx]
test dl, dl
je 0x14018ada1
mov qword [rsp + 0x20], rdi
lea rdi, [0x140464680]
nop word [rax + rax]
movsxd rax, ecx
inc ecx
mov dword [0x14046507c], ecx
mov byte [rax + rdi], dl
cmp ecx, 0x7ff
jl 0x14018ad91
call fcn.1402ac330
mov ecx, dword [0x14046507c]
movzx edx, byte [rbx + 1]
inc rbx
test dl, dl
jne 0x14018ad70
mov rdi, qword [rsp + 0x20]
cmp dword [0x140469244], 0
je 0x14018adaf
call fcn.1402ac330
cmp dword [0x140461ff8], 0
je 0x14018ae2e
cmp dword [0x14046996c], 0
jne 0x14018adcd
cmp dword [0x14045b71c], 0x100
jl 0x14018ae2e
cmp dword [0x14045b548], 0
mov rax, qword [0x14046a618]
jne 0x14018ae16
cmp dword [0x14045b4f4], 0
jne 0x14018ae16
cmp dword [rax + 0x33c], 0x32
jge 0x14018ae16
cmp dword [0x14045b4d4], 0x32
mov dword [rax + 0x33c], 0x32
mov dword [rax + 0x300], 0
jge 0x14018ae16
mov dword [0x14045b4d4], 0x32
xor ecx, ecx
call fcn.14008ec70
call fcn.1400ffc40
jmp 0x14018ae2e
mov ecx, 7
call fcn.1402ab720
cmp dword [0x14045b514], 0
mov rbx, qword [0x140469420]
movzx eax, byte [rbx]
je 0x14018ae6a
test eax, eax
je 0x14018aec3
cmp eax, 0x65
je 0x14018ae8a
mov rcx, rbx
call qword [0x140420bf8]
movsxd rcx, eax
add rbx, rcx
movzx eax, byte [rbx]
test eax, eax
jne 0x14018ae45
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
je 0x14018aec3
nop
cmp eax, 0x65
je 0x14018ae8a
movzx eax, byte [rbx + 1]
inc rbx
test eax, eax
jne 0x14018ae70
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test rbx, rbx
je 0x14018aec3
mov ecx, dword [0x14046a420]
call fcn.140184dd0
mov ebx, dword [0x14046a420]
lea rcx, str.Beep_
call qword [case.0x1400407ae.0]
xor r8d, r8d
mov edx, ebx
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
jmp fcn.140182fb0
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x14018e360
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edx, edx
mov rsi, rcx
call fcn.140321ad0
mov rdi, rax
test rax, rax
je 0x14018e3ef
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [0x14045b3f8], 0
mov ebx, eax
jne 0x14018e39d
mov rcx, rdi
call fcn.140005660
cmp ebx, 0xffffffff
je 0x14018e3dd
and bl, 0x11
cmp bl, 1
je 0x14018e3dd
mov rcx, rsi
call fcn.1401e0270
test eax, eax
jne 0x14018e3dd
mov rcx, rsi
lea ebx, [rax + 1]
call fcn.1401e1020
test eax, eax
mov ecx, 2
cmovne ebx, ecx
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret