joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14035f450
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x28
test r8, r8
jne 0x14035f470
call fcn.14035044c
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.140351504
xor eax, eax
add rsp, 0x28
ret
test rdx, rdx
je 0x14035f459
test rcx, rcx
jne 0x14035f47f
cmp qword [r8], rcx
je 0x14035f459
add rsp, 0x28
jmp 0x14035f488
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140462cc0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r10d, r10d
mov rdi, r8
mov eax, r10d
mov r11, rdx
cmp rax, 0x20
mov r9, rcx
jae 0x14035f5a7
mov byte [rsp + rax + 0x20], r10b
inc rax
cmp rax, 0x20
jl 0x14035f4b2
movzx r8d, byte [r11]
inc r11
mov edx, r8d
mov eax, r8d
shr rdx, 3
and eax, 7
movzx ecx, byte [rsp + rdx + 0x20]
bts ecx, eax
mov byte [rsp + rdx + 0x20], cl
test r8b, r8b
jne 0x14035f4c6
test r9, r9
jne 0x14035f4f3
mov r9, qword [rdi]
movzx r8d, byte [r9]
mov edx, 1
mov eax, r8d
mov ecx, r8d
and ecx, 7
shr rax, 3
shl edx, cl
mov r11, r9
test byte [rsp + rax + 0x20], dl
je 0x14035f54a
mov rsi, r9
mov bl, r8b
mov r8b, bl
test bl, bl
je 0x14035f54a
lea r9, [rsi + 1]
mov edx, 1
movzx ebx, byte [r9]
mov r11, r9
mov eax, ebx
mov ecx, ebx
and ecx, 7
shr rax, 3
shl edx, cl
mov rsi, r9
mov r8b, bl
test byte [rsp + rax + 0x20], dl
jne 0x14035f51a
mov rbx, r11
test r8b, r8b
je 0x14035f585
mov al, byte [r11]
movzx r8d, al
mov edx, 1
mov ecx, r8d
inc rbx
and ecx, 7
shr r8, 3
shl edx, cl
test byte [rsp + r8 + 0x20], dl
jne 0x14035f57f
mov al, byte [rbx]
mov r9, rbx
test al, al
jne 0x14035f555
jmp 0x14035f585
mov byte [r9], r10b
mov r9, rbx
cmp rbx, r11
mov qword [rdi], r9
cmovne r10, r11
mov rax, r10
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140170e40
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
call fcn.140175c7c
int3

Function at 0x140360860
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140360888
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140360888
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x14036ba5c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140363fec
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14036bafd
cmp ebx, dword [rsp + 0x30]
je 0x14036baf6
test esi, esi
je 0x14036baf6
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14036bad1
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14036bade
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14036babb
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14036bae2
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14036baff
mov eax, 1
jmp 0x14036baff
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14036d4cc
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 0x14036d4fc
xor eax, eax
jmp 0x14036d5bf
mov rbp, rbx
cmp word [rax], si
je 0x14036d521
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14036d508
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14036d504
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.140363eac
movsxd r14, eax
test eax, eax
jne 0x14036d55f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14036d4f5
mov rcx, r14
call fcn.140363dbc
mov rdi, rax
test rax, rax
jne 0x14036d578
xor ecx, ecx
call fcn.140363d80
jmp 0x14036d554
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.140363eac
test eax, eax
jne 0x14036d5a9
mov rcx, rdi
call fcn.140363d80
jmp 0x14036d5b3
xor ecx, ecx
call fcn.140363d80
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 0x14036d5dc
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 0x14036d663
mov rsi, rbx
cmp word [rax], bp
je 0x14036d622
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14036d60c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14036d608
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140363dbc
mov rdi, rax
test rax, rax
je 0x14036d650
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1403766a0
mov rbp, rdi
xor ecx, ecx
call fcn.140363d80
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 0x14036eb84
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14036eba4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14035048c
or eax, 0xffffffff
jmp 0x14036eba6
xor eax, eax
add rsp, 0x28
ret

