joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a52b0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.14008f814
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14008f8e0
mov rcx, qword [rbx + 8]
lea rdx, str.open
mov dword [rsp + 0x28], 5
xor r9d, r9d
and qword [rsp + 0x20], 0
mov r8, qword [rax]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x1400a531c
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x1400a531c
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff4
call fcn.1400b0230
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x1400a5e20
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov rax, qword [0x1401740c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov esi, r9d
mov r15d, r8d
mov r14d, edx
mov rbx, qword [rbp + 0x68]
mov qword [rbp - 0x50], rbx
lea rdi, [rcx + 0x58]
xor r12d, r12d
mov qword [rdi], r12
xor edx, edx
mov rcx, rbx
call fcn.140069064
mov rdx, rax
lea r8, [0x1401523e0]
mov rcx, rdi
call fcn.1400d96bc
cmp qword [rdi], r12
jne 0x1400a5eb5
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x1400a5eae
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x1400a5eae
mov rcx, qword [rbx]
sub rcx, 0xc
call fcn.1400b0230
xor eax, eax
jmp 0x1400a5fba
xor edx, edx
lea r8d, [rdx + 0xe]
lea rcx, [rbp - 0x48]
call fcn.1400b1c70
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rbp - 0x38]
call fcn.1400b1c70
mov eax, 0x4d42
mov word [rbp - 0x48], ax
mov dword [rbp - 0x42], r12d
mov eax, esi
neg eax
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 3
imul ecx, r14d
mov eax, ecx
mov r13d, 1
and eax, 0x80000003
jge 0x1400a5f08
sub eax, r13d
or eax, 0xfffffffc
add eax, r13d
add eax, ecx
imul eax, r15d
add eax, 0x36
mov dword [rbp - 0x46], eax
mov dword [rbp - 0x3e], getservbyport
mov dword [rbp - 0x38], 0x28
mov dword [rbp - 0x34], r14d
mov dword [rbp - 0x30], r15d
mov word [rbp - 0x2c], r13w
neg esi
sbb ax, ax
and ax, 0xfff0
add ax, 0x18
mov word [rbp - 0x2a], ax
mov qword [rbp - 0x28], r12
mov eax, 0xec4
mov dword [rbp - 0x20], eax
mov qword [rbp - 0x1c], rax
mov dword [rbp - 0x14], r12d
mov r9, qword [rdi]
mov r8, r13
mov edx, ntohs
lea rcx, [rbp - 0x48]
call fcn.1400e027c
cmp rax, r13
jne 0x1400a5e86
mov r9, qword [rdi]
mov r8, r13
mov edx, 0x28
lea rcx, [rbp - 0x38]
call fcn.1400e027c
nop
cmp rax, r13
jne 0x1400a5e86
mov rax, qword [rbx]
add rax, 0xfffffffffffffff4
cmp rax, qword [0x140174010]
je 0x1400a5fb7
or ecx, 0xffffffff
lock xadd dword [rax], ecx
sub ecx, 1
jg 0x1400a5fb7
mov rcx, qword [rbx]
sub rcx, 0xc
call fcn.1400b0230
mov eax, r13d
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400b0730
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400a5fd8
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov rdi, rdx
mov rbp, rcx
test r9d, r9d
je 0x1400a6070
mov eax, 0x55555556
imul r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
movsxd r14, edx
mov rcx, r14
call fcn.1400b0228
mov rsi, rax
test r14, r14
jle 0x1400a6051
lea r9, [rdi + 1]
movzx ecx, byte [r9 + 1]
mov eax, 0xaaaaaaab
movzx r8d, byte [r9 - 1]
add r8d, ecx
movzx ecx, byte [r9]
add r8d, ecx
lea r9, [r9 + 3]
mul r8d
shr edx, 1
mov byte [rbx + rsi], dl
inc rbx
cmp rbx, r14
jl 0x1400a6024
mov r9, qword [rbp + 0x58]
mov r8d, 1
mov rdx, r14
mov rcx, rsi
call fcn.1400e027c
mov rcx, rsi
call fcn.1400b0230
jmp 0x1400a6085
mov r9, qword [rcx + 0x58]
mov rcx, rdi
movsxd rdx, r8d
mov r8d, 1
call fcn.1400e027c
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400a6934
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1401740c0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, r9
mov ebx, r8d
mov dword [rbp - 0x3c], ebx
mov dword [rbp - 0x40], edx
mov qword [rbp - 0x38], r9
lea rdx, [rbp - 0x40]
lea rcx, [0x1400a67dc]
call qword [sym.imp.USER32.dll_EnumWindows]
test ebx, ebx
jne 0x1400a6a6b
mov r9, qword [0x140174018]
mov qword [rbp - 0x28], r9
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor ebx, ebx
mov rdi, qword [rsi]
mov rdx, qword [rsi + 8]
sub rdx, rdi
sar rdx, 5
test rdx, rdx
je 0x1400a6a4d
lea r8, [rdi + 0x18]
test dword [r8 + 4], 0x40000
je 0x1400a69d4
test dword [r8], 0xc00000
setne cl
bt dword [r8], 0x13
setb al
test al, cl
jne 0x1400a69ed
inc rbx
add r8, 0x20
mov rax, qword [rsi + 8]
sub rax, rdi
sar rax, 5
cmp rbx, rax
jae 0x1400a6a0f
jmp 0x1400a69b4
shl rbx, 5
add rbx, rdi
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140067f7c
movups xmm0, xmmword [rbx + 8]
mov eax, dword [rbx + 0x18]
mov dword [rbp - 0x10], eax
mov eax, dword [rbx + 0x1c]
jmp 0x1400a6a2d
test rdx, rdx
je 0x1400a6a4d
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140067f7c
movups xmm0, xmmword [rdi + 8]
mov eax, dword [rdi + 0x18]
mov dword [rbp - 0x10], eax
mov eax, dword [rdi + 0x1c]
mov dword [rbp - 0xc], eax
movdqu xmmword [rbp - 0x20], xmm0
mov rcx, rsi
call fcn.140076100
lea rdx, [rbp - 0x28]
mov rcx, rsi
call fcn.1400a7750
mov r9, qword [rbp - 0x28]
lea rcx, [r9 - 0xc]
cmp rcx, qword [0x140174010]
je 0x1400a6a6b
or edx, 0xffffffff
lock xadd dword [rcx], edx
sub edx, 1
jg 0x1400a6a6b
call fcn.1400b0230
mov eax, 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400b0730
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a8164
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1d0
mov rax, qword [0x1401740c0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, qword [0x140174018]
mov qword [rbx], rcx
mov rcx, qword [0x140174018]
mov qword [rbx + 0x10], rcx
mov rcx, qword [0x140174018]
mov qword [rbx + 0x18], rcx
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
and qword [rbx + 0x28], 0
mov rax, rbx
and qword [rbx + 0x20], 0
mov dword [rbx + 8], 0x19
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400b0730
add rsp, 0x1d0
pop rbx
ret

Function at 0x1400a84d8
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1401740c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, r8
mov rbx, rdx
mov qword [rbp - 1], rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
and qword [rbp - 0x11], 0
mov rcx, qword [rdx]
call fcn.1400692f0
movsxd rsi, eax
test eax, eax
jns 0x1400a8569
lea rcx, [rbp - 0x21]
call fcn.140067f00
nop
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x1400a855f
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x1400a855f
mov rcx, qword [rbx]
sub rcx, 0xc
call fcn.1400b0230
mov eax, 1
jmp 0x1400a8684
mov rcx, rsi
call fcn.1400b0228
mov rdi, rax
and qword [rbp - 0x29], 0
lea r8, [0x1401523cc]
mov rdx, qword [rbx]
lea rcx, [rbp - 0x29]
call fcn.1400d96bc
mov r9, qword [rbp - 0x29]
test r9, r9
je 0x1400a8644
mov r8d, 1
mov rdx, rsi
mov rcx, rdi
call fcn.1400dfe74
cmp rax, 1
jne 0x1400a8644
mov rcx, qword [rbp - 0x29]
call fcn.1400d9814
lea rax, [0x14012535c]
mov qword [rsp + 0x20], rax
mov r9d, 0x4c
mov r8d, esi
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.14006c424
mov rdx, rax
mov rcx, r15
call fcn.14008972c
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x1400a8605
inc rdx
mov r8d, 1
mov rcx, qword [rbp + 7]
call fcn.140067584
mov rcx, rdi
call fcn.1400b0230
nop
lea rcx, [rbp - 0x21]
call fcn.140067f00
nop
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x1400a8640
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x1400a8640
mov rcx, qword [rbx]
sub rcx, 0xc
call fcn.1400b0230
xor eax, eax
jmp 0x1400a8684
mov rcx, rdi
call fcn.1400b0230
nop
lea rcx, [rbp - 0x21]
call fcn.140067f00
nop
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x1400a867f
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x1400a867f
mov rcx, qword [rbx]
sub rcx, 0xc
call fcn.1400b0230
mov eax, 2
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400b0730
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a9088
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rcx + 0x28], r8
xor ebx, ebx
mov qword [rcx + 0x20], rdx
lea r8, [0x1400ab2d0]
mov r9, rcx
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x1400ac02c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x280
mov rax, qword [0x1401740c0]
xor rax, rsp
mov qword [rbp + 0x170], rax
lea rax, [0x1400aba14]
xor ebx, ebx
cmp dword [0x140176510], ebx
lea rsi, str.getaddrinfo
mov qword [rsp + 0x28], rax
movzx r12d, cx
lea rax, str.getnameinfo
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rax
lea rax, [0x1400abe04]
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
lea rax, [0x1400ab9c4]
mov qword [rsp + 0x48], rax
je 0x1400ac0c5
lea r14, str.getaddrinfo
jmp 0x1400ac1f8
mov edx, 0x104
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea r14, str.getaddrinfo
test eax, eax
je 0x1400ac1ee
mov r15d, 0x10c
lea r8, [rbp + 0x60]
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.1400e0c1c
lea r8, str.ws2_32
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.1400e0cfc
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x1400ac143
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400ac13e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, rbx
test rdi, rdi
jne 0x1400ac19d
lea r8, [rbp + 0x60]
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400e0c1c
lea r8, str.wship6
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400e0cfc
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x1400ac1ee
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400ac198
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, rbx
test rdi, rdi
je 0x1400ac1ee
mov r15d, ebx
lea rsi, [rsp + 0x28]
mov rdx, qword [rsi - 8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi], rax
test rax, rax
je 0x1400ac1c9
inc r15d
add rsi, 0x10
cmp r15d, 3
jl 0x1400ac1a5
jmp 0x1400ac1d5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, rbx
test rdi, rdi
je 0x1400ac1ee
mov rax, qword [rsp + rbx + 0x28]
mov qword [rbx + r14 + 8], rax
add rbx, 0x10
cmp rbx, 0x30
jl 0x1400ac1da
mov dword [0x140176510], 1
movzx eax, r12w
add rax, rax
mov rax, qword [r14 + rax*8 + 8]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400b0730
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400ac470
Capabilities:
Resolve dns

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rsi, qword [rsp + 0x68]
movzx ebp, r9w
mov r14, qword [rsp + 0x60]
mov r15d, r8d
mov r12d, edx
and qword [rsi], 0
mov byte [r14], 0
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rbx, rax
test rax, rax
je 0x1400ac515
cmp word [rax + 0x10], 2
jne 0x1400ac4f5
cmp word [rax + 0x12], 4
jne 0x1400ac4f5
mov rdi, qword [rax + 0x18]
jmp 0x1400ac4ed
mov r9d, dword [rax]
movzx r8d, bp
mov edx, r15d
mov ecx, r12d
call fcn.1400ac3d0
mov qword [rsi], rax
test rax, rax
je 0x1400ac50e
lea rsi, [rax + 0x28]
add rdi, 8
mov rax, qword [rdi]
test rax, rax
jne 0x1400ac4cb
mov r8, qword [rbx]
mov r9d, 0x400
mov rcx, r14
lea edx, [r9 + 1]
call fcn.1400e0e38
xor eax, eax
jmp 0x1400ac533
mov eax, 8
jmp 0x1400ac533
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 0x2af9
sub eax, ecx
je 0x1400ac531
sub eax, 1
je 0x1400ac559
sub eax, 1
je 0x1400ac552
cmp eax, 1
mov eax, ecx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
mov eax, 0x2afb
jmp 0x1400ac533
mov eax, 0x2afa
jmp 0x1400ac533
Function at 0x1400f6a24
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400f675c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400f675c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400f675c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400f675c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400f675c
cmp dword [rcx + 0x84], 0xe
jbe 0x1400f675c
cmp dword [rcx + 0xf8], esi
je 0x1400f675c
mov ecx, r14d
call fcn.1400f692c
mov ecx, 2
call fcn.1400ffd94
nop
cmp byte [0x140176e20], 0
jne 0x1400f6826
mov r15d, 1
mov eax, r15d
xchg dword [0x140176e10], eax
test ebx, ebx
jne 0x1400f67cf
mov rdi, qword [0x1401740c0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140176e18]
cmp rcx, rax
je 0x1400f67c6
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [0x14011fc30]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1401771c0]
jmp 0x1400f67db
cmp ebx, r15d
jne 0x1400f67e1
lea rcx, [0x1401771d8]
call fcn.1400fbac4
nop
test ebx, ebx
jne 0x1400f67f8
lea rdx, [0x14011fce8]
lea rcx, [0x14011fcc0]
call fcn.1400fc350
lea rdx, [0x14011fcf8]
lea rcx, [0x14011fcf0]
call fcn.1400fc350
movzx eax, byte [0x140176e20]
test esi, esi
cmove eax, r15d
mov byte [0x140176e20], al
jmp 0x1400f6826
mov ecx, 2
call fcn.1400ffde8
test esi, esi
jne 0x1400f683d
mov ecx, r14d
call fcn.1400f6858
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400f66ec
Function at 0x1401078d0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1401074f8
call fcn.1400bd4dc
mov dword [rax], socket
call fcn.1400bd330
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1401074e0
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1401074e0
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14010752a
lock or dword [rax + 0x14], 0x10
jmp 0x1401074e0
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x140107547
mov rcx, qword [rbp + 0x10]
call fcn.140116a34
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140101184
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.140106f30
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14010759e
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1401074e0
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14010760a
mov rcx, qword [rbp + 0x10]
call fcn.140101184
cmp eax, 0xffffffff
je 0x1401075f1
mov rcx, qword [rbp + 0x10]
call fcn.140101184
cmp eax, 0xfffffffe
je 0x1401075f1
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140101184
movsxd rdi, eax
lea rsi, [0x140177a80]
mov rcx, rbx
sar rdi, 6
call fcn.140101184
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1401075f8
lea rax, [0x1401743e0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14010760a
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x140107640
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14010763c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14010763c
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1401074e3
jmp 0x1401074b0
Function at 0x1401078d8
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1401076aa
call fcn.1400bd4dc
mov dword [rax], socket
call fcn.1400bd330
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14010768c
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14010768c
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x1401076dc
lock or dword [rax + 0x14], 0x10
jmp 0x14010768c
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1401076f9
mov rcx, qword [rbp + 0x20]
call fcn.140116a34
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x14010770e
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x140107714
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.140101184
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.140106f30
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x140107767
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x14010768c
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1401077d3
mov rcx, qword [rbp + 0x20]
call fcn.140101184
cmp eax, 0xffffffff
je 0x1401077ba
mov rcx, qword [rbp + 0x20]
call fcn.140101184
cmp eax, 0xfffffffe
je 0x1401077ba
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.140101184
movsxd rdi, eax
lea r15, [0x140177a80]
mov rcx, rbx
sar rdi, 6
call fcn.140101184
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x1401077c1
lea rax, [0x1401743e0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1401077d3
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x140107809
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x140107805
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x140107805
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x140107827
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x140107832
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x140107691
jmp 0x140107658
Function at 0x14010fbac
Capabilities:
Create thread
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.140102fd4
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x14010fbff
test rbx, rbx
je 0x14010fbf0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x14010fbff
mov edi, 4
jmp 0x14010fca8
call fcn.140102d7c
test al, al
jne 0x14010fc1c
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x14010fca8
test bpl, bpl
je 0x14010fc7f
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x14010fa50]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14010fca8
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x14010fc79
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14010fca8
mov edi, dword [rsp + 0x44]
jmp 0x14010fc71
call fcn.140102f00
test al, al
jne 0x14010fc90
bts esi, 0x15
xor ecx, ecx
jmp 0x14010fc98
call fcn.140102e38
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.140102bb4
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
Function at 0x14001127b
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140015cf0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015d10
xor al, al
jmp 0x140015d91
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015d23
xor al, al
jmp 0x140015d91
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 0x140015d4d
xor al, al
jmp 0x140015d91
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015d61
xor al, al
jmp 0x140015d91
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015d73
xor al, al
jmp 0x140015d91
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140015d8f
xor al, al
jmp 0x140015d91
mov al, 1
add rsp, 0x38
ret