joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14003c8e0]
mov dword [rax], 1
mov rax, qword [0x14003c8f0]
mov dword [rax], 1
mov rax, qword [0x14003c900]
mov dword [rax], 1
mov rax, qword [0x14003c8d0]
mov dword [rax], 1
mov rax, qword [0x14003c760]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
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 0x14000150a
mov eax, 0
jmp 0x14000158b
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 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140002c80
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdi, qword [sym.__acrt_iob_func]
xor ebx, ebx
mov rbp, rcx
mov rsi, rdx
test rdx, rdx
jle 0x140002cc3
nop
mov r12, qword [rbp + rbx*8]
mov ecx, 1
add rbx, 1
call rdi
xor r8d, r8d
mov rcx, rax
mov rdx, r12
call sym.writeWindows__systemZio_u205
cmp rsi, rbx
jg 0x140002ca0
mov ecx, 1
call rdi
mov r8d, 1
mov edx, 1
lea rcx, [0x1400381bc]
mov r9, rax
call sym.fwrite
mov ecx, 1
call rdi
mov rcx, rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sym.fflush

Function at 0x140002f00
Capabilities:
Read file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
mov r13, rcx
mov rcx, rdx
mov edx, 1
mov rbx, r8
mov r9, r13
call sym.fread
mov r12, rax
cmp rbx, rax
je 0x140002f33
mov rcx, r13
call sym.ferror
test eax, eax
jne 0x140002f40
mov rax, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
ret
mov rcx, r13
call sym.checkErr__systemZio_u141.part.0
nop
nop dword [rax]

Function at 0x140003930
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
mov r12, rcx
mov rcx, rdx
mov edx, 1
mov r9, r12
call sym.fwrite
mov rcx, r12
mov r13, rax
call sym.ferror
test eax, eax
jne 0x140003966
mov rax, r13
add rsp, 0x28
pop r12
pop r13
ret
mov rcx, r12
call sym.checkErr__systemZio_u141.part.0
nop
nop

Function at 0x140003b60
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
xor r8d, r8d
mov r13, rcx
mov r12, rdx
test rdx, rdx
je 0x140003b81
mov rcx, rdx
call sym.strlen
mov r8, rax
mov rcx, r12
mov r9, r13
mov edx, 1
call sym.fwrite
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp sym.fflush
Function at 0x140003c40
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x20
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov r12, rax
mov r9, rax
call sym.fwrite
mov rcx, r12
call sym.fflush
mov ecx, 1
call sym.exit
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140008ec0
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
mov rbx, rdx
mov r13, rcx
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov rcx, r13
mov r8, rbx
mov edx, 1
mov r12, rax
mov r9, rax
call sym.fwrite
mov rcx, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
jmp sym.fflush

Function at 0x14000ff00
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
push r12
push rbx
sub rsp, 0x150
movaps xmmword [rbp - 0x20], xmm6
cmp qword [0x140053938], 0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov byte [rbp - 0x131], 1
je 0x14000fff2
mov rax, qword [0x140053928]
lea rcx, [rbp - 0x120]
mov rdx, rbp
mov qword [rbp - 0x130], rax
lea rax, [rbp - 0x130]
mov qword [0x140053928], rax
call sym._setjmp
cdqe
mov qword [rbp - 0x128], rax
test rax, rax
jne 0x140010018
xor r12d, r12d
cmp qword [rbp + 0x10], 0
je 0x14000ffc3
mov rcx, qword [rbp + 0x10]
call sym.strlen
mov edx, 7
lea rcx, [0x140037020]
cmp rax, rdx
movq xmm6, rax
mov rbx, rax
cmovge rdx, rax
movq xmm0, rdx
add rdx, 0x11
punpcklqdq xmm6, xmm0
call sym.rawNewObj__system_u5702.constprop.0
mov rdx, qword [rbp + 0x10]
lea r8, [rbx + 1]
movups xmmword [rax], xmm6
lea rcx, [rax + 0x10]
mov r12, rax
call sym.memcpy
mov rcx, r12
call qword [0x140053938]
mov rax, qword [0x140053928]
cmp qword [rbp - 0x128], 0
mov byte [rbp - 0x131], 0
mov rax, qword [rax]
mov qword [0x140053928], rax
jne 0x140010085
movzx eax, byte [rbp - 0x131]
test al, al
jne 0x1400100a0
movaps xmm6, xmmword [rbp - 0x20]
add rsp, 0x150
pop rbx
pop r12
pop rbp
ret
mov rax, qword [0x140053928]
mov rax, qword [rax]
mov qword [rbp - 0x128], 0
mov qword [0x140053928], rax
mov rax, qword [0x140053920]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x140010055
add qword [rbx - 0x10], 8
mov rax, qword [0x140053920]
test rax, rax
je 0x140010070
mov rdx, qword [rax - 0x10]
lea rcx, [rax - 0x10]
sub rdx, 8
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x140010070
call sym.addZCT__system_u5319.constprop.0
cmp qword [rbp - 0x128], 0
mov qword [0x140053920], rbx
je 0x14000fff2
mov rcx, qword [0x140053920]
test rcx, rcx
je 0x1400100d0
call sym.raiseExceptionAux__system_u2868
jmp 0x14000fff2
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov rcx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x18]
mov edx, 1
mov r12, rax
mov r9, rax
call sym.fwrite
mov rcx, r12
call sym.fflush
jmp 0x140010001
call sym.sysFatal__system_u2900.constprop.0
nop
nop word cs:[rax + rax]

Function at 0x140017d60
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
lea r8, [0x1400390bf]
test rcx, rcx
je 0x140017d7c
lea rax, [rcx + 0x10]
cmp qword [rcx], 0
cmovne r8, rax
mov rcx, r8
call sym.getenv
test rax, rax
setne al
add rsp, 0x28
ret
Function at 0x140017d90
Capabilities:
Query environment variable

Disassembly:
push r12
sub rsp, 0x20
lea r8, [0x1400390bf]
mov r12, rdx
test rcx, rcx
je 0x140017db1
lea rax, [rcx + 0x10]
cmp qword [rcx], 0
cmovne r8, rax
mov rcx, r8
call sym.getenv
mov rcx, rax
test rax, rax
je 0x140017dd0
add rsp, 0x20
pop r12
jmp sym.cstrToNimstr
mov rcx, r12
add rsp, 0x20
pop r12
jmp sym.copyString

Function at 0x140019930
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rsi, [rdx + 3]
test rdx, rdx
mov rbx, rcx
mov rdi, rdx
cmovns rsi, rdx
and rsi, 0xfffffffffffffffc
jle 0x140019aa0
test rdx, rdx
jle 0x140019a90
cmp rdx, rsi
mov rdx, rsi
cmovle rdx, rdi
xor r12d, r12d
xor r13d, r13d
nop dword [rax]
mov eax, dword [rbx + r12]
add r12, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r13d
rol eax, 0xd
lea r13d, [rax + rax*4 - 0x19ab949c]
cmp r12, rdx
jl 0x140019978
cmp rsi, r12
jle 0x1400199e5
lea rbp, [rdi - 1]
nop dword [rax + rax]
mov rcx, r12
mov rdx, rbp
call sym.raiseIndexError2
mov eax, dword [rbx + r12]
add r12, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r13d
rol eax, 0xd
lea r13d, [rax + rax*4 - 0x19ab949c]
cmp rsi, r12
jg 0x1400199b0
mov rax, rdi
xor ebp, ebp
sar rax, 0x3f
shr rax, 0x3e
lea r14, [rdi + rax]
and r14d, 3
sub r14, rax
test r14, r14
jle 0x140019a46
lea r12, [rdi - 1]
nop word cs:[rax + rax]
sub r14, 1
lea r15, [rsi + r14]
cmp rdi, r15
jg 0x140019a28
mov rdx, r12
mov rcx, r15
call sym.raiseIndexError2
movzx eax, byte [rbx + r15]
shl ebp, 8
or ebp, eax
test r14, r14
jne 0x140019a10
imul ebp, ebp, 0xcc9e2d51
rol ebp, 0xf
imul ebp, ebp, 0x1b873593
xor r13d, edi
mov eax, r13d
xor eax, ebp
mov r13d, eax
shr r13d, 0x10
xor r13d, eax
imul r13d, r13d, 0x85ebca6b
mov edx, r13d
shr edx, 0xd
xor edx, r13d
imul edx, edx, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor r12d, r12d
xor r13d, r13d
jmp 0x1400199a7
xor esi, esi
xor r13d, r13d
jmp 0x1400199e5

