joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006212
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov byte [rsp + 0x20], 3
mov byte [rsp + 0x21], 0x59
mov byte [rsp + 0x22], 0x52
mov byte [rsp + 0x23], 0x55
mov byte [rsp + 0x24], 0x57
mov byte [rsp + 0x25], 0x48
mov byte [rsp + 0x26], 0x5b
mov byte [rsp + 0x27], 0x11
mov byte [rsp + 0x28], 0x47
mov byte [rsp + 0x29], 0x44
mov byte [rsp + 0x2a], 0x57
mov byte [rsp + 0x2b], 0x44
mov byte [rsp + 0x2c], 0x11
mov byte [rsp + 0x2d], 0x50
mov byte [rsp + 0x2e], 0x4c
mov byte [rsp + 0x2f], 0x46
mov byte [rsp + 0x30], 0x55
mov byte [rsp + 0x31], 0x52
mov byte [rsp + 0x32], 0x56
mov byte [rsp + 0x33], 0x52
mov byte [rsp + 0x34], 0x49
mov byte [rsp + 0x35], 0x57
mov byte [rsp + 0x36], 0x11
mov byte [rsp + 0x37], 0x46
mov byte [rsp + 0x38], 0x52
mov byte [rsp + 0x39], 0x50
mov byte [rsp + 0x3a], 0xe3
cmp byte [0x1405c48a0], 0
jne 0x1400062de
mov byte [0x1405c48cb], 1
mov eax, 0
lea rcx, [0x1405c48b0]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x1b
jne 0x1400062b9
mov byte [0x1405c48a0], 1
lea rcx, [0x140001f9d]
call fcn.1400014f0
lea rax, [0x1405c48b0]
add rsp, 0x48
ret

