joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000b6e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x18004e5f0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov edi, edx
mov r8d, 0x104
xor edx, edx
mov rbx, rcx
call fcn.180019880
xor r11d, r11d
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], r11w
call fcn.180019880
lea rcx, [rsp + 0x20]
mov edx, 0x208
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rbx
call fcn.18001e11c
mov rcx, rbx
call fcn.18001b8d0
cmp byte [rax + rbx - 1], 0x5c
je 0x18000b76a
mov rcx, rbx
call fcn.18001b8d0
mov byte [rax + rbx], 0x5c
cmp edi, 1
je 0x18000b782
cmp edi, 2
je 0x18000b782
cmp edi, 3
jne 0x18000b791
lea rdx, str.msls31.dll
jmp 0x18000b789
lea rdx, str.ntshrui.dll
mov rcx, rbx
call fcn.180019f40
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180019850
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret

Function at 0x18000b848
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rbx
sub rsp, 0x20
mov r9d, 1
mov rbx, rcx
mov rdx, rcx
lea r8d, [r9 + 0x2a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rdx, str.Microsoft_SharedTextConv_
mov rcx, rbx
call fcn.180019f40
lea rdx, str.TextHelp.dll
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.180019f40

Function at 0x18000b88c
Capabilities:
Create directory
Get common file path
Get program files directory

Disassembly:
push rbx
sub rsp, 0x20
mov r9d, 1
mov rbx, rcx
mov rdx, rcx
lea r8d, [r9 + 0x2a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rdx, str.System_ado_
mov rcx, rbx
call fcn.180019f40
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rdx, str.msadoex.dll
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.180019f40
Function at 0x18000bee0
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x18004e5f0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rbx, rcx
xor esi, esi
mov r8, rdx
lea rdx, str._s.
lea rcx, [rbp + 0xa0]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x18000bf54
or eax, eax
jmp 0x18000c068
lea r13, [rbx + 0x110]
mov r9, qword [r13 + 8]
mov r8, qword [r13]
lea rdx, [rsp + 0x28]
mov rcx, r13
call fcn.18000bdbc
lea rdx, [0x18003f618]
lea rcx, [rbp - 0x74]
call fcn.18001e5e0
test eax, eax
je 0x18000c047
lea rdx, str..mnvcxz_lkjhgfdsa__poiuytrwq
lea rcx, [rbp - 0x74]
call fcn.18001e5e0
test eax, eax
je 0x18000c047
test byte [rsp + 0x60], 0x10
je 0x18000c047
xor edi, edi
lea rcx, [rbp - 0x74]
call fcn.18001b8d0
test rax, rax
je 0x18000bfe2
lea rbx, [rbp - 0x74]
cmp byte [rbx], 0x39
jg 0x18000bfe2
cmp byte [rbx], 0x30
jl 0x18000bfe2
inc edi
inc rbx
lea rcx, [rbp - 0x74]
call fcn.18001b8d0
mov r11, rax
movsxd rax, edi
cmp rax, r11
jb 0x18000bfbf
lea rcx, [rbp - 0x74]
call fcn.18001b8d0
mov r11, rax
movsxd rax, edi
cmp rax, r11
jne 0x18000c047
mov qword [rsp + 0x48], 0xf
and qword [rsp + 0x40], 0
mov byte [rsp + 0x30], 0
lea rcx, [rbp - 0x74]
call fcn.18001b8d0
mov r8, rax
lea rdx, [rbp - 0x74]
lea rcx, [rsp + 0x30]
call fcn.180002a24
nop
lea rdx, [rsp + 0x30]
mov rcx, r13
call fcn.180003cc8
nop
cmp qword [rsp + 0x48], 0x10
jb 0x18000c045
mov rcx, qword [rsp + 0x30]
call fcn.18001996c
inc esi
lea rdx, [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x18000bf70
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.180019850
mov rbx, qword [rsp + 0x300]
add rsp, 0x2c0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000cba0
Capabilities:
Check os version

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x18004e5f0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x9c
call fcn.180019880
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x9c
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x18000cbf9
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x18000cc29
cmp dword [rsp + 0x24], 5
jne 0x18000cc07
mov eax, 1
jmp 0x18000cc2b
cmp dword [rsp + 0x24], 6
jne 0x18000cc29
mov eax, dword [rsp + 0x28]
test eax, eax
jne 0x18000cc1d
mov eax, 2
jmp 0x18000cc2b
cmp eax, 1
jne 0x18000cc29
mov eax, 3
jmp 0x18000cc2b
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180019850
add rsp, 0xd8
ret

Function at 0x18000cd74
Capabilities:
Check mutex on windows
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
test edx, edx
je 0x18000cea5
dec edx
jne 0x18000cee8
call fcn.18000cc74
test eax, eax
je 0x18000cee8
lea r8, str.GlobalI_AM_EXIST__
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [0x180051018], rax
test rax, rax
je 0x18000cee8
lea rbx, [0x180053370]
mov edx, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov rcx, rbx
call fcn.18001b8d0
cmp byte [rax + rbx - 1], 0x5c
je 0x18000cdf2
lea rdx, [0x18003df60]
mov rcx, rbx
call fcn.180019f40
call fcn.18000cba0
mov rcx, rbx
mov dword [0x1800531d8], eax
cmp eax, 3
jne 0x18000ce2c
lea rdx, str.msls31.dll
call fcn.180019f40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1800531d0], rax
test rax, rax
je 0x18000cee8
jmp 0x18000ce77
lea rdx, str.ntshrui.dll
call fcn.180019f40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x18000ce77
lea rdx, [0x18003f700]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x18003f6f0]
mov rcx, rbx
mov qword [0x180053360], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180053368], rax
mov rcx, qword [0x180051018]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [0x180050ff0]
mov rdx, rdi
call fcn.18000b2b8
mov rcx, qword [0x180051018]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x18000cee8
mov rcx, qword [0x180051018]
test rcx, rcx
je 0x18000cee8
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [0x180050ff0]
call fcn.180006cc8
mov rcx, qword [0x180051018]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [0x180051018]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x180051018], 0
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18000dc04
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x18004e5f0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x30], 0
call fcn.180019880
add rbx, 0xf5dd
mov esi, 1
mov rcx, rbx
call fcn.18001b8d0
test rax, rax
je 0x18000dc83
lea rdx, [0x18003e78c]
mov rcx, rbx
call fcn.18001c168
test rax, rax
je 0x18000dc83
lea rcx, [0x180050870]
mov rdx, rbx
call fcn.18000645c
jmp 0x18000dd5c
mov rcx, rbx
call fcn.18001b8d0
test rax, rax
je 0x18000dcb8
lea rdx, [0x18003f84c]
mov rcx, rbx
call fcn.18001c168
test rax, rax
je 0x18000dcb8
lea rcx, [0x180050870]
mov rdx, rbx
call fcn.1800068e8
jmp 0x18000dd5c
mov rcx, rbx
call fcn.18001b8d0
test rax, rax
je 0x18000dd6c
lea rcx, [0x180050870]
xor r8d, r8d
mov rdx, rbx
call fcn.180005c20
lea rdx, str.asvideo.exe
mov rcx, rbx
call fcn.18001c168
test rax, rax
je 0x18000dd5c
mov edx, 0x5c
mov rcx, rbx
call fcn.18001c6b0
test rax, rax
je 0x18000dd05
mov byte [rax + 1], 0
lea rdx, str._sLog
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.18001e530
lea rdx, [0x18003f44c]
lea rcx, [rsp + 0x30]
call fcn.18001b560
mov rdi, rax
test rax, rax
je 0x18000dd5c
lea rcx, [rsp + 0x20]
mov r9, rax
mov r8, rsi
mov rdx, rsi
call fcn.18001e510
movzx ecx, byte [rsp + 0x20]
movzx esi, sil
test rax, rax
cmovne esi, ecx
mov rcx, rdi
call fcn.18001a170
mov r8d, 0x104
xor edx, edx
mov rcx, rbx
call fcn.180019880
mov al, sil
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180019850
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18000e21c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov edi, 1
cmp dword [rbx + 0xf4a0], 0x14
jne 0x18000e249
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 3
jl 0x18000e22e
mov rcx, rbx
call fcn.18000d7fc
test al, al
jne 0x18000e25d
or eax, 0xffffffff
jmp 0x18000e2fa
cmp dword [rbx + 0xf4a0], 0x14
je 0x18000e2ed
mov ecx, dword [rbx + 0xf4a4]
mov eax, 0x66666667
inc ecx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub ecx, eax
movsxd rax, ecx
mov dword [rbx + 0xf4a4], ecx
imul rax, rax, 0x5f8
cmp dword [rax + rbx + 0xbbc], 0
jne 0x18000e2e0
or edi, 0xffffffff
mov dword [rax + rbx + 0xbbc], edi
lea ecx, [rdi + 2]
lock xadd dword [rbx + 0xf6e4], ecx
movsxd rax, dword [rbx + 0xf4a4]
inc ecx
imul rax, rax, 0x5f8
mov word [rax + rbx + 0xbc0], cx
inc dword [rbx + 0xf4a0]
mov edi, dword [rbx + 0xf4a4]
jmp 0x18000e2f0
lea rcx, str.unexpected_end__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or edi, 0xffffffff
mov rcx, rbx
call fcn.18000d81c
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18000e4ac
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov rdi, rcx
call fcn.18000d7fc
xor r12d, r12d
cmp dword [rdi + 0xf4a0], r12d
je 0x18000e664
lea rcx, [rsp + 0x60]
call fcn.180019ecc
mov eax, dword [rdi + 0xf4a0]
lea ebp, [rax - 1]
add eax, 0xfffffffe
cmp ebp, eax
jl 0x18000e664
mov r8, qword [rsp + 0x60]
lea r13d, [r12 + 1]
mov ecx, dword [rdi + 0xf4a4]
mov eax, 0x66666667
sub ecx, ebp
add ecx, 0x14
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub ecx, eax
movsxd rsi, ecx
imul rsi, rsi, 0x5f8
cmp dword [rsi + rdi + 0xbbc], r12d
jle 0x18000e5e3
mov rax, r8
sub rax, qword [rsi + rdi + 0xbc8]
cmp rax, 2
jle 0x18000e5e3
movzx eax, word [rsi + rdi + 0xbc0]
sub ax, word [rdi + 0xf6e8]
test ax, ax
jg 0x18000e581
mov dword [rsi + rdi + 0xbbc], r12d
mov qword [rsi + rdi + 0xbc8], r12
mov dword [rsi + rdi + 0xbd0], r12d
dec dword [rdi + 0xf4a0]
jmp 0x18000e5e3
cmp dword [rsi + rdi + 0xbd0], 3
jge 0x18000e5f8
lea rbx, [rsi + rdi + 0x5e0]
xor r8d, r8d
mov rcx, rdi
mov rdx, rbx
call fcn.18000d5dc
movzx ecx, word [rdi + 0xf6ea]
mov r9d, 0x3c
mov word [rax + 5], cx
mov r8d, dword [rsi + rdi + 0xbbc]
lea rcx, [rdi + 0xf6f0]
mov rdx, rbx
mov byte [rsp + 0x20], r12b
call fcn.1800124c8
mov r8, qword [rsp + 0x60]
add dword [rsi + rdi + 0xbd0], r13d
mov qword [rsi + rdi + 0xbc8], r8
mov eax, dword [rdi + 0xf4a0]
sub ebp, r13d
sub eax, 2
cmp ebp, eax
jl 0x18000e664
jmp 0x18000e4fc
lea rcx, [0x18003f874]
mov byte [rdi + 0xf4c0], r12b
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x68]
call fcn.180019ecc
mov rcx, qword [rdi + 0xf4c8]
mov rdx, qword [rsp + 0x68]
test rcx, rcx
jle 0x18000e638
mov rax, rdx
sub rax, rcx
cmp rax, 0x12c
jg 0x18000e63a
test rcx, rcx
jne 0x18000e641
mov qword [rdi + 0xf4c8], rdx
mov rcx, rdi
mov byte [rdi + 0xf768], r12b
call fcn.18000e308
movzx r11d, word [rdi + 0xf6e4]
sub r11w, r13w
mov word [rdi + 0xf6e8], r11w
mov rcx, rdi
call fcn.18000d81c
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000e680
Capabilities:
Delete file
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x520]
sub rsp, 0x620
mov rax, qword [0x18004e5f0]
xor rax, rsp
mov qword [rbp + 0x510], rax
cmp byte [rcx + 0xf4c0], 0
mov r13, qword [rbp + 0x580]
mov r12b, r9b
mov rsi, r8
mov r15b, dl
mov rbx, rcx
je 0x18000e87c
lea rcx, [r8 + 8]
call fcn.18001b8d0
xor dil, dil
add eax, 9
mov dword [rsp + 0x24], eax
test r15b, r15b
je 0x18000e81f
mov eax, dword [rsi + 4]
mov edi, 1
cmp dword [rsi], eax
jne 0x18000e76e
lea rcx, [0x180050c80]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test r12b, r12b
je 0x18000e81f
test r13, r13
je 0x18000e735
lea rcx, [rbx + 0xf5dd]
mov rdx, r13
call fcn.180019fe0
mov rcx, rbx
call fcn.18000dc04
test al, al
setne dil
jmp 0x18000e81f
lea rdx, str.__MNBVCXZ_LKJHGFDSAPOIUYTREWQ_______
lea rcx, [rsi + 8]
call fcn.18001c168
mov r13, rax
test rax, rax
je 0x18000e81f
mov rcx, rbx
call fcn.18000dc04
lea rdx, [r13 + 1]
lea rcx, [rbx + 0xf5dd]
call fcn.180019fe0
jmp 0x18000e81f
lea r8, [rsp + 0x28]
lea rdx, [0x180050c80]
lea rcx, [0x180050ff0]
xor r15d, r15d
mov r9d, 0xfde9
mov qword [rsp + 0x28], r15
call fcn.180008328
mov rcx, qword [rsp + 0x28]
lea rdx, [0x18003f87c]
call fcn.18001f06c
mov r13, rax
test rax, rax
je 0x18000e80d
lea edx, [r15 + 4]
lea rcx, [rsp + 0x24]
mov r9, rax
mov r8, rdi
call fcn.18001b3f8
movsxd r8, dword [rsp + 0x24]
mov r9, r13
mov rdx, rdi
mov rcx, rsi
call fcn.18001b3f8
movzx eax, r15b
test r12b, r12b
cmovne eax, edi
lea rcx, [rsp + 0x20]
mov r9, r13
mov r8, rdi
mov rdx, rdi
mov byte [rsp + 0x20], al
call fcn.18001b3f8
mov rcx, r13
call fcn.18001a170
mov byte [0x180050d84], r12b
mov byte [rbx + 0xf4d8], r15b
jmp 0x18000e810
mov dil, r15b
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x18000e81f
call fcn.18001a1d8
movsxd r8, dword [rsp + 0x24]
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.18001b580
movsxd r11, dword [rsp + 0x24]
lea rdx, str..spi
lea rcx, [rsi + 8]
mov byte [rsp + r11 + 0x30], dil
call fcn.18001c168
mov r9d, dword [rsp + 0x24]
lea r8, [rsp + 0x30]
inc r9d
mov rcx, rbx
test rax, rax
je 0x18000e867
mov edx, 2
jmp 0x18000e877
neg r12b
sbb dx, dx
and dx, 0xf00b
add dx, 0x1002
call fcn.18000e350
mov rcx, qword [rbp + 0x510]
xor rcx, rsp
call fcn.180019850
mov rbx, qword [rsp + 0x668]
add rsp, 0x620
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000e9c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
sub rsp, 0x20
mov rdi, rcx
call fcn.18000e350
test eax, eax
jns 0x18000e9e5
xor al, al
jmp 0x18000ea31
cdqe
mov ebx, 0x7d0
imul rax, rax, 0x5f8
movzx esi, word [rax + rdi + 0xbc0]
mov rcx, qword [rdi + 0xf760]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x18000ea20
mov eax, ebx
add ebx, 0x7d0
cmp eax, 0x1770
jge 0x18000ea47
movzx eax, si
sub ax, word [rdi + 0xf6e8]
test ax, ax
jg 0x18000e9fb
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r12
ret
lea rcx, str.Sendrecv_Time_OUt__iCount_3
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x18000e9e1
Function at 0x18000ee60
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x680]
sub rsp, 0x780
mov rax, qword [0x18004e5f0]
xor rax, rsp
mov qword [rbp + 0x670], rax
cmp byte [rcx + 0xf4c0], 0
mov rsi, rcx
jne 0x18000eea1
xor al, al
jmp 0x18000f06a
lea rcx, [rbp - 0x80]
call fcn.180019fe0
lea r8, [rbp - 0x80]
lea rdx, [0x18003f924]
lea rcx, [rbp + 0x90]
call qword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov r12d, eax
test eax, eax
jne 0x18000eef9
lea rdx, [0x18003f910]
lea rcx, [rbp + 0x90]
call fcn.180019f40
lea rcx, [rbp + 0x90]
call fcn.18001b8d0
lea r9d, [rax + 1]
jmp 0x18000f056
xor eax, eax
lea rcx, [rsp + 0x31]
xor edx, edx
lea r8d, [rax + 0x4f]
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x21], eax
mov byte [rsp + 0x30], al
call fcn.180019880
xor edi, edi
mov ecx, edi
mov eax, r12d
shr eax, cl
test eax, eax
je 0x18000f03f
test al, 1
je 0x18000f034
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 5]
call fcn.180019880
xor edx, edx
lea r11d, [rdi + 0x41]
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x50]
mov word [rsp + 0x21], 0x5c3a
mov byte [rsp + 0x20], r11b
mov byte [rsp + 0x23], 0
call fcn.180019880
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x18000ef7f
lea rdx, str.Floppydisk__s__
jmp 0x18000efae
cmp eax, 3
jne 0x18000ef8d
lea rdx, str.Harddisk__s__
jmp 0x18000efae
cmp eax, 5
jne 0x18000ef9b
lea rdx, str.CDROM__s__
jmp 0x18000efae
lea rdx, str.Networkdisk__s__
cmp eax, 4
je 0x18000efae
lea rdx, str.Unknowdisk__s__
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.18001e530
lea rcx, [rsp + 0x30]
call fcn.18001b8d0
movsxd rcx, ebx
add rax, rcx
cmp rax, 0x4b0
jb 0x18000f017
inc ebx
lea r8, [rbp + 0x90]
mov edx, 6
mov r9d, ebx
mov rcx, rsi
call fcn.18000e9c0
test al, al
je 0x18000f03f
mov ecx, 0x14
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [rbp - 0x80]
lea rdx, [0x18003f924]
lea rcx, [rbp + 0x90]
call qword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x90]
call fcn.180019f40
lea rcx, [rsp + 0x30]
call fcn.18001b8d0
add ebx, eax
inc edi
cmp edi, 0x1a
jl 0x18000ef1a
lea rdx, [0x18003df5c]
lea rcx, [rbp + 0x90]
call fcn.180019f40
lea r9d, [rbx + 2]
lea r8, [rbp + 0x90]
mov edx, 6
mov rcx, rsi
call fcn.18000e9c0
mov rcx, qword [rbp + 0x670]
xor rcx, rsp
call fcn.180019850
lea r11, [rsp + 0x780]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x18000f3d4
Capabilities:
Print debug messages