Function at 0x140019ab0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push r12
sub rsp, 0x20
xor edx, edx
mov r12, rcx
test rcx, rcx
je 0x140019acc
mov rdx, qword [rcx]
test rdx, rdx
js 0x140019ae0
add r12, 0x10
mov rcx, r12
add rsp, 0x20
pop r12
jmp sym.murmurHash__pureZhashes_u192
lea r9, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, r9
call sym.raiseIndexError4
mov rdx, qword [r12]
jmp 0x140019ac8
Function at 0x14001a0a0
Capabilities:
Link many functions at runtime

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov r12, rcx
mov rbx, rdx
mov rsi, r8
test rcx, rcx
je 0x14001a104
lea rdx, [0x140039440]
test rbx, rbx
je 0x14001a0ce
lea rax, [rbx + 0x10]
cmp qword [rbx], 0
cmovne rdx, rax
mov rcx, r12
call sym.symAddr__pureZdynlib_u30
test rax, rax
je 0x14001a0e8
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
test rsi, rsi
je 0x14001a104
cmp qword [rsi], 0
jle 0x14001a104
lea rdx, [rsi + 0x10]
mov rcx, r12
call sym.symAddr__pureZdynlib_u30
test rax, rax
jne 0x14001a0db
mov r12, qword [0x1400556d8]
test r12, r12
je 0x14001a158
lea rdx, [0x140039440]
test rbx, rbx
je 0x14001a128
lea rax, [rbx + 0x10]
cmp qword [rbx], 0
cmovne rdx, rax
mov rcx, r12
call sym.symAddr__pureZdynlib_u30
test rax, rax
jne 0x14001a0db
test rsi, rsi
je 0x14001a16c
cmp qword [rsi], 0
jle 0x14001a16c
lea rdx, [rsi + 0x10]
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sym.symAddr__pureZdynlib_u30
call sym.loadLib__pureZdynlib_u6
mov qword [0x1400556d8], rax
mov r12, rax
test rax, rax
jne 0x14001a110
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x14001a180
Capabilities:
Link many functions at runtime

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rsi, rdx
call sym.sslModule__wrappersZopenssl_u178
mov r12, rax
test rax, rax
je 0x14001a1ec
lea rdx, [0x140039440]
test rbx, rbx
je 0x14001a1b3
lea rax, [rbx + 0x10]
cmp qword [rbx], 0
cmovne rdx, rax
mov rcx, r12
call sym.symAddr__pureZdynlib_u30
test rax, rax
je 0x14001a1d0
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
test rsi, rsi
je 0x14001a1ec
cmp qword [rsi], 0
jle 0x14001a1ec
lea rdx, [rsi + 0x10]
mov rcx, r12
call sym.symAddr__pureZdynlib_u30
test rax, rax
jne 0x14001a1c0
mov r12, qword [0x1400556d8]
test r12, r12
je 0x14001a240
lea rdx, [0x140039440]
test rbx, rbx
je 0x14001a210
lea rax, [rbx + 0x10]
cmp qword [rbx], 0
cmovne rdx, rax
mov rcx, r12
call sym.symAddr__pureZdynlib_u30
test rax, rax
jne 0x14001a1c0
test rsi, rsi
je 0x14001a254
cmp qword [rsi], 0
jle 0x14001a254
lea rdx, [rsi + 0x10]
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sym.symAddr__pureZdynlib_u30
call sym.loadLib__pureZdynlib_u6
mov qword [0x1400556d8], rax
mov r12, rax
test rax, rax
jne 0x14001a1f8
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
Function at 0x14001aa40
Capabilities:
Link many functions at runtime

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [0x1400556c8]
mov rbx, rcx
mov rsi, rdx
test r12, r12
je 0x14001ab20
lea rdx, [0x140039440]
test rbx, rbx
je 0x14001aa76
lea rax, [rbx + 0x10]
cmp qword [rbx], 0
cmovne rdx, rax
mov rcx, r12
call sym.symAddr__pureZdynlib_u30
test rax, rax
je 0x14001aa90
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
test rsi, rsi
je 0x14001aaac
cmp qword [rsi], 0
jle 0x14001aaac
lea rdx, [rsi + 0x10]
mov rcx, r12
call sym.symAddr__pureZdynlib_u30
test rax, rax
jne 0x14001aa83
mov r12, qword [0x1400556d8]
test r12, r12
je 0x14001ab00
lea rdx, [0x140039440]
test rbx, rbx
je 0x14001aad0
lea rax, [rbx + 0x10]
cmp qword [rbx], 0
cmovne rdx, rax
mov rcx, r12
call sym.symAddr__pureZdynlib_u30
test rax, rax
jne 0x14001aa83
test rsi, rsi
je 0x14001ab14
cmp qword [rsi], 0
jle 0x14001ab14
lea rdx, [rsi + 0x10]
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sym.symAddr__pureZdynlib_u30
call sym.loadLib__pureZdynlib_u6
mov qword [0x1400556d8], rax
mov r12, rax
test rax, rax
jne 0x14001aab8
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor edx, edx
lea rcx, [0x140039880]
call sym.loadLibPattern__pureZdynlib_u49
mov qword [0x1400556c8], rax
mov r12, rax
test rax, rax
je 0x14001aaac
jmp 0x14001aa5e
Function at 0x1400252f0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
mov r9, rdx
test rdx, rdx
je 0x140025356
mov rcx, qword [rcx]
mov r8, qword [r10 + 8]
cmp rdx, 0xffffffffffffffff
je 0x140025360
mov rax, 0xffffffffffffffff
xor edx, edx
div r9
lea rax, [rcx + r8]
xor r8, rcx
ror rcx, 9
mov r11, r8
xor rcx, r8
ror r8, 0x1c
shl r11, 0xe
xor rcx, r11
mov r11, rdx
add r11, rax
jb 0x140025314
movq xmm0, rcx
lea rcx, [r9 + 1]
movq xmm1, r8
xor edx, edx
div rcx
punpcklqdq xmm0, xmm1
movups xmmword [r10], xmm0
mov r9, rdx
mov rax, r9
ret
lea r9, [rcx + r8]
xor r8, rcx
ror rcx, 9
mov rax, r8
xor rcx, r8
ror r8, 0x1c
shl rax, 0xe
movq xmm2, r8
xor rcx, rax
mov rax, r9
movq xmm0, rcx
punpcklqdq xmm0, xmm2
movups xmmword [r10], xmm0
ret

