joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400065d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400065fd
xor eax, eax
jmp 0x140006769
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140006637
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140006637
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140006769
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000675c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000667a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400066a5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140006761
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140006714
sub eax, 1
je 0x140006714
cmp eax, 2
jne 0x14000675c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140006761
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140006742
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000675c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140006761
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000c460
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140006b40
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140006c13
cmp byte [rcx + 0x71], 0
je 0x140006c13
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140006c0f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140006bd4
sub eax, 1
je 0x140006bd8
cmp eax, 2
jne 0x140006c0f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000c460
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006c06
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140006c0f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140006bbc
xor al, al
jmp 0x140006bbc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000c460
add rsp, 0x60
pop rbx
ret
Function at 0x14000c334
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14000c36e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000c373
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14000c3bc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14000f630]
cmp byte [rcx + rax], 0
je 0x14000c3bc
dec r8
sub rdx, 1
jne 0x14000c3a2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000cf44
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000cf8e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000cf8e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000cf8e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000cf8e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000cf8e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000cf90
xor al, al
add rsp, 0x28
ret
Function at 0x140017724
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp dword [0x1400211b8], 0
mov r14, rdx
mov r15, rcx
lea rbx, [0x1400211c8]
jne 0x140017771
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, rbx
mov dword [0x1400211f0], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x1400211b8], 1
mov ecx, dword [0x1400211f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x140017846
mov rcx, qword [0x1400204cc]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x140017871
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1400211c0]
test rax, rax
je 0x1400177c1
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x1400211c0], rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rbp + 0x20]
mov r8, rdi
mov rcx, rax
mov rdx, rbx
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x18]
lea r8, [0x14001788c]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov ecx, dword [0x1400211f0]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x1400204cc]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140017871
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x100003eb8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100003f05
cmp rcx, 0xffffffffffffffff
je 0x100003f05
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x100003efd
cmp dword [rcx + 0x3c], edx
jl 0x100003efd
cmp dword [rcx + 0x3c], 0x10000000
jae 0x100003efd
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100003f05
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1402e2cc0
Capabilities:
Terminate process

