joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140097640
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
test rdx, rdx
mov rax, rdx
mov r10, rdx
mov rbx, rcx
cmove rax, r8
movzx eax, byte [rax]
imul edx, eax, 0x1e
mov eax, edx
test r10, r10
je 0x1400976a1
movzx r11d, byte [r10]
test r11b, r11b
je 0x140097690
nop dword [rax + rax]
mov edx, eax
mov ecx, eax
shl edx, 5
inc r10
shr ecx, 3
add edx, ecx
movsx ecx, r11b
add edx, ecx
movzx r11d, byte [r10]
xor eax, edx
test r11b, r11b
jne 0x140097670
mov ecx, eax
mov edx, eax
shr ecx, 3
add ecx, 0x3a
shl edx, 5
add ecx, edx
xor eax, ecx
test r8, r8
je 0x1400976d0
movzx r10d, byte [r8]
test r10b, r10b
je 0x1400976d0
nop
mov edx, eax
mov ecx, eax
shl edx, 5
inc r8
shr ecx, 3
add edx, ecx
movsx ecx, r10b
add edx, ecx
movzx r10d, byte [r8]
xor eax, edx
test r10b, r10b
jne 0x1400976b0
mov edx, eax
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
xor eax, edx
test r9, r9
je 0x140097721
movzx r8d, byte [r9]
test r8b, r8b
je 0x140097710
nop dword [rax]
mov edx, eax
mov ecx, eax
shl edx, 5
inc r9
shr ecx, 3
add edx, ecx
movsx ecx, r8b
add edx, ecx
movzx r8d, byte [r9]
xor eax, edx
test r8b, r8b
jne 0x1400976f0
mov ecx, eax
mov edx, eax
shr ecx, 3
add ecx, 0x3a
shl edx, 5
add ecx, edx
xor eax, ecx
mov r8, qword [rsp + 0x28]
test r8, r8
je 0x140097761
movzx r9d, byte [r8]
test r9b, r9b
je 0x140097761
nop dword [rax]
nop dword [rax + rax]
mov edx, eax
lea r8, [r8 + 1]
shl edx, 5
mov ecx, eax
shr ecx, 3
add edx, ecx
movsx ecx, r9b
movzx r9d, byte [r8]
add edx, ecx
xor eax, edx
test r9b, r9b
jne 0x140097740
mov r8, qword [rsp + 0x30]
mov edx, eax
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
xor eax, edx
test r8, r8
je 0x1400977b4
movzx r9d, byte [r8]
test r9b, r9b
je 0x1400977a3
mov edx, eax
lea r8, [r8 + 1]
shl edx, 5
mov ecx, eax
shr ecx, 3
add edx, ecx
movsx ecx, r9b
movzx r9d, byte [r8]
add edx, ecx
xor eax, edx
test r9b, r9b
jne 0x140097782
mov ecx, eax
mov edx, eax
shr ecx, 3
add ecx, 0x3a
shl edx, 5
add ecx, edx
xor eax, ecx
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x1400977f1
movzx r9d, byte [r8]
test r9b, r9b
je 0x1400977f1
nop word [rax + rax]
mov edx, eax
lea r8, [r8 + 1]
shl edx, 5
mov ecx, eax
shr ecx, 3
add edx, ecx
movsx ecx, r9b
movzx r9d, byte [r8]
add edx, ecx
xor eax, edx
test r9b, r9b
jne 0x1400977d0
xor edx, edx
div dword [rbx + 8]
mov rbx, qword [rsp + 8]
mov eax, edx
ret
Function at 0x1400a0980
Capabilities:
Parse credit card information

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
je 0x1400a0aa3
test byte [rcx + 0xac], 4
je 0x1400a0aa3
cmp edx, 0x100
jge 0x1400a09cb
cmp edx, 0xd7
je 0x1400a09e1
lea eax, [rdx - 0x7b]
cmp eax, 0x44
jbe 0x1400a09e1
lea eax, [rdx - 0x5b]
cmp eax, 5
jbe 0x1400a09e1
cmp edx, 0x40
jle 0x1400a09e1
cmp edx, 0xf7
jmp 0x1400a09db
lea rdx, [0x14014fe80]
mov ecx, ebx
call fcn.1400ad3b0
test eax, eax
jne 0x1400a0b64
lea eax, [rbx - 0x4e00]
cmp eax, 0x51a5
jbe 0x1400a0b64
cmp ebx, 0x3007
je 0x1400a0b64
lea eax, [rbx - 0x3021]
cmp eax, 8
jbe 0x1400a0b64
cmp ebx, 0x100
jge 0x1400a0a28
lea eax, [rbx - 0x30]
cmp eax, 9
ja 0x1400a0a3e
mov eax, 1
add rsp, 0x20
pop rbx
ret
lea rdx, [0x14014fec8]
mov ecx, ebx
call fcn.1400ad3b0
test eax, eax
jne 0x1400a0b64
lea eax, [rbx - 0x2d]
cmp eax, 0x32
ja 0x1400a0a5a
movabs rcx, 0x4000000002003
bt rcx, rax
jb 0x1400a0b64
cmp ebx, 0x100
jl 0x1400a0a88
lea rdx, [0x14014feb0]
mov ecx, ebx
call fcn.1400ad3b0
test eax, eax
jne 0x1400a0b64
lea rdx, [0x14014fee0]
mov ecx, ebx
call fcn.1400ad3b0
jmp 0x1400a0a93
xor eax, eax
cmp ebx, 0xb7
sete al
test eax, eax
jne 0x1400a0b64
xor eax, eax
add rsp, 0x20
pop rbx
ret
lea eax, [rdx - 0x2041]
cmp eax, 0x2e
jbe 0x1400a0a9b
lea eax, [rdx - 0xfffe]
cmp eax, 1
jbe 0x1400a0a9b
lea eax, [rdx - 0xfdd0]
cmp eax, 0x1f
jbe 0x1400a0a9b
lea eax, [rdx - 0xd800]
cmp eax, 0x20ff
jbe 0x1400a0a9b
lea eax, [rdx - 0x2ff0]
cmp eax, 0x10
jbe 0x1400a0a9b
lea eax, [rdx - 0x2190]
cmp eax, 0xa6f
jbe 0x1400a0a9b
cmp ebx, 0x2c
jle 0x1400a0a9b
lea eax, [rdx - 0x2000]
cmp eax, 0x3e
ja 0x1400a0b09
movabs rcx, 0x7fffffffffffcfff
bt rcx, rax
jb 0x1400a0a9b
cmp ebx, 0x37e
je 0x1400a0a9b
lea eax, [rdx - 0xb8]
cmp eax, 0x3f
ja 0x1400a0b30
movabs rcx, 0x80000000800000ff
bt rcx, rax
jb 0x1400a0a9b
lea eax, [rdx - 0x7b]
cmp eax, 0x3b
jbe 0x1400a0a9b
lea eax, [rdx - 0x2f]
cmp eax, 0x31
ja 0x1400a0b58
movabs rcx, 0x2f0000003f001
bt rcx, rax
jb 0x1400a0a9b
cmp ebx, 0xf0000
jge 0x1400a0a9b
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x1400b1fc0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x30
cmp dword [0x14018c3c4], 0
mov rsi, rcx
mov ebp, 1
jne 0x1400b200e
lea rcx, str.XML_DEBUG_CATALOG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov edx, dword [0x14018c3c0]
test rax, rax
cmovne edx, ebp
mov dword [0x14018c3c0], edx
call fcn.14008f340
mov qword [0x14018c3d8], rax
mov dword [0x14018c3c4], ebp
jmp 0x1400b2015
mov rax, qword [0x14018c3d8]
mov rcx, rax
mov qword [rsp + 0x40], rbx
call fcn.14008f380
mov rcx, qword [0x14018c3d0]
test rcx, rcx
jne 0x1400b2153
mov rcx, rsi
mov qword [rsp + 0x48], rdi
call fcn.1400b4360
mov rdi, rax
test rax, rax
je 0x1400b20d2
movzx edx, byte [rax]
mov r8, rax
test dl, dl
je 0x1400b208f
movzx ecx, dl
movzx edx, cl
cmp cl, 0x2d
je 0x1400b208f
cmp cl, 0x3c
je 0x1400b20f8
cmp cl, 0x41
jb 0x1400b2073
cmp cl, 0x5a
jbe 0x1400b208f
cmp cl, 0x61
jb 0x1400b2080
movzx edx, cl
cmp cl, 0x7a
jbe 0x1400b208f
movzx edx, byte [r8 + 1]
inc r8
movzx ecx, dl
test dl, dl
jne 0x1400b2058
cmp dl, 0x3c
je 0x1400b20f8
mov edx, dword [0x140189454]
mov ecx, 2
call fcn.1400b39b0
mov rbx, rax
test rax, rax
je 0x1400b20c9
xor r9d, r9d
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.1400b6690
test eax, eax
jns 0x1400b2133
mov rcx, rbx
call fcn.1400b1c40
mov rcx, rdi
call qword [fcn.14013e100]
mov rcx, qword [0x14018c3d8]
call fcn.14008f3a0
mov eax, 0xffffffff
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
mov edx, dword [0x140189454]
mov ecx, ebp
call fcn.1400b39b0
mov rbx, rax
test rax, rax
je 0x1400b20c9
mov eax, dword [0x140189454]
mov r9, rsi
mov qword [rsp + 0x28], 0
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], eax
mov ecx, ebp
call fcn.1400b3510
mov qword [rbx + 0x70], rax
mov rcx, rdi
call qword [fcn.14013e100]
mov rcx, qword [0x14018c3d8]
mov qword [0x14018c3d0], rbx
call fcn.14008f3a0
xor eax, eax
jmp 0x1400b20e3
mov rdx, rsi
call fcn.1400b3310
mov rcx, qword [0x14018c3d8]
mov ebx, eax
call fcn.14008f3a0
mov rbp, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rsi
ret
Function at 0x1400b41b0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x800
mov rax, qword [0x140188ca0]
xor rax, rsp
mov qword [rsp + 0x7f0], rax
xor ebx, ebx
lea rdx, str.urn:publicid:
mov rdi, rcx
lea r8d, [rbx + 0xd]
call fcn.14008cd60
test eax, eax
je 0x1400b420b
xor eax, eax
mov rcx, qword [rsp + 0x7f0]
xor rcx, rsp
call fcn.1400677f0
mov rbx, qword [rsp + 0x818]
add rsp, 0x800
pop rdi
ret
movzx ecx, byte [rdi + 0xd]
add rdi, 0xd
test cl, cl
je 0x1400b433b
nop dword [rax + rax]
cmp ebx, 0x7cc
ja 0x1400b433b
cmp cl, 0x2b
jne 0x1400b423b
mov byte [rsp + rbx + 0x20], 0x20
jmp 0x1400b4329
cmp cl, 0x3a
jne 0x1400b4251
mov byte [rsp + rbx + 0x20], 0x2f
inc ebx
mov byte [rsp + rbx + 0x20], 0x2f
jmp 0x1400b4329
cmp cl, 0x3b
jne 0x1400b4267
mov byte [rsp + rbx + 0x20], 0x3a
inc ebx
mov byte [rsp + rbx + 0x20], 0x3a
jmp 0x1400b4329
cmp cl, 0x25
jne 0x1400b4325
movzx eax, byte [rdi + 1]
cmp al, 0x32
jne 0x1400b428c
cmp byte [rdi + 2], 0x42
jne 0x1400b42a8
mov byte [rsp + rbx + 0x20], 0x2b
add rdi, 3
jmp 0x1400b432c
cmp al, 0x33
jne 0x1400b42a4
cmp byte [rdi + 2], 0x41
jne 0x1400b42bd
mov byte [rsp + rbx + 0x20], 0x3a
add rdi, 3
jmp 0x1400b432c
cmp al, 0x32
jne 0x1400b42b9
cmp byte [rdi + 2], 0x46
jne 0x1400b42d2
mov byte [rsp + rbx + 0x20], 0x2f
add rdi, 3
jmp 0x1400b432c
cmp al, 0x33
jne 0x1400b42ce
cmp byte [rdi + 2], 0x42
jne 0x1400b42e7
mov byte [rsp + rbx + 0x20], 0x3b
add rdi, 3
jmp 0x1400b432c
cmp al, 0x32
jne 0x1400b42e3
cmp byte [rdi + 2], 0x37
jne 0x1400b42fc
mov byte [rsp + rbx + 0x20], 0x27
add rdi, 3
jmp 0x1400b432c
cmp al, 0x33
jne 0x1400b42f8
cmp byte [rdi + 2], 0x46
jne 0x1400b431e
mov byte [rsp + rbx + 0x20], 0x3f
add rdi, 3
jmp 0x1400b432c
cmp al, 0x32
jne 0x1400b431e
movzx eax, byte [rdi + 2]
cmp al, 0x33
jne 0x1400b430f
mov byte [rsp + rbx + 0x20], 0x23
add rdi, 3
jmp 0x1400b432c
cmp al, 0x35
jne 0x1400b431e
mov byte [rsp + rbx + 0x20], 0x25
add rdi, 3
jmp 0x1400b432c
mov byte [rsp + rbx + 0x20], 0x25
jmp 0x1400b4329
mov byte [rsp + rbx + 0x20], cl
inc rdi
movzx ecx, byte [rdi]
mov eax, ebx
inc ebx
test cl, cl
jne 0x1400b4220
cmp ebx, 0x7d0
jae 0x1400b4357
lea rcx, [rsp + 0x20]
mov byte [rsp + rbx + 0x20], 0
call fcn.14008c8c0
jmp 0x1400b41ea
call fcn.14008e858
int3
Function at 0x1400b4360
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140188ca0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
test rcx, rcx
je 0x1400b4431
lea rdx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
js 0x1400b4431
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__open]
mov edi, eax
test eax, eax
js 0x1400b4431
mov qword [rsp + 0x78], rsi
mov esi, dword [rsp + 0x34]
lea ecx, [rsi + 0xa]
movsxd rcx, ecx
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1400b4400
lea rcx, str.allocating_catalog_data
call fcn.1400b3410
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
xor eax, eax
mov rsi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400677f0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov r8d, esi
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov ecx, edi
movsxd rsi, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
test esi, esi
jns 0x1400b4428
mov rcx, rbx
call qword [fcn.14013e100]
jmp 0x1400b43de
mov byte [rsi + rbx], 0
mov rax, rbx
jmp 0x1400b43e0
xor eax, eax
jmp 0x1400b43e5
Function at 0x1400d1d70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp dword [0x14018cd90], 0
jne 0x1400d1edb
movsd xmm0, qword [0x14018cd70]
lea r11, [0x140000000]
xor r8d, r8d
xorps xmm2, xmm2
ucomisd xmm0, xmm2
lea edx, [r8 + 7]
jp 0x1400d1dd5
jne 0x1400d1dd5
mov r10d, r8d
mov r9d, edx
movzx eax, byte [r9 + r11 + 0x153cb0]
dec r9
movzx ecx, byte [r10 + r11 + 0x153cd8]
lea r10, [r10 + 1]
mov byte [rsp + rax + 8], cl
cmp r9, 0xffffffffffffffff
jg 0x1400d1da4
movsd xmm0, qword [rsp + 8]
movsd qword [0x14018cd70], xmm0
movsd xmm1, qword [0x14018cd78]
ucomisd xmm1, xmm2
movsd qword [0x140189470], xmm0
jp 0x1400d1e43
jne 0x1400d1e43
ucomisd xmm0, xmm2
jp 0x1400d1e31
jne 0x1400d1e31
mov r10, r8
mov r9, rdx
nop dword [rax + rax]
movzx eax, byte [r9 + r11 + 0x153cb0]
dec r9
movzx ecx, byte [r10 + r11 + 0x153cd8]
lea r10, [r10 + 1]
mov byte [rsp + rax + 0x10], cl
cmp r9, 0xffffffffffffffff
jg 0x1400d1e00
movsd xmm0, qword [rsp + 0x10]
movsd qword [0x14018cd70], xmm0
movaps xmm1, xmm0
xorps xmm1, xmmword [0x140143d60]
movsd qword [0x14018cd78], xmm1
movsd xmm0, qword [0x14018cd80]
ucomisd xmm0, xmm2
movsd qword [0x140189478], xmm1
jp 0x1400d1e92
jne 0x1400d1e92
mov r10, r8
mov r9, rdx
movzx eax, byte [r9 + r11 + 0x153cb0]
dec r9
movzx ecx, byte [r10 + r11 + 0x153ce0]
lea r10, [r10 + 1]
mov byte [rsp + rax + 0x18], cl
cmp r9, 0xffffffffffffffff
jg 0x1400d1e61
movsd xmm0, qword [rsp + 0x18]
movsd qword [0x14018cd80], xmm0
movsd qword [0x14018cd68], xmm0
nop word [rax + rax]
movzx eax, byte [rdx + r11 + 0x153cb0]
dec rdx
movzx ecx, byte [r8 + r11 + 0x153cd0]
lea r8, [r8 + 1]
mov byte [rsp + rax + 0x20], cl
cmp rdx, 0xffffffffffffffff
jg 0x1400d1ea0
movsd xmm0, qword [rsp + 0x20]
movsd qword [0x14018cd88], xmm0
mov dword [0x14018cd90], 1
ret
Function at 0x1400d4830
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
xor r10d, r10d
mov r8, rcx
mov r11d, r10d
mov ebx, r10d
mov edi, r10d
test rcx, rcx
jne 0x1400d485c
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rsi
movabs rsi, 0x100002600
nop dword [rax + rax]
movzx r9d, byte [r8]
cmp r9b, 0x20
ja 0x1400d4889
movzx eax, r9b
bt rsi, rax
jae 0x1400d4889
inc r8
jmp 0x1400d4870
lea eax, [r9 - 0x2d]
movaps xmmword [rsp + 0x20], xmm6
cmp al, 1
jbe 0x1400d48a2
lea eax, [r9 - 0x30]
cmp al, 9
ja 0x1400d49fe
movzx ecx, r9b
cmp r9b, 0x2d
jne 0x1400d48b6
movzx ecx, byte [r8 + 1]
mov ebx, 1
movsd xmm2, qword [0x140146b38]
lea rdx, [r8 + 1]
cmovne rdx, r8
xorps xmm1, xmm1
xorps xmm6, xmm6
cmp cl, 0x30
jb 0x1400d4909
movzx eax, cl
movzx ecx, al
cmp al, 0x39
ja 0x1400d4909
movzx ecx, byte [rdx + 1]
inc rdx
movzx eax, al
mov r11d, 1
sub eax, 0x30
mulsd xmm6, xmm2
movd xmm0, eax
movzx eax, cl
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm6
movaps xmm6, xmm0
cmp cl, 0x30
jae 0x1400d48d4
cmp cl, 0x2e
jne 0x1400d499e
movzx ecx, byte [rdx + 1]
inc rdx
mov r8d, r10d
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x1400d492c
test r11d, r11d
je 0x1400d49fe
cmp cl, 0x30
jb 0x1400d496c
movzx eax, cl
movzx ecx, al
cmp al, 0x39
ja 0x1400d496c
cmp r8d, 0x14
jge 0x1400d496c
movzx ecx, byte [rdx + 1]
inc rdx
movzx eax, al
inc r8d
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, cl
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm1
movaps xmm1, xmm0
cmp cl, 0x30
jae 0x1400d4934
movsxd rax, r8d
lea r8, [0x140189590]
divsd xmm1, qword [r8 + rax*8]
addsd xmm6, xmm1
cmp cl, 0x30
jb 0x1400d499e
movzx eax, cl
movzx ecx, al
cmp al, 0x39
ja 0x1400d499e
movzx ecx, byte [rdx + 1]
inc rdx
movzx eax, cl
cmp cl, 0x30
jae 0x1400d4988
sub cl, 0x45
test cl, 0xdf
jne 0x1400d49e4
movzx eax, byte [rdx + 1]
inc rdx
cmp al, 0x2d
jne 0x1400d49b8
mov edi, 1
jmp 0x1400d49bc
cmp al, 0x2b
jne 0x1400d49c3
movzx eax, byte [rdx + 1]
inc rdx
cmp al, 0x30
jb 0x1400d49e4
cmp al, 0x39
ja 0x1400d49e4
movzx eax, al
lea ecx, [r10 + r10*4]
inc rdx
lea r10d, [rcx - 0x18]
lea r10d, [rax + r10*2]
movzx eax, byte [rdx]
cmp al, 0x30
jae 0x1400d49c7
movzx ecx, byte [rdx]
cmp cl, 0x20
ja 0x1400d49fa
movzx eax, cl
bt rsi, rax
jae 0x1400d49fa
inc rdx
jmp 0x1400d49e4
test cl, cl
je 0x1400d4a08
movsd xmm0, qword [0x14018cd68]
jmp 0x1400d4a32
test ebx, ebx
je 0x1400d4a13
xorps xmm6, xmmword [0x140143d60]
mov eax, r10d
movaps xmm0, xmm2
neg eax
test edi, edi
cmove eax, r10d
movd xmm1, eax
cvtdq2pd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
mulsd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x20]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400da610
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
movsxd r10, r8d
mov r13, r9
mov r14, rcx
lea rax, [r10 - 2]
add r10, r10
add rax, rax
mov rdi, qword [rdx + r10*8 - 8]
mov r12, qword [rdx + rax*8 + 8]
mov rsi, rdi
mov rbx, qword [rdx + rax*8]
cmp r12, rdi
cmovl rsi, r12
cmp qword [r9], rsi
jae 0x1400da69f
mov rcx, qword [r9 + 8]
lea rbp, [rsi*8]
mov rdx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
jne 0x1400da697
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbp
lea rdx, str.Error_allocating_temporary_storage_for_tim_sort:_need__lu_bytes
mov rcx, rax
call fcn.140001720
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [r13 + 8], rax
mov qword [r13], rsi
mov r13, qword [r13 + 8]
lea rsi, [rbx + r12]
mov qword [rsp + 0x50], r15
mov rcx, r13
lea r15, [rbx + rdi]
add r15, r12
cmp r12, rdi
jge 0x1400da757
lea r8, [r12*8]
lea rdx, [r14 + rbx*8]
call sub.VCRUNTIME140.dll_memcpy
xor ecx, ecx
cmp rbx, r15
jge 0x1400da7df
nop dword [rax + rax]
mov qword [rsp + 0x58], rcx
cmp rcx, r12
jge 0x1400da737
lea rbp, [rcx*8]
mov rbp, qword [rbp + r13]
cmp rsi, r15
jge 0x1400da732
mov rdx, qword [r14 + rsi*8]
mov rcx, rbp
call fcn.1400d9510
mov ecx, eax
mov edx, eax
neg ecx
cmp eax, 0xfffffffe
mov rax, qword [rsp + 0x58]
cmovne edx, ecx
test edx, edx
lea rcx, [rax + 1]
cmovg rbp, qword [r14 + rsi*8]
cmovg rcx, rax
lea rax, [rsi + 1]
cmovg rsi, rax
jmp 0x1400da746
inc rcx
jmp 0x1400da746
lea rax, [rsi*8]
inc rsi
mov rbp, qword [rax + r14]
mov qword [r14 + rbx*8], rbp
inc rbx
cmp rbx, r15
jl 0x1400da6e0
jmp 0x1400da7df
lea r8, [rdi*8]
lea rdx, [r14 + rsi*8]
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsi - 1]
dec rdi
lea rsi, [r15 - 1]
cmp rsi, rbx
jl 0x1400da7df
mov r12, rcx
test rdi, rdi
js 0x1400da7c4
mov r15, qword [r13 + rdi*8]
cmp rcx, rbx
jl 0x1400da7bc
mov rbp, qword [r14 + rcx*8]
mov rdx, r15
mov rcx, rbp
call fcn.1400d9510
mov ecx, eax
neg ecx
cmp eax, 0xfffffffe
cmovne eax, ecx
lea rcx, [rdi - 1]
test eax, eax
cmovle rdi, rcx
cmovle rbp, r15
lea rcx, [r12 - 1]
cmovle rcx, r12
jmp 0x1400da7d3
dec rdi
mov rbp, r15
jmp 0x1400da7d3
lea rax, [rcx*8]
dec rcx
mov rbp, qword [rax + r14]
mov qword [r14 + rsi*8], rbp
dec rsi
cmp rsi, rbx
jge 0x1400da778
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400bf450]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400bf460]
mov dword [rax], 1
mov rax, qword [0x1400bf470]
mov dword [rax], 1
mov rax, qword [0x1400bf3e0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400bf440]
mov dword [0x1400c200c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x1400bf520]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1400bf500]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400bf3c0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140001180
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x1400bf4a0]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov rax, qword gs:[0x30]
mov rsi, qword [rax + 8]
jmp 0x1400011c0
cmp rsi, rax
je 0x140001320
mov ecx, 0x3e8
call rbp
mov rax, rdi
lock cmpxchg qword [rbx], rsi
test rax, rax
jne 0x1400011b0
mov rsi, qword [0x1400bf4b0]
xor edi, edi
mov eax, dword [rsi]
cmp eax, 1
je 0x140001337
mov eax, dword [rsi]
test eax, eax
je 0x1400013a0
mov dword [0x1400c2008], 1
mov eax, dword [rsi]
cmp eax, 1
je 0x14000134c
test edi, edi
je 0x14000136d
mov rax, qword [0x1400bf410]
mov rax, qword [rax]
test rax, rax
je 0x140001223
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call rax
call dbg._pei386_runtime_relocator
mov rcx, qword [dbg._gnu_exception_handler]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rdx, qword [str.__f_]
lea rcx, [dbg.__mingw_invalidParameterHandler]
mov qword [rdx], rax
call sym._set_invalid_parameter_handler
call dbg._fpreset
mov ebx, dword [0x1400c2028]
lea edi, [rbx + 1]
movsxd rdi, edi
shl rdi, 3
mov rcx, rdi
call sym.malloc
mov r12, qword [0x1400c2020]
mov rbp, rax
test ebx, ebx
jle 0x1400013c0
sub rdi, 8
xor ebx, ebx
mov rcx, qword [r12 + rbx]
call sym.strlen
lea rsi, [rax + 1]
mov rcx, rsi
call sym.malloc
mov r8, rsi
mov qword [rbp + rbx], rax
mov rdx, qword [r12 + rbx]
mov rcx, rax
add rbx, 8
call sym.memcpy
cmp rdi, rbx
jne 0x140001280
add rdi, rbp
mov qword [rdi], 0
mov qword [0x1400c2020], rbp
call dbg.__main
mov rax, qword [0x1400bf420]
mov r8, qword [0x1400c2018]
mov ecx, dword [0x1400c2028]
mov rax, qword [rax]
mov qword [rax], r8
mov rdx, qword [0x1400c2020]
call sym.main
mov ecx, dword [0x1400c200c]
mov dword [0x1400c2010], eax
test ecx, ecx
je 0x1400013c8
mov edx, dword [0x1400c2008]
test edx, edx
je 0x140001380
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [0x1400bf4b0]
mov edi, 1
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011e1
mov ecx, 0x1f
call dbg._amsg_exit
mov eax, dword [rsi]
cmp eax, 1
jne 0x140001200
mov rdx, qword [0x1400bf4d0]
mov rcx, qword [0x1400bf4c0]
call sym._initterm
mov dword [rsi], 2
test edi, edi
jne 0x140001208
xor eax, eax
xchg qword [rbx], rax
jmp 0x140001208
call sym._cexit
mov eax, dword [0x1400c2010]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [str._P_f_]
mov rcx, qword [0x1400bf4e0]
mov dword [rsi], 1
call sym._initterm
jmp 0x1400011f5
mov rdi, rax
jmp 0x1400012b5
mov ecx, eax
call sym.exit
nop
Function at 0x14008f8d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, 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 sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call dbg.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x14008f940
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400c22f4]
mov rbx, rcx
test esi, esi
jle 0x14008fa70
mov rax, qword [0x1400c22f8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14008f98b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14008fa15
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14008f970
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x14008fa92
mov rax, qword [0x1400c22f8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400c22f8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14008fa77
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14008fa0e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14008fa20
add dword [0x1400c22f4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400c22f8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14008fa0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x14008f998
mov rax, qword [0x1400c22f8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140090020
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400c2360]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400c2340]
test rbx, rbx
je 0x14009007c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140090073
test eax, eax
jne 0x140090073
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140090058
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]