Function at 0x1400253a0
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
mov r11, rcx
xor edx, edx
test r9, r9
je 0x140025405
mov rcx, qword [rcx]
mov r8, qword [r11 + 8]
cmp r9, 0xffffffffffffffff
je 0x140025410
mov rax, 0xffffffffffffffff
xor edx, edx
div r9
lea rax, [r8 + rcx]
xor r8, rcx
ror rcx, 9
mov r10, r8
xor rcx, r8
ror r8, 0x1c
shl r10, 0xe
xor rcx, r10
mov r10, rdx
add r10, rax
jb 0x1400253c6
movq xmm0, rcx
lea rcx, [r9 + 1]
movq xmm1, r8
xor edx, edx
div rcx
punpcklqdq xmm0, xmm1
movups xmmword [r11], xmm0
mov rax, rdx
ret
mov rdx, rcx
mov rax, rcx
xor rdx, r8
ror rax, 9
mov r9, rdx
xor rax, rdx
ror rdx, 0x1c
shl r9, 0xe
movq xmm2, rdx
lea rdx, [rcx + r8]
xor rax, r9
movq xmm0, rax
mov rax, rdx
punpcklqdq xmm0, xmm2
movups xmmword [r11], xmm0
ret

Function at 0x140025450
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
js 0x140025470
mov edx, 0
jne 0x140025481
mov rax, rdx
add rsp, 0x20
pop rbx
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
call sym.raiseRangeErrorI
mov rcx, qword [0x1400565d0]
mov r8, qword [0x1400565d8]
cmp rbx, 0xffffffffffffffff
je 0x1400254f0
mov rax, 0xffffffffffffffff
xor edx, edx
div rbx
lea rax, [rcx + r8]
xor r8, rcx
ror rcx, 9
mov r10, rdx
mov r9, r8
xor rcx, r8
ror r8, 0x1c
shl r9, 0xe
xor rcx, r9
add r10, rax
jb 0x1400254a1
movq xmm0, rcx
lea rcx, [rbx + 1]
movq xmm1, r8
xor edx, edx
div rcx
punpcklqdq xmm0, xmm1
movaps xmmword [0x1400565d0], xmm0
mov rax, rdx
add rsp, 0x20
pop rbx
ret
mov rdx, rcx
mov rax, rcx
xor rdx, r8
ror rax, 9
mov r9, rdx
xor rax, rdx
ror rdx, 0x1c
shl r9, 0xe
movq xmm2, rdx
lea rdx, [rcx + r8]
xor rax, r9
movq xmm0, rax
punpcklqdq xmm0, xmm2
movaps xmmword [0x1400565d0], xmm0
jmp 0x140025464
Function at 0x140026820
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [r8]
mov rbx, qword [r8 + 8]
mov rdi, rcx
mov rbp, rdx
test rcx, rcx
je 0x140026851
mov rcx, qword [rcx]
lea rdx, [0x140056c40]
call sym.isObj
test al, al
je 0x1400268f0
mov rax, qword [rbp]
test rsi, rsi
js 0x1400268b8
test rax, rax
je 0x1400268a0
mov rdx, qword [rax]
cmp rdx, rsi
jle 0x1400268c0
add rbx, 1
jo 0x140026904
sub rbx, rsi
jo 0x1400268fa
test rbx, rbx
js 0x1400268d0
mov rax, qword [rbp]
mov rcx, qword [rdi + 0x58]
mov r8, rbx
lea rdx, [rax + rsi + 0x10]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp sym.readBuffer__systemZio_u144
mov rdx, 0xffffffffffffffff
mov rcx, rsi
call sym.raiseIndexError2
jmp 0x140026867
test rax, rax
je 0x1400268a0
mov rdx, qword [rax]
sub rdx, 1
jmp 0x1400268a7
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call sym.raiseRangeErrorI
jmp 0x14002687f
call sym.raiseObjectConversionError
jmp 0x140026851
call sym.raiseOverflow
jmp 0x14002687a
call sym.raiseOverflow
jmp 0x140026871

Function at 0x140026910
Capabilities:
Read file on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov r12, rdx
mov rsi, r8
test rcx, rcx
je 0x140026939
mov rcx, qword [rcx]
lea rdx, [0x140056c40]
call sym.isObj
test al, al
je 0x140026970
test rsi, rsi
js 0x140026958
mov rcx, qword [rbx + 0x58]
mov r8, rsi
mov rdx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sym.readBuffer__systemZio_u144
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rsi
call sym.raiseRangeErrorI
jmp 0x14002693e
call sym.raiseObjectConversionError
jmp 0x140026939
Function at 0x14002ec20
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x38
mov r13, rcx
mov rsi, rdx
lea rcx, [0x140058940]
mov edx, 0x18
call sym.newObj
mov rcx, r13
mov rbx, rax
lea rax, [0x140058980]
mov qword [rbx], rax
mov r12, qword [rbx + 0x10]
call sym.copyStringRC1
mov qword [rbx + 0x10], rax
test r12, r12
je 0x14002ec80
mov rax, qword [r12 - 0x10]
lea rdx, [r12 - 0x10]
sub rax, 8
mov qword [r12 - 0x10], rax
cmp rax, 7
jbe 0x14002ed38
call sym.getDefaultSSL__pureZhttpclient_u233
xor ecx, ecx
mov r12, rax
call sym.newHttpHeaders__pureZhttpcore_u114
mov r8, r12
xor r9d, r9d
mov edx, 5
mov qword [rsp + 0x28], rax
lea rcx, [0x14003ba40]
mov qword [rsp + 0x20], 0xffffffffffffffff
call sym.newHttpClient__pureZhttpclient_u755
add qword [rbx - 0x10], 8
mov r12, rax
mov rax, qword [rax + 0x88]
test rax, rax
je 0x14002ecde
mov rdx, qword [rax - 0x10]
lea r8, [rax - 0x10]
sub rdx, 8
mov qword [rax - 0x10], rdx
cmp rdx, 7
jbe 0x14002ed20
lea rax, [sym.onProgressChanged__nimgrab_u7]
mov qword [r12 + 0x88], rbx
mov rcx, r12
mov r8, rsi
mov qword [r12 + 0x80], rax
mov rdx, qword [rbx + 0x10]
call sym.downloadFile__nimgrab_u16
mov edx, 1
lea rcx, [0x14003b9f0]
add rsp, 0x38
pop rbx
pop rsi
pop r12
pop r13
jmp sym.echoBinSafe
mov rax, qword [0x14003c8b0]
mov rdx, r8
lea rcx, [rax + 0x18]
call sym.addZCT__system_u5319
jmp 0x14002ecde
mov rax, qword [0x14003c8b0]
lea rcx, [rax + 0x18]
call sym.addZCT__system_u5319
jmp 0x14002ec80

