joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004744
Capabilities:
Create thread
Hide thread from debugger
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r15
sub rsp, 0x60
cmp dword [rsp + 0xa0], 0
mov rsi, rdx
mov r12d, r8d
mov r15, rcx
je 0x140004786
mov rdi, qword [0x14000e058]
mov rbx, qword [0x14000e068]
mov rbp, qword [sym.imp.ntdll.dll_RtlQueueApcWow64Thread]
jmp 0x14000479b
mov rdi, qword [sym.imp.ntdll.dll_LdrQueryProcessModuleInformation]
mov rbx, qword [sym.imp.ntdll.dll_RtlExitUserThread]
mov rbp, qword [sym.imp.ntdll.dll_NtQueueApcThread]
test r9b, r9b
je 0x1400047b3
mov r8, rbx
mov rdx, rdi
call fcn.1400011e8
test eax, eax
js 0x14000487e
and qword [rsp + 0x48], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
xor r9d, r9d
and qword [rsp + 0x38], 0
mov r8b, 1
mov qword [rsp + 0x30], rbx
xor edx, edx
and qword [rsp + 0x28], 0
mov rcx, r15
and qword [rsp + 0x20], 0
call qword [sym.imp.ntdll.dll_RtlCreateUserThread]
mov ebx, eax
test eax, eax
js 0x14000487c
mov rcx, qword [rsp + 0x50]
lea rax, [r12 + rsi]
mov r9, r12
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rdx, rdi
call rbp
mov ebx, eax
test eax, eax
js 0x140004864
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
call qword [sym.imp.ntdll.dll_NtSetInformationThread]
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtResumeThread]
mov ebx, eax
test eax, eax
js 0x140004864
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0xa0]
xor rcx, qword [rsp + 0x50]
and ecx, 1
xor rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rsi
xor eax, eax
jmp 0x14000487e
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtTerminateThread]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r12
pop rdi
ret
Function at 0x140006128
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, 0x20000
mov rsi, rdx
mov dword [rsp + 0x40], eax
mov rbp, rcx
mov edx, eax
xor ecx, ecx
mov ebx, 0xc000009a
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x1400061a9
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, rax
mov ecx, 5
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
test eax, eax
js 0x14000618e
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.1400059cc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp ebx, 0xc0000004
jne 0x1400061a5
mov eax, dword [rsp + 0x40]
jmp 0x14000614b
test ebx, ebx
jns 0x1400061c5
mov r8d, ebx
lea rdx, str.QuerySystemInformation_SystemProcessInformation__x_r_n
mov rcx, rsi
call fcn.14000108c
mov edx, ebx
mov rcx, rsi
call fcn.1400010d8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140006848
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x14000e098], 0xffffffff
jne 0x140006889
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ebx, eax
cmp eax, 0xffffffff
je 0x140006889
or eax, 0xffffffff
lock cmpxchg dword [0x14000e098], ebx
jne 0x140006881
lea rcx, [0x140006838]
call fcn.1400013f4
mov eax, ebx
jmp 0x14000688f
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov eax, dword [0x14000e098]
add rsp, 0x20
pop rbx
ret

Function at 0x140006a64
Capabilities:
Set thread local storage value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xb0
xor ebx, ebx
lea r14, [0x140000000]
cmp word [0x14000e288], bx
lea r15, str.1A7CB018_E81A_49e3_AD97_5296E36BC716
mov esi, r9d
mov rbp, r8
mov rdi, rcx
jne 0x140006b1f
mov dword [rsp + 0x60], ebx
lea rax, [0x140006898]
mov qword [r11 - 0x60], rax
mov rax, qword [0x14000e220]
mov qword [r11 - 0x58], rbx
mov qword [r11 - 0x50], r14
mov qword [r11 - 0x48], rbx
test rax, rax
jne 0x140006adc
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [0x14000e220], rax
xorps xmm0, xmm0
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x60]
movdqa xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], r15
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x140006bc4
lea rcx, [0x140006808]
mov word [0x14000e288], ax
call fcn.1400013f4
call fcn.140006848
cmp eax, 0xffffffff
je 0x140006ba4
mov rdx, rdi
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140006ba4
mov rax, qword [rsp + 0x120]
mov r9d, esi
mov qword [rsp + 0x58], rax
mov r8, rbp
mov rax, qword [rsp + 0x118]
mov rdx, r15
mov qword [rsp + 0x50], r14
xor ecx, ecx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rbx, rax
mov rax, rbx
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x582
je 0x140006b1f
xor eax, eax
jmp 0x140006ba7
Function at 0x140006e18
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0x90
mov r13, r9
mov r14d, r8d
mov r15, rdx
mov rdi, rcx
cmp r8d, 0x14
ja 0x140006fcc
je 0x140006fc2
mov eax, r8d
sub eax, 1
je 0x140006f68
sub eax, 1
je 0x140006ee0
sub eax, 3
je 0x140006ece
sub eax, 2
je 0x140006eb6
sub eax, 8
je 0x140006e90
cmp eax, 1
jne 0x140007037
mov rax, qword [rcx]
call qword [rax + 0x50]
test eax, eax
jne 0x140007037
jmp 0x140006eaf
lea rdx, [rbp - 0x21]
mov rcx, r15
call qword [sym.imp.USER32.dll_BeginPaint]
test rax, rax
je 0x140006eaf
lea rdx, [rbp - 0x21]
mov rcx, r15
call qword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
jmp 0x140007051
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x140007037
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x140007037
mov rax, qword [rcx]
mov rdx, r13
mov r8, qword [rbp + 0x7f]
call qword [rax + 0x40]
jmp 0x140007037
mov rax, qword [rcx]
call qword [rax + 0x48]
mov r12, rax
test rax, rax
je 0x140007037
call fcn.1400082f8
mov rsi, rax
test rax, rax
je 0x140007037
xorps xmm0, xmm0
mov dword [rbp - 0x21], 0x2c
xor eax, eax
lea rdx, [rbp - 0x21]
mov rcx, r15
mov qword [rbp + 3], rax
movups xmmword [rbp - 0x1d], xmm0
movups xmmword [rbp - 0xd], xmm0
call qword [sym.imp.USER32.dll_GetWindowPlacement]
test eax, eax
je 0x140007037
cmp dword [rbp - 0x19], 3
jne 0x140006f3d
or dword [rbp - 1], 0x80000000
mov rcx, qword [rsi]
lea rax, [rbp - 5]
mov dword [rsp + 0x28], InitCommonControls
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r12
call qword [sym.imp.ntdll.dll_NtSetValueKey]
jmp 0x140007037
lea rdx, [rbp - 0x31]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetClientRect]
xor ebx, ebx
test eax, eax
je 0x140006fb6
mov rax, qword [rdi]
mov rdx, r15
mov r9d, dword [rbp - 0x25]
mov r8d, dword [rbp - 0x29]
mov r10, qword [rax + 0x38]
mov rax, qword [rbp + 0x7f]
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call r10
mov qword [rdi + 0x20], rax
test rax, rax
je 0x140006fb6
cmp rax, 0xffff
jne 0x140006fba
mov qword [rdi + 0x20], rbx
jmp 0x140006fba
or rbx, 0xffffffffffffffff
mov rax, rbx
jmp 0x140007051
mov eax, 1
jmp 0x140007051
mov eax, r14d
sub eax, 0x100
je 0x140006fea
sub eax, 2
je 0x140006fea
sub eax, 2
je 0x140006fea
sub eax, 2
je 0x140006fea
cmp eax, 0xb
jne 0x140007037
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x140007037
call fcn.140006bdc
mov rsi, rax
test rax, rax
je 0x140007037
mov rcx, qword [rbp + 0x7f]
mov r9, r13
mov r10, qword [rax]
mov r8d, r14d
mov rdx, qword [rdi + 0x20]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call qword [r10 + 0x18]
or rbx, 0xffffffffffffffff
mov ecx, ebx
lock xadd dword [rsi + 8], ecx
add ecx, ebx
jne 0x140007037
mov rax, qword [rsi]
lea edx, [rbx + 2]
mov rcx, rsi
call qword [rax]
mov rax, qword [rbp + 0x7f]
mov r9, r13
mov r8d, r14d
mov qword [rsp + 0x20], rax
mov rdx, r15
mov rcx, rdi
call fcn.1400069dc
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140007e24
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov eax, dword [rsp]
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rdi
mov rdi, r8
sub rsp, 0x20
lea rbx, [rsp + 0x30]
mov eax, dword [rbx]
mov rcx, qword [rcx]
mov r9, rbx
mov qword [rsp + 0x28], rbx
mov r8d, 2
mov dword [rsp + 0x20], 0x1c
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
js 0x140007e73
movups xmm0, xmmword [rbx + 0xc]
movdqu xmmword [rdi], xmm0
mov rbx, qword [rbp + 0x10]
mov rdi, qword [rbp + 0x18]
mov rsp, rbp
pop rbp
ret

Function at 0x140008a20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x40
and qword [rax - 0x18], 0
mov rdi, r9
mov rbx, rcx
mov qword [rax - 0x28], rdx
mov qword [rax - 0x20], r8
lea r9, [rax + 0x10]
mov rcx, rdi
lea rdx, [rax - 0x28]
mov r8d, 3
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x140008a6f
mov rdx, qword [rsp + 0x58]
lea r8, [rbx + 8]
mov r9, rbx
mov rcx, rdi
call qword [sym.imp.ntdll.dll_LdrAccessResource]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001e1d6
Capabilities:
Write file on windows

Disassembly:
jmp 0x14004f580
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x140265108]
call fcn.14001f5cc
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14004f5d8
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14004f6ea
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14004f683
cmp qword [rbp + 0x28], 0
jle 0x14004f683
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14004f621
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.14001f469
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x14004f6d9
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14004f6d9
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x14001e36b
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x1400327b0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x140265107]
call fcn.14001f5cc
nop
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x1400327ee
mov rcx, qword [rbp + 0x100]
call fcn.14001e40b
nop
jmp 0x14003280a
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x14003280a
mov rcx, qword [rbp + 0x100]
call fcn.14001ea96
nop
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rbp + 0xd4], eax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov eax, dword [rbp + 0xd4]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0xb
mov rcx, qword [rbp + 0x100]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x12
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14001e433
Capabilities:
Create thread

Disassembly:
jmp 0x14002b1d0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140259fc0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x1402650e3]
call fcn.14001f5cc
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14001e645
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.14001eabe
nop
lea rax, [0x14001ee51]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.14001eea1
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x14002b2ac
lea rcx, [rbp + 8]
call fcn.14001e929
nop
jmp 0x14002b2c5
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14001e4b5
nop
lea rcx, [rbp + 8]
call fcn.14001e8b1
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140065930]
call fcn.14001f202
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.14001ea5f
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x14001ea96
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140036920
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x140265107]
call fcn.14001f5cc
nop
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x140036965
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x1400369f6
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
je 0x1400369bb
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x1400369c5
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0x64]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14003695a
mov qword [rbp + 0x88], 0xe3
jmp 0x140036a14
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x140036abd
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
and eax, 1
test eax, eax
je 0x140036a79
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140036a83
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xa4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140036a03
mov qword [rbp + 0xc8], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rbp + 0x1e0]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
and eax, 1
test eax, eax
je 0x140036b1d
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140036b27
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xe4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x1e0]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rbp + 0x1e0]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret

Function at 0x14001ec12
Capabilities:
Terminate process

Disassembly:
jmp 0x140054320
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]
nop
add rsp, 0x28
ret
Function at 0x14001ef00
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400536c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400536e0
xor al, al
jmp 0x140053761
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400536f3
xor al, al
jmp 0x140053761
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 0x14005371d
xor al, al
jmp 0x140053761
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140053731
xor al, al
jmp 0x140053761
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140053743
xor al, al
jmp 0x140053761
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14005375f
xor al, al
jmp 0x140053761
mov al, 1
add rsp, 0x38
ret
Function at 0x14001f563
Capabilities:
Write file on windows

Disassembly:
jmp 0x140034410
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x140259fc0]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x140265108]
call fcn.14001f5cc
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x140034477
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14003447e
mov al, 1
jmp 0x1400345ee
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.14001e5cd
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.14001e5cd
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.14001f121
movzx eax, al
test eax, eax
je 0x1400344e1
xor al, al
jmp 0x1400345ee
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x140034554
cmp dword [rbp + 0x160], 1
je 0x14003455f
cmp dword [rbp + 0x160], 3
je 0x1400345dd
jmp 0x1400345ec
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x1400345af
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x1400345af
xor al, al
jmp 0x1400345ee
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400345ca
mov dword [rbp + 0x154], 1
jmp 0x1400345d4
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1400345ee
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400345ee
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140063f90]
call fcn.14001f202
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.14001ea5f
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1400524b0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001f6a8
movzx eax, al
test eax, eax
jne 0x1400524d0
mov ecx, 7
call fcn.14001f225
nop
mov byte [rsp + 0x20], 0
call fcn.14001f298
mov byte [rsp + 0x21], al
cmp dword [0x14025a7f8], 1
jne 0x1400524f4
mov ecx, 7
call fcn.14001f225
nop
jmp 0x14005254c
cmp dword [0x14025a7f8], 0
jne 0x140052547
mov dword [0x14025a7f8], 1
lea rdx, [0x140061890]
lea rcx, [0x140061560]
call fcn.14001ea28
test eax, eax
je 0x140052528
mov eax, 0xff
jmp 0x140052651
lea rdx, [0x140061450]
lea rcx, [section..rdata]
call fcn.14001f270
mov dword [0x14025a7f8], 2
jmp 0x14005254c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001f1cb
call fcn.14001ef78
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400525a9
mov rcx, qword [rsp + 0x30]
call fcn.14001e802
movzx eax, al
test eax, eax
je 0x1400525a9
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 [0x140266020]
nop
call fcn.14001f0a4
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400525dd
mov rcx, qword [rsp + 0x38]
call fcn.14001e802
movzx eax, al
test eax, eax
je 0x1400525dd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001f50e
nop
call fcn.1400526c0
mov dword [rsp + 0x28], eax
call fcn.14001ef00
movzx eax, al
test eax, eax
jne 0x1400525fc
mov ecx, dword [rsp + 0x28]
call fcn.14001e163
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14005260b
call fcn.14001f545
nop
xor edx, edx
mov cl, 1
call fcn.14001e780
mov eax, dword [rsp + 0x28]
jmp 0x140052651
add rsp, 0x68
ret