joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800027c4
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x28
mov r8d, edx
xor r9d, r9d
mov rdx, rcx
mov rcx, qword [0x180004200]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1800027e7
mov al, 1
jmp 0x1800027fe
mov rcx, qword [0x180004200]
call qword [sym.imp.WS2_32.dll_closesocket]
and qword [0x180004200], 0
xor al, al
add rsp, 0x28
ret

Function at 0x180002804
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x180004200]
mov edi, edx
and dword [r11 + 0x20], 0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rsi, rcx
imul eax, r8d, 0xf4240
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x30], 1
xor ecx, ecx
mov dword [r11 + 0x24], eax
lea rax, [r11 + 0x20]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x1800028a9
xor ebx, ebx
test edi, edi
jle 0x18000288c
mov rcx, qword [0x180004200]
mov r8d, edi
movsxd rdx, ebx
sub r8d, ebx
add rdx, rsi
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x18000288c
add ebx, eax
cmp ebx, edi
jl 0x180002866
cmp ebx, edi
jne 0x180002894
mov al, 1
jmp 0x1800028ab
mov rcx, qword [0x180004200]
call qword [sym.imp.WS2_32.dll_closesocket]
and qword [0x180004200], 0
xor al, al
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x180002e24
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
lea edx, [rcx - 1]
xor ecx, ecx
jmp fcn.180002e30

Function at 0x180002e30
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov ebx, edx
mov edi, ecx
mov edx, 4
lea rcx, [rsp + 0x30]
call sub.ADVAPI32.dll_SystemFunction036
mov eax, dword [rsp + 0x30]
sub ebx, edi
inc ebx
xor edx, edx
div ebx
mov rbx, qword [rsp + 0x38]
lea eax, [rdi + rdx]
add rsp, 0x20
pop rdi
ret

Function at 0x180002f18
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor eax, eax
test edx, edx
jle 0x180002f35
mov r8d, edx
movzx edx, byte [rcx]
inc rcx
xor eax, edx
imul eax, eax, 0x1000193
sub r8, 1
jne 0x180002f21
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400044d0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400044e0]
mov dword [rax], 1
mov rax, qword [0x1400044f0]
mov dword [rax], 1
mov rax, qword [0x140004480]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400044c0]
mov dword [0x14000800c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140004590]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140004570]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140004410]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001930
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 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 [rsp + 0x28]
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]
Function at 0x1400019a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140008104]
mov rbx, rcx
test esi, esi
jle 0x140001ad0
mov rax, qword [0x140008108]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400019eb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001a75
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400019d0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001af2
mov rax, qword [0x140008108]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140008108]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001ad7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001a6e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001a80
add dword [0x140008104], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140008108]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001a6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400019f8
mov rax, qword [0x140008108]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002060
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140008160]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140008140]
test rbx, rbx
je 0x1400020bc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400020b3
test rsi, rsi
je 0x1400020b3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002098
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400022d0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400022e8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400022f0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140002300
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 0x14000234d
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 0x140002344
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000234f
add rax, 0x28
cmp rax, r9
jne 0x140002330
xor eax, eax
ret

Function at 0x140002350
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400023e0
mov rdx, qword [0x140004480]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400023ce
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400023ce
cmp word [rax + 0x18], 0x20b
jne 0x1400023ce
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400023e0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400023b9
add rbx, 0x28
cmp rbx, rdi
je 0x1400023e0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400023b0
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 0x1400023f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004480]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002410
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002418
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002410
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000246d
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 0x140002464
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002410
add rax, 0x28
cmp rax, r9
jne 0x140002450
xor eax, eax
ret

Function at 0x140002470
Capabilities:
Parse pe header

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

Function at 0x1400024b0
Capabilities:
Parse pe header

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

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

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

Disassembly:
mov rdx, qword [0x140004480]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002590
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002598
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002590
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002590
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 0x1400025e4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400025f0
add rdx, 0x28
cmp r9, rdx
jne 0x1400025d0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x140004480]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002622
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002630
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002622
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002622
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002622
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 0x140002685
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002698
add rdx, 0x28
cmp rdx, r10
jne 0x140002670
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400026a7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400026b7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000268e
test ecx, ecx
jg 0x1400026a0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140142120
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14014212d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14014213d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140142125
lea eax, [rcx + 1]
jmp 0x14014214b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14014215e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140142144
sub eax, 3
jb 0x14014217e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1401421cd
sar eax, 1
movsxd rbp, eax
jb 0x1401421b4
jmp 0x14014218c
add ebx, ebx
jne 0x14014218a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401421b4
inc ecx
add ebx, ebx
jne 0x14014219a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401421b4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1401421ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14014219c
add ecx, 2
jmp 0x1401421b9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1401420e2
jmp 0x14014212d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xd0000
mov dl, 0x15
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14014221d
cmp rsi, rcx
jae 0x140142225
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140142204
cmp al, 0x8f
ja 0x140142204
cmp byte [rsi - 2], 0xf
je 0x14014220a
sub al, 0xe8
cmp al, 1
ja 0x1401421ee
cmp rsi, rcx
jae 0x140142225
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1401421f4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140142225
lodsb al, byte [rsi]
jmp 0x140142204
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x13f000]
mov eax, dword [rdi]
or eax, eax
je 0x140142282
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x171764]
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 0x140142232
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 0x14014227c
mov qword [rbx], rax
add rbx, 8
jmp 0x140142252
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1401422bc
cmp al, 0xef
ja 0x1401422ae
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14014228e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14014229d
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.14014233b], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14014233b
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14014232b
sub rsp, 0xffffffffffffff80
jmp 0x140001125
Function at 0x140332690
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x140526598]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
lea rcx, str.HWLOC_PCI_LOCALITY
call fcn.140369f44
mov rbx, rax
test rax, rax
je 0x140332794
xor edx, edx
mov qword [rsp + 0x78], rdi
mov rcx, rax
mov dword [rsi + 0x358], 1
call fcn.140378c94
mov edi, eax
test eax, eax
js 0x140332784
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.14036ece0
test eax, eax
jne 0x14033277b
mov eax, dword [rsp + 0x34]
cmp eax, 0x10000
jg 0x140332750
inc eax
movsxd rcx, eax
call fcn.140369f54
mov rbx, rax
test rax, rax
je 0x14033273f
mov r8d, dword [rsp + 0x34]
mov rdx, rax
mov ecx, edi
call fcn.140375d80
movsxd rcx, dword [rsp + 0x34]
cmp eax, ecx
jne 0x14033273f
mov byte [rcx + rbx], 0
mov rdx, rbx
mov rcx, rsi
call fcn.1403327b0
mov rcx, rbx
call fcn.140369ab4
mov ecx, edi
call fcn.1403763b0
jmp 0x14033278f
call fcn.140321e80
cmp eax, 2
jge 0x14033277b
mov ecx, 2
call fcn.140365b14
mov r9d, dword [rsp + 0x34]
lea rdx, str.hwloc_pci:_Ignoring_HWLOC_PCI_LOCALITY_file___s_too_large___lu_bytes__n
mov rcx, rax
mov r8, rbx
call fcn.140004300
mov ecx, edi
call fcn.1403763b0
jmp 0x14033278f
mov rdx, rbx
mov rcx, rsi
call fcn.1403327b0
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140343400
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret

Function at 0x14036f884
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14036f6b0
Function at 0x1406c5058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406c51df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1406c5089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406c506f
add dl, dl
jne 0x1406c5096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406c50f6
xor eax, eax
add dl, dl
jne 0x1406c50a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406c51ad
add dl, dl
jne 0x1406c50b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406c50c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406c50d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406c50dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406c50ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406c507e
mov eax, 1
add dl, dl
jne 0x1406c5106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406c5113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406c50fb
sub eax, ebx
mov ebx, 1
jne 0x1406c514c
mov ecx, 1
add dl, dl
jne 0x1406c512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406c513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406c5123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406c507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406c5168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406c5175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406c515d
cmp eax, 0x7d00
jae 0x1406c519b
cmp eax, 0x500
jb 0x1406c5196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406c507e
cmp eax, 0x7f
ja 0x1406c519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406c507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406c51d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1406c507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000e720
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1400880a0]
xor rax, rsp
mov qword [rbp], rax
xor edx, edx
mov dword [rbp - 0x70], 0x68
mov rbx, rcx
lea rcx, [rbp - 0x68]
lea r8d, [rdx + 0x60]
call fcn.14003a950
mov rdx, qword [rbx + 0x18]
mov rcx, rbx
cmp rdx, 0x10
jb 0x14000e773
mov rcx, qword [rbx]
mov rdi, qword [rbx + 0x10]
add rdi, rcx
cmp rdx, 0x10
jb 0x14000e783
mov rbx, qword [rbx]
movdqa xmm0, xmmword [0x140078850]
lea rcx, [rsp + 0x50]
mov rdx, rdi
xor esi, esi
sub rdx, rbx
mov word [rsp + 0x50], si
movdqu xmmword [rsp + 0x60], xmm0
call fcn.140014850
mov r8, rdi
lea rcx, [rsp + 0x50]
mov rdx, rbx
call fcn.14001b950
cmp qword [rsp + 0x68], 8
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x50]
cmovae rcx, qword [rsp + 0x50]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rsi
xor r8d, r8d
mov qword [rsp + 0x30], rsi
xor edx, edx
mov dword [rsp + 0x28], 0x8000008
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rdx, qword [rsp + 0x68]
test eax, eax
sete bl
cmp rdx, 8
jb 0x14000e847
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e842
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e971
call fcn.140038554
test bl, bl
je 0x14000e8f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x60], rsi
mov r8, 0xffffffffffffffff
mov edx, eax
lea rax, str.Failed_to_start_process._Error:
add rdx, rax
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], sil
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], sil
jne 0x14000e880
lea rcx, [rsp + 0x50]
call fcn.1400165a0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14000e8d0
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e8cb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e977
call fcn.140038554
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140038530
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, 0x1d
mov qword [rsp + 0x60], rsi
lea rdx, str.Process_started_successfully.
mov qword [rsp + 0x68], 0xf
lea rcx, [rsp + 0x50]
mov byte [rsp + 0x50], sil
call fcn.1400165a0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14000e8d0
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e8cb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e977
jmp 0x14000e8cb
call fcn.140040314
int3
call fcn.140040314
int3
Function at 0x140015040
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400150da
mov rbx, r8
test r8, r8
jle 0x1400150d2
mov rcx, rdi
call fcn.140016b20
test rax, rax
jle 0x1400150b0
mov rcx, qword [rdi + 0x40]
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov r8, rsi
mov rcx, qword [rcx]
call fcn.14003a430
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x1400150ca
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400150d2
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x140015072
sub r14, rbx
mov rax, r14
jmp 0x140015151
mov rax, qword [rcx + 0x40]
mov rsi, r14
mov r9, qword [rax]
test r9, r9
je 0x1400150f1
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400150f3
xor ecx, ecx
movsxd rbx, ecx
test r14, r14
jle 0x14001514b
test ecx, ecx
jle 0x140015127
cmp r14, rbx
mov rcx, r9
cmovl rbx, r14
mov r8, rbx
call fcn.14003a430
mov rax, qword [rdi + 0x58]
add rbp, rbx
sub r14, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x40]
movsxd rax, ebx
add qword [rcx], rax
test r14, r14
jle 0x14001514b
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14001514b
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.14003f4d0
sub r14, rax
sub rsi, r14
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret