joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c92b0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x14013e2c0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1400c930e
cmp word [rdx], r12w
jne 0x1400c930e
or byte [rax + r8*8 + 0x38], cl
jmp 0x1400c9314
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1400c946f
mov r9d, reloc.WLDAP32.dll_Ordinal_26
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1400c944a
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400c934d
mov rcx, r9
jmp 0x1400c9370
cmp r9, rdx
jae 0x1400c9387
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, reloc.WLDAP32.dll_Ordinal_26
add rbx, 2
cmp rcx, rdx
jb 0x1400c9331
jmp 0x1400c946f
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400c9444
cmp dword [rsp + 0x80], edi
je 0x1400c9444
mov rdx, r14
lea r11, [0x14013e2c0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x1400c941d
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400c93f0
mov word [rbx], r12w
jmp 0x1400c946b
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1400c93f9
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1400c946b
cmp word [rsp + 0x70], r12w
jne 0x1400c942a
cmp rbx, rsi
je 0x1400c93ea
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1400c6c6c
cmp word [rsp + 0x70], r12w
je 0x1400c946f
mov word [rbx], r13w
jmp 0x1400c946b
lea r11, [0x14013e2c0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400c9467
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400c946f
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400d4f3c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400ba560
sub rsp, rax
mov rax, qword [0x140135558]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400df058
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400d4f8b
mov rax, rbp
jmp 0x1400d5093
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x13e2c0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400c6c64
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x13e2c0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400d508f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400d508f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400c6c64
test rax, rax
js 0x1400d508f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400d508f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400d5081
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400d5081
cmp byte [rcx], 0xd
jne 0x1400d5067
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400d5076
cmp byte [rcx + 1], 0xa
jne 0x1400d5076
inc rcx
jmp 0x1400d5076
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1356c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400d5049
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400d5093
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400b9890
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400df300
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x1400df332
call fcn.1400c6428
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call fcn.1400c0e08
jmp 0x1400df451
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400df451
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400df451
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400df361
lock or dword [rcx + 0x14], 0x10
jmp 0x1400df451
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400df375
call fcn.1400df7f0
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.1400df058
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.1400c975c
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1400df43f
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x1400df40a
mov rcx, rsi
call fcn.1400df058
cmp eax, edi
je 0x1400df3f5
mov rcx, rsi
call fcn.1400df058
cmp eax, 0xfffffffe
je 0x1400df3f5
mov rcx, rsi
call fcn.1400df058
movsxd rbx, eax
lea r14, [0x14013e2c0]
mov rcx, rsi
sar rbx, 6
call fcn.1400df058
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1400df3fc
lea rdx, [0x140135a00]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400df40a
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x1400df42e
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x1400df42e
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x1400df42e
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x1400df454
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x1400e22ec
Capabilities:
Clear file content

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 rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400c6c6c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400c6c6c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400e243c
cmp rax, 0xffffffffffffffff
je 0x1400e243c
xor edi, edi
test rbp, rbp
jle 0x1400e23e7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400ddfc4
mov rbx, rax
test rax, rax
jne 0x1400e2374
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400e23dd
mov edx, 0x8000
mov ecx, r14d
call fcn.1400da238
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400dcd4c
cmp eax, 0xffffffff
je 0x1400e23bd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400e2384
mov edx, r15d
mov ecx, r14d
call fcn.1400da238
jmp 0x1400e23dd
cmp byte [rsi + 0x38], dil
je 0x1400e23d4
cmp dword [rsi + 0x34], 5
jne 0x1400e23d4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1400e23dd
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400dde7c
jmp 0x1400e2450
jns 0x1400e2450
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400c6c6c
cmp rax, 0xffffffffffffffff
jne 0x1400e2408
cmp byte [rsi + 0x30], dil
je 0x1400e2450
mov edi, dword [rsi + 0x2c]
jmp 0x1400e2450
mov ecx, r14d
call fcn.1400c697c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400e2450
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1400e2450
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400e2449
mov eax, dword [rsi + 0x2c]
jmp 0x1400e244e
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400c6c6c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400e6b24
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400e6b54
xor eax, eax
jmp 0x1400e6c17
mov rbp, rbx
cmp word [rax], si
je 0x1400e6b79
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400e6b60
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400e6b5c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400e3bcc
movsxd r14, eax
test eax, eax
jne 0x1400e6bb7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400e6b4d
mov rcx, r14
call fcn.1400df85c
mov rdi, rax
test rax, rax
jne 0x1400e6bd0
xor ecx, ecx
call fcn.1400dde7c
jmp 0x1400e6bac
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400e3bcc
test eax, eax
jne 0x1400e6c01
mov rcx, rdi
call fcn.1400dde7c
jmp 0x1400e6c0b
xor ecx, ecx
call fcn.1400dde7c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400e6c34
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400e6cbb
mov rsi, rbx
cmp word [rax], bp
je 0x1400e6c7a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400e6c64
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400e6c60
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400df85c
mov rdi, rax
test rax, rax
je 0x1400e6ca8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400bbaa0
mov rbp, rdi
xor ecx, ecx
call fcn.1400dde7c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400e9f30
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400e9f50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400c639c
or eax, 0xffffffff
jmp 0x1400e9f52
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400ec748
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400c7328
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400ec7d2
cmp byte [rbp - 0x21], r15b
je 0x1400ec7cd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400ec808
call fcn.1400de35c
test eax, eax
jne 0x1400ec7f4
cmp byte [rbp - 0x21], r15b
je 0x1400ec7ec
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400ec808
cmp byte [rbp - 0x21], r15b
je 0x1400ec805
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400c6dc8
test eax, eax
jne 0x1400ec8a8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400c7328
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400ec847
cmp byte [rbp - 0x21], r15b
je 0x1400ec87c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400ec87c
call fcn.1400de35c
test eax, eax
jne 0x1400ec868
cmp byte [rbp - 0x21], r15b
je 0x1400ec861
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400ec87c
cmp byte [rbp - 0x21], r15b
je 0x1400ec879
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400c6dc8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400ec8a8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400ec8ab
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400ec8b9
mov rcx, rdi
call fcn.1400dde7c
cmp byte [rbp + 0x3f], r15b
je 0x1400ec8c8
mov rcx, qword [rbp + 0x27]
call fcn.1400dde7c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400049cf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x1400022ea
rol rcx, 0x10
test cx, 0xffff
jne 0x1400022e6
repz ret
ror rcx, 0x10
jmp 0x140004928
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000f1a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14000f298]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400049ad
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14000f1a0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400049cf
mov rax, qword [rsp + 0x88]
mov qword [0x14000f298], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000f238], rax
mov rax, qword [0x14000f298]
mov qword [0x14000f110], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000f220], rax
mov dword [0x14000f100], 0xc0000409
mov dword [0x14000f104], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000e008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000f198], eax
mov ecx, 1
call fcn.140007298
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000a728]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000f198], 0
jne 0x140004a56
mov ecx, 1
call fcn.140007298
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140004e18
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140005f90
nop
cmp dword [0x14000f6c0], 1
je 0x140004dc4
mov dword [0x14000f6bc], 1
mov byte [0x14000f6b8], r12b
test ebx, ebx
jne 0x140004db0
mov rcx, qword [0x140010190]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140004d9d
mov rcx, qword [0x140010188]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140004d3c
call fcn.140002770
cmp qword [rdi], rax
jne 0x140004d3c
jmp 0x140004d22
cmp rdi, rsi
jb 0x140004d9d
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140002770
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140010190]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140010188]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140004d7b
cmp r13, rax
je 0x140004d9b
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140004d22
lea rdx, [0x14000a340]
lea rcx, [0x14000a338]
call fcn.140004b6c
lea rdx, [0x14000a350]
lea rcx, [0x14000a348]
call fcn.140004b6c
nop
test r12d, r12d
je 0x140004dd3
mov ecx, 8
call fcn.140005e90
test r12d, r12d
jne 0x140004dfe
mov dword [0x14000f6c0], 1
lea ecx, [r12 + 8]
call fcn.140005e90
mov ecx, r15d
call fcn.140004b00
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140004c8c

