joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140038010
Capabilities:
Get thread local storage value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1400f7368]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, r8
mov rsi, rdx
mov rbx, rcx
xor r14d, r14d
mov qword [rdx], r14
mov qword [rdx + 8], r14
mov rax, qword [rcx]
mov rcx, qword [rax]
test rcx, rcx
je 0x14003806a
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rax
mov rax, qword [rax]
mov qword [rsi], rax
mov rax, qword [rcx + 8]
mov qword [rsi + 8], rax
mov rax, qword [rbx]
mov qword [rax], r14
cmp rbp, qword [rsi + 8]
ja 0x140038079
test byte [rsi], 7
je 0x1400381a7
mov ebx, 6
cmp qword [rsi], r14
je 0x1400380d0
mov ecx, dword [0x1401000b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003809a
mov rdx, qword [rax + 8]
jmp 0x14003809d
mov rdx, r14
mov r9, qword [rsi + 8]
mov r8, qword [rsi]
cmp r9, 0x3fc
ja 0x1400380c8
test rdx, rdx
je 0x1400380c8
mov ecx, ebx
mov rax, rbx
cmp qword [rdx + rax*8], r14
je 0x140038136
inc ecx
inc rax
cmp rax, 8
jl 0x1400380b7
mov rcx, r8
call fcn.1400944d4
mov ecx, dword [0x1401000b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rdi, [rbp + 3]
shr rdi, 2
test rax, rax
je 0x140038162
mov r9, qword [rax + 8]
test r9, r9
je 0x140038162
mov ecx, ebx
lea r8, [r9 + 0x30]
mov rdx, qword [r8]
test rdx, rdx
je 0x14003810d
movzx eax, byte [rdx]
cmp rax, rdi
jb 0x14003810d
test dl, 7
je 0x140038147
inc ecx
add r8, 8
cmp ecx, 8
jl 0x1400380f8
mov rax, rbx
nop dword [rax + rax]
mov rcx, qword [r9 + rax*8]
test rcx, rcx
jne 0x140038156
inc ebx
inc rax
cmp rax, 8
jl 0x140038120
jmp 0x140038162
movzx eax, byte [r8 + r9]
mov byte [r8], al
movsxd rax, ecx
mov qword [rdx + rax*8], r8
jmp 0x1400380d0
movsxd rax, ecx
mov qword [r9 + rax*8], r14
movzx eax, byte [rdx]
mov byte [rdx + rbp], al
jmp 0x1400381a0
movsxd rax, ebx
mov qword [r9 + rax*8], r14
call fcn.1400944d4
lea rcx, [rdi*4 + 1]
mov r8, rcx
and r8d, 0xf
mov eax, 0x10
sub rax, r8
add rcx, rax
mov edx, 0x10
call fcn.1400944f0
mov rdx, rax
test rax, rax
je 0x1400381c2
movzx ecx, dil
cmp rdi, 0xff
cmova ecx, r14d
mov byte [rax + rbp], cl
mov qword [rsi], rdx
mov qword [rsi + 8], rbp
mov rax, rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14008c930
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, [rsp + 0x20]
call fcn.1400374f0
nop
lea rcx, [rsp + 0x20]
call fcn.14003d960
int3
Function at 0x140039c40
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov ecx, dword [0x1401000b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140039c67
mov r8, qword [rax + 8]
jmp 0x140039c6a
xor r8d, r8d
cmp rdi, 0x3fc
ja 0x140039c92
test r8, r8
je 0x140039c92
mov ecx, 2
mov eax, ecx
nop
cmp qword [r8 + rax*8], 0
je 0x140039ca4
inc ecx
inc rax
cmp rax, 4
jl 0x140039c80
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400944d4
movzx eax, byte [rbx + rdi]
mov byte [rbx], al
movsxd rax, ecx
mov qword [r8 + rax*8], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140039cc0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400f7368]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rcx
mov ecx, dword [0x1401000b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor esi, esi
lea rbx, [rdi + 3]
shr rbx, 2
test rax, rax
je 0x140039d67
mov r10, qword [rax + 8]
test r10, r10
je 0x140039d67
mov r9d, 2
mov ecx, r9d
lea r8, [r10 + 0x10]
mov rdx, qword [r8]
test rdx, rdx
je 0x140039d27
movzx eax, byte [rdx]
cmp rax, rbx
jb 0x140039d27
test dl, 0xf
je 0x140039d4c
inc ecx
add r8, 8
cmp ecx, 4
jl 0x140039d12
mov rax, r9
mov rcx, qword [r10 + rax*8]
test rcx, rcx
jne 0x140039d5b
inc r9d
inc rax
cmp rax, 4
jl 0x140039d35
jmp 0x140039d67
movsxd rax, ecx
mov qword [r10 + rax*8], rsi
movzx eax, byte [rdx]
mov byte [rdx + rdi], al
jmp 0x140039da3
movsxd rax, r9d
mov qword [r10 + rax*8], rsi
call fcn.1400944d4
lea rcx, [rbx*4 + 1]
mov r8, rcx
and r8d, 0xf
mov eax, 0x10
sub rax, r8
add rcx, rax
mov edx, 0x10
call fcn.1400944f0
mov rdx, rax
test rax, rax
je 0x140039dc3
movzx ecx, bl
cmp rbx, 0xff
cmova ecx, esi
mov byte [rax + rdi], cl
mov rax, rdx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14008c930
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.1400374f0
nop
lea rcx, [rsp + 0x20]
call fcn.14003d960
int3
Function at 0x14003ecd0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x1400f7368]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
mov qword [rbp - 0x69], rdi
lea rax, [0x1400f7fb0]
mov qword [rbp - 0x61], rax
mov rbx, qword [rcx + 0x18]
mov eax, edi
lock xadd dword [rbx + 0x30], eax
test eax, eax
jne 0x14003ed22
mov rcx, rbx
call fcn.140038b80
jmp 0x14003edf0
mov dword [rbp + 0x27], edi
lea rcx, [rbp + 0x2f]
call fcn.14007fa4c
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
xor eax, eax
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rax
lea rax, [rbx + 0x28]
test rbx, rbx
cmove rax, rdi
mov qword [rbp - 0x59], rax
lea rax, [rbp - 0x39]
mov qword [rbp - 0x51], rax
mov ecx, dword [0x1401000b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x59]
mov ecx, dword [0x1401000b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r9, [rbp - 0x69]
lea r8, [rbp - 0x39]
mov rcx, rbx
call fcn.140038de0
test rax, rax
je 0x14003edb5
lea r9, [rbp - 0x69]
lea r8, [rbp - 0x39]
mov rcx, rbx
call fcn.140038de0
test rax, rax
jne 0x14003eda0
mov rdx, qword [rbp - 0x49]
mov ecx, dword [0x1401000b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rbx, [rbp - 0x39]
mov edi, 0xc
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003eddd
call fcn.1400944d4
add rbx, 8
sub rdi, 1
jne 0x14003edd0
lea rcx, [rbp + 0x2f]
call fcn.14007fad8
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14008c930
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140040d50
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x140040da9
lea rcx, [rsi + 0x88]
cmp qword [rcx + 0x20], 0
je 0x140040d83
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
cmp qword [rsi + 0x70], 0
je 0x140040d98
mov rax, qword [rsi + 0x68]
mov rdx, qword [rax]
lea rcx, [rsi + 0x50]
call rdx
nop
lea rcx, [rsi + 0x48]
call fcn.140040580
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140040df2
mov ecx, dword [0x1401000b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140040de2
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140040de2
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x140040e02
inc ecx
inc rax
cmp rax, 2
jl 0x140040dd0
mov rcx, rbx
call fcn.1400944d4
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0xc0]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
jmp 0x140040dea

Function at 0x140041310
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400f7368]
xor rax, rsp
mov qword [rbp - 8], rax
cmp qword [rcx + 0x20], 0
jne 0x140041365
cmp qword [rcx + 0x58], 0
jne 0x140041365
mov rcx, rdx
call fcn.140041570
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14008c930
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
lea rbx, [rcx + 0x38]
cmp qword [rbx + 0x20], 0
je 0x140041456
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14004139b
lea rcx, [0x140041c60]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rdx
lea rdx, [rbp - 0x30]
mov rcx, rbx
call rax
jmp 0x140041346
mov rdi, qword [rcx + 0x10]
mov rax, qword [rdx]
xor esi, esi
mov qword [rdx], rsi
mov qword [rbp - 0x50], rax
movups xmm0, xmmword [rdx + 8]
movups xmmword [rbp - 0x48], xmm0
mov rax, qword [rdx + 0x18]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x20], rax
mov ecx, dword [0x1401000b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400413e2
mov rdx, qword [rax + 8]
jmp 0x1400413e5
mov rdx, rsi
mov r8d, 0x30
call fcn.140041c70
mov qword [rbp - 0x10], rsi
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x50], rsi
mov qword [rax + 8], rcx
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rax + 0x10], xmm0
mov rcx, qword [rbp - 0x38]
mov qword [rax + 0x20], rcx
lea rcx, [0x140041e00]
mov qword [rax], rcx
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x18], rsi
lea rcx, [rbp - 0x20]
call fcn.140041af0
nop
lea rcx, [rbp - 0x50]
call fcn.140040580
nop
lea rdx, [rbp - 0x58]
mov rcx, rbx
call rdi
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140041451
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x140041346
lea rcx, [rbp - 0x20]
call fcn.140037d90
nop
lea rcx, [rbp - 0x20]
call fcn.14003daa0
int3
Function at 0x1400416f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x1400f7368]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
xor esi, esi
lea rdx, [rbp - 0x49]
call fcn.140037f50
nop
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x11]
call fcn.1400419f0
mov rdi, rax
mov rdx, qword [rbx]
mov qword [rbx], rsi
mov qword [rbp - 0x69], rdx
cmp qword [rax + 0x20], rsi
je 0x14004186a
mov rcx, qword [rax + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140041773
lea rcx, [0x140041c40]
mov qword [rbp - 0x59], rcx
lea rcx, [rbp - 0x69]
mov qword [rbp - 0x51], rcx
lea rdx, [rbp - 0x59]
mov rcx, rdi
call rax
jmp 0x14004180e
mov rbx, qword [rcx + 0x10]
mov qword [rbp - 0x69], rsi
mov qword [rbp - 0x71], rdx
lea rax, [rbp - 0x71]
mov qword [rbp - 0x59], rax
lea rax, [rbp - 0x79]
mov qword [rbp + 0x27], rax
mov ecx, dword [0x1401000b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400417a6
mov rdx, qword [rax + 8]
jmp 0x1400417a9
mov rdx, rsi
mov r8d, 0x18
call fcn.140041c70
mov qword [rbp + 0x37], rsi
mov rcx, qword [rbp - 0x71]
mov qword [rbp - 0x71], rsi
mov qword [rax + 8], rcx
lea rcx, [0x140041d80]
mov qword [rax], rcx
mov qword [rbp - 0x61], rax
mov qword [rbp + 0x2f], rsi
lea rcx, [rbp + 0x27]
call fcn.140041b90
nop
mov rax, qword [rbp - 0x71]
test rax, rax
je 0x1400417f3
mov rdx, qword [rax]
mov rcx, rdx
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
lea rdx, [rbp - 0x61]
mov rcx, rdi
call rbx
nop
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14004180e
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp - 0x69]
test rax, rax
je 0x140041821
mov rdx, qword [rax]
mov rcx, rdx
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
cmp qword [rbp + 0xf], 0
je 0x140041836
mov rax, qword [rbp + 7]
mov rdx, qword [rax]
lea rcx, [rbp - 0x11]
call rdx
nop
cmp qword [rbp - 0x29], 0
je 0x14004184b
mov rax, qword [rbp - 0x31]
mov rdx, qword [rax]
lea rcx, [rbp - 0x49]
call rdx
nop
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14008c930
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp + 0x27]
call fcn.140037d90
nop
lea rcx, [rbp + 0x27]
call fcn.14003daa0
int3
Function at 0x140041880
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400f7368]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 8]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x78]
test rbx, rbx
je 0x14004191e
mov rcx, qword [rbx]
test rcx, rcx
je 0x14004191e
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x50], rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, dword [0x1401000b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400418d4
mov rdx, qword [rax + 8]
jmp 0x1400418d6
xor edx, edx
mov r9, qword [rsp + 0x28]
mov rdi, rbx
mov r8, qword [rsp + 0x20]
cmp r9, 0x3fc
ja 0x14004190a
test rdx, rdx
je 0x14004190a
mov ecx, 6
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x140041931
inc ecx
inc rax
cmp rax, 8
jl 0x1400418f8
mov rcx, r8
call fcn.1400944d4
mov qword [rdi], 0
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14008c930
add rsp, 0x40
pop rbx
ret
movzx eax, byte [r8 + r9]
mov byte [r8], al
movsxd rax, ecx
mov qword [rdx + rax*8], r8
jmp 0x140041912

Function at 0x140041af0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140041b17
add rcx, 8
call fcn.140040580
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140041b63
mov ecx, dword [0x1401000b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140041b53
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140041b53
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x140041b6e
inc ecx
inc rax
cmp rax, 6
jl 0x140041b41
mov rcx, rbx
call fcn.1400944d4
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x30]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret

Function at 0x140041b90
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rdi, rcx
test rax, rax
je 0x140041bc0
mov rax, qword [rax + 8]
test rax, rax
je 0x140041bb8
mov rax, qword [rax]
mov rcx, rax
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140041c12
mov ecx, dword [0x1401000b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140041c02
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140041c02
mov ecx, 4
mov eax, ecx
nop word [rax + rax]
cmp qword [rdx + rax*8], 0
je 0x140041c1d
inc ecx
inc rax
cmp rax, 6
jl 0x140041bf0
mov rcx, rbx
call fcn.1400944d4
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x18]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret
Function at 0x140042ad0
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1400f7368]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.1400428c0
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
cmp eax, 1
jne 0x140042c21
mov ecx, 0x20027
call fcn.14008ca70
test rax, rax
je 0x140042c31
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
mov qword [rsp + 0x28], rbx
lea rax, [rbx + 0x20000]
mov qword [rsp + 0x38], rax
mov eax, 0x1000
xor ecx, ecx
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 7
mov word [rbx], cx
add rbx, 0x20
sub rax, 1
jne 0x140042b50
mov rdx, rbx
mov rcx, rbx
call fcn.140044db0
mov qword [rsp + 0x30], rbx
mov rdx, qword [rsp + 0x28]
sub rbx, rdx
sar rbx, 5
add ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x20]
call qword [sym.imp.MPR.dll_WNetGetConnectionW]
lea rcx, [rsp + 0x28]
test eax, eax
je 0x140042bc6
cmp eax, 0x4b1
je 0x140042bc6
call fcn.140044780
xor bl, bl
jmp 0x140042bcd
call fcn.140044780
mov bl, 1
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140042c0b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042c06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042c37
call fcn.14008ccfc
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14008c930
add rsp, 0x70
pop rbx
ret
dec eax
cmp eax, 3
jbe 0x140042bcb
cmp ecx, 7
jae 0x140042bcb
xor bl, bl
jmp 0x140042bcd
call fcn.14009445c
nop
call fcn.14009445c
int3
Function at 0x140043a70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x140043b08
test r8, r8
jle 0x140043b00
nop word [rax + rax]
mov rcx, rdi
call fcn.14003c180
test rax, rax
jle 0x140043ade
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov rax, qword [rdi + 0x40]
mov r8, rsi
mov rcx, qword [rax]
call fcn.14008f0e0
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x140043af8
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140043b00
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x140043aa0
sub r14, rbx
mov rax, r14
jmp 0x140043b86
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x140043b21
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140043b23
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x140043b7b
test ecx, ecx
jle 0x140043b5c
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.14008f0e0
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x140043b7b
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140043b7b
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.140097ed8
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140043ba0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140043bc2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140043c3c
mov rdi, r14
mov rcx, rbx
call fcn.14003c1a0
test rax, rax
jle 0x140043c14
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.14008f0e0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140043c2c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140043c34
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140043bd6
sub r14, rdi
jmp 0x140043d1f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140043c53
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140043c55
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140043c87
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14008f0e0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140043d1c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140043cc2
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x140043cfd
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140098580
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140043d1c
cmp rbp, rax
ja 0x140043cd0
test rbp, rbp
je 0x140043d1c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140098580
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x140044180
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400f7368]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400441ad
xor eax, eax
jmp 0x1400442fb
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400441e7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400441e7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400442fb
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400442ee
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14004422a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140044239
movsx ecx, dil
jmp 0x14004428d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x1400442a7
sub eax, 1
je 0x1400442a7
cmp eax, 2
jne 0x1400442ee
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.140097394
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400442f3
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400442d4
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.140097ed8
cmp rsi, rax
jne 0x1400442ee
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400442f3
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14008c930
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret