joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007e190
Capabilities:
Set environment variable

Disassembly:
jmp 0x14016e44c
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.14007af7c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14016e4d6
cmp byte [rbp - 0x21], r15b
je 0x14016e4d1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14016e50c
call fcn.14007e875
test eax, eax
jne 0x14016e4f8
cmp byte [rbp - 0x21], r15b
je 0x14016e4f0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14016e50c
cmp byte [rbp - 0x21], r15b
je 0x14016e509
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.14007ec35
test eax, eax
jne 0x14016e5ac
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14007af7c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14016e54b
cmp byte [rbp - 0x21], r15b
je 0x14016e580
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14016e580
call fcn.14007e875
test eax, eax
jne 0x14016e56c
cmp byte [rbp - 0x21], r15b
je 0x14016e565
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14016e580
cmp byte [rbp - 0x21], r15b
je 0x14016e57d
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.14007ec35
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14016e5ac
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14016e5af
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14016e5bd
mov rcx, rdi
call fcn.140079294
cmp byte [rbp + 0x3f], r15b
je 0x14016e5cc
mov rcx, qword [rbp + 0x27]
call fcn.140079294
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 0x14007e339
Capabilities:
Parse pe header

Disassembly:
jmp 0x14013cc98
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14013ca63
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14013ca63
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14013ca63
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14013ca63
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14013ca63
cmp dword [rcx + 0x84], 0xe
jbe 0x14013ca63
cmp dword [rcx + 0xf8], 0
je 0x14013ca63
mov ecx, ebx
call fcn.14013cbe8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14013c764
nop
cmp dword [rbp + 0x20], 0
jne 0x14013cac4
call fcn.140079c8f
cmp eax, 1
jne 0x14013cab4
xor dl, dl
jmp 0x14013cabe
call fcn.14007b45e
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x14013cacf
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14013cb10
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14013c9f4

Function at 0x14007e3ed
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x1400b3ee0
jmp 0x1400d14b0
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400b3f12
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400b3ef5
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14007c552
Function at 0x140153bb4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140079f7d
sub rsp, rax
mov rax, qword [0x1401ae040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14007e528
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140153c03
mov rax, rbp
jmp 0x140153d0f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x1b2ab0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14007ad47
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1b2ab0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140153d0b
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + r12*8 + 0x28]
lea rdx, [rsp + 0x40]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140153d0b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14007ad47
test rax, rax
js 0x140153d0b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140153d0b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140153cfd
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140153cfd
cmp byte [rcx], 0xd
jne 0x140153ce3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140153cf2
cmp byte [rcx + 1], 0xa
jne 0x140153cf2
inc rcx
jmp 0x140153cf2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1ae5a0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140153cc5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140153d0f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14007b8a0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1401545bc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1401545d2
mov al, 1
jmp 0x14015463e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1401545e3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14015463c
mov ecx, dword [rcx + 0x18]
nop
call fcn.14007e7df
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14015463c
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14015463c
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14015463c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14015463e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140154a64
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
xor edi, edi
mov rax, r15
lea rcx, [0x1401b2ab0]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x140154aba
cmp word [rdx], r9w
jne 0x140154aba
or byte [rax + rbp*8 + 0x38], 4
jmp 0x140154abf
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x140154c3e
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x140154c09
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x140154b07
cmp rcx, r8
jae 0x140154b27
cmp word [rcx], r9w
jne 0x140154b07
add rax, 4
mov edx, r9d
jmp 0x140154b0a
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x140154adc
jmp 0x140154c3e
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140154c02
cmp dword [rsp + 0x80], edi
je 0x140154c02
lea r9, [0x1401b2ab0]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x140154bdc
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x140154b8f
mov word [rbx], bp
jmp 0x140154c3b
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], 0xd
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x140154baa
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x140154c3b
cmp word [rsp + 0x70], bp
jne 0x140154be8
cmp rbx, rsi
je 0x140154b87
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140079e15
cmp word [rsp + 0x70], bp
je 0x140154c3e
mov word [rbx], 0xd
jmp 0x140154c3b
mov rcx, r15
lea r9, [0x1401b2ab0]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140154c38
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x140154c3e
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14016127c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x1401612ef
cmp word [rcx], si
je 0x1401612ef
lea rdx, [0x1401911b0]
call fcn.14007b927
test eax, eax
je 0x1401612ef
lea rdx, [0x1401911d0]
mov rcx, rbx
call fcn.14007b927
test eax, eax
jne 0x1401612e5
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14016130c
mov eax, dword [rsp + 0x30]
jmp 0x14016131e
mov rcx, rbx
call fcn.1400790e6
jmp 0x14016131e
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140161310
xor eax, eax
jmp 0x14016131e
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x14016131e
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14016138c
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.14007a270
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14016142f
cmp edi, dword [rsp + 0x30]
je 0x140161428
test ebp, ebp
je 0x140161428
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x140161404
sub dx, 0x61
cmp dx, 0x19
ja 0x140161410
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x1401613f1
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x140161414
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x140161431
mov eax, 1
jmp 0x140161431
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140029b84
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.14001d124
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d124
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029cd4
cmp rax, 0xffffffffffffffff
je 0x140029cd4
xor edi, edi
test rbp, rbp
jle 0x140029c7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fda4
mov rbx, rax
test rax, rax
jne 0x140029c0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029c75
mov edx, 0x8000
mov ecx, r14d
call fcn.14001aac0
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.14001de00
cmp eax, 0xffffffff
je 0x140029c55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029c1c
mov edx, r15d
mov ecx, r14d
call fcn.14001aac0
jmp 0x140029c75
cmp byte [rsi + 0x38], dil
je 0x140029c6c
cmp dword [rsi + 0x34], 5
jne 0x140029c6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029c75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b404
jmp 0x140029ce8
jns 0x140029ce8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d124
cmp rax, 0xffffffffffffffff
jne 0x140029ca0
cmp byte [rsi + 0x30], dil
je 0x140029ce8
mov edi, dword [rsi + 0x2c]
jmp 0x140029ce8
mov ecx, r14d
call fcn.1400195f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029ce8
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 0x140029ce8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029ce1
mov eax, dword [rsi + 0x2c]
jmp 0x140029ce6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d124
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 0x14002ade0
Capabilities:
Parse pe header

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

Function at 0x140001b2c
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14008bae0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14008baf0]
mov dword [rax], 1
mov rax, qword [0x14008bb00]
mov dword [rax], 1
mov rax, qword [0x14008ba40]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14008bad0]
mov dword [0x14009900c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14008bbc0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14008bba0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._wsetargv
mov rax, qword [str.0Y_b_]
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 0x14001127e
Capabilities:
Query environment variable

Disassembly:
push rbp
sub rsp, 0x180
lea rbp, [rsp + 0x80]
mov eax, dword [0x1400c34e8]
test eax, eax
je 0x1400112ab
lea rax, [0x1400c34c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov eax, dword [0x1400c8c68]
test eax, eax
je 0x1400112db
mov eax, dword [0x1400c34e8]
test eax, eax
je 0x140011490
lea rax, [0x1400c34c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140011491
mov rax, qword [0x1400c3570]
mov dword [rbp + 0xfc], eax
mov dword [0x1400c8c68], 1
mov eax, dword [0x1400c3ec0]
mov dword [rbp + 0xf4], eax
cmp dword [rbp + 0xf4], 0
je 0x140011356
mov eax, dword [rbp + 0xf4]
lea rdx, [rax*8]
lea rax, [rbp - 0x60]
mov r8, rdx
lea rdx, [0x1400c3d80]
mov rcx, rax
call sym.memcpy
mov dword [0x1400c3ec0], 0
mov eax, dword [rbp + 0xf4]
shl rax, 3
mov r8, rax
mov edx, 0
lea rax, [0x1400c3d80]
mov rcx, rax
call sym.memset
mov eax, dword [0x1400c34e8]
test eax, eax
je 0x140011373
lea rax, [0x1400c34c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
mov eax, dword [0x1400c3538]
test eax, eax
je 0x140011388
mov rax, qword [0x1400c3560]
call rax
jmp 0x140011392
mov dword [rbp + 0xfc], 0
cmp dword [rbp + 0xf4], 0
je 0x1400113bc
mov eax, dword [rbp + 0xf4]
mov edx, eax
lea rax, str.Found__u_leaked_objects:_n
mov rcx, rax
call sym.GC_err_printf
mov dword [rbp + 0xfc], 1
mov dword [rbp + 0xf8], 0
jmp 0x140011403
mov eax, dword [rbp + 0xf8]
mov rax, qword [rbp + rax*8 - 0x60]
mov qword [rbp + 0xe8], rax
mov rdx, qword [sym.GC_default_print_heap_obj_proc]
mov rax, qword [rbp + 0xe8]
mov rcx, rax
call rdx
mov rax, qword [rbp + 0xe8]
mov rcx, rax
call sym.GC_free
add dword [rbp + 0xf8], 1
mov eax, dword [rbp + 0xf8]
cmp eax, dword [rbp + 0xf4]
jb 0x1400113c8
cmp dword [rbp + 0xfc], 0
je 0x14001144a
lea rax, str.GC_ABORT_ON_LEAK
mov rcx, rax
call sym.getenv
test rax, rax
je 0x14001144a
mov rax, qword [sym.GC_default_on_abort]
lea rdx, str.Leaked_or_smashed_objects_encountered
mov rcx, rdx
call rax
mov rax, qword [sym.imp.KERNEL32.dll_DebugBreak]
call rax
mov eax, dword [0x1400c34e8]
test eax, eax
je 0x140011467
lea rax, [0x1400c34c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov dword [0x1400c8c68], 0
mov eax, dword [0x1400c34e8]
test eax, eax
je 0x140011491
lea rax, [0x1400c34c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140011491
nop
add rsp, 0x180
pop rbp
ret
Function at 0x140012080
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov dword [rbp - 0x10], 0
mov eax, dword [0x1400c3578]
cmp eax, 2
jne 0x1400120ad
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rax
mov dword [rbp - 0x10], eax
mov dword [rbp - 0xc], 0
jmp 0x1400121a9
mov eax, dword [rbp - 0xc]
cdqe
shl rax, 5
mov rdx, rax
lea rax, [0x140081028]
mov rax, qword [rdx + rax]
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
je 0x1400121a4
mov qword [rbp - 8], 1
jmp 0x140012194
mov rax, qword [rbp - 8]
lea rdx, [rax*8]
mov rax, qword [rbp - 0x20]
add rax, rdx
mov qword [rbp - 0x28], rax
jmp 0x140012179
cmp qword [rbp + 0x10], 0
je 0x140012120
mov rax, qword [rbp + 0x10]
call rax
test eax, eax
je 0x140012120
mov eax, 0
jmp 0x1400121f1
mov rax, qword [rbp - 0x30]
mov rcx, rax
call sym.GC_find_header
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x28]
mov qword [rax], rdx
cmp dword [rbp + 0x18], 0
je 0x14001215f
mov rax, qword [rbp - 0x38]
movzx eax, word [rax + 0x1a]
movzx edx, ax
mov rax, qword [0x140099050]
sub rax, 1
cmp rdx, rax
jne 0x140012179
mov rax, qword [rbp - 0x38]
mov rdx, qword [rax + 0x20]
mov rax, qword [rbp - 0x30]
mov r8d, 0
mov rcx, rax
call sym.GC_reclaim_small_nonempty_block
mov rax, qword [rbp - 0x28]
mov rax, qword [rax]
mov qword [rbp - 0x30], rax
cmp qword [rbp - 0x30], 0
jne 0x140012105
add qword [rbp - 8], 1
cmp qword [rbp - 8], 0x80
jbe 0x1400120ec
jmp 0x1400121a5
nop
add dword [rbp - 0xc], 1
mov eax, dword [0x140081320]
cmp dword [rbp - 0xc], eax
jl 0x1400120b9
mov eax, dword [0x1400c3578]
cmp eax, 2
jne 0x1400121ec
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rax
mov dword [rbp - 0x14], eax
mov eax, dword [rbp - 0x14]
sub eax, dword [rbp - 0x10]
mov r8d, 0
mov edx, eax
lea rax, str.Disposing_of_reclaim_lists_took__lu_ms__lu_ns_n
mov rcx, rax
call sym.GC_log_printf
mov eax, 1
add rsp, 0x60
pop rbp
ret
Function at 0x140012903
Capabilities:
Encode data using base64

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x18]
sub rax, 1
mov qword [rbp - 8], rax
mov rax, qword [0x140099160]
test eax, eax
jne 0x140012988
mov eax, dword [0x1400c34e8]
test eax, eax
je 0x140012947
lea rax, [0x1400c34c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140099160]
test rax, rax
jne 0x140012964
call sym.GC_init_explicit_typing
mov eax, 1
mov qword [0x140099160], rax
mov eax, dword [0x1400c34e8]
test eax, eax
je 0x140012988
lea rax, [0x1400c34c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140012988
sub qword [rbp - 8], 1
cmp qword [rbp - 8], 0
js 0x1400129c0
mov rax, qword [rbp - 8]
shr rax, 6
lea rdx, [rax*8]
mov rax, qword [rbp + 0x10]
add rax, rdx
mov rdx, qword [rax]
mov rax, qword [rbp - 8]
and eax, 0x3f
mov ecx, eax
shr rdx, cl
mov rax, rdx
and eax, 1
test rax, rax
je 0x140012983
cmp qword [rbp - 8], 0
jns 0x1400129d1
mov eax, 0
jmp 0x140012b0a
mov qword [rbp - 0x18], 0
jmp 0x140012a11
mov rax, qword [rbp - 0x18]
shr rax, 6
lea rdx, [rax*8]
mov rax, qword [rbp + 0x10]
add rax, rdx
mov rdx, qword [rax]
mov rax, qword [rbp - 0x18]
and eax, 0x3f
mov ecx, eax
shr rdx, cl
mov rax, rdx
and eax, 1
test rax, rax
je 0x140012a1d
add qword [rbp - 0x18], 1
mov rax, qword [rbp - 0x18]
cmp rax, qword [rbp - 8]
jl 0x1400129db
jmp 0x140012a1e
nop
mov rax, qword [rbp - 0x18]
cmp rax, qword [rbp - 8]
jne 0x140012a39
mov rax, qword [rbp - 8]
add rax, 1
shl rax, 3
jmp 0x140012b0a
cmp qword [rbp - 8], 0x3d
jg 0x140012ab2
movabs rax, 0x8000000000000000
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 8]
sub rax, 1
mov qword [rbp - 0x20], rax
jmp 0x140012aa4
shr qword [rbp - 0x10], 1
mov rax, qword [rbp - 0x20]
shr rax, 6
lea rdx, [rax*8]
mov rax, qword [rbp + 0x10]
add rax, rdx
mov rdx, qword [rax]
mov rax, qword [rbp - 0x20]
and eax, 0x3f
mov ecx, eax
shr rdx, cl
mov rax, rdx
and eax, 1
test rax, rax
je 0x140012a9f
movabs rax, 0x8000000000000000
or qword [rbp - 0x10], rax
sub qword [rbp - 0x20], 1
cmp qword [rbp - 0x20], 0
jns 0x140012a5c
or qword [rbp - 0x10], 1
jmp 0x140012b06
mov rax, qword [rbp - 8]
lea rdx, [rax + 1]
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.GC_add_ext_descriptor
mov qword [rbp - 0x28], rax
cmp qword [rbp - 0x28], 0xffffffffffffffff
sete al
movzx eax, al
test eax, eax
je 0x140012ae7
mov rax, qword [rbp - 8]
add rax, 1
shl rax, 3
jmp 0x140012b0a
mov rax, qword [rbp - 0x28]
shl rax, 6
mov edx, dword [0x1400c3ecc]
mov edx, edx
or rax, rdx
shl rax, 2
or rax, 2
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
add rsp, 0x50
pop rbp
ret