Disassembly:
invalid
cld
pop r11
jmp 0x1402e2ccd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1402e2cdd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1402e2cc5
lea eax, [rcx + 1]
jmp 0x1402e2ceb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1402e2cfe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1402e2ce4
sub eax, 3
jb 0x1402e2d1e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1402e2d6d
sar eax, 1
movsxd rbp, eax
jb 0x1402e2d54
jmp 0x1402e2d2c
add ebx, ebx
jne 0x1402e2d2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1402e2d54
inc ecx
add ebx, ebx
jne 0x1402e2d3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1402e2d54
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1402e2d4d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1402e2d3c
add ecx, 2
jmp 0x1402e2d59
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1402e2c82
jmp 0x1402e2ccd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x25dc00
mov dl, 0x54
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1402e2dbd
cmp rsi, rcx
jae 0x1402e2dc5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1402e2da4
cmp al, 0x8f
ja 0x1402e2da4
cmp byte [rsi - 2], 0xf
je 0x1402e2daa
sub al, 0xe8
cmp al, 1
ja 0x1402e2d8e
cmp rsi, rcx
jae 0x1402e2dc5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1402e2d94
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1402e2dc5
lodsb al, byte [rsi]
jmp 0x1402e2da4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2df000]
mov eax, dword [rdi]
or eax, eax
je 0x1402e2e22
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2e31dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1402e2dd2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1402e2e1c
mov qword [rbx], rax
add rbx, 8
jmp 0x1402e2df2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1402e2e66
cmp al, 0xef
ja 0x1402e2e4e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1402e2e2e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1402e2e3d
mov eax, dword [rdi]
add rdi, 4
jmp 0x1402e2e3d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1402e2eba
sub rsp, 0xffffffffffffff80
jmp 0x14025cbcc
Function at 0x140005f44
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x68
mov byte [rsp + 0x28], 0x53
mov byte [rsp + 0x29], VarBstrFromDisp
mov byte [rsp + 0x2a], 0x66
mov byte [rsp + 0x2b], 0x74
mov byte [rsp + 0x2c], 0x77
mov byte [rsp + 0x2d], 0x61
mov byte [rsp + 0x2e], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x2f], 0x65
mov byte [rsp + 0x30], 0x5c
mov byte [rsp + 0x31], 0x54
mov byte [rsp + 0x32], 0x65
mov byte [rsp + 0x33], VarBstrFromDisp
mov byte [rsp + 0x34], 0x63
mov byte [rsp + 0x35], 0x65
mov byte [rsp + 0x36], VarBstrFromDisp
mov byte [rsp + 0x37], 0x74
mov byte [rsp + 0x38], 0x5c
mov byte [rsp + 0x39], 0x62
mov byte [rsp + 0x3a], 0x75
mov byte [rsp + 0x3b], 0x67
mov byte [rsp + 0x3c], 0x52
mov byte [rsp + 0x3d], 0x65
mov byte [rsp + 0x3e], VarBstrFromDisp
mov byte [rsp + 0x3f], VarBstrFromDisp
mov byte [rsp + 0x40], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x41], 0x74
mov byte [rsp + 0x42], 0x5c
mov byte [rsp + 0x43], 0x57
mov byte [rsp + 0x44], 0x65
mov byte [rsp + 0x45], 0x63
mov byte [rsp + 0x46], 0x68
mov byte [rsp + 0x47], 0x61
mov byte [rsp + 0x48], 0x74
mov byte [rsp + 0x49], 0x57
mov byte [rsp + 0x4a], 0x69
mov byte [rsp + 0x4b], VarBstrFromDisp
mov byte [rsp + 0x4c], 0x64
mov byte [rsp + 0x4d], VarBstrFromDisp
mov byte [rsp + 0x4e], 0x77
mov byte [rsp + 0x4f], 0x73
mov byte [rsp + 0x50], 0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x140006039
mov eax, 1
jmp 0x14000603b
xor eax, eax
add rsp, 0x68
ret
Function at 0x140006040
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x88
mov byte [rsp + 0x28], 0x5c
mov byte [rsp + 0x29], 0x41
mov byte [rsp + 0x2a], VarBstrFromDisp
mov byte [rsp + 0x2b], VarBstrFromDisp
mov byte [rsp + 0x2c], 0x6c
mov byte [rsp + 0x2d], 0x69
mov byte [rsp + 0x2e], 0x63
mov byte [rsp + 0x2f], 0x61
mov byte [rsp + 0x30], 0x74
mov byte [rsp + 0x31], 0x69
mov byte [rsp + 0x32], VarBstrFromDisp
mov byte [rsp + 0x33], VarBstrFromDisp
mov byte [rsp + 0x34], 0x73
mov byte [rsp + 0x35], 0x5c
mov byte [rsp + 0x36], 0x56
mov byte [rsp + 0x37], 0x4d
mov byte [rsp + 0x38], 0x77
mov byte [rsp + 0x39], 0x61
mov byte [rsp + 0x3a], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x3b], 0x65
mov byte [rsp + 0x3c], 0x48
mov byte [rsp + 0x3d], VarBstrFromDisp
mov byte [rsp + 0x3e], 0x73
mov byte [rsp + 0x3f], 0x74
mov byte [rsp + 0x40], 0x4f
mov byte [rsp + 0x41], VarBstrFromDisp
mov byte [rsp + 0x42], 0x65
mov byte [rsp + 0x43], VarBstrFromDisp
mov byte [rsp + 0x44], 0x2e
mov byte [rsp + 0x45], 0x65
mov byte [rsp + 0x46], 0x78
mov byte [rsp + 0x47], 0x65
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x50], 0x53
mov byte [rsp + 0x51], 0x4f
mov byte [rsp + 0x52], 0x46
mov byte [rsp + 0x53], 0x54
mov byte [rsp + 0x54], 0x57
mov byte [rsp + 0x55], 0x41
mov byte [rsp + 0x56], 0x52
mov byte [rsp + 0x57], 0x45
mov byte [rsp + 0x58], 0x5c
mov byte [rsp + 0x59], 0x4f
mov byte [rsp + 0x5a], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x5b], 0x61
mov byte [rsp + 0x5c], 0x63
mov byte [rsp + 0x5d], 0x6c
mov byte [rsp + 0x5e], 0x65
mov byte [rsp + 0x5f], 0x5c
mov byte [rsp + 0x60], 0x56
mov byte [rsp + 0x61], 0x69
mov byte [rsp + 0x62], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x63], 0x74
mov byte [rsp + 0x64], 0x75
mov byte [rsp + 0x65], 0x61
mov byte [rsp + 0x66], 0x6c
mov byte [rsp + 0x67], 0x42
mov byte [rsp + 0x68], VarBstrFromDisp
mov byte [rsp + 0x69], 0x78
mov byte [rsp + 0x6a], 0x20
mov byte [rsp + 0x6b], 0x47
mov byte [rsp + 0x6c], 0x75
mov byte [rsp + 0x6d], 0x65
mov byte [rsp + 0x6e], 0x73
mov byte [rsp + 0x6f], 0x74
mov byte [rsp + 0x70], 0x20
mov byte [rsp + 0x71], 0x41
mov byte [rsp + 0x72], 0x64
mov byte [rsp + 0x73], 0x64
mov byte [rsp + 0x74], 0x69
mov byte [rsp + 0x75], 0x74
mov byte [rsp + 0x76], 0x69
mov byte [rsp + 0x77], VarBstrFromDisp
mov byte [rsp + 0x78], VarBstrFromDisp
mov byte [rsp + 0x79], 0x73
mov byte [rsp + 0x7a], 0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1400061e4
xor eax, eax
jmp 0x14000620a
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x140006205
xor eax, eax
jmp 0x14000620a
mov eax, 1
add rsp, 0x88
ret
Function at 0x140006240
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
cmp dword [rsp + 0x50], 0
je 0x14000627d
call fcn.140005c40
test eax, eax
je 0x140006273
call fcn.140005bc0
test eax, eax
je 0x140006273
call fcn.140006040
test eax, eax
jne 0x14000627d
mov ecx, 1
call fcn.1401b8cb4
cmp dword [rsp + 0x60], 0
je 0x140006297
call fcn.140005f44
test eax, eax
jne 0x140006297
mov ecx, 1
call fcn.1401b8cb4
cmp dword [rsp + 0x58], 0
je 0x1400062d3
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140006214]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x48
ret
Function at 0x1400071dc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
call fcn.14000eca0
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rax, 0x88
mov qword [rsp + 0x48], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x20], 0
jmp 0x1400072f9
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x20], eax
jae 0x1400073d1
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax*4]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140007322
jmp 0x1400072ef
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax*4]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x24], 0
jmp 0x14000734a
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x24], eax
jae 0x1400073cc
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x78]
movzx eax, word [rcx + rax*2]
cmp eax, dword [rsp + 0x20]
jne 0x1400073c7
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x90]
call fcn.1401b8840
test eax, eax
jne 0x1400073c7
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
jmp 0x1400073d3
jmp 0x140007340
jmp 0x1400072ef
xor eax, eax
add rsp, 0xb8
ret
Function at 0x14000ced0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov rcx, qword [rsp + 0x280]
call fcn.14001170c
mov r8d, 1
mov rax, qword [rsp + 0x280]
mov rdx, qword [rax + 0x170]
mov rcx, qword [rsp + 0x280]
call fcn.14000e9c8
xor r8d, r8d
mov rax, qword [rsp + 0x280]
mov rdx, qword [rax + 0x170]
mov rcx, qword [rsp + 0x280]
call fcn.14000e9c8
lea rdx, [rsp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov ecx, 0x5c
mov word [rsp + rax*2 + 0x60], cx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
xor ecx, ecx
mov word [rsp + rax*2 + 0x60], cx
lea r8, [rsp + 0x60]
mov edx, 0x3ea
mov rcx, qword [rsp + 0x280]
call fcn.14001ed80
lea r8, [rsp + 0x60]
mov edx, 0x3eb
mov rcx, qword [rsp + 0x280]
call fcn.14001ed80
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call fcn.14000e974
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x280]
add rax, 0x178
mov r8, qword [rsp + 0x30]
mov rdx, rax
mov rcx, qword [rsp + 0x280]
call fcn.14000d13c
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call fcn.14000e974
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x280]
add rax, 0x260
mov r8, qword [rsp + 0x40]
mov rdx, rax
mov rcx, qword [rsp + 0x280]
call fcn.14000d13c
mov eax, 1
add rsp, 0x278
ret
Function at 0x14000d13c
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2c8
mov rcx, qword [rsp + 0x2d8]
call fcn.14000e7ec
lea rcx, [rsp + 0x20]
call fcn.1400038d4
nop
lea r8, [0x14023cfe0]
mov rdx, qword [rsp + 0x2e0]
lea rcx, [rsp + 0x38]
call fcn.14000e744
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140002c58
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x38]
call fcn.140003750
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x14000d2ad
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x9c]
cmp eax, 0x2e
jne 0x14000d1ea
mov eax, 2
imul rax, rax, 1
movzx eax, word [rsp + rax + 0x9c]
test eax, eax
je 0x14000d295
lea rdx, [rsp + 0x9c]
lea rcx, [rsp + 0x20]
call fcn.140002f34
mov eax, dword [rsp + 0x70]
and eax, 0x10
test eax, eax
je 0x14000d276
lea r8, [rsp + 0x20]
lea rdx, [0x14023cfec]
lea rcx, [rsp + 0x68]
call fcn.14000e344
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea r8, [0x14023cfe8]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.14000e744
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x20]
call fcn.14000e4ac
nop
lea rcx, [rsp + 0x60]
call fcn.140003750
nop
lea rcx, [rsp + 0x68]
call fcn.140003750
lea rcx, [rsp + 0x20]
call fcn.140002c58
mov r8, rax
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x2d8]
call fcn.14000e30c
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000d1bb
lea rcx, [rsp + 0x20]
call fcn.140003750
nop
mov rcx, qword [rsp + 0x2e0]
call fcn.140003750
add rsp, 0x2c8
ret

Function at 0x14000eca0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
ret