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

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rdi, qword [0x14022c040]
mov rax, qword [rdi]
mov qword [rsp + 0x58], rax
xor eax, eax
cmp qword [rdx + 0x38], 0
mov rsi, rcx
mov rbx, rdx
je 0x14003ec40
mov rax, qword [0x14022c970]
lea rcx, [rsp + 0x30]
mov rdx, rsi
mov rax, qword [rax]
mov rax, qword [rax + 0x170]
mov r8, qword [rax + 0x10]
call sub.msvcrt.dll_memcpy
lea r8, [rsp + 0x2c]
mov rdx, rbx
mov rcx, rax
call fcn.14003e7a0
test eax, eax
jne 0x14003ec50
xor eax, eax
mov rdx, qword [rsp + 0x58]
sub rdx, qword [rdi]
jne 0x14003ec5e
add rsp, 0x60
pop rbx
pop rsi
pop rdi
ret
mov rcx, rdx
call fcn.14003c230
test eax, eax
je 0x14003ebf5
jmp 0x14003ec2b
mov edx, dword [rsp + 0x2c]
mov rcx, rbx
call fcn.14003eb30
jmp 0x14003ec2d
call fcn.1401d96b0
nop
nop word cs:[rax + rax]
nop
Function at 0x140040db0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
call fcn.14013cd10
test eax, eax
je 0x140040e50
mov ebx, dword [0x140254b40]
test ebx, ebx
je 0x140040df8
mov ecx, 2
call qword [fcn.1401de8b0]
lea r9, [0x1401f2bcb]
mov r8d, ebx
lea rdx, str._r_s_r
mov rcx, rax
add rsp, 0x20
pop rbx
jmp sub.msvcrt.dll_fprintf
lea rcx, str.COLUMNS
mov dword [0x140254b40], 0x50
mov dword [0x140254b44], 1
call fcn.1400d3040
test rax, rax
je 0x140040e40
mov rcx, rax
call sub.msvcrt.dll_atoi
mov ebx, eax
test eax, eax
jle 0x140040e40
mov dword [0x140254b40], eax
mov dword [0x140254b44], 0
jmp 0x140040dcc
mov ebx, dword [0x140254b40]
jmp 0x140040dcc
mov ecx, 2
call qword [fcn.1401de8b0]
mov r8d, 4
mov edx, 1
lea rcx, str._re_K
mov r9, rax
add rsp, 0x20
pop rbx
jmp sub.msvcrt.dll_fwrite
Function at 0x140054e80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
mov rbp, qword [0x14022c040]
mov rbx, qword [rbp]
mov qword [rsp + 0x98], rbx
mov rbx, qword [rcx + 0x160]
mov rsi, rcx
mov rdi, rdx
mov eax, dword [rbx + 0x14]
test eax, eax
jne 0x140054ee6
mov eax, dword [rbx + 0xc]
test eax, eax
jle 0x140054eec
mov rdx, qword [rbx]
sub eax, 1
lea r8, [rdx + rax*8 + 8]
mov rcx, qword [rdx]
mov eax, dword [rcx + 0x34]
and eax, 0xf000
cmp eax, 0xe000
je 0x140054f18
mov eax, dword [rbx + 0x30]
test eax, eax
je 0x140054f18
cmp dword [rcx + 0x18], eax
jb 0x140054f18
test byte [rbx + 0x38], 2
jne 0x140054f28
mov rax, qword [rsp + 0x98]
sub rax, qword [rbp]
jne 0x14005505d
mov rcx, rdi
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.14009e0d0
add rdx, 8
cmp rdx, r8
jne 0x140054ec8
jmp 0x140054eec
mov rcx, qword [rsi + 0xe8]
xor edx, edx
call fcn.1400d7b40
mov r12d, eax
test eax, eax
js 0x140054eec
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.1400d97e0
test eax, eax
jne 0x140055050
mov r13, qword [0x14022c970]
mov r9, qword [rsp + 0x38]
mov rax, qword [r13]
mov rax, qword [rax + 0x170]
mov r8, qword [rax + 0x10]
lea rax, [r8 + 0xc]
cmp r9, rax
jb 0x140055050
lea rdx, [rsp + 0x70]
sub r9, r8
mov ecx, r12d
call fcn.1400bd810
mov rdx, rax
mov rax, qword [r13]
mov rax, qword [rax + 0x170]
mov rax, qword [rax + 0x10]
cmp rax, rdx
jne 0x140055050
cmp rax, 0x20
lea rcx, [rbx + 0xa0]
mov rax, qword [rbx + 0xa0]
je 0x140055018
mov rdx, qword [rbx + 0xa8]
xor rax, qword [rsp + 0x70]
xor rdx, qword [rsp + 0x78]
or rax, rdx
jne 0x140055050
mov eax, dword [rsp + 0x80]
cmp dword [rcx + 0x10], eax
jne 0x140055050
mov ecx, r12d
call sub.msvcrt.dll__close
mov rax, qword [rsp + 0x98]
sub rax, qword [rbp]
jne 0x14005505d
mov rcx, qword [rsi + 0x160]
mov r8d, 1
mov rdx, rdi
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.140054760
mov rdx, qword [rbx + 0xa8]
xor rax, qword [rsp + 0x70]
xor rdx, qword [rsp + 0x78]
or rax, rdx
jne 0x140055050
mov rax, qword [rcx + 0x10]
mov rdx, qword [rcx + 0x18]
xor rax, qword [rsp + 0x80]
xor rdx, qword [rsp + 0x88]
or rax, rdx
je 0x140054fde
nop dword [rax + rax]
mov ecx, r12d
call sub.msvcrt.dll__close
jmp 0x140054eec
call fcn.1401d96b0
nop
nop word cs:[rax + rax]
nop
Function at 0x14007d0f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc40
mov rbp, qword [0x14022c040]
pcmpeqd xmm0, xmm0
mov rax, qword [rbp]
mov qword [rsp + 0xc38], rax
xor eax, eax
mov r9, rcx
lea rdi, [rsp + 0x70]
mov ecx, 0x179
lea rsi, [rsp + 0x70]
mov rbx, rdx
mov r12, r8
rep stosq qword [rdi], rax
mov rax, qword [0x1401fa850]
lea rdi, [rdx + 8]
mov rcx, rdx
and rdi, 0xfffffffffffffff8
movups xmmword [rsp + 0x5f0], xmm0
movq xmm0, qword [str.0u_a_]
mov qword [rsp + 0x1a8], rax
sub rcx, rdi
mov rax, qword [0x14022c3a0]
mov byte [rsp + 0x188], 0x84
sub rsi, rcx
add ecx, 0xbc8
mov dword [rsp + 0x1b4], 1
mov eax, dword [rax]
shr ecx, 3
mov qword [rsp + 0x5e8], 0xffffffffffffffff
mov dword [rsp + 0x1b0], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x600], 0xffffffffffffffff
mov dword [rsp + 0x60c], 0xffffffff
mov dword [rsp + 0x8e8], 1
mov dword [rsp + 0x910], 1
mov qword [rdx], rax
mov rax, qword [rsp + 0xc30]
mov qword [rdx + 0xbc0], rax
lea rax, [0x1400774e0]
rep movsq qword [rdi], qword [rsi]
movq xmm1, rax
mov qword [rdx + 0x18], r9
lea rcx, [rdx + 0x200]
mov qword [rdx + 0xa50], r9
punpcklqdq xmm0, xmm1
mov qword [rdx + 0xa10], rdx
mov qword [rdx + 0xd8], r8
movups xmmword [rdx + 0xa00], xmm0
mov rdx, r9
call fcn.14014efa0
mov rcx, qword [rbx + 0x18]
lea rdx, [rbx + 0x5b8]
mov dword [rbx + 0x240], 1
call fcn.14012d670
test r12, r12
je 0x14007d24c
cmp qword [rbx + 0x708], 0
je 0x14007d310
lea rcx, [rbx + 0xab8]
call fcn.140177670
lea rcx, [rbx + 0x40]
call fcn.140159280
mov rax, qword [0x14022c410]
pxor xmm0, xmm0
mov qword [rsp + 0x60], 0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x38], 1
movdqu xmm2, xmmword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movdqu xmm3, xmmword [rsp + 0x40]
mov qword [rbx + 0x90], 0
mov qword [rbx + 0x98], 0
mov qword [rbx + 0xc0], 0
mov qword [rbx + 0xc8], 0
mov qword [rbx + 0xd0], 0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rbx + 0xa0], xmm2
movups xmmword [rbx + 0xb0], xmm3
mov rax, qword [rsp + 0xc38]
sub rax, qword [rbp]
jne 0x14007d32a
lea rcx, [rbx + 0xba0]
xor edx, edx
add rsp, 0xc40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.1401798b0
mov qword [rbx + 0x708], r12
mov rcx, r12
call sub.msvcrt.dll_strlen
mov dword [rbx + 0x710], eax
jmp 0x14007d24c
call fcn.1401d96b0
nop
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.14007ab80
test eax, eax
jne 0x14007d34b
mov dword [rbx + 0x108], 1
add rsp, 0x20
pop rbx
ret
Function at 0x140080af0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rdx]
mov edx, eax
shr edx, 4
test ah, 2
jne 0x140080b70
test dl, 2
jne 0x140080b38
test dh, 2
jne 0x140080ba0
test rcx, rcx
je 0x140080b1d
test byte [rcx + 0x11b], 2
je 0x140080b80
and dh, 1
lea rbx, [0x1401fa7c0]
lea rax, [0x1401fa7be]
cmovne rbx, rax
jmp 0x140080b3f
lea rbx, [0x1401fa7ba]
mov ecx, 1
call qword [fcn.1401de8b0]
mov rcx, rbx
mov r8d, 1
mov edx, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 0x20
add rsp, 0x20
pop rbx
jmp sub.msvcrt.dll_putchar
lea rbx, str.___DDD
jmp 0x140080b3f
cmp qword [rcx + 0x570], 0
lea rbx, [0x1401fa7c2]
jne 0x140080b3f
test byte [rcx + 0x11c], 4
jne 0x140080bb0
add rsp, 0x20
pop rbx
ret
lea rbx, [0x1401fa7bc]
jmp 0x140080b3f
lea rbx, [0x1401fa7c4]
jmp 0x140080b3f

Function at 0x140080db0
Capabilities:
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r13, qword [0x14022c040]
mov rsi, qword [sym.imp.msvcrt.dll__errno]
mov rdi, qword [r13]
mov qword [rsp + 0x28], rdi
lea rdi, [rsp + 0x24]
mov rbx, rcx
mov r12, rdx
mov ebp, r8d
jmp 0x140080df3
call rsi
cmp dword [rax], 4
jne 0x140080e80
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.1400d2460
test rax, rax
js 0x140080de8
cmp rbx, rax
je 0x140080ea0
test ebp, ebp
jne 0x140080ebd
mov rdx, r12
lea rcx, str.waitpid_is_confused___s_
mov edi, 0xffffffff
call fcn.1400b6bf0
mov rcx, qword [0x140255728]
test rcx, rcx
je 0x140080e5e
lea rax, [0x140255728]
jmp 0x140080e4d
lea rax, [rcx + 0x10]
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140080e5e
cmp rbx, qword [rcx]
jne 0x140080e40
mov rdx, qword [rcx + 0x10]
mov qword [rax], rdx
call fcn.1400eaf30
call rsi
mov dword [rax], ebp
mov rax, qword [rsp + 0x28]
sub rax, qword [r13]
jne 0x140080ecf
mov eax, edi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
call rsi
mov edi, dword [rax]
test ebp, ebp
jne 0x140080ec6
mov rdx, r12
lea rcx, str.waitpid_for__s_failed
mov ebp, edi
mov edi, 0xffffffff
call fcn.1400b6b60
jmp 0x140080e2b
mov ecx, dword [rsp + 0x24]
mov rdx, r12
call fcn.1400db330
movzx edi, byte [rsp + 0x24]
test ebp, ebp
je 0x140080e2b
xor ebp, ebp
jmp 0x140080e5e
xor ebp, ebp
mov edi, 0xffffffff
jmp 0x140080e5e
mov ebp, edi
mov edi, 0xffffffff
jmp 0x140080e5e
call fcn.1401d96b0
nop
nop word cs:[rax + rax]
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rdx, rcx
mov ecx, dword [0x1402556ec]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [rbx + 0x3c]
mov ecx, dword [rbx + 0x38]
mov r8, qword [rbx + 8]
call qword [rbx]
cdqe
add rsp, 0x20
pop rbx
ret
Function at 0x140080ee0
Capabilities:
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r13, qword [0x14022c040]
mov rsi, qword [sym.imp.msvcrt.dll__errno]
mov rdi, qword [r13]
mov qword [rsp + 0x28], rdi
lea rdi, [rsp + 0x24]
mov rbx, rcx
mov r12, rdx
mov ebp, r8d
jmp 0x140080df3
call rsi
cmp dword [rax], 4
jne 0x140080e80
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.1400d2460
test rax, rax
js 0x140080de8
cmp rbx, rax
je 0x140080ea0
test ebp, ebp
jne 0x140080ebd
mov rdx, r12
lea rcx, str.waitpid_is_confused___s_
mov edi, 0xffffffff
call fcn.1400b6bf0
mov rcx, qword [0x140255728]
test rcx, rcx
je 0x140080e5e
lea rax, [0x140255728]
jmp 0x140080e4d
lea rax, [rcx + 0x10]
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140080e5e
cmp rbx, qword [rcx]
jne 0x140080e40
mov rdx, qword [rcx + 0x10]
mov qword [rax], rdx
call fcn.1400eaf30
call rsi
mov dword [rax], ebp
mov rax, qword [rsp + 0x28]
sub rax, qword [r13]
jne 0x140080ecf
mov eax, edi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
call rsi
mov edi, dword [rax]
test ebp, ebp
jne 0x140080ec6
mov rdx, r12
lea rcx, str.waitpid_for__s_failed
mov ebp, edi
mov edi, 0xffffffff
call fcn.1400b6b60
jmp 0x140080e2b
mov ecx, dword [rsp + 0x24]
mov rdx, r12
call fcn.1400db330
movzx edi, byte [rsp + 0x24]
test ebp, ebp
je 0x140080e2b
xor ebp, ebp
jmp 0x140080e5e
xor ebp, ebp
mov edi, 0xffffffff
jmp 0x140080e5e
mov ebp, edi
mov edi, 0xffffffff
jmp 0x140080e5e
call fcn.1401d96b0
nop
nop word cs:[rax + rax]
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rdx, rcx
mov ecx, dword [0x1402556ec]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [rbx + 0x3c]
mov ecx, dword [rbx + 0x38]
mov r8, qword [rbx + 8]
call qword [rbx]
cdqe
add rsp, 0x20
pop rbx
ret
Function at 0x140081040
Capabilities:
Get thread local storage value
Write file on windows

Disassembly:
sub rsp, 0x28
mov r8d, 0xac
lea rdx, [0x1401fa911]
lea rcx, [0x1401fa91a]
call qword [sym.imp.msvcrt.dll__assert]
nop
nop
push rsi
push rbx
sub rsp, 0x58
mov rax, qword [0x14022c040]
mov rbx, rcx
mov rsi, rdx
mov rdx, qword [rax]
mov qword [rsp + 0x48], rdx
xor edx, edx
call fcn.1400b6890
mov rdx, rsi
mov rcx, rbx
call rax
mov eax, dword [0x1402556f0]
test eax, eax
jne 0x1400810b2
lea rcx, str.run_command.c
mov r8d, pe_nt_image_headers64
mov edx, 0x423
call fcn.140009c20
mov ecx, eax
call sub.msvcrt.dll_exit
lea rcx, [rsp + 0x20]
mov ebx, dword [0x140255718]
call fcn.1400db910
cmp ebx, dword [rsp + 0x38]
je 0x140081094
mov ecx, dword [0x1402556ec]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [rax + 0x38]
mov rbx, rax
test ecx, ecx
js 0x1400810e3
call sub.msvcrt.dll__close
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x1400810ef
call sub.msvcrt.dll__close
mov ecx, pe_nt_image_headers64
call qword [sym.imp.msvcrt.dll__endthreadex]
nop
nop dword [rax + rax]
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [0x1402556e0]
mov rsi, qword [rax]
mov rdi, qword [rax + 8]
cmp qword [rsi + 0x10], 0
mov ebp, ecx
je 0x140081174
xor ebx, ebx
jmp 0x14008114a
add rbx, 1
cmp rbx, qword [rsi + 0x10]
jae 0x140081174
lea rax, [rbx + rbx*4]
lea rdx, [rbx + rax*4]
mov rax, qword [rdi + 8]
lea rax, [rax + rdx*8]
cmp dword [rax], 1
jne 0x140081140
mov rcx, qword [rax + 0x38]
mov edx, ebp
add rbx, 1
call fcn.1400d1970
cmp rbx, qword [rsi + 0x10]
jb 0x14008114a
mov ecx, ebp
call fcn.14008ba30
mov ecx, ebp
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400d2380
Function at 0x140081060
Capabilities:
Get thread local storage value
Write file on windows

Disassembly:
sub rsp, 0x28
mov r8d, 0xac
lea rdx, [0x1401fa911]
lea rcx, [0x1401fa91a]
call qword [sym.imp.msvcrt.dll__assert]
nop
nop
push rsi
push rbx
sub rsp, 0x58
mov rax, qword [0x14022c040]
mov rbx, rcx
mov rsi, rdx
mov rdx, qword [rax]
mov qword [rsp + 0x48], rdx
xor edx, edx
call fcn.1400b6890
mov rdx, rsi
mov rcx, rbx
call rax
mov eax, dword [0x1402556f0]
test eax, eax
jne 0x1400810b2
lea rcx, str.run_command.c
mov r8d, pe_nt_image_headers64
mov edx, 0x423
call fcn.140009c20
mov ecx, eax
call sub.msvcrt.dll_exit
lea rcx, [rsp + 0x20]
mov ebx, dword [0x140255718]
call fcn.1400db910
cmp ebx, dword [rsp + 0x38]
je 0x140081094
mov ecx, dword [0x1402556ec]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [rax + 0x38]
mov rbx, rax
test ecx, ecx
js 0x1400810e3
call sub.msvcrt.dll__close
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x1400810ef
call sub.msvcrt.dll__close
mov ecx, pe_nt_image_headers64
call qword [sym.imp.msvcrt.dll__endthreadex]
nop
nop dword [rax + rax]
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [0x1402556e0]
mov rsi, qword [rax]
mov rdi, qword [rax + 8]
cmp qword [rsi + 0x10], 0
mov ebp, ecx
je 0x140081174
xor ebx, ebx
jmp 0x14008114a
add rbx, 1
cmp rbx, qword [rsi + 0x10]
jae 0x140081174
lea rax, [rbx + rbx*4]
lea rdx, [rbx + rax*4]
mov rax, qword [rdi + 8]
lea rax, [rax + rdx*8]
cmp dword [rax], 1
jne 0x140081140
mov rcx, qword [rax + 0x38]
mov edx, ebp
add rbx, 1
call fcn.1400d1970
cmp rbx, qword [rsi + 0x10]
jb 0x14008114a
mov ecx, ebp
call fcn.14008ba30
mov ecx, ebp
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400d2380
Function at 0x140081100
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov r8d, 0xac
lea rdx, [0x1401fa911]
lea rcx, [0x1401fa91a]
call qword [sym.imp.msvcrt.dll__assert]
nop
nop
push rsi
push rbx
sub rsp, 0x58
mov rax, qword [0x14022c040]
mov rbx, rcx
mov rsi, rdx
mov rdx, qword [rax]
mov qword [rsp + 0x48], rdx
xor edx, edx
call fcn.1400b6890
mov rdx, rsi
mov rcx, rbx
call rax
mov eax, dword [0x1402556f0]
test eax, eax
jne 0x1400810b2
lea rcx, str.run_command.c
mov r8d, pe_nt_image_headers64
mov edx, 0x423
call fcn.140009c20
mov ecx, eax
call sub.msvcrt.dll_exit
lea rcx, [rsp + 0x20]
mov ebx, dword [0x140255718]
call fcn.1400db910
cmp ebx, dword [rsp + 0x38]
je 0x140081094
mov ecx, dword [0x1402556ec]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [rax + 0x38]
mov rbx, rax
test ecx, ecx
js 0x1400810e3
call sub.msvcrt.dll__close
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x1400810ef
call sub.msvcrt.dll__close
mov ecx, pe_nt_image_headers64
call qword [sym.imp.msvcrt.dll__endthreadex]
nop
nop dword [rax + rax]
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [0x1402556e0]
mov rsi, qword [rax]
mov rdi, qword [rax + 8]
cmp qword [rsi + 0x10], 0
mov ebp, ecx
je 0x140081174
xor ebx, ebx
jmp 0x14008114a
add rbx, 1
cmp rbx, qword [rsi + 0x10]
jae 0x140081174
lea rax, [rbx + rbx*4]
lea rdx, [rbx + rax*4]
mov rax, qword [rdi + 8]
lea rax, [rax + rdx*8]
cmp dword [rax], 1
jne 0x140081140
mov rcx, qword [rax + 0x38]
mov edx, ebp
add rbx, 1
call fcn.1400d1970
cmp rbx, qword [rsi + 0x10]
jb 0x14008114a
mov ecx, ebp
call fcn.14008ba30
mov ecx, ebp
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400d2380

Function at 0x140082250
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x58
mov rbx, qword [0x14022c040]
mov rax, qword [rbx]
mov qword [rsp + 0x48], rax
mov eax, dword [0x1402556f0]
test eax, eax
je 0x140082288
lea rcx, [rsp + 0x20]
mov esi, dword [0x140255718]
call fcn.1400db910
xor eax, eax
cmp dword [rsp + 0x38], esi
setne al
mov rdx, qword [rsp + 0x48]
sub rdx, qword [rbx]
jne 0x140082299
add rsp, 0x58
pop rbx
pop rsi
ret
call fcn.1401d96b0
nop
nop

Function at 0x1400822a0
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14022c040]
mov rdx, qword [rax]
mov qword [rsp + 0x48], rdx
xor edx, edx
cmp ecx, 0x20
je 0x1400822d0
mov rbx, qword [rsp + 0x48]
sub rbx, qword [rax]
jne 0x140082331
add rsp, 0x50
pop rbx
ret
mov eax, dword [0x1402556f0]
test eax, eax
jne 0x140082310
xor edx, edx
mov ecx, 0xd
call fcn.1400d2350
mov ecx, 0xd
call fcn.1400d2380
mov r8d, 0x8d
mov edx, 0x476
lea rcx, str.run_command.c
call fcn.140009c20
mov ecx, eax
call sub.msvcrt.dll_exit
nop
lea rcx, [rsp + 0x20]
mov ebx, dword [0x140255718]
call fcn.1400db910
cmp ebx, dword [rsp + 0x38]
je 0x1400822da
mov ecx, 0x8d
call qword [sym.imp.msvcrt.dll__endthreadex]
call fcn.1401d96b0
nop
nop word [rax + rax]
Function at 0x140082340
Capabilities:
Allocate thread local storage

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
mov r13, qword [0x14022c040]
mov r12, qword [r13]
mov qword [rsp + 0x58], r12
mov r12d, dword [rcx + 0x10]
mov rbx, rcx
test r12d, r12d
js 0x140082448
mov edi, dword [rcx + 0x14]
test edi, edi
js 0x1400824a0
test r12d, r12d
mov esi, 0xffffffff
cmovne esi, r12d
test edi, edi
mov ebp, 0xffffffff
cmovne ebp, edi
mov edx, dword [0x1402556f0]
test edx, edx
je 0x1400823e0
mov dword [rbx + 0x38], esi
xor edx, edx
lea rcx, [rbx + 0x18]
mov r9, rbx
mov dword [rbx + 0x3c], ebp
lea r8, [0x140080ee0]
call fcn.1400db830
test eax, eax
jne 0x1400824c4
mov rdx, qword [rsp + 0x58]
sub rdx, qword [r13]
jne 0x140082581
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov dword [0x1402556f0], 1
lea rcx, [rsp + 0x20]
call fcn.1400db910
movdqu xmm0, xmmword [rsp + 0x20]
movdqu xmm1, xmmword [rsp + 0x30]
mov r14, qword [sym.imp.KERNEL32.dll_TlsAlloc]
movups xmmword [0x140255700], xmm0
movups xmmword [0x140255710], xmm1
call r14
mov dword [0x1402556ec], eax
call r14
lea rcx, [0x140081060]
mov dword [0x1402556e8], eax
call fcn.1400b6880
lea rcx, [0x140080f10]
call fcn.1400b68e0
jmp 0x140082399
lea rcx, [rsp + 0x48]
call fcn.1400d1890
mov edi, dword [rbx + 0x14]
test eax, eax
js 0x140082513
mov eax, dword [rsp + 0x4c]
mov esi, dword [rsp + 0x48]
mov dword [rbx + 0x10], eax
test edi, edi
jns 0x140082385
lea rcx, [rsp + 0x50]
call fcn.1400d1890
test eax, eax
js 0x14008256d
mov eax, dword [rsp + 0x50]
mov esi, dword [rsp + 0x48]
mov dword [rbx + 0x14], eax
mov ebp, dword [rsp + 0x54]
jmp 0x14008238f
lea rcx, [rsp + 0x50]
call fcn.1400d1890
test eax, eax
js 0x140082525
mov eax, dword [rsp + 0x50]
mov esi, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
test esi, esi
mov eax, 0xffffffff
cmove esi, eax
jmp 0x14008248d
mov ecx, eax
call sub.msvcrt.dll_strerror
lea rcx, str.cannot_create_async_thread:__s
mov rsi, rax
mov rax, qword [str.PF__]
mov eax, dword [rax]
test eax, eax
je 0x1400824ea
call fcn.1401d81b8
mov rcx, rax
mov rdx, rsi
call fcn.1400b6bf0
test r12d, r12d
js 0x140082555
mov ecx, dword [rbx + 0x10]
test ecx, ecx
jne 0x14008254e
test edi, edi
js 0x14008253a
mov ecx, dword [rbx + 0x14]
test ecx, ecx
jne 0x140082533
mov eax, 0xffffffff
jmp 0x1400823bc
test edi, edi
jg 0x140082569
lea rcx, str.cannot_create_pipe
call fcn.1400b6b60
jmp 0x140082509
mov ecx, dword [rbx + 0x10]
test ecx, ecx
je 0x140082517
call sub.msvcrt.dll__close
jmp 0x140082517
call sub.msvcrt.dll__close
jmp 0x140082509
mov ecx, dword [rsp + 0x50]
call sub.msvcrt.dll__close
mov ecx, dword [rsp + 0x54]
call sub.msvcrt.dll__close
jmp 0x140082509
call sub.msvcrt.dll__close
jmp 0x1400824fe
mov ecx, dword [rsp + 0x48]
call sub.msvcrt.dll__close
mov ecx, dword [rsp + 0x4c]
call sub.msvcrt.dll__close
jmp 0x1400824fe
mov ecx, edi
jmp 0x14008252c
mov ecx, dword [rsp + 0x48]
call sub.msvcrt.dll__close
mov ecx, dword [rsp + 0x4c]
call sub.msvcrt.dll__close
jmp 0x140082517
call fcn.1401d96b0
nop
nop word [rax + rax]
Function at 0x140092b20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov r12, qword [0x14022c040]
mov r13, qword [rsp + 0x100]
mov rsi, rcx
mov rdi, rdx
mov r14, r8
mov rbp, r9
mov rcx, qword [r12]
mov qword [rsp + 0x88], rcx
mov ecx, 0x80c8
call fcn.1400bd0a0
mov rcx, rsi
mov rbx, rax
call fcn.140075be0
test eax, eax
je 0x140092b96
mov rax, qword [rsi + 0x10]
test byte [rax + 0x30], 1
je 0x140092b88
mov rax, qword [rax + 0x28]
mov ecx, dword [rax + 0x1c]
test ecx, ecx
je 0x140092b96
mov rdx, rdi
mov rcx, rsi
call fcn.140075b50
mov rdi, rax
lea r15, [rsp + 0x30]
pxor xmm0, xmm0
xor r9d, r9d
mov rdx, rdi
lea rax, [rsp + 0x2c]
mov r8, r15
mov rcx, rsi
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.140033f90
test eax, eax
js 0x140092d40
mov edx, dword [rsp + 0x60]
lea rax, [0x140092570]
cmp edx, 1
je 0x140092c10
lea rax, [0x140092220]
cmp edx, 2
jne 0x140092c10
mov edx, dword [rsp + 0x78]
test edx, edx
je 0x140092d50
nop word cs:[rax + rax]
nop
mov qword [rbx], rax
mov r9, r14
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call rax
test eax, eax
jne 0x140092cc0
test r13, r13
je 0x140092cb0
mov ecx, 0x80c8
call fcn.1400bd0a0
lea rdx, [0x1400928b0]
movq xmm0, qword [0x1401fc930]
movq xmm1, rdx
mov edx, 0xffffffff
mov qword [rax + 0xa0], rbx
punpcklqdq xmm0, xmm1
mov qword [rax + 0xa8], r13
mov dword [rax + 0x80c0], 0
mov dword [rax + 0x18], 0xffffffff
movups xmmword [rax + 8], xmm0
pxor xmm0, xmm0
movups xmmword [rax + 0x80b0], xmm0
mov dword [rbp], edx
mov rdx, qword [rsp + 0x88]
sub rdx, qword [r12]
jne 0x140092d87
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, dword [rbx + 0x18]
mov rax, rbx
jmp 0x140092c87
pxor xmm0, xmm0
mov r9d, 0x20
mov r8, r15
mov rdx, rdi
movups xmmword [rsp + 0x50], xmm0
lea rax, [0x140092850]
mov rcx, rsi
movups xmmword [rsp + 0x40], xmm0
movq xmm2, rax
lea rax, [rbx + 0x18]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movq xmm0, qword [0x1401fc918]
mov dword [rbx + 0xa8], 0
punpcklqdq xmm0, xmm2
movups xmmword [rbx + 8], xmm0
mov qword [rsp + 0x38], rax
lea rax, [rbx + 0xa0]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x58], rax
call fcn.140033f90
test eax, eax
je 0x140092c29
nop word cs:[rax + rax]
nop
mov rcx, rbx
call fcn.1400eaf30
xor eax, eax
jmp 0x140092c8a
mov rdx, qword [0x14022c1f0]
mov ecx, dword [rsp + 0x2c]
cmp dword [rdx], ecx
jae 0x140092c10
mov rax, qword [rsp + 0x68]
mov qword [rbx + 0xa0], rax
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0xa8], rax
lea rax, [0x1400922c0]
jmp 0x140092c10
call fcn.1401d96b0
nop
nop dword [rax]