joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ce220
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x798
movapd xmmword [rsp + 0x780], xmm12
movaps xmmword [rsp + 0x770], xmm11
movdqa xmmword [rsp + 0x760], xmm10
movdqa xmmword [rsp + 0x750], xmm9
movapd xmmword [rsp + 0x740], xmm8
movaps xmmword [rsp + 0x730], xmm7
movaps xmmword [rsp + 0x720], xmm6
mov r13, rdx
mov qword [rsp + 0x68], rcx
mov rcx, qword [rdx + 0x130]
test rcx, rcx
je 0x1400ce29e
mov rdx, r8
mov rsi, r8
call fcn.1400fe5a0
mov r8, rsi
test al, al
je 0x1400d0fef
lea rax, [r13 + 0x20]
mov qword [rsp + 0x240], rax
lea rax, [r13 + 0x88]
mov qword [rsp + 0x190], rax
lea rax, [r13 + 0xf8]
mov qword [rsp + 0x1b0], rax
lea rax, [r13 + 0xf9]
mov qword [rsp + 0x478], rax
lea rdi, [rsp + 0x2ea]
lea rax, [r13 + 0x28]
mov qword [rsp + 0x198], rax
lea r12, [rsp + 0x98]
lea rax, [r13 + 0xc8]
mov qword [rsp + 0x188], rax
xorps xmm6, xmm6
lea rax, [0x14015e268]
movaps xmm7, xmmword [0x14011c660]
movq xmm8, rax
shufpd xmm8, xmmword [0x14011c8a0], 2
movdqa xmm9, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmm10, xmmword [0x14011c6f0]
lea rax, [r13 + 0xe0]
mov qword [rsp + 0x4b0], rax
lea rax, [r13 + 0x50]
mov qword [rsp + 0x4b8], rax
lea rsi, [rsp + 0x3c0]
lea r14, [rsp + 0x80]
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x488], r8
movzx eax, byte [0x140177ea0]
mov edx, 0x70
xor ecx, ecx
leave

Function at 0x1400d58a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400d58c5
cmp rax, rcx
je 0x1400d58cb
cmp rdx, 4
jae 0x1400d58cf
xor eax, eax
xor r8d, r8d
jmp 0x1400d5960
pop rbp
jmp fcn.14000a640
xor eax, eax
pop rbp
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14011c640]
movdqa xmm3, xmmword [0x14011c650]
pxor xmm1, xmm1
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x1400d58f0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400d5977
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400d5960
pop rbp
ret
Function at 0x1400dae30
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x140161600]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400daea1
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x1400daece
test eax, eax
js 0x1400daead
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1400daec4
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x140161668]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.1400da490
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call case.0x1400bc5a9.249
mov ecx, 7
int 0x29
ud2

Function at 0x1400e05c0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push rbp
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
sub esp, 0x4a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x50]
call fcn.1400e0c00
add byte [rax], al

Function at 0x1400e1eb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
invalid
invalid
dec dword [rax - 0x77]
ror dword [rax - 0x77], cl
loopne 0x1400e1f19
movzx edi, byte [rdx + 0x18]
mov byte [rdx + 0x18], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 2
lock add al, byte [rax]
add byte [rax], al

Function at 0x1400e2160
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsp

Function at 0x1400e3af0
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov r8, rdx
Function at 0x1400e5740
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x1e8
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x166], ax
mov eax, dword [0x140177e08]
cmp eax, 3
jne 0x1400e592e
lea rax, [rbp + 0x166]
mov qword [rbp + 0x150], rax
cmp rdi, 0x17f
ja 0x1400e5954
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi - 0x60], 0
lea rax, [rdi + 1]
cmp rdi, 0xe
ja 0x1400e57d8
xor edx, edx
nop word cs:[rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x1400e5894
inc rdx
cmp rax, rdx
jne 0x1400e57c0
jmp 0x1400e58f9
lea rcx, [rbp - 0x59]
and rcx, 0xfffffffffffffff8
sub rcx, rbx
je 0x1400e580e
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x1400e5894
inc rdx
cmp rcx, rdx
jne 0x1400e57f0
lea rdx, [rdi - 0xf]
cmp rcx, rdx
jbe 0x1400e5812
jmp case.0x1400dcde6.539
lea rdx, [rdi - 0xf]
movabs r8, 0x101010101010100
movabs r9, 0x8080808080808080
nop word cs:[rax + rax]
mov rbx, rdx
call fcn.140119870
mov rdx, rbx
lea rax, [rbp + 0x166]
mov qword [rbp + 0x150], rax
cmp rdi, 0x17f
jbe 0x1400e5795
lea r9, [rbp + 0x150]
mov rcx, rsi
mov r8, rdi
call fcn.1401198e0
Function at 0x1400ee620
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov qword [rbp + 8], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x40]
call fcn.1400e0c00
mov rax, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x38]
mov rcx, rax
neg rcx
jno 0x1400ee66d
mov qword [rbp - 0x20], rdi
movabs rax, 0x8000000000000000
mov qword [rbp - 0x28], rax
jmp 0x1400ee69e
mov rcx, qword [rbp - 0x30]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x28]
lea rdx, [rbp - 0x58]
call fcn.1400ee530
mov rbx, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x20]
mov rax, rbx
neg rax
jno 0x1400ee725
mov eax, edi
and eax, 3
cmp eax, 1
jne 0x1400ee70a
lea rax, [rdi - 1]
mov qword [rbp - 0x10], rax
mov rax, qword [rdi - 1]
mov qword [rbp - 8], rax
mov rax, qword [rdi + 7]
mov qword [rbp], rax
mov rax, qword [rax]
test rax, rax
je 0x1400ee6ce
mov rcx, qword [rbp - 8]
call rax
mov r8, qword [rbp - 8]
mov rax, qword [rbp]
cmp qword [rax + 8], 0
je 0x1400ee6f7
cmp qword [rax + 0x10], 0x11
jb 0x1400ee6e8
mov r8, qword [r8 - 8]
mov rcx, qword [0x140177e28]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x140177e28]
xor edx, edx
mov r8, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_HeapFree]
movabs rax, 0x8000000000000000
mov qword [rsi], rax
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov r14, qword [rbp - 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400ee744
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r14
jmp 0x1400ee717
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
je 0x1400ee717
mov rcx, qword [0x140177e28]
xor edx, edx
mov r8, rdi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
Function at 0x1400f0960
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x140177ea0]
mov edx, 0x10
xor ecx, ecx
call fcn.1400f3650
test rax, rax
je 0x1400f0a59
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400f0bc0]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400f0a4b
mov rax, qword [rbx]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x10], rax
mov rax, qword [rax]
test rax, rax
je 0x1400f09f7
mov rcx, qword [rbp - 0x18]
call rax
mov r8, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
mov rsi, qword [rbp - 0x20]
je 0x1400f0a24
cmp qword [rax + 0x10], 0x11
jb 0x1400f0a15
mov r8, qword [r8 - 8]
mov rcx, qword [0x140177e28]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x140177e28]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1401131d0
ud2
Function at 0x1400f7300
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov esi, 1
test cl, 1
jne 0x1400f748a
mov eax, dword [0x140177e08]
cmp eax, 3
jne 0x1400f749a
mov r15, rdx
cmp byte [rdx], 0
mov eax, 0x17
mov ebx, 2
cmovne ebx, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400f7399
test byte [r15], 1
je 0x1400f7411
movups xmm0, xmmword [r15 + 4]
mov eax, dword [r15 + 0x14]
mov edx, dword [r15 + 0x18]
movzx ecx, word [r15 + 0x1c]
mov r8d, 0x1c
mov r9w, 0x17
jmp 0x1400f7428
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x1400f73b4
mov r14d, eax
cmp eax, 0x2726
jne 0x1400f747f
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1400f7476
mov rdi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x1400f736d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
jmp 0x1400f747f
mov eax, dword [r15 + 2]
movzx ecx, word [r15 + 6]
xorps xmm0, xmm0
mov r8d, 0x10
mov r9w, 2
rol cx, 8
mov word [rbp - 0x14], r9w
mov word [rbp - 0x12], cx
mov dword [rbp - 0x10], eax
movups xmmword [rbp - 0xc], xmm0
mov dword [rbp + 4], edx
lea rdx, [rbp - 0x14]
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1400f7458
xor esi, esi
mov rdx, rdi
jmp 0x1400f748a
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
mov rdx, rbx
jmp 0x1400f748a
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
shl r14, 0x20
or r14, 2
mov rdx, r14
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov rdi, rdx
call fcn.140119870
mov rdx, rdi
jmp 0x1400f732e
Function at 0x1400f9690
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x40], r8
mov rbx, rdx
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x38], rax
cmp rax, 0xffffffffffffffff
je 0x1400f983c
mov r14, qword [rcx + 8]
mov r12, qword [rcx + 0x18]
cmp r9, 0x7fffffff
mov r15d, 0x7fffffff
cmovb r15, r9
jmp 0x1400f9707
mov rcx, qword [0x140177e28]
xor edx, edx
mov r8, rbp
call qword [sym.imp.KERNEL32.dll_HeapFree]
dec r13
mov rcx, qword [0x140177e28]
xor edx, edx
mov r8, r13
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rsp + 0x28]
mov rdx, r14
mov r8, rbx
mov r9b, 1
call fcn.1400f8710
movzx eax, byte [rsp + 0x31]
cmp al, 3
je 0x1400f9859
mov rbp, qword [rsp + 0x28]
cmp al, 2
je 0x1400f9873
movzx edi, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov r8d, r15d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1400f987d
test r12, r12
sete sil
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rcx, r13
call fcn.14004cf90
cmp al, 0xd
setne al
or al, sil
jne 0x1400f97b5
mov rcx, qword [r12]
mov rax, qword [r12 + 8]
lock inc qword [rax]
jle 0x1400f9896
add rcx, 0x10
mov rdx, qword [r12 + 8]
mov r8, qword [r12 + 0x10]
movzx r9d, byte [r12 + 0x18]
call fcn.14004cd20
test rax, rax
cmovne r13, rax
mov rcx, r13
call fcn.14009b420
cmp al, 0xd
jne 0x1400f986c
and ebp, 0x23
mov rax, qword [r14 + 0x90]
xor rbp, 0xff002f
nop word cs:[rax + rax]
mov ecx, eax
shr ecx, 0x10
cmp dil, cl
jne 0x1400f97f9
mov ecx, eax
and ecx, ebp
lock cmpxchg qword [r14 + 0x90], rcx
jne 0x1400f97e0
mov eax, r13d
and eax, 3
cmp eax, 1
jne 0x1400f9707
mov rbp, qword [r13 - 1]
mov rdi, qword [r13 + 7]
mov rax, qword [rdi]
test rax, rax
je 0x1400f981d
mov rcx, rbp
call rax
cmp qword [rdi + 8], 0
je 0x1400f96f2
cmp qword [rdi + 0x10], 0x11
jb 0x1400f96e0
mov rbp, qword [rbp - 8]
jmp 0x1400f96e0
mov rdx, qword [rcx + 8]
lea rcx, [rsp + 0x28]
mov r8, rbx
mov r9b, 1
call fcn.1400f8710
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x1400f9863
mov eax, 2
mov r13, rbp
jmp 0x1400f9882
cmp al, 2
jne 0x1400f9898
mov r13, qword [rsp + 0x28]
mov eax, 1
jmp 0x1400f9882
mov eax, 1
mov r13, rbp
jmp 0x1400f9882
movsxd r13, eax
xor eax, eax
mov rdx, r13
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
lea rcx, str.C:UsersMrtn.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.42.0_srciopoll_evented.rs
call fcn.140113ae0
int3

Function at 0x1401051a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov ebx, r9d
mov rdi, rcx
Function at 0x140112c88
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
lea rbp, [rsp + 0x60]
cmp r8, 0xffffffffffffffff
je 0x140119afc
mov rbx, r8
mov r15, r8
inc r15
js 0x140119b08
mov rdi, r9
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x140177ea0]
xor ecx, ecx
mov rdx, r15
call fcn.1400f3650
test rax, rax
je 0x140119b0d
mov r12, rax
mov rcx, rax
mov rdx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
cmp rbx, 0x10
jae 0x140119978
test rbx, rbx
je 0x140119a1f
xor eax, eax
nop word cs:[rax + rax]
cmp byte [r14 + rax], 0
je 0x140119a84
inc rax
cmp rbx, rax
jne 0x140119960
jmp 0x140119a1f
lea rax, [r14 + 7]
and rax, 0xfffffffffffffff8
sub rax, r14
jne 0x1401199d1
lea rcx, [rbx - 0x10]
xor eax, eax
movabs rdx, 0x101010101010100
movabs r8, 0x8080808080808080
nop
mov r9, qword [r14 + rax]
mov r10, qword [r14 + rax + 8]
mov r11, rdx
sub r11, r10
or r11, r10
mov r10, rdx
sub r10, r9
or r10, r9
and r10, r11
not r10
test r10, r8
jne 0x1401199fc
add rax, 0x10
cmp rax, rcx
jbe 0x1401199a0
jmp 0x1401199fc
xor ecx, ecx
nop word cs:[rax + rax]
cmp byte [r14 + rcx], 0
je 0x140119a84
inc rcx
cmp rax, rcx
jne 0x1401199e0
lea rcx, [rbx - 0x10]
cmp rax, rcx
jbe 0x14011998b
cmp rax, rbx
je 0x140119a1f
nop word cs:[rax + rax]
cmp byte [r14 + rax], 0
je 0x140119a84
inc rax
cmp rbx, rax
jne 0x140119a10
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], rbx
lea rcx, [rbp - 0x40]
call fcn.1400077d0
mov rbx, rax
mov r14, rdx
xorps xmm0, xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x38], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x40]
lea r9, [rbp - 8]
mov rcx, rax
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x140119ab7
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x140119acb
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, qword [0x140177e28]
xor edx, edx
mov r8, r12
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rdi]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rbx], 0
test r14, r14
je 0x140119aec
mov rcx, qword [0x140177e28]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, str.alloc_src_ffic_str.rs
call fcn.140113ae0
call fcn.1400076d0
mov ecx, 1
mov rdx, r15
call fcn.1401131b0
int3
Function at 0x1400111ea
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140012ca0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012cc0
xor al, al
jmp 0x140012d41
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012cd3
xor al, al
jmp 0x140012d41
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 0x140012cfd
xor al, al
jmp 0x140012d41
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012d11
xor al, al
jmp 0x140012d41
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012d23
xor al, al
jmp 0x140012d41
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012d3f
xor al, al
jmp 0x140012d41
mov al, 1
add rsp, 0x38
ret

Function at 0x140011aa0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011384
movzx eax, al
test eax, eax
jne 0x140011ac0
mov ecx, 7
call fcn.140011302
nop
mov byte [rsp + 0x20], 0
call fcn.140011316
mov byte [rsp + 0x21], al
cmp dword [0x14001c220], 1
jne 0x140011ae4
mov ecx, 7
call fcn.140011302
nop
jmp 0x140011b3c
cmp dword [0x14001c220], 0
jne 0x140011b37
mov dword [0x14001c220], 1
lea rdx, [0x140019660]
lea rcx, [0x140019330]
call fcn.140011195
test eax, eax
je 0x140011b18
mov eax, 0xff
jmp 0x140011c41
lea rdx, [0x140019220]
lea rcx, [section..rdata]
call fcn.14001130c
mov dword [0x14001c220], 2
jmp 0x140011b3c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400112f3
call fcn.14001128a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140011b99
mov rcx, qword [rsp + 0x30]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x140011b99
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 [0x140022020]
nop
call fcn.1400112bc
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140011bcd
mov rcx, qword [rsp + 0x38]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x140011bcd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011343
nop
call fcn.140011cf0
mov dword [rsp + 0x28], eax
call fcn.140011267
movzx eax, al
test eax, eax
jne 0x140011bec
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140011bfb
call fcn.14001134d
nop
xor edx, edx
mov cl, 1
call fcn.140011145
mov eax, dword [rsp + 0x28]
jmp 0x140011c41
add rsp, 0x68
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x00405bb0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x00405bc0]
mov dword [rax], 1
mov rax, qword [0x00405bd0]
mov dword [rax], 1
mov rax, qword [0x00405ba0]
mov dword [rax], 1
mov rax, qword [0x00405a90]
cmp word [rax], 0x5a4d
jne 0x401067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x4010c0
mov rax, qword [0x00405b90]
mov dword [0x0040800c], ecx
mov eax, dword [rax]
test eax, eax
jne 0x4010b0
mov ecx, 1
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x00405b50]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x00405a40]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 2
call sym.__set_app_type
jmp 0x401084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x401108
cmp dx, 0x20b
jne 0x401067
cmp dword [rax + 0x84], 0xe
jbe 0x401067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x401067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x401067

Function at 0x401e90
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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 rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]