Function at 0x140004e24
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140004c8c
Function at 0x140003d68
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 5]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 5
jb 0x140003d6e
mov rax, rcx
ret

Function at 0x140003d84
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x30]
inc r8d
xor al, byte [rdx]
movsx eax, al
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp r8d, 0x18
jb 0x140003d8a
mov rax, rcx
ret

Function at 0x140003da8
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0xa]
inc r8d
xor al, byte [rdx]
movsx eax, al
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp r8d, 5
jb 0x140003dae
mov rax, rcx
ret
Function at 0x14000438c
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 5]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 5
jb 0x140004392
mov rax, rcx
ret

Function at 0x1400043a8
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x30]
inc r8d
xor al, byte [rdx]
movsx eax, al
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp r8d, 0x18
jb 0x1400043ae
mov rax, rcx
ret

Function at 0x1400043cc
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0xa]
inc r8d
xor al, byte [rdx]
movsx eax, al
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp r8d, 5
jb 0x1400043d2
mov rax, rcx
ret
Function at 0x140002a5c
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x250
mov ebp, dword [rsp + 0x2a0]
mov rsi, r9
mov r13, r8
mov rdi, rcx
lea r12d, [rbp + 0x582]
cmp ebp, r12d
jae 0x180052b1e
mov r14d, dword [rsp + 0x2a0]
mov r15d, dword [rsp + 0x2a0]
cmp ebp, 0x193
ja 0x180052c02
je 0x180052cf0
mov eax, ebp
sub eax, 0xaa
je 0x180052bdb
sub eax, 0x25
je 0x180052bab
sub eax, 0x37
je 0x180052b7e
sub eax, 0x31
je 0x180052b67
cmp eax, 0x25
jne 0x180052b13
mov r14d, dword [rsi + 0x220]
cmp r14d, 0x10
jg 0x180052b13
mov ebx, 0x39
cmp ebx, 0x39
je 0x180052b46
cmp ebx, 0x1041
jne 0x180052b57
mov ebp, 0x303
add ebp, 0x8d
cmp ebp, r12d
jb 0x180052ab0
mov eax, dword [rsp + 0x2a0]
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r8d, 0x149
mov rdx, rdi
mov rcx, rsi
call fcn.180040070
add ebx, 0x1008
cmp ebx, 0x2010
jbe 0x180052b01
jmp 0x180052b13
movabs eax, dword [0xe000ed10]
or eax, 4
movabs dword [0xe000ed10], eax
jmp 0x180052b13
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x228
call fcn.180063be0
mov r9d, 0x127
lea rcx, [rsp + 0x20]
mov r8, rsi
mov rdx, rdi
call fcn.18005f6b0
jmp 0x180052b13
mov eax, dword [rsi + 0x220]
mov r15d, dword [rdi + 0x220]
add eax, eax
cmp eax, 0x88
jle 0x180052b13
mov r8d, 0x86
mov rdx, rsi
mov rcx, rdi
call fcn.18000eb10
jmp 0x180052b0e
mov eax, dword [0x40007000]
or eax, 4
mov dword [0x40007000], eax
mov eax, dword [0x40007000]
or eax, 2
mov dword [0x40007000], eax
jmp 0x180052b13
cmp ebp, 0x1e9
je 0x180052c75
cmp ebp, 0x276
je 0x180052c56
cmp ebp, 0x303
je 0x180052bc5
cmp ebp, 0x390
jne 0x180052b13
movsxd r14, dword [rdi + 0x220]
movsxd rbx, r15d
cmp r14, rbx
jge 0x180052b13
sub rbx, r14
lea rcx, [rdi + r14*4]
mov r8, rbx
xor edx, edx
shl r8, 2
call fcn.180063be0
add r14d, ebx
jmp 0x180052b13
cmp r14d, 0x1c
jg 0x180052b13
mov r8, rdi
mov rdx, rsi
mov ecx, 0xcd
call fcn.1800053f0
jmp 0x180052b0e
cmp r14d, 0x14
jg 0x180052ca6
mov ebx, 0x25
mov eax, ebx
sub eax, 0x24
je 0x180052b0e
cmp eax, 1
jne 0x180052c9f
lea r8d, [rax + 0x13]
mov rdx, rsi
mov rcx, rdi
call fcn.180052d10
dec ebx
cmp ebx, 0x23
ja 0x180052c80
cmp r14d, 0x18
jg 0x180052b13
mov ebx, 0xd9
mov eax, ebx
sub eax, 0xd9
je 0x180052cc9
cmp eax, 1
je 0x180052b0e
jmp 0x180052cdb
xor r9d, r9d
mov r8, rsi
mov rcx, rdi
lea edx, [r9 + 0x7e]
call fcn.180058200
inc ebx
cmp ebx, 0xdb
jb 0x180052cb5
jmp 0x180052b13
mov rdx, qword [rsp + 0x288]
lea r8, [rsp + 0x20]
mov r9, r13
mov ecx, 0xb5
call fcn.18004b560
jmp 0x180052b25
Function at 0x180067cc8
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 0x180067ae8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180067ae8
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180067ae8
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180067ae8
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180067ae8
cmp dword [rcx + 0x84], 0xe
jbe 0x180067ae8
cmp dword [rcx + 0xf8], esi
je 0x180067ae8
mov ecx, r14d
call fcn.180067c30
mov ecx, 2
call fcn.1800729a0
nop
cmp byte [0x180095718], 0
jne 0x180067bb2
mov r15d, 1
mov eax, r15d
xchg dword [0x180095708], eax
test ebx, ebx
jne 0x180067b5b
mov rdi, qword [0x180094448]
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 [0x180095710]
cmp rcx, rax
je 0x180067b52
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [0x180080660]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x180095868]
jmp 0x180067b67
cmp ebx, r15d
jne 0x180067b6d
lea rcx, [0x180095880]
call fcn.180070ebc
nop
test ebx, ebx
jne 0x180067b84
lea rdx, [0x1800806e8]
lea rcx, [0x1800806c0]
call fcn.180071114
lea rdx, [0x1800806f8]
lea rcx, [0x1800806f0]
call fcn.180071114
movzx eax, byte [0x180095718]
test esi, esi
cmove eax, r15d
mov byte [0x180095718], al
jmp 0x180067bb2
mov ecx, 2
call fcn.1800729f4
test esi, esi
jne 0x180067bc9
mov ecx, r14d
call fcn.180067be4
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 0x180067a78