Function at 0x14036ec44
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.14036c9f4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14036c9f4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14036ed94
cmp rax, 0xffffffffffffffff
je 0x14036ed94
xor edi, edi
test rbp, rbp
jle 0x14036ed3f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1403662ec
mov rbx, rax
test rax, rax
jne 0x14036eccc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14036ed35
mov edx, 0x8000
mov ecx, r14d
call fcn.140352a24
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.140354abc
cmp eax, 0xffffffff
je 0x14036ed15
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14036ecdc
mov edx, r15d
mov ecx, r14d
call fcn.140352a24
jmp 0x14036ed35
cmp byte [rsi + 0x38], dil
je 0x14036ed2c
cmp dword [rsi + 0x34], 5
jne 0x14036ed2c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x14036ed35
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140363d80
jmp 0x14036eda8
jns 0x14036eda8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14036c9f4
cmp rax, 0xffffffffffffffff
jne 0x14036ed60
cmp byte [rsi + 0x30], dil
je 0x14036eda8
mov edi, dword [rsi + 0x2c]
jmp 0x14036eda8
mov ecx, r14d
call fcn.14036df7c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14036eda8
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 0x14036eda8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14036eda1
mov eax, dword [rsi + 0x2c]
jmp 0x14036eda6
mov eax, reloc.WS2_32.dll_shutdown
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14036c9f4
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 0x140370000
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140370016
mov al, 1
jmp 0x140370076
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140370027
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140370074
mov ecx, dword [rcx + 0x18]
nop
call fcn.14036df7c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140370074
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140370074
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140370074
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140370076
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140374968
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.14033dc4c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1403749f2
cmp byte [rbp - 0x21], r15b
je 0x1403749ed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140374a28
call fcn.1403649c8
test eax, eax
jne 0x140374a14
cmp byte [rbp - 0x21], r15b
je 0x140374a0c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140374a28
cmp byte [rbp - 0x21], r15b
je 0x140374a25
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.14033de98
test eax, eax
jne 0x140374ac8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14033dc4c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140374a67
cmp byte [rbp - 0x21], r15b
je 0x140374a9c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140374a9c
call fcn.1403649c8
test eax, eax
jne 0x140374a88
cmp byte [rbp - 0x21], r15b
je 0x140374a81
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140374a9c
cmp byte [rbp - 0x21], r15b
je 0x140374a99
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.14033de98
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140374ac8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140374acb
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140374ad9
mov rcx, rdi
call fcn.140363d80
cmp byte [rbp + 0x3f], r15b
je 0x140374ae8
mov rcx, qword [rbp + 0x27]
call fcn.140363d80
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 0x140374b30
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140462cc0]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x140374b7a
call fcn.14035046c
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.14035044c
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.140351504
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140170e40
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x140374b85
lea eax, [rbx + 1]
jmp 0x140374b67
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x140374b65
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x140374b67
Function at 0x14002ac40
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x14002ac87
test byte [rcx + 0x1c], 4
je 0x14002ac87
cmp byte [rcx + 0x19], 5
jb 0x14002ac87
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081b70]
mov edx, 0x14
call fcn.140001010
lea rcx, [0x140098110]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbx + 8]
mov rcx, qword [rbx]
mov qword [rax], rcx
mov qword [rcx + 8], rax
and qword [rbx], 0
and qword [rbx + 8], 0
mov eax, dword [rbx + 0x18]
test eax, eax
jne 0x14002acc8
cmp dword [rbx + 0x2c], eax
jne 0x14002acc8
lea rcx, [0x140098028]
call fcn.14003363c
jmp case.default.0x14002ae49
cmp eax, 2
jne 0x14002ad37
mov rcx, qword [rbx + 0x38]
cmp rcx, 0xffffffffffffffff
je case.default.0x14002ae49
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne case.default.0x14002ae49
mov rax, qword [str.___t_]
cmp rax, r14
je case.default.0x14002ae49
test byte [rax + 0x1c], 4
je case.default.0x14002ae49
cmp byte [rax + 0x19], 2
jb case.default.0x14002ae49
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140081b70]
mov r9d, eax
mov edx, 0x15
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp case.default.0x14002ae49
cmp eax, 3
jne case.default.0x14002ae49
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14002ad8b
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14002ad8b
test byte [rax + 0x1c], 4
je 0x14002ad8b
cmp byte [rax + 0x19], 2
jb 0x14002ad8b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140081b70]
mov r9d, eax
mov edx, 0x16
mov rcx, qword [rcx + 0x10]
call fcn.140001030
cmp dword [rbx + 0x660], 0
je 0x14002ade6
cmp dword [rbx + 0x65c], 0
je 0x14002adef
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002ade6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14002ade6
test byte [rcx + 0x1c], 4
je 0x14002ade6
cmp byte [rcx + 0x19], 2
jb 0x14002ade6
mov rcx, qword [rcx + 0x10]
lea r9, [rbx + 0x40]
mov edx, 0x17
mov dword [rsp + 0x20], eax
lea r8, [0x140081b70]
call fcn.140001250
cmp dword [rbx + 0x65c], 0
jne case.default.0x14002ae49
cmp qword [rbx + 0x668], 0
je case.default.0x14002ae49
lea rcx, [0x1400981a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x668]
mov edx, 1
mov r9d, edx
mov r8d, edx
call fcn.14003b3ec
lea rcx, [0x1400981a0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rbx
call fcn.140062654
lea rcx, [0x140098110]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov bh, 0x74
invalid
leave
invalid
mov esi, 0xbea9beaa
test al, 0xbe
and dh, byte [rbx + 0x281c585b]
cmp byte [rsi], dh
xchg ebp, eax
and eax, 0xc0e2fc0f
xor dl, byte [rax - 0x7e]
imul byte [rbp + rbx*8 + 0x3d4b20d]
mov dl, 0x37
invalid
Function at 0x14084f160
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14084f2e7
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14084f191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14084f177
add dl, dl
jne 0x14084f19e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14084f1fe
xor eax, eax
add dl, dl
jne 0x14084f1ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14084f2b5
add dl, dl
jne 0x14084f1be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14084f1cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14084f1d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14084f1e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14084f1f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14084f186
mov eax, 1
add dl, dl
jne 0x14084f20e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14084f21b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14084f203
sub eax, ebx
mov ebx, 1
jne 0x14084f254
mov ecx, 1
add dl, dl
jne 0x14084f236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14084f243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14084f22b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084f186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14084f270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14084f27d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14084f265
cmp eax, 0x7d00
jae 0x14084f2a3
cmp eax, 0x500
jb 0x14084f29e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084f186
cmp eax, 0x7f
ja 0x14084f2a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084f186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14084f2da
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14084f186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1401a9db7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14020cc58]
jne 0x1401a8fca
rol rcx, 0x10
test cx, 0xffff
jne 0x1401a8fc6
repz ret
ror rcx, 0x10
jmp 0x1401a9d10
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14020e620]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14020e718]
mov qword [rsp + 0x58], rax
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 0x1401a9d95
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, [0x14020e620]
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 0x1401a9db7
mov rax, qword [rsp + 0x88]
mov qword [0x14020e718], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14020e6b8], rax
mov rax, qword [0x14020e718]
mov qword [0x14020e590], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14020e6a0], rax
mov dword [0x14020e580], 0xc0000409
mov dword [0x14020e584], 1
mov rax, qword [0x14020cc58]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14020cc60]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14020e618], eax
mov ecx, 1
call fcn.1401ad2d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1401e8f40]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14020e618], 0
jne 0x1401a9e3e
mov ecx, 1
call fcn.1401ad2d0
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 0x1401ab150
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x14020eb60]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.1401aa020
test rax, rax
je 0x1401ab1a4
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x1401ab239
mov ecx, 2
call fcn.1401ad2d0
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.1401a9330
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1401ab225
test ebx, ebx
jne 0x1401ab225
lea ecx, [rax + 2]
call fcn.1401ad2d0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14001af70]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14001af80]
mov dword [rax], 1
mov rax, qword [0x14001af90]
mov dword [rax], 1
mov rax, qword [0x14001af60]
mov dword [rax], 1
mov rax, qword [0x14001ae00]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x14001af50]
mov dword [0x14001e020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010c0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14001af10]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14001aef0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14001ad90]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067

Function at 0x140001960
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]