Function at 0x1400062ea
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x58
mov byte [rsp + 0x20], 3
mov byte [rsp + 0x21], 0x57
mov byte [rsp + 0x22], 0x48
mov byte [rsp + 0x23], 0x4f
mov byte [rsp + 0x24], 0x48
mov byte [rsp + 0x25], 0x46
mov byte [rsp + 0x26], 0x52
mov byte [rsp + 0x27], 0x50
mov byte [rsp + 0x28], 0x50
mov byte [rsp + 0x29], 0x44
mov byte [rsp + 0x2a], 0x51
mov byte [rsp + 0x2b], 0x47
mov byte [rsp + 0x2c], 0x11
mov byte [rsp + 0x2d], 0x57
mov byte [rsp + 0x2e], 0x48
mov byte [rsp + 0x2f], 0x4f
mov byte [rsp + 0x30], 0x48
mov byte [rsp + 0x31], 0x50
mov byte [rsp + 0x32], 0x48
mov byte [rsp + 0x33], 0x57
mov byte [rsp + 0x34], 0x55
mov byte [rsp + 0x35], 0x5c
mov byte [rsp + 0x36], 0x11
mov byte [rsp + 0x37], 0x50
mov byte [rsp + 0x38], 0x4c
mov byte [rsp + 0x39], 0x46
mov byte [rsp + 0x3a], 0x55
mov byte [rsp + 0x3b], 0x52
mov byte [rsp + 0x3c], 0x56
mov byte [rsp + 0x3d], 0x52
mov byte [rsp + 0x3e], 0x49
mov byte [rsp + 0x3f], 0x57
mov byte [rsp + 0x40], 0x11
mov byte [rsp + 0x41], 0x46
mov byte [rsp + 0x42], 0x52
mov byte [rsp + 0x43], 0x50
mov byte [rsp + 0x44], 0xe3
cmp byte [0x1405c4830], 0
jne 0x1400063e8
mov byte [0x1405c4865], 1
mov eax, 0
lea rcx, [0x1405c4840]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x25
jne 0x1400063c3
mov byte [0x1405c4830], 1
lea rcx, [0x140001fcd]
call fcn.1400014f0
lea rax, [0x1405c4840]
add rsp, 0x58
ret
Function at 0x1400063f4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x58
mov byte [rsp + 0x20], 3
mov byte [rsp + 0x21], 0x57
mov byte [rsp + 0x22], 0x48
mov byte [rsp + 0x23], 0x4f
mov byte [rsp + 0x24], 0x48
mov byte [rsp + 0x25], 0x46
mov byte [rsp + 0x26], 0x52
mov byte [rsp + 0x27], 0x50
mov byte [rsp + 0x28], 0x50
mov byte [rsp + 0x29], 0x44
mov byte [rsp + 0x2a], 0x51
mov byte [rsp + 0x2b], 0x47
mov byte [rsp + 0x2c], 0x11
mov byte [rsp + 0x2d], 0x57
mov byte [rsp + 0x2e], 0x48
mov byte [rsp + 0x2f], 0x4f
mov byte [rsp + 0x30], 0x48
mov byte [rsp + 0x31], 0x50
mov byte [rsp + 0x32], 0x48
mov byte [rsp + 0x33], 0x57
mov byte [rsp + 0x34], 0x55
mov byte [rsp + 0x35], 0x5c
mov byte [rsp + 0x36], 0x11
mov byte [rsp + 0x37], 0x50
mov byte [rsp + 0x38], 0x4c
mov byte [rsp + 0x39], 0x46
mov byte [rsp + 0x3a], 0x55
mov byte [rsp + 0x3b], 0x52
mov byte [rsp + 0x3c], 0x56
mov byte [rsp + 0x3d], 0x52
mov byte [rsp + 0x3e], 0x49
mov byte [rsp + 0x3f], 0x57
mov byte [rsp + 0x40], 0x11
mov byte [rsp + 0x41], 0x46
mov byte [rsp + 0x42], 0x52
mov byte [rsp + 0x43], 0x50
mov byte [rsp + 0x44], 0x11
mov byte [rsp + 0x45], 0x51
mov byte [rsp + 0x46], 0x56
mov byte [rsp + 0x47], 0x44
mov byte [rsp + 0x48], 0x57
mov byte [rsp + 0x49], 0x46
mov byte [rsp + 0x4a], 0x11
mov byte [rsp + 0x4b], 0x51
mov byte [rsp + 0x4c], 0x48
mov byte [rsp + 0x4d], 0x57
mov byte [rsp + 0x4e], 0xe3
cmp byte [0x1405c47f0], 0
jne 0x140006524
mov byte [0x1405c482f], 1
mov eax, 0
lea rcx, [0x1405c4800]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x2f
jne 0x1400064ff
mov byte [0x1405c47f0], 1
lea rcx, [0x140001fe5]
call fcn.1400014f0
lea rax, [0x1405c4800]
add rsp, 0x58
ret
Function at 0x140006530
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x58
mov byte [rsp + 0x20], 3
mov byte [rsp + 0x21], 0x52
mov byte [rsp + 0x22], 0x46
mov byte [rsp + 0x23], 0x44
mov byte [rsp + 0x24], 0x11
mov byte [rsp + 0x25], 0x57
mov byte [rsp + 0x26], 0x48
mov byte [rsp + 0x27], 0x4f
mov byte [rsp + 0x28], 0x48
mov byte [rsp + 0x29], 0x50
mov byte [rsp + 0x2a], 0x48
mov byte [rsp + 0x2b], 0x57
mov byte [rsp + 0x2c], 0x55
mov byte [rsp + 0x2d], 0x5c
mov byte [rsp + 0x2e], 0x11
mov byte [rsp + 0x2f], 0x50
mov byte [rsp + 0x30], 0x4c
mov byte [rsp + 0x31], 0x46
mov byte [rsp + 0x32], 0x55
mov byte [rsp + 0x33], 0x52
mov byte [rsp + 0x34], 0x56
mov byte [rsp + 0x35], 0x52
mov byte [rsp + 0x36], 0x49
mov byte [rsp + 0x37], 0x57
mov byte [rsp + 0x38], 0x11
mov byte [rsp + 0x39], 0x46
mov byte [rsp + 0x3a], 0x52
mov byte [rsp + 0x3b], 0x50
mov byte [rsp + 0x3c], 0x11
mov byte [rsp + 0x3d], 0x51
mov byte [rsp + 0x3e], 0x56
mov byte [rsp + 0x3f], 0x44
mov byte [rsp + 0x40], 0x57
mov byte [rsp + 0x41], 0x46
mov byte [rsp + 0x42], 0x11
mov byte [rsp + 0x43], 0x51
mov byte [rsp + 0x44], 0x48
mov byte [rsp + 0x45], 0x57
mov byte [rsp + 0x46], 0xe3
cmp byte [0x1405c4780], 0
jne 0x140006638
mov byte [0x1405c47c7], 1
mov eax, 0
lea rcx, [0x1405c47a0]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x27
jne 0x140006613
mov byte [0x1405c4780], 1
lea rcx, [0x140002015]
call fcn.1400014f0
lea rax, [0x1405c47a0]
add rsp, 0x58
ret
Function at 0x140006a6d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov r12, rcx
test edx, edx
je 0x140006be1
mov r13d, edx
mov edi, 0
lea r14, [0x140001530]
lea rbx, [0x1405c5ca1]
jmp 0x140006ad3
mov byte [0x1405c5ca1], 0
mov edx, esi
sar edx, 0x1f
shr edx, 0x1b
lea eax, [rsi + rdx]
and eax, 0x1f
sub eax, edx
cdqe
lea rdx, [0x1405c5c80]
xor bpl, byte [rdx + rax]
mov byte [r12 + rdi], bpl
add rdi, 1
cmp r13, rdi
je 0x140006be1
mov esi, edi
movzx ebp, byte [r12 + rdi]
mov byte [rsp + 0x20], 0x7a
mov byte [rsp + 0x21], 0x7e
mov byte [rsp + 0x22], 0x75
mov byte [rsp + 0x23], 0x83
mov byte [rsp + 0x24], 0x7c
mov byte [rsp + 0x25], 0x78
mov byte [rsp + 0x26], 0x75
mov byte [rsp + 0x27], 0x7b
mov byte [rsp + 0x28], 0x78
mov byte [rsp + 0x29], 0x7f
mov byte [rsp + 0x2a], 0x7b
mov byte [rsp + 0x2b], 0x86
mov byte [rsp + 0x2c], 0x85
mov byte [rsp + 0x2d], 0x77
mov byte [rsp + 0x2e], 0x7f
mov byte [rsp + 0x2f], 0x7c
mov byte [rsp + 0x30], 0x79
mov byte [rsp + 0x31], 0x88
mov byte [rsp + 0x32], 0x75
mov byte [rsp + 0x33], 0x8a
mov byte [rsp + 0x34], 0x7c
mov byte [rsp + 0x35], 0x76
mov byte [rsp + 0x36], 0x8d
mov byte [rsp + 0x37], 0x7f
mov byte [rsp + 0x38], 0x8c
mov byte [rsp + 0x39], 0x7d
mov byte [rsp + 0x3a], 0x74
mov byte [rsp + 0x3b], 0x87
mov byte [rsp + 0x3c], 0x84
mov byte [rsp + 0x3d], 0x87
mov byte [rsp + 0x3e], 0x86
mov byte [rsp + 0x3f], 0x86
mov byte [rsp + 0x40], 0x13
cmp byte [0x1405c5c60], 0
jne 0x140006bbc
mov byte [0x1405c5ca1], 1
mov eax, 0
lea rcx, [0x1405c5c80]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x21
jne 0x140006b9b
mov byte [0x1405c5c60], 1
mov rcx, r14
call fcn.1400014f0
cmp byte [0x1405c5ca1], 0
je 0x140006aa5
lea rax, [0x1405c5c80]
sub byte [rax], 0x13
add rax, 1
cmp rbx, rax
jne 0x140006bd0
jmp 0x140006a9e
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x14000c370
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x14000c3a0
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x14000c39f
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x14000c3a5
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x14000c39f
mov eax, 0
jmp 0x14000c39f

