joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140098c50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x1c], 0
jne 0x140098c98
mov qword [rsp + 0x20], 0
mov r9d, 0xb8
lea r8, str.C:OdinLangOdin_dev_2024_08_srcqueue.cpp
lea rdx, str.q__mask___0
lea rcx, str.Assertion_Failure
call fcn.140017c40
int3
xor eax, eax
test eax, eax
jne 0x140098c60
mov rax, qword [rsp + 0x80]
add rax, 0x30
xor edx, edx
mov rcx, rax
call fcn.1402485a0
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1c]
mov ecx, dword [rsp + 0x30]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx]
mov qword [rsp + 0x50], rax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x48], rax
mov edx, 2
mov rcx, qword [rsp + 0x48]
call fcn.1402485a0
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x140098da6
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x80]
add rax, 0x30
mov r8d, dword [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140248210
movzx eax, al
test eax, eax
je 0x140098da4
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x88]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8d, 3
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call fcn.1402488b0
mov rax, qword [rsp + 0x80]
add rax, 0x18
mov r8d, 3
mov edx, 1
mov rcx, rax
call fcn.1402482f0
jmp 0x140098de9
jmp 0x140098de4
cmp dword [rsp + 0x3c], 0
jge 0x140098dca
mov rcx, qword [rsp + 0x80]
call fcn.140222a00
movzx eax, al
test eax, eax
jne 0x140098dc8
mov eax, 0xffffffff
jmp 0x140098de9
jmp 0x140098de4
mov rax, qword [rsp + 0x80]
add rax, 0x30
xor edx, edx
mov rcx, rax
call fcn.1402485a0
mov dword [rsp + 0x30], eax
jmp 0x140098cb8
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x140139ad0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov dword [rsp], 0x811c9dc5
mov rax, qword [rsp + 8]
mov qword [rsp + 0x10], rax
jmp 0x140139b3d
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x18]
cmp qword [rsp + 0x10], rax
je 0x140139b63
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
mov dword [rsp], eax
jmp 0x140139b30
mov eax, dword [rsp]
add rsp, 0x28
ret
Function at 0x140140ba0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xe8
lea rcx, [rsp + 0xb0]
call fcn.140025030
lea rcx, [rsp + 0x30]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x40]
mov rdi, rax
mov rsi, qword [rsp + 0x100]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0x30]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xc0]
call fcn.140027630
lea rcx, [rsp + 0x60]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x70]
lea rcx, [rsp + 0x60]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0xd0]
call fcn.140025030
lea rcx, [rsp + 0x80]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x70]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xa0]
lea rcx, [rsp + 0x80]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xa0]
call fcn.1400257f0
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140140cc6
mov byte [rsp + 0x20], 1
jmp 0x140140ccb
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0xe8
pop rdi
pop rsi
ret
Function at 0x140143520
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x140307f80]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp qword [rsp + 0x188], 0
jne 0x140143578
mov qword [rsp + 0x20], 0
mov r9d, 0xcf
lea r8, str.C:OdinLangOdin_dev_2024_08_srcmain.cpp
lea rdx, str.output
lea rcx, str.Assertion_Failure
call fcn.140017c40
int3
xor eax, eax
test eax, eax
jne 0x140143543
lea rdx, str.rxgybzw
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.ucrtbased.dll__popen]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1401435a7
xor al, al
jmp 0x14014367e
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.14020e700
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1402405e0
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ucrtbased.dll_feof]
test eax, eax
jne 0x14014363f
mov r9, qword [rsp + 0x38]
mov r8d, 0xff
mov edx, 1
lea rcx, [rsp + 0x60]
call qword [sym.imp.ucrtbased.dll_fread]
mov qword [rsp + 0x48], rax
mov r8, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
mov rax, qword [rsp + 0x188]
mov rcx, qword [rax]
call fcn.14001a750
mov rcx, qword [rsp + 0x188]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ucrtbased.dll_ferror]
test eax, eax
je 0x14014363d
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
call fcn.14020e770
movzx eax, byte [rsp + 0x30]
jmp 0x14014367e
jmp 0x1401435c4
movzx eax, byte [0x140311590]
test eax, eax
je 0x14014366a
mov rax, qword [rsp + 0x188]
mov r8, qword [rax]
mov rdx, qword [rsp + 0x180]
lea rcx, str._SYSTEM_CALL_OUTPUT___s_____s_n
call fcn.14001c510
nop
mov byte [rsp + 0x31], 1
lea rcx, [rsp + 0x40]
call fcn.14020e770
movzx eax, byte [rsp + 0x31]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140257e70
add rsp, 0x178
ret
Function at 0x14020db90
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140307f80]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, str._tRAM:
call fcn.14001c4c0
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xor edx, edx
mov rax, qword [rsp + 0x28]
mov ecx, 0x100000
div rcx
mov rdx, rax
lea rcx, str._lld_MiB_n
call fcn.14001c4c0
nop
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140257e70
add rsp, 0x78
ret
Function at 0x14020e7a0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x188
lea rcx, [rsp + 0xf8]
call fcn.14001d7a0
lea rcx, [rsp + 0x68]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x48]
lea rcx, [rsp + 0x68]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14002c770
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x20]
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x150]
call fcn.140100af0
lea rcx, [rsp + 0x128]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xd0]
lea rcx, [rsp + 0x128]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x28], 0
jmp 0x14020e874
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + 0x28], rax
jge 0x14020e98c
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140025500
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x108]
call fcn.1400254b0
lea rcx, [rsp + 0x78]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x88]
lea rcx, [rsp + 0x78]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xa0]
lea rcx, [rsp + 0x88]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0x48]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x118]
call fcn.140027860
lea rcx, [rsp + 0xc0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x58]
lea rcx, [rsp + 0xc0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
cmp qword [rsp + 0x60], 0
jle 0x14020e987
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xd0]
call fcn.140026760
nop
jmp 0x14020e867
lea rax, [rsp + 0xd0]
mov rdi, qword [rsp + 0x1a0]
mov rsi, rax
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x1a0]
add rsp, 0x188
pop rdi
pop rsi
ret
Function at 0x1402494c0
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1402494e0
Capabilities:
Copy file

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0xa0]
call fcn.140249ac0
lea rcx, [rsp + 0x48]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x38]
lea rcx, [rsp + 0x48]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x60]
lea rcx, [rsp + 0x38]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xor r8d, r8d
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x60]
call fcn.14001dee0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140249588
xor eax, eax
jmp 0x140249639
lea rax, [rsp + 0x70]
lea rcx, [rsp + 0x38]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xor r8d, r8d
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x70]
call fcn.14001dee0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1402495dd
mov r8d, dword [rsp + 0xe0]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [rsp + 0x20], eax
lea rax, [rsp + 0x80]
lea rcx, [rsp + 0x38]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x80]
call fcn.140249a60
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x38]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.140249a60
mov eax, dword [rsp + 0x20]
add rsp, 0xb8
pop rdi
pop rsi
ret

Function at 0x140249880
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea rdx, [rsp + 0x20]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x140253780
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp dword [rsp + 0x88], 0x200
jge 0x1402537fb
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov ecx, dword [rcx]
cmp dword [rax], ecx
jge 0x1402537c2
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov dword [rsp + 0x2c], eax
jmp 0x1402537cd
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x100
jge 0x1402537fb
mov r9d, dword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140253d30
jmp 0x14025399e
mov edx, dword [rsp + 0x88]
lea rcx, [rsp + 0x48]
call fcn.14024b4f0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140253820
mov eax, dword [rsp + 0x30]
jmp 0x14025399e
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x20], 0
jmp 0x14025384a
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x20], eax
jge 0x140253976
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x88]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x78]
cmp dword [rcx], eax
jge 0x140253885
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov dword [rsp + 0x34], eax
jmp 0x140253898
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x88]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x24], 0
jmp 0x1402538b4
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x24], eax
jge 0x140253942
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x70]
mov rdx, qword [rdx + 0x10]
mov ecx, dword [rdx + rcx*4]
movsxd rdx, dword [rsp + 0x24]
mov r8, qword [rsp + 0x78]
mov r8, qword [r8 + 0x10]
mov edx, dword [r8 + rdx*4]
imul rcx, rdx
add rax, rcx
mov ecx, dword [rsp + 0x28]
add rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
and rax, 0xfffffff
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x20]
add edx, ecx
mov ecx, edx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x58]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x40]
shr rax, 0x1c
mov dword [rsp + 0x28], eax
jmp 0x1402538aa
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x88]
jge 0x140253971
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x58]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax*4], edx
jmp 0x140253840
lea rcx, [rsp + 0x48]
call fcn.14024c1b0
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.14024b310
lea rcx, [rsp + 0x48]
call fcn.14024b060
xor eax, eax
add rsp, 0x68
ret
Function at 0x140257fa0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140258420
movzx eax, al
test eax, eax
jne 0x140257fc0
mov ecx, 7
call fcn.1402589b0
nop
mov byte [rsp + 0x20], 0
call fcn.1402583b0
mov byte [rsp + 0x21], al
cmp dword [0x14031a528], 1
jne 0x140257fe4
mov ecx, 7
call fcn.1402589b0
nop
jmp 0x14025803c
cmp dword [0x14031a528], 0
jne 0x140258037
mov dword [0x14031a528], 1
lea rdx, [0x14025e310]
lea rcx, [0x14025e2f8]
call sub.ucrtbased.dll__initterm_e
test eax, eax
je 0x140258018
mov eax, 0xff
jmp 0x140258141
lea rdx, [0x14025e2f0]
lea rcx, [0x14025e168]
call sub.ucrtbased.dll__initterm
mov dword [0x14031a528], 2
jmp 0x14025803c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140258610
call fcn.140258980
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140258099
mov rcx, qword [rsp + 0x30]
call fcn.140258580
movzx eax, al
test eax, eax
je 0x140258099
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14025e140]
nop
call fcn.140258990
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1402580cd
mov rcx, qword [rsp + 0x38]
call fcn.140258580
movzx eax, al
test eax, eax
je 0x1402580cd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call sub.ucrtbased.dll__register_thread_local_exe_atexit_callback
nop
call fcn.140258180
mov dword [rsp + 0x28], eax
call fcn.140258b60
movzx eax, al
test eax, eax
jne 0x1402580ec
mov ecx, dword [rsp + 0x28]
call sub.ucrtbased.dll_exit
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1402580fb
call sub.ucrtbased.dll__cexit
nop
xor edx, edx
mov cl, 1
call fcn.140258640
mov eax, dword [rsp + 0x28]
jmp 0x140258141
add rsp, 0x68
ret
Function at 0x14001a95c
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
sub rsp, 0x68
and qword [r11 - 0x10], 0
mov rax, qword [0x1400e44b8]
lea rdx, str.956501_v3
mov qword [r11 - 0x18], rax
and qword [r11 - 0x20], 0
and qword [r11 - 0x28], 0
mov eax, 0x80000000
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0x12c
mov dword [rsp + 0x28], eax
mov r9d, 0xcf0000
mov r8, rdx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
and qword [rsp + 0x58], 0
mov rcx, qword [0x1400e44b8]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x40], rax
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, [0x1400ab2e0]
mov r9d, 0x50b008c4
xor r8d, r8d
xor ecx, ecx
mov qword [0x1400e4510], rax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [0x1400e4510]
xor edx, edx
mov qword [0x1400e4508], rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400e4510]
xor edx, edx
add rsp, 0x68
jmp qword [sym.imp.USER32.dll_ShowWindow]
Function at 0x14001ab60
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x1ff70]
mov eax, 0x20070
call fcn.140038c40
sub rsp, rax
lea rcx, [rsp + 0x50]
mov rsi, rdx
call fcn.14001e640
lea rdx, [rsp + 0x70]
xor bl, bl
mov ecx, 0x7fff
mov byte [rbp + 0x1ffa0], bl
xor dil, dil
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea r8, [rbp + 0x1ffb0]
mov rdx, rsi
call fcn.14001a624
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14004f0da
mov eax, dword [0x1400e4570]
test eax, eax
je 0x14001acf2
mov r15d, 1
lea rcx, [0x1400e6320]
cmp eax, r15d
je 0x14004f0fc
lea rax, [rbp + 0x1ffa0]
lea r8, [0x1400e4570]
lea rdx, [0x1400e4598]
mov qword [rsp + 0x20], rax
call fcn.14001cb64
test al, al
je 0x14001acfb
mov al, byte [0x1400e6320]
mov rcx, qword [0x1400e4598]
mov dil, byte [0x1400e6321]
lea r9, [rbp + 0x1ffb8]
lea r8, [rbp + 0xff70]
mov edx, 0x7fff
mov byte [0x1400e4574], al
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov rdx, qword [rbp + 0x1ffb8]
lea rcx, [0x1400e4550]
call fcn.14001edf8
mov bl, byte [rbp + 0x1ffa0]
mov r8d, dword [0x1400e4570]
lea rdx, [0x1400e4598]
call fcn.14000bdc0
test eax, eax
jne 0x14004f120
cmp dil, r15b
je 0x14004f143
call fcn.14001aa30
call fcn.14001a95c
cmp byte [0x1400e4574], 0
jne 0x14001ac9f
lea rcx, [0x1400e4f50]
call fcn.14000175c
lea rcx, [0x1400e45c0]
mov edx, r15d
call fcn.14000bea0
cmp byte [0x1400e4574], 0
jne 0x14001acc3
lea rcx, [0x1400e4f50]
call fcn.1400018ac
lea rcx, [0x1400e6320]
call fcn.14001cbfc
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, [rsp + 0x50]
call fcn.14001c29c
add rsp, 0x20070
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
or dword [0x1400e44c0], 0xffffffff
jmp 0x14001accf
mov dword [0x1400e44c0], r15d
jmp 0x14001accf
lea r8, [0x1400cf2a4]
lea rdx, str.This_is_a_third_party_compiled_956501_script.
mov r9d, reloc.WSOCK32.dll_recv
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
jmp 0x14001acda
mov r8, qword [0x1400e4578]
or r9d, 0xffffffff
mov edx, r15d
call fcn.14001cab8
mov al, byte [0x1400e44c8]
mov byte [0x1400e6322], al
jmp 0x14001ac5c
lea rcx, [0x1400e6320]
call fcn.14001cbfc
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x1400e44c0], r15d
jmp 0x14001acda
call fcn.1400749b0
test al, al
jne 0x14001ac80
cmp byte [rbp + 0x1ffb0], al
jne 0x14001ac80
lea rcx, [rsp + 0x50]
call fcn.14001a3c8
lea rdx, [0x1400cb8a0]
lea rcx, [rsp + 0x30]
call fcn.14001f0bc
lea rcx, [rsp + 0x30]
test bl, bl
je 0x14004f1ab
lea rdx, [0x1400cf2d8]
call fcn.14001ef20
lea rdx, [0x1400e4598]
lea rcx, [rsp + 0x30]
call fcn.14001ec60
lea rdx, [0x1400cf2d8]
lea rcx, [rsp + 0x30]
jmp 0x14004f1ae
mov rdx, rsi
call fcn.14001ef20
mov rbx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [rsp + 0x50]
mov rcx, rax
lea rax, [rsp + 0x70]
lea rdx, str.runas
mov r9, rbx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x30]
call fcn.14001c29c
nop
jmp 0x14001acc3
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140009790]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400097a0]
mov dword [rax], 1
mov rax, qword [0x1400097b0]
mov dword [rax], 1
mov rax, qword [0x140009740]
cmp word [rax], 0x5a4d
jne 0x14000105e
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c8
mov rax, qword [0x140009780]
mov dword [0x14000c00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b8
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140009860]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140009840]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400096f0]
cmp dword [rax], 1
je 0x140001100
xor eax, eax
add rsp, 0x20
pop rbp
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x14000107b
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001118
cmp dx, 0x20b
jne 0x14000105e
cmp dword [rax + 0x84], 0xe
jbe 0x14000105e
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105e
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x20
pop rbp
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105e
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105e

Function at 0x140001790
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rbx, rcx
lea rax, [rbp + 0x28]
mov ecx, 2
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
mov qword [rbp - 8], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rbp - 8]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]