joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001f51c
Capabilities:
Parse pe header

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

Function at 0x140021090
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14006a740]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400210e7
cmp word [rdx], r13w
jne 0x1400210e7
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400210ec
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140021211
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140021232
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140021125
mov rdx, r9
mov word [rbx], cx
jmp 0x14002114c
cmp r9, r8
jae 0x14002115c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140021106
jmp 0x140021211
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140021206
cmp dword [rsp + 0x80], esi
je 0x140021206
lea r8, [0x14006a740]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400211de
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400211ae
mov word [rbx], r13w
jmp 0x14002120e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400211bb
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14002120e
cmp word [rsp + 0x70], r13w
jne 0x1400211eb
cmp rbx, r14
je 0x1400211a8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140020914
cmp word [rsp + 0x70], r13w
je 0x140021211
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14006a740]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14002120b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140021211
Function at 0x140025a34
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140025a4a
mov al, 1
jmp 0x140025aaa
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140025a5b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140025aa8
mov ecx, dword [rcx + 0x18]
nop
call fcn.14002712c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140025aa8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140025aa8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140025aa8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140025aaa
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14002a390
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140020d30
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14002a431
cmp ebx, dword [rsp + 0x30]
je 0x14002a42a
test esi, esi
je 0x14002a42a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14002a405
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14002a412
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14002a3ef
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14002a416
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14002a433
mov eax, 1
jmp 0x14002a433
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002cd28
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14002cd58
xor eax, eax
jmp 0x14002ce1b
mov rbp, rbx
cmp word [rax], si
je 0x14002cd7d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14002cd64
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14002cd60
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140021dec
movsxd r14, eax
test eax, eax
jne 0x14002cdbb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14002cd51
mov rcx, r14
call fcn.140021cfc
mov rdi, rax
test rax, rax
jne 0x14002cdd4
xor ecx, ecx
call fcn.140020640
jmp 0x14002cdb0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140021dec
test eax, eax
jne 0x14002ce05
mov rcx, rdi
call fcn.140020640
jmp 0x14002ce0f
xor ecx, ecx
call fcn.140020640
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140030fe4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140014730
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14003106e
cmp byte [rbp - 0x21], r15b
je 0x140031069
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400310a4
call fcn.140022194
test eax, eax
jne 0x140031090
cmp byte [rbp - 0x21], r15b
je 0x140031088
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400310a4
cmp byte [rbp - 0x21], r15b
je 0x1400310a1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140014428
test eax, eax
jne 0x140031144
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140014730
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400310e3
cmp byte [rbp - 0x21], r15b
je 0x140031118
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140031118
call fcn.140022194
test eax, eax
jne 0x140031104
cmp byte [rbp - 0x21], r15b
je 0x1400310fd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140031118
cmp byte [rbp - 0x21], r15b
je 0x140031115
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140014428
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140031144
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140031147
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140031155
mov rcx, rdi
call fcn.140020640
cmp byte [rbp + 0x3f], r15b
je 0x140031164
mov rcx, qword [rbp + 0x27]
call fcn.140020640
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140031bbc
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140020914
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140020914
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140031d0c
cmp rax, 0xffffffffffffffff
je 0x140031d0c
xor edi, edi
test rbp, rbp
jle 0x140031cb7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140025c48
mov rbx, rax
test rax, rax
jne 0x140031c44
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140031cad
mov edx, 0x8000
mov ecx, r14d
call fcn.140020458
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140025538
cmp eax, 0xffffffff
je 0x140031c8d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140031c54
mov edx, r15d
mov ecx, r14d
call fcn.140020458
jmp 0x140031cad
cmp byte [rsi + 0x38], dil
je 0x140031ca4
cmp dword [rsi + 0x34], 5
jne 0x140031ca4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140031cad
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140020640
jmp 0x140031d20
jns 0x140031d20
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140020914
cmp rax, 0xffffffffffffffff
jne 0x140031cd8
cmp byte [rsi + 0x30], dil
je 0x140031d20
mov edi, dword [rsi + 0x2c]
jmp 0x140031d20
mov ecx, r14d
call fcn.14002712c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140031d20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140031d20
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140031d19
mov eax, dword [rsi + 0x2c]
jmp 0x140031d1e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140020914
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1400327b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400327d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400327d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140032a10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x70], 0
jne 0x140032a45
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x78], 0
je 0x140032a59
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rax
jmp 0x140032a65
lea rax, [0x14005ebc8]
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140032afe
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140032afe
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jbe 0x140032afe
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140032afe
mov r8d, 0xffffffff
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call fcn.140032e90
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
jmp 0x140032b1f
lea rdx, [0x14005eba0]
mov rcx, qword [rsp + 0x60]
call fcn.140033270
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
add rsp, 0x58
ret