Disassembly:
mov r8, rdx
mov r9d, 0x40a
mov edx, 1
jmp fcn.18000e9c0
Function at 0x180010060
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
and qword [rax - 0x38], 0
mov rbx, r8
mov r15b, r9b
lea r8, [rax - 0x38]
lea rcx, [0x180050ff0]
mov r9d, 0xfde9
mov r13, rdx
call fcn.180008328
mov rcx, qword [rsp + 0x20]
lea rdx, [0x18003f858]
call fcn.18001f06c
mov rsi, rax
test rax, rax
jne 0x1800100cf
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1800100c8
call fcn.18001a1d8
xor al, al
jmp 0x180010289
mov ecx, 0x5dc
call fcn.18001b978
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x180010100
mov rcx, rsi
call fcn.18001a170
test rbx, rbx
je 0x1800100c8
lea edx, [rdi + 1]
mov rcx, rbx
call fcn.18000ffe0
jmp 0x1800100c8
cmp dword [rbx + 0x110], 0
jne 0x18001011a
mov rcx, r13
call fcn.18001b8d0
add eax, 9
mov dword [rbx + 0x110], eax
cmp dword [rbx + 0x10c], 0
jne 0x180010147
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 2]
call fcn.18001eac8
mov rcx, rsi
call fcn.18001ef34
mov rcx, rsi
mov dword [rbx + 0x10c], eax
call fcn.18001ecbc
mov r12d, dword [rbx + 0x104]
test r12d, r12d
je 0x180010161
xor r8d, r8d
mov edx, r12d
mov rcx, rsi
call fcn.18001eac8
cmp dword [rbx + 0x114], 0
jne 0x180010189
mov rcx, r13
call fcn.18001b8d0
mov ecx, 0x400
mov edx, 0x320
cmp rax, 0x64
cmova ecx, edx
mov dword [rbx + 0x114], ecx
xor ebp, ebp
lea rcx, [rdi + 8]
mov rdx, r13
call fcn.180019fe0
mov r11d, dword [rbx + 0x10c]
mov dword [rdi + 4], r12d
mov dword [rdi], r11d
movsxd rcx, dword [rbx + 0x110]
movsxd r8, dword [rbx + 0x114]
add rcx, rdi
mov r9, rsi
mov edx, 1
call fcn.18001e510
mov r11, rax
test eax, eax
je 0x180010268
test r15b, r15b
je 0x1800101f1
xor ecx, ecx
test eax, eax
je 0x1800101f1
mov edx, eax
movsxd rax, dword [rbx + 0x110]
add rax, rcx
inc rcx
xor byte [rax + rdi], 0x4c
dec rdx
jne 0x1800101db
mov r14, qword [rbx + 0x118]
lea r9, [rsp + 0x28]
lea rcx, [rbx + 0x118]
mov r8, qword [r14 + 8]
mov rdx, r14
add r12d, r11d
call fcn.18000f938
mov rdx, qword [rbx + 0x120]
movabs rcx, 0x1ffffffffffffffe
sub rcx, rdx
cmp rcx, 1
jb 0x1800102a6
lea rcx, [rdx + 1]
mov qword [rbx + 0x120], rcx
mov qword [r14 + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
mov ecx, 0x5dc
call fcn.18001b978
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x180010268
inc ebp
cmp ebp, 0x3e8
jl 0x18001018b
mov rcx, rdi
call fcn.18001a1d8
mov rcx, rsi
call fcn.18001a170
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x180010287
call fcn.18001a1d8
mov al, 1
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, str.list_T__too_long
call fcn.180032098
int3
Function at 0x1800118ec
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x18004e5f0]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov qword [rsp + 0x20], rcx
mov rbx, rdx
mov qword [rsp + 0x28], rdx
lea rcx, [rbp + 0x181]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x180], 0
call fcn.180019880
lea rdx, [0x18003ed40]
lea rcx, [rbp + 0x180]
mov r8, rbx
call fcn.18001e530
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x180011974
mov al, 1
jmp 0x180011ab8
xor dil, dil
mov ebx, 1
test byte [rsp + 0x30], 0x10
jne 0x180011a00
lea rcx, [rbp + 0x71]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x70], 0
call fcn.180019880
lea rcx, [rsp + 0x5c]
mov edx, 0x5c
call fcn.18001c6b0
lea rcx, [rbp + 0x70]
test rax, rax
jne 0x1800119ca
mov rdx, qword [rsp + 0x28]
call fcn.180019fe0
lea rdx, [rsp + 0x5c]
lea rcx, [rbp + 0x70]
call fcn.180019f40
jmp 0x1800119d4
lea rdx, [rsp + 0x5c]
call fcn.180019fe0
mov rcx, qword [rsp + 0x20]
lea rdx, [rbp + 0x70]
xor r9d, r9d
xor r8d, r8d
call fcn.1800102b4
test eax, eax
je 0x180011ada
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180011a8d
lea rdx, str..mnvcxz_lkjhgfdsa__poiuytrwq
lea rcx, [rsp + 0x5c]
call fcn.18001ec58
test eax, eax
je 0x180011a8d
lea rdx, [0x18003f618]
lea rcx, [rsp + 0x5c]
call fcn.18001ec58
test eax, eax
je 0x180011a8d
lea rcx, [rbp + 0x71]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x70], 0
call fcn.180019880
lea rcx, [rsp + 0x5c]
mov edx, 0x5c
call fcn.18001c6b0
lea rcx, [rbp + 0x70]
test rax, rax
jne 0x180011a71
mov rdx, qword [rsp + 0x28]
call fcn.180019fe0
lea rdx, [rsp + 0x5c]
lea rcx, [rbp + 0x70]
call fcn.180019f40
jmp 0x180011a7b
lea rdx, [rsp + 0x5c]
call fcn.180019fe0
mov rcx, qword [rsp + 0x20]
lea rdx, [rbp + 0x70]
call fcn.1800118ec
test al, al
je 0x180011ada
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
movzx edi, dil
test eax, eax
cmove edi, ebx
test dil, dil
je 0x18001197c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.180019850
mov rbx, qword [rsp + 0x3d0]
add rsp, 0x3a0
pop rdi
pop rsi
pop rbp
ret
xor al, al
jmp 0x180011ab8

Function at 0x180011db4
Capabilities:
Create thread
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
lea rcx, str.fjakdfaldfaf
mov rbx, r8
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov r9, qword [rdi]
lea r8, [0x180011854]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, str.fdsa
mov qword [rsi], rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.KERNEL32.dll_OutputDebugStringA]