Function at 0x14002ed50
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x20
call sym.nosparamCount
cmp rax, 2
jne 0x14002ed89
mov ecx, 1
call sym.nosparamStr
mov ecx, 2
mov r12, rax
call sym.nosparamStr
mov rcx, r12
mov rdx, rax
add rsp, 0x20
pop r12
jmp sym.syncDownload__nimgrab_u3
mov edx, 1
lea rcx, [0x14003ba80]
call sym.quit__system_u7215
nop
nop dword [rax + rax]

Function at 0x14002f100
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x20
call sym.nosparamCount
cmp rax, 2
jne 0x14002f139
mov ecx, 1
call sym.nosparamStr
mov ecx, 2
mov r12, rax
call sym.nosparamStr
mov rcx, r12
mov rdx, rax
add rsp, 0x20
pop r12
jmp sym.syncDownload__nimgrab_u3
mov edx, 1
lea rcx, [0x14003ba80]
call sym.quit__system_u7215
nop
nop dword [rax + rax]

Function at 0x14002f5c0
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sym.vfprintf
call sym.abort
nop
Function at 0x1400301f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140058b28]
test eax, eax
je 0x14003028a
lea rax, [0x140058b00]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140058b30]
mov qword [rbp - 8], rax
jmp 0x14003026e
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 0x140030262
cmp qword [rbp - 0x10], 0
je 0x140030262
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 0x140030228
lea rax, [0x140058b00]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14003028b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140030390
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 0x1400303b8
mov eax, 0
jmp 0x140030406
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 0x1400303e1
mov eax, 0
jmp 0x140030406
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 0x140030401
mov eax, 0
jmp 0x140030406
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14003040c
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 0x14003048a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140030481
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 0x140030481
mov rax, qword [rbp - 8]
jmp 0x14003049f
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 0x140030454
mov eax, 0
add rsp, 0x20
pop rbp
ret