Function at 0x140032b30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x24], 0
cmp qword [rsp + 0x80], 0
jne 0x140032b6b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x48]
call fcn.140033740
nop
cmp qword [rsp + 0x88], 0
je 0x140032b90
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x30], rax
jmp 0x140032b9c
lea rax, [0x14005ebc8]
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140032c24
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140032c24
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jbe 0x140032c24
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x40], rax
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140033530
nop
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
call fcn.1400336e0
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x48]
call fcn.1400336a0
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140036340
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140068080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x20], 0x67
mov byte [rsp + 0x21], 0xe6
mov byte [rsp + 0x22], 9
mov byte [rsp + 0x23], 0x6a
mov byte [rsp + 0x24], 0x85
mov byte [rsp + 0x25], 0xae
mov byte [rsp + 0x26], 0x67
mov byte [rsp + 0x27], 0xbb
mov byte [rsp + 0x28], 0x72
mov byte [rsp + 0x29], 0xf3
mov byte [rsp + 0x2a], 0x6e
mov byte [rsp + 0x2b], 0x3c
mov byte [rsp + 0x2c], 0x3a
mov byte [rsp + 0x2d], 0xf5
mov byte [rsp + 0x2e], 0x4f
mov byte [rsp + 0x2f], 0xa5
mov byte [rsp + 0x30], 0x7f
mov byte [rsp + 0x31], 0x52
mov byte [rsp + 0x32], 0xe
mov byte [rsp + 0x33], 0x51
mov byte [rsp + 0x34], 0x8c
mov byte [rsp + 0x35], 0x68
mov byte [rsp + 0x36], 5
mov byte [rsp + 0x37], 0x9b
mov byte [rsp + 0x38], 0xab
mov byte [rsp + 0x39], 0xd9
mov byte [rsp + 0x3a], 0x83
mov byte [rsp + 0x3b], 0x1f
mov byte [rsp + 0x3c], 0x19
mov byte [rsp + 0x3d], 0xcd
mov byte [rsp + 0x3e], 0xe0
mov byte [rsp + 0x3f], 0x5b
cmp qword [rsp + 0x68], 0
jne 0x140036417
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
call fcn.140035ec0
nop
jmp 0x140036427
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.140035ec0
nop
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000de10
add rsp, 0x58
ret
Function at 0x140037fd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140068080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x20], 8
mov byte [rsp + 0x21], 0xc9
mov byte [rsp + 0x22], 0xbc
mov byte [rsp + 0x23], 0xf3
mov byte [rsp + 0x24], 0x67
mov byte [rsp + 0x25], 0xe6
mov byte [rsp + 0x26], 9
mov byte [rsp + 0x27], 0x6a
mov byte [rsp + 0x28], 0x3b
mov byte [rsp + 0x29], 0xa7
mov byte [rsp + 0x2a], 0xca
mov byte [rsp + 0x2b], 0x84
mov byte [rsp + 0x2c], 0x85
mov byte [rsp + 0x2d], 0xae
mov byte [rsp + 0x2e], 0x67
mov byte [rsp + 0x2f], 0xbb
mov byte [rsp + 0x30], 0x2b
mov byte [rsp + 0x31], 0xf8
mov byte [rsp + 0x32], 0x94
mov byte [rsp + 0x33], 0xfe
mov byte [rsp + 0x34], 0x72
mov byte [rsp + 0x35], 0xf3
mov byte [rsp + 0x36], 0x6e
mov byte [rsp + 0x37], 0x3c
mov byte [rsp + 0x38], 0xf1
mov byte [rsp + 0x39], 0x36
mov byte [rsp + 0x3a], 0x1d
mov byte [rsp + 0x3b], 0x5f
mov byte [rsp + 0x3c], 0x3a
mov byte [rsp + 0x3d], 0xf5
mov byte [rsp + 0x3e], 0x4f
mov byte [rsp + 0x3f], 0xa5
mov byte [rsp + 0x40], 0xd1
mov byte [rsp + 0x41], 0x82
mov byte [rsp + 0x42], 0xe6
mov byte [rsp + 0x43], 0xad
mov byte [rsp + 0x44], 0x7f
mov byte [rsp + 0x45], 0x52
mov byte [rsp + 0x46], 0xe
mov byte [rsp + 0x47], 0x51
mov byte [rsp + 0x48], 0x1f
mov byte [rsp + 0x49], 0x6c
mov byte [rsp + 0x4a], 0x3e
mov byte [rsp + 0x4b], 0x2b
mov byte [rsp + 0x4c], 0x8c
mov byte [rsp + 0x4d], 0x68
mov byte [rsp + 0x4e], 5
mov byte [rsp + 0x4f], 0x9b
mov byte [rsp + 0x50], 0x6b
mov byte [rsp + 0x51], 0xbd
mov byte [rsp + 0x52], 0x41
mov byte [rsp + 0x53], 0xfb
mov byte [rsp + 0x54], 0xab
mov byte [rsp + 0x55], 0xd9
mov byte [rsp + 0x56], 0x83
mov byte [rsp + 0x57], 0x1f
mov byte [rsp + 0x58], 0x79
mov byte [rsp + 0x59], 0x21
mov byte [rsp + 0x5a], 0x7e
mov byte [rsp + 0x5b], 0x13
mov byte [rsp + 0x5c], 0x19
mov byte [rsp + 0x5d], 0xcd
mov byte [rsp + 0x5e], 0xe0
mov byte [rsp + 0x5f], 0x5b
cmp qword [rsp + 0x88], 0
jne 0x14003814d
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.140037b30
nop
jmp 0x140038163
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140037b30
nop
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000de10
add rsp, 0x78
ret
Function at 0x140038820
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x58], rax
lea rdx, [0x14005eba4]
mov rcx, qword [rsp + 0x48]
call fcn.140001af0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xc0]
call fcn.140001bc0
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.140001af0
mov qword [rsp + 0x68], rax
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.1400348a0
nop
lea rcx, [rsp + 0x38]
call fcn.140008d50
test eax, eax
jne 0x1400388cf
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x38]
call fcn.1400075c0
nop
mov rcx, qword [rsp + 0xc0]
call fcn.140001b70
movzx eax, byte [rsp + 0x21]
jmp 0x1400389dc
mov byte [rsp + 0x20], 1
lea rdx, [0x14005eba8]
lea rcx, [rsp + 0x28]
call fcn.140001af0
nop
mov dword [rsp + 0x24], 0
jmp 0x1400388fa
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x38]
call fcn.140008d50
cmp dword [rsp + 0x24], eax
jge 0x1400389ab
cmp dword [rsp + 0x24], 0
je 0x140038927
lea rdx, [0x14005eba4]
lea rcx, [rsp + 0x28]
call fcn.140001c10
nop
mov edx, dword [rsp + 0x24]
lea rcx, [rsp + 0x38]
call fcn.14000bc00
mov rcx, rax
call fcn.140001bc0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140001c10
nop
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x28]
call fcn.140001bc0
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.140001af0
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.1400387c0
movzx eax, al
test eax, eax
jne 0x1400389a6
lea rcx, [rsp + 0x28]
call fcn.140001bc0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 1
jge 0x1400389a6
mov byte [rsp + 0x20], 0
jmp 0x1400389ab
jmp 0x1400388f0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x22], al
lea rcx, [rsp + 0x28]
call fcn.140001b70
nop
lea rcx, [rsp + 0x38]
call fcn.1400075c0
nop
mov rcx, qword [rsp + 0xc0]
call fcn.140001b70
movzx eax, byte [rsp + 0x22]
add rsp, 0xb8
ret
Function at 0x140038c90
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0xb8], 0
je 0x140038d97
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0xc0]
cmp dword [rax + 0xc4], ecx
jb 0x140038cd5
xor eax, eax
jmp 0x140038e3a
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0xc4]
mov eax, dword [rax + 0xc0]
sub eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x30], eax
jbe 0x140038d03
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0xc4]
mov rdx, qword [rsp + 0x50]
add rcx, qword [rdx + 0xb8]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call fcn.14004aa60
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xc4]
add eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0xc4], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x9c]
add eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x9c], eax
mov eax, dword [rsp + 0x30]
mov r8d, eax
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax + 0xa0]
call fcn.140039420
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0xa0], eax
mov eax, dword [rsp + 0x30]
jmp 0x140038e3a
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0xa8], 0
je 0x140038e2c
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xa8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x140038de3
xor eax, eax
jmp 0x140038e3a
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x9c]
add eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x9c], eax
mov eax, dword [rsp + 0x34]
mov r8d, eax
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax + 0xa0]
call fcn.140039420
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0xa0], eax
mov eax, dword [rsp + 0x34]
jmp 0x140038e3a
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x24], 0x1000000
xor eax, eax
add rsp, 0x48
ret