Function at 0x14000ca20
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.14000c9d0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140016c00
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1405bcf30]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x140016c6f
mov rcx, r9
call fcn.140016ad0
test eax, eax
je 0x140016c6f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x140016c6d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140016c64
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140016c6f
add rdx, 0x28
cmp rdx, r9
jne 0x140016c50
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x140001290
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
cmp dword [0x140007784], 0
lea rbx, [0x140007780]
mov r10, rcx
jne 0x140001360
xor r8d, r8d
mov r9, rbx
nop dword [rax]
nop word [rax + rax]
mov edx, r8d
lea r9, [r9 + 4]
and edx, 1
mov eax, r8d
shr eax, 1
neg edx
and edx, 0xedb88320
inc r8d
xor edx, eax
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [r9 - 4], eax
cmp r8d, 0x100
jb 0x1400012c0
movzx r9d, byte [r10]
lea r8, [r10 + 1]
mov r11d, 0xfffffce0
mov eax, r11d
test r9b, r9b
je 0x1400013a5
cmp r9b, 0x23
jne 0x140001389
cmp byte [r8], r9b
jne 0x140001389
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140001376
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140003330
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x140046490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400464a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.140026430
jmp 0x14000123c
mov rax, qword [0x1400464a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400464a0]
mov dword [rax], 1
mov rax, qword [0x1400464e0]
mov rdx, rax
mov rax, qword [0x1400464d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x14004a024], 1
mov rax, qword [0x1400464a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400464c0]
mov rdx, rax
mov rax, qword [0x1400464b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400464a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x140046490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400463e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400463e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400256b8
mov rax, qword [0x140046520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x140046480]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.140024eb0
mov eax, dword [0x14004a004]
lea rdx, [0x14004a008]
mov ecx, eax
call fcn.14000147c
call fcn.140024c47
mov rax, qword [0x140046410]
mov rax, qword [rax]
mov rdx, qword [0x14004a010]
mov qword [rax], rdx
mov rcx, qword [0x14004a010]
mov rdx, qword [0x14004a008]
mov eax, dword [0x14004a004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x14004a01c], eax
mov eax, dword [0x14004a020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14004a01c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x14004a024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14004a01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140046440]
mov dword [rax], 1
mov rax, qword [0x140046450]
mov dword [rax], 1
mov rax, qword [0x140046460]
mov dword [rax], 1
mov rax, qword [0x140046400]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140024ec0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.140026220
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x140025b92
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14004a168]
test eax, eax
je 0x140025c2a
lea rax, [0x14004a140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14004a170]
mov qword [rbp - 8], rax
jmp 0x140025c0e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140025c02
cmp qword [rbp - 0x10], 0
je 0x140025c02
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140025bc8
lea rax, [0x14004a140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140025c2b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140025d30
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140025d58
mov eax, 0
jmp 0x140025da6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140025d81
mov eax, 0
jmp 0x140025da6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140025da1
mov eax, 0
jmp 0x140025da6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140025dac
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140025e2a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140025e21
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140025e21
mov rax, qword [rbp - 8]
jmp 0x140025e3f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140025df4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140056420
Capabilities:
Send data
Send data on socket

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rdi, rcx
mov rsi, qword [rsp + 0x90]
mov rax, qword [rcx + 8]
lock inc dword [rax + 0x30]
test r9b, r9b
je 0x140056464
mov rbx, qword [rdi + 8]
mov dword [rsi + 0x30], 1
lea rax, [0x1400ab630]
mov qword [rsi], rax
mov qword [rsi + 0x10], 0
jmp 0x140056507
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
je 0x1400564ea
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
mov ebp, 1
lea r9, [rsp + 0x3c]
mov rdx, r8
mov r8d, 1
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmovne ecx, eax
mov r14, qword [rdi + 8]
test ebx, ebx
je 0x14005654b
cmp ecx, 0x3e5
je 0x14005654b
mov eax, dword [rsp + 0x3c]
mov dword [rsi + 0x30], 1
lea rdx, [0x1400ab630]
mov qword [rsi], rdx
mov dword [rsi + 0x10], ecx
mov dword [rsi + 0x14], eax
jmp 0x14005655b
mov rbx, qword [rdi + 8]
mov dword [rsi + 0x30], 1
lea rax, [0x1400ab630]
mov qword [rsi], rax
mov qword [rsi + 0x10], 0x2719
mov rcx, qword [rbx + 0x28]
mov r8d, 2
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x1400565e5
lea rdi, [rbx + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rsi + 0x20], 0
mov rax, qword [rbx + 0x98]
test rax, rax
je 0x14005659b
mov qword [rax + 0x20], rsi
jmp 0x1400565a2
xor eax, eax
lock cmpxchg dword [rsi + 0x30], ebp
cmp eax, 1
jne 0x1400565e5
mov rcx, qword [r14 + 0x28]
mov r8d, 2
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x1400565e5
lea rdi, [r14 + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rsi + 0x20], 0
mov rax, qword [r14 + 0x98]
test rax, rax
je 0x1400565c5
mov qword [rax + 0x20], rsi
jmp 0x1400565cc
mov qword [rbx + 0x90], rsi
mov qword [rbx + 0x98], rsi
mov eax, 1
xchg dword [rbx + 0x58], eax
mov rcx, rdi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [r14 + 0x90], rsi
mov qword [r14 + 0x98], rsi
mov eax, 1
xchg dword [r14 + 0x58], eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x140077e80
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
xor esi, esi
test rcx, rcx
je 0x140077fd0
mov rdi, rcx
lea rcx, str.INTEL_ISA_DISABLE
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
test rax, rax
je 0x140077fd0
mov rcx, rax
movzx eax, byte [rax]
xor esi, esi
test al, al
je 0x140077fd0
lea rdx, [0x1400b3870]
xor r8d, r8d
lea r9, [rcx + 1]
mov r10d, 1
xor r11d, r11d
cmp al, 0x2c
jne 0x140077ef3
nop dword [rax]
movzx eax, byte [rcx + r11 + 1]
inc r11
dec r10
inc r9
cmp al, 0x2c
je 0x140077ee0
movzx eax, al
test eax, eax
je 0x140077fd0
nop
mov rax, r9
movzx ebx, byte [r9]
inc r9
cmp ebx, 0x2c
je 0x140077f20
test ebx, ebx
je 0x140077f20
mov r8, rax
jmp 0x140077f00
mov rax, r8
sub rax, rcx
inc rax
cmp rax, r11
jne 0x140077f41
dec r9
movzx eax, byte [r9]
mov rcx, r9
test al, al
jne 0x140077ecb
jmp 0x140077fd0
cmp byte [0x1400b3860], 0
jne 0x140077f4f
call fcn.1400773c0
mov rax, rcx
neg rax
add r11, rcx
mov rbx, r8
not rbx
add rbx, r11
mov ecx, 1
jmp 0x140077f79
inc rcx
cmp rcx, 0x47
je 0x140077f2e
lea r14, [rcx + rcx*2]
mov r14, qword [rdx + r14*8 + 0x10]
test r14, r14
je 0x140077f70
xor r15d, r15d
nop word [rax + rax]
movzx ebp, byte [r11 + r15]
cmp bpl, byte [r14 + r15]
jne 0x140077f70
inc r15
mov r12, rbx
add r12, r15
jne 0x140077f90
add r14, r8
add r14, rax
cmp byte [r10 + r14], 0
jne 0x140077f70
cmp ecx, 2
jb 0x140077f2e
mov rax, rdi
call fcn.140077e20
cmp eax, 1
adc rsi, 0
jmp 0x140077f2e
mov eax, esi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x14007ca0c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14007ca46
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14007ca4b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14007ca94
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140080010]
cmp byte [rcx + rax], 0
je 0x14007ca94
dec r8
sub rdx, 1
jne 0x14007ca7a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14007d19c
Capabilities:
Parse pe header

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