joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008a540
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, [0x1400ec6d0]
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 0x14008a597
cmp word [rdx], r13w
jne 0x14008a597
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14008a59c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14008a6c1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14008a6e2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14008a5d5
mov rdx, r9
mov word [rbx], cx
jmp 0x14008a5fc
cmp r9, r8
jae 0x14008a60c
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 0x14008a5b6
jmp 0x14008a6c1
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 0x14008a6b6
cmp dword [rsp + 0x80], esi
je 0x14008a6b6
lea r8, [0x1400ec6d0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14008a68e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14008a65e
mov word [rbx], r13w
jmp 0x14008a6be
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 0x14008a66b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14008a6be
cmp word [rsp + 0x70], r13w
jne 0x14008a69b
cmp rbx, r14
je 0x14008a658
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14008a49c
cmp word [rsp + 0x70], r13w
je 0x14008a6c1
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, [0x1400ec6d0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14008a6bb
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14008a6c1
Function at 0x14008e27c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14008e292
mov al, 1
jmp 0x14008e2f2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14008e2a3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14008e2f0
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400925cc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14008e2f0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14008e2f0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14008e2f0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14008e2f2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140091d00
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 0x140091d30
xor eax, eax
jmp 0x140091df3
mov rbp, rbx
cmp word [rax], si
je 0x140091d55
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140091d3c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140091d38
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.140090608
movsxd r14, eax
test eax, eax
jne 0x140091d93
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140091d29
mov rcx, r14
call fcn.14008cdf0
mov rdi, rax
test rax, rax
jne 0x140091dac
xor ecx, ecx
call fcn.14008a164
jmp 0x140091d88
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.140090608
test eax, eax
jne 0x140091ddd
mov rcx, rdi
call fcn.14008a164
jmp 0x140091de7
xor ecx, ecx
call fcn.14008a164
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 0x140094b20
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.140089bfc
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 0x140094bc1
cmp ebx, dword [rsp + 0x30]
je 0x140094bba
test esi, esi
je 0x140094bba
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140094b95
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140094ba2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140094b7f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140094ba6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140094bc3
mov eax, 1
jmp 0x140094bc3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140098ca0
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.14008a49c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14008a49c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140098df0
cmp rax, 0xffffffffffffffff
je 0x140098df0
xor edi, edi
test rbp, rbp
jle 0x140098d9b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140089f5c
mov rbx, rax
test rax, rax
jne 0x140098d28
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140098d91
mov edx, 0x8000
mov ecx, r14d
call fcn.140087d3c
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.14008c6e4
cmp eax, 0xffffffff
je 0x140098d71
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140098d38
mov edx, r15d
mov ecx, r14d
call fcn.140087d3c
jmp 0x140098d91
cmp byte [rsi + 0x38], dil
je 0x140098d88
cmp dword [rsi + 0x34], 5
jne 0x140098d88
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140098d91
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14008a164
jmp 0x140098e04
jns 0x140098e04
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14008a49c
cmp rax, 0xffffffffffffffff
jne 0x140098dbc
cmp byte [rsi + 0x30], dil
je 0x140098e04
mov edi, dword [rsi + 0x2c]
jmp 0x140098e04
mov ecx, r14d
call fcn.1400925cc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140098e04
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 0x140098e04
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140098dfd
mov eax, dword [rsi + 0x2c]
jmp 0x140098e02
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14008a49c
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 0x140099850
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140099878
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140099878
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000c20c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rcx, 0x771a9040
jmp 0x140003468
dec rcx
jmp 0x14000393e
jmp 0x140003cfd
jne 0x140003468
jmp 0x1400035a7
jmp 0x140003d53
jmp 0x140003d7a
jmp 0x140003dfa
jmp 0x140003e42
jmp 0x140003e72
jmp 0x140003ee8
jmp 0x140003f0b
jmp 0x140003f73
jmp 0x140003fc3
jmp 0x14000400a
jmp 0x14000404e
jmp 0x14000409a
jmp 0x1400040dd
jmp 0x140004174
jmp 0x140004184
jmp 0x1400041ec
jmp 0x140004221
jmp 0x1400042ab
jmp 0x1400042df
xor rcx, rcx
mov rdx, 0x6e93
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call 0x1400042ff
pop rsi
add rsi, 0xe6e
mov rdi, rax
mov rcx, 0x6e93
rep movsb byte [rdi], byte [rsi]
jmp rax
sub rsp, 0x28
call fcn.14000db10
add rsp, 0x28
xor rcx, rcx
jmp 0x140003410

Function at 0x14000cfd4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000ce3c
Function at 0x1400115a5
Capabilities:
Terminate process

Disassembly:
jmp 0x140022910
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400116fe
Capabilities:
Enumerate processes

Disassembly:
jmp 0x14001eef0
push rbp
push rdi
sub rsp, 0x708
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x12a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140031040]
xor rax, rbp
mov qword [rbp + 0x6d8], rax
lea rcx, [0x14003b112]
call fcn.140011a14
xor edx, edx
mov ecx, 2
call fcn.1400114ba
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14001ef4e
mov eax, 1
jmp 0x14001f141
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140011645
test eax, eax
jne 0x14001ef7a
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x14001f141
mov edx, 0x18
lea rcx, [rbp + 0x288]
call fcn.140011483
lea rcx, [rbp + 0x288]
call fcn.140011942
nop
mov edx, 0x88
lea rcx, [rbp + 0x2c0]
call fcn.1400111e0
mov r8d, 0xfde9
lea rdx, [rbp + 0x5c]
lea rcx, [rbp + 0x2c0]
call fcn.14001138e
nop
mov rdx, qword [rbp + 0x2c0]
lea rcx, [rbp + 0x648]
call fcn.14001146f
nop
lea r8, [rbp + 0x648]
lea rdx, [rbp + 0x688]
lea rcx, [rbp + 0x288]
call fcn.1400111d6
lea rcx, [rbp + 0x688]
call fcn.140011393
nop
lea rcx, [rbp + 0x648]
call fcn.1400111e5
nop
lea rcx, [rbp + 0x2c0]
call fcn.140011915
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400118de
test eax, eax
jne 0x14001ef98
lea rdx, [0x14002c07c]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001111d
lea rax, [rbp + 0x288]
mov qword [rbp + 0x368], rax
mov edx, 8
lea rcx, [rbp + 0x388]
call fcn.140011686
lea rdx, [rbp + 0x388]
mov rcx, qword [rbp + 0x368]
call fcn.140011442
lea rdx, [rbp + 0x3a4]
mov rcx, qword [rbp + 0x368]
call fcn.140011924
jmp 0x14001f08f
lea rcx, [rbp + 0x388]
call fcn.14001126c
movzx edx, byte [rbp + 0x3a4]
lea rcx, [rbp + 0x388]
call fcn.1400115f5
movzx eax, al
test eax, eax
je 0x14001f108
lea rcx, [rbp + 0x388]
call fcn.140011abe
mov rdx, rax
lea rcx, [rbp + 0x3c8]
call fcn.140011159
nop
lea rdx, str._name_:__
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001111d
lea rdx, [rbp + 0x3c8]
mov rcx, rax
call fcn.14001191f
lea rdx, [0x14002c080]
mov rcx, rax
call fcn.14001111d
nop
lea rcx, [rbp + 0x3c8]
call fcn.1400111e5
jmp 0x14001f083
lea rdx, [0x14002c098]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001111d
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x6c4], 0
lea rcx, [rbp + 0x288]
call fcn.140011a1e
mov eax, dword [rbp + 0x6c4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14002aa80]
call fcn.140011889
mov rax, rdi
mov rcx, qword [rbp + 0x6d8]
xor rcx, rbp
call fcn.1400114dd
lea rsp, [rbp + 0x6e8]
pop rdi
pop rbp
ret
Function at 0x140011721
Capabilities:
Parse pe header

