joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r13d, 9
mov dword [rbp - 0x20], 0x2a0005
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], r13w
mov dword [rbp - 0x1c], 0x2b0036
mov dword [rbp - 0x18], 0x2e004c
mov dword [rbp - 0x14], 0x200027
mov dword [rbp - 0x10], 0x2d0030
call fcn.140005e60
mov rcx, rax
call 0x14000b810
mov qword [0x14001a1b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x63
mov dword [rbp - 0x20], 0x2a0005
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x2b0036
mov dword [rbp - 0x18], 0x2e004c
mov dword [rbp - 0x14], 0x530056
call fcn.140002590
mov rcx, rax
call 0x14000b810
lea rcx, [rbp - 0x20]
mov qword [0x14001a1a8], rax
mov dword [rbp - 0x20], 0x1b0020
mov dword [rbp - 0x1c], 0x90000
mov dword [rbp - 0x18], 0x620065
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp 0x14000b810
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000b872
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000a430
test al, al
jne 0x14000b884
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000b840
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000b810
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r13d, 9
mov dword [rbp - 0x20], 0x2a0005
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], r13w
mov dword [rbp - 0x1c], 0x2b0036
mov dword [rbp - 0x18], 0x2e004c
mov dword [rbp - 0x14], 0x200027
mov dword [rbp - 0x10], 0x2d0030
call fcn.140005e60
mov rcx, rax
call 0x14000b810
mov qword [0x14001a1b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x63
mov dword [rbp - 0x20], 0x2a0005
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x2b0036
mov dword [rbp - 0x18], 0x2e004c
mov dword [rbp - 0x14], 0x530056
call fcn.140002590
mov rcx, rax
call 0x14000b810
lea rcx, [rbp - 0x20]
mov qword [0x14001a1a8], rax
mov dword [rbp - 0x20], 0x1b0020
mov dword [rbp - 0x1c], 0x90000
mov dword [rbp - 0x18], 0x620065
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp 0x14000b810
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000b872
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000a430
test al, al
jne 0x14000b884
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000b840
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000cef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000d11e
mov word [rbp + 0x50], 0x6f4e
mov word [rbp + 0x58], 0x6f4e
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000cfa4
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000cf90
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000cfd5
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000cfc0
cmp rdi, rbx
jne 0x14000d0f2
mov r13, rsi
mov word [rbp - 0x50], 0x6f4e
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000d016
lea rcx, [rbp - 0x50]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000d002
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000d118
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x6f002f
call fcn.1400027f0
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000d088
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x6f0034
call fcn.1400027f0
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000d088
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x6f002f
mov dword [rbp - 0x42], 0x6f000f
call fcn.1400027f0
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.1400027f0
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x6f002f
call fcn.1400027f0
movzx eax, word [rax]
cmp edi, eax
jl 0x14000d0e5
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x6f0034
call fcn.1400027f0
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000d0e5
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x6f002f
mov dword [rbp - 0x32], 0x6f000f
call fcn.1400027f0
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.1400027f0
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000d0f2
inc r14
jmp 0x14000cff0
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000d11e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000cf60
mov rax, qword [rbp - 8]
jmp 0x14000d120
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000fe80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x14001a1c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x7001d
mov dword [rbp - 0x1c], 0x90001
mov dword [rbp - 0x18], 0x510065
mov dword [rbp - 0x14], 0x4f0057
mov dword [rbp - 0x10], 0x40007
mov dword [rbp - 0xc], 0x700065
call fcn.140002e40
mov rcx, rax
call rbx
mov rbx, qword [0x14001a1c0]
lea rcx, [rbp - 0x20]
mov qword [0x14001a1a0], rax
mov dword [rbp - 0x20], 0x60019
mov dword [rbp - 0x1c], 0xc000a
mov dword [rbp - 0x18], 0x70067
mov dword [rbp - 0x14], 0x4f0011
mov dword [rbp - 0x10], 0x40007
mov dword [rbp - 0xc], 0x700065
call fcn.140002e40
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x140018c70]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x14001a130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14001a1b0], rax
mov word [rbp - 0x10], 0x3f06
mov byte [rbp - 0xe], 0x6f
call fcn.140005220
mov rcx, qword [0x14001a1a0]
mov rdx, rax
call rbx
mov rbx, qword [0x14001a130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x901071d
mov dword [rbp - 0x1c], 0x41d2765
mov dword [rbp - 0x18], 0x157d1d00
mov word [rbp - 0x14], 0x6925
call fcn.140001180
mov rcx, qword [0x14001a1a0]
mov rdx, rax
call rbx
mov rbx, qword [0x14001a130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x100107
mov dword [rbp - 0x1c], 0x15000c7b
mov dword [rbp - 0x18], 0x1e6c182c
mov word [rbp - 0x14], 0x6933
call fcn.140001180
mov rcx, qword [0x14001a1b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140018d30]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x14001a130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14001a0e8], rax
mov byte [rbp - 0x10], 0x70
call fcn.140004e60
mov rcx, qword [0x14001a1b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140018cc0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x14001a130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14001a0f0], rax
mov dword [rbp - 0x10], 0x740a0414
call fcn.1400029f0
mov rcx, qword [0x14001a1b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140018c40]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x14001a130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14001a0e0], rax
mov byte [rbp - 0x10], 0x70
call fcn.140004e60
mov rcx, qword [0x14001a1b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140018bf0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x14001a130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14001a0d8], rax
mov dword [rbp - 0x10], 0x35010719
mov byte [rbp - 0xc], 0x6f
call fcn.140003790
mov rcx, qword [0x14001a1b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140018cd0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x14001a130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x291e
mov byte [rbp - 0xe], 0x6f
call fcn.140005220
mov rcx, qword [0x14001a1b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp rax
Function at 0x140001cde
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
sub rsp, 0x20
call sub.KERNEL32.dll_GetCommandLineA
add rsp, 0x20
and dword [rbp - 0x20], 0
mov rsi, rax
sub rsp, 0x20
lea rdi, [rbp - 0x20]
mov rcx, rax
mov rdx, rdi
call fcn.140001de3
add rsp, 0x20
mov eax, dword [rdi]
inc eax
lea rax, [rax*8 + 0xf]
and rax, 0xfffffffffffffff0
call section..text
sub rsp, rax
mov rdi, rsp
mov eax, 0xf2631852
xor eax, dword [0x140003918]
inc eax
cdqe
add rax, qword [0x140003910]
jmp rax
Function at 0x140001e54
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001e9e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001e9e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001e9e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001e9e
cmp dword [rcx + 0x84], 0xe
jbe 0x140001e9e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ea0
xor al, al
add rsp, 0x28
ret

Function at 0x140008a84
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140008880
Function at 0x14000df4c
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 0x14000df7c
xor eax, eax
jmp 0x14000e03f
mov rbp, rbx
cmp word [rax], si
je 0x14000dfa1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000df88
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000df84
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.14000de6c
movsxd r14, eax
test eax, eax
jne 0x14000dfdf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000df75
mov rcx, r14
call fcn.14000a55c
mov rdi, rax
test rax, rax
jne 0x14000dff8
xor ecx, ecx
call fcn.1400098e4
jmp 0x14000dfd4
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.14000de6c
test eax, eax
jne 0x14000e029
mov rcx, rdi
call fcn.1400098e4
jmp 0x14000e033
xor ecx, ecx
call fcn.1400098e4
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 0x140012458
Capabilities:
Get file size

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

Function at 0x1400126cc
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, [0x140024580]
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 0x140012723
cmp word [rdx], r13w
jne 0x140012723
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140012728
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001284d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001286e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140012761
mov rdx, r9
mov word [rbx], cx
jmp 0x140012788
cmp r9, r8
jae 0x140012798
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 0x140012742
jmp 0x14001284d
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 0x140012842
cmp dword [rsp + 0x80], esi
je 0x140012842
lea r8, [0x140024580]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001281a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400127ea
mov word [rbx], r13w
jmp 0x14001284a
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 0x1400127f7
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001284a
cmp word [rsp + 0x70], r13w
jne 0x140012827
cmp rbx, r14
je 0x1400127e4
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140014764
cmp word [rsp + 0x70], r13w
je 0x14001284d
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, [0x140024580]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140012847
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001284d
Function at 0x140014030
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.14000cf3c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400140ba
cmp byte [rbp - 0x21], r15b
je 0x1400140b5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400140f0
call fcn.140009b34
test eax, eax
jne 0x1400140dc
cmp byte [rbp - 0x21], r15b
je 0x1400140d4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400140f0
cmp byte [rbp - 0x21], r15b
je 0x1400140ed
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.14000c51c
test eax, eax
jne 0x140014190
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000cf3c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001412f
cmp byte [rbp - 0x21], r15b
je 0x140014164
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140014164
call fcn.140009b34
test eax, eax
jne 0x140014150
cmp byte [rbp - 0x21], r15b
je 0x140014149
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140014164
cmp byte [rbp - 0x21], r15b
je 0x140014161
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.14000c51c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140014190
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140014193
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400141a1
mov rcx, rdi
call fcn.1400098e4
cmp byte [rbp + 0x3f], r15b
je 0x1400141b0
mov rcx, qword [rbp + 0x27]
call fcn.1400098e4
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 0x140016760
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140016788
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140016788
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400012f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1400035e8], rbx
je 0x14000133c
cmp rax, rbx
jne 0x14000132f
mov ebx, 1
mov esi, ebx
jmp 0x140001341
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001314
mov ebx, 1
mov eax, dword [0x1400035f0]
cmp eax, ebx
jne 0x140001357
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400013bc
mov eax, dword [0x1400035f0]
test eax, eax
jne 0x1400013b6
mov dword [0x1400035f0], ebx
lea r15, [0x140002298]
lea rdi, [0x140002280]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400013a8
test eax, eax
jne 0x1400013ac
cmp qword [rdi], 0
je 0x14000139d
mov rax, qword [rdi]
mov rcx, qword [0x140002260]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000137e
test eax, eax
je 0x1400013bc
mov eax, 0xff
jmp 0x140001498
mov dword [0x140003024], ebx
mov eax, dword [0x1400035f0]
cmp eax, ebx
jne 0x1400013e3
lea rdx, [0x140002278]
lea rcx, [0x140002268]
call sub.msvcrt.dll__initterm
mov dword [0x1400035f0], 2
test esi, esi
jne 0x1400013f0
xor eax, eax
xchg qword [0x1400035e8], rax
cmp qword [0x1400035f8], 0
je 0x140001424
lea rcx, [0x1400035f8]
call fcn.1400016a0
test eax, eax
je 0x140001424
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400035f8]
mov r9, qword [0x140002260]
call r9
mov r8, qword [0x140003038]
mov rdx, qword [0x140003030]
mov ecx, dword [0x140003028]
call fcn.140001138
mov dword [0x140003020], eax
cmp dword [0x140003040], 0
jne 0x140001454
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140003024], 0
jne 0x140001469
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140003020]
jmp 0x140001498
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140173000
add rsp, 0x28
jmp 0x1400012f0

Function at 0x14000158c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400015d8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400015d0
cmp dword [rcx + 0x3c], edx
jl 0x1400015d0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400015d0
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 0x1400015d8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14001be30
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0x800
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.d3dx11_43.dll_D3DX11CompileFromMemory]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jge 0x14001bf1d
cmp qword [rsp + 0x78], 0
je 0x14001beff
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
call qword [rax + 0x18]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp qword [rsp + 0x78], 0
je 0x14001bf17
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
call qword [rax + 0x10]
mov eax, dword [rsp + 0x70]
jmp 0x14001bf37
cmp qword [rsp + 0x78], 0
je 0x14001bf35
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
call qword [rax + 0x10]
xor eax, eax
add rsp, 0x88
ret