Disassembly:
jmp 0x140021ce0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140021d00
xor al, al
jmp 0x140021d81
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140021d13
xor al, al
jmp 0x140021d81
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140021d3d
xor al, al
jmp 0x140021d81
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140021d51
xor al, al
jmp 0x140021d81
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140021d63
xor al, al
jmp 0x140021d81
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140021d7f
xor al, al
jmp 0x140021d81
mov al, 1
add rsp, 0x38
ret
Function at 0x140011a5a
Capabilities:
Print debug messages

Disassembly:
jmp 0x14001f394
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.1400117c1
and qword [rdi + 0x50], 0
lea rax, [0x140000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x14002c4f8]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.1400114ab
test eax, eax
jne 0x14001f42b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x14001f42b
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14001f424
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x140033cb0], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x14002518c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140025204
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140025204
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140025204
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400251f8
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140025216
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400251e6
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140025206

Function at 0x140026a90
Capabilities:
Parse pe header

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

Function at 0x14002f534
Capabilities:
Parse pe header

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

Function at 0x140039480
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400394a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400394a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001c60
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001caa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001caa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001caa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001caa
cmp dword [rcx + 0x84], 0xe
jbe 0x140001caa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001cac
xor al, al
add rsp, 0x28
ret
Function at 0x1800010a0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xf0
mov eax, 0x5a4d
mov edi, edx
mov r11, rcx
cmp word [rcx], ax
jne 0x1800011e4
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x1800011e4
movups xmm0, xmmword [rax + 0x18]
lea r8, [rsp]
movups xmm1, xmmword [rax + 0x28]
movups xmmword [r8], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [r8 + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [r8 + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [r8 + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [r8 + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [r8 + 0x50], xmm1
movups xmmword [r8 + 0x60], xmm0
lea r8, [r8 + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [r8 - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [r8], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [r8 + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [r8 + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [r8 + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [r8 + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [r8 + 0x50], xmm0
movups xmmword [r8 + 0x60], xmm1
mov eax, dword [rsp + 0x70]
xor r8d, r8d
add rax, rcx
mov r9d, dword [rax + 0x20]
mov ebp, dword [rax + 0x1c]
add r9, rcx
mov r10d, dword [rax + 0x24]
add rbp, rcx
mov esi, dword [rax + 0x14]
add r10, rcx
test esi, esi
je 0x1800011e4
nop word [rax + rax]
movzx eax, word [r10]
mov ecx, dword [r9]
add rcx, r11
mov ebx, dword [rbp + rax*4]
mov eax, 4
add rbx, r11
movsx edx, byte [rcx]
test edx, edx
je 0x1800011d0
nop dword [rax]
imul eax, eax, 0x21
lea rcx, [rcx + 1]
add eax, edx
movsx edx, byte [rcx]
test edx, edx
jne 0x1800011c0
cmp edi, eax
je 0x1800011ff
inc r8d
add r10, 2
add r9, 4
cmp r8d, esi
jb 0x1800011a0
xor eax, eax
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rax, rbx
jmp 0x1800011e6
Function at 0x180001210
Capabilities:
Parse pe header

Disassembly:
mov r11, rsp
push rbp
sub rsp, 0x220
mov rax, qword [0x180006008]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov qword [r11 - 0x10], r12
lea rdx, [rsp + 0x40]
mov qword [r11 - 0x18], r13
lea rcx, str.C:WindowsSystem32.dll
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
call qword [0x1800079e0]
mov qword [rsp + 0x230], rbx
lea r14, str..text
mov qword [rsp + 0x238], rsi
lea r12, [0x1800032e4]
mov rbp, rax
mov qword [rsp + 0x240], rdi
xor r15d, r15d
mov r13d, 0x5a4d
cmp dword [rsp + 0x60], 0x8000
jb 0x180001429
cmp dword [0x180006630], 0x64
jae 0x180001429
lea r9, [rsp + 0x6c]
mov edx, 0x64
lea r8, str.C:WindowsSystem32_s
lea rcx, [rsp + 0x180]
call fcn.180001010
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 1
lea rcx, [rsp + 0x180]
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [0x1800079f8]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180001429
xor edx, edx
mov rcx, rax
call qword [0x1800079f0]
mov ecx, eax
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor r9d, r9d
mov qword [rsp + 0x20], r15
mov rdx, rax
mov r8d, ebx
mov rcx, rdi
mov rsi, rax
call qword [0x1800079e8]
test rsi, rsi
je 0x180001334
cmp word [rsi], r13w
jne 0x180001429
movsxd rcx, dword [rsi + 0x3c]
add rcx, rsi
movzx eax, word [rcx + 0x14]
lea r11, [rcx + 0x18]
add r11, rax
cmp dword [rcx], 0x4550
jne 0x180001429
movzx r10d, word [rcx + 6]
mov r8d, r15d
mov r9, r15
test r10d, r10d
je 0x180001420
nop word [rax + rax]
movsxd rax, r8d
lea rcx, [rax + rax*4]
mov rax, r15
lea rdx, [r11 + rcx*8]
nop
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r14 + rax - 1]
jne 0x180001411
cmp rax, 6
jne 0x180001380
lea rax, [r9 + r9*4]
mov rcx, rsi
cmp dword [r11 + rax*8 + 8], 0x8000
jb 0x180001423
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rsp + 0x6c]
call fcn.180001070
lea rcx, [0x180003290]
cmp dword [rcx], eax
je 0x180001429
add rcx, 4
cmp rcx, r12
jle 0x1800013c1
lea rax, [rsp + 0x6c]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x1800013e0
mov ebx, dword [0x180006630]
lea rax, [0x180006640]
imul rcx, rbx, 0x32
lea rdx, [rsp + 0x6c]
add rcx, rax
call sub.VCRUNTIME140.dll_memcpy
inc ebx
mov dword [0x180006630], ebx
jmp 0x180001429
inc r8d
inc r9
cmp r8d, r10d
jl 0x180001370
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [0x1800079d8]
test eax, eax
jne 0x180001281
mov r15, qword [rsp + 0x200]
mov rcx, rbp
mov r14, qword [rsp + 0x208]
mov r13, qword [rsp + 0x210]
mov r12, qword [rsp + 0x218]
mov rdi, qword [rsp + 0x240]
mov rsi, qword [rsp + 0x238]
mov rbx, qword [rsp + 0x230]
call qword [0x1800079d0]
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.180001a20
add rsp, 0x220
pop rbp
ret
Function at 0x10000bae0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100011df8], rdi
je 0x10000bb40
cmp rax, rdi
jne 0x10000bb33
mov r12d, 1
jmp 0x10000bb40
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10000bb19
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bb55
lea ecx, [rax + 0x1e]
call fcn.100163000
jmp 0x10000bbbc
mov eax, dword [0x100011df0]
cmp eax, ebx
jne 0x10000bbb2
mov dword [0x100011df0], 1
lea r13, [0x100001448]
lea rdi, [0x100001430]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x10000bba4
cmp eax, ebx
jne 0x10000bba4
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x10000bb99
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x10000bb82
cmp eax, ebx
je 0x10000bbbc
mov eax, 0xff
jmp 0x10000bd04
mov dword [0x1000115d4], 1
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bbe4
lea rdx, [0x100001428]
lea rcx, [0x1000013f0]
call sub.msvcrt.dll__initterm
mov dword [0x100011df0], 2
cmp r12d, ebx
jne 0x10000bbf3
mov rax, rbx
xchg qword [0x100011df8], rax
cmp qword [0x100011e10], rbx
je 0x10000bc1b
lea rcx, [0x100011e10]
call fcn.10000c0cc
cmp eax, ebx
je 0x10000bc1b
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100011e10]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x10000bc31
mov eax, 0xff
jmp 0x10000bd04
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc4c
cmp edx, ebx
jne 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc62
cmp word [rcx], 0x20
ja 0x10000bc62
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc4c
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100002d14
mov dword [0x1000115d0], eax
cmp dword [0x1000115b4], ebx
jne 0x10000bca0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1000115d4], ebx
jne 0x10000bcb4
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1000115d0]
jmp 0x10000bd04
cmp word [rcx], 0x22
jne 0x10000bcc9
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc3d
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.10000c1e0
add rsp, 0x28
jmp 0x10000bae0