joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400111e5
Capabilities:
Terminate process

Disassembly:
jmp 0x140012ca0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001125d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x1400117a0
push rbp
push rsi
push rdi
sub rsp, 0x270
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x64
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x248], rax
lea rcx, [0x14002109f]
call fcn.140011361
lea rax, [rbp + 0x10]
lea rcx, [0x140019c30]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x145
rep movsb byte [rdi], byte [rsi]
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x145
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x178], rax
mov r8d, 0x145
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x178]
call fcn.1400111a9
call qword [rbp + 0x178]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140019c00]
call fcn.1400112f8
mov eax, edi
mov rcx, qword [rbp + 0x248]
xor rcx, rbp
call fcn.1400111a4
lea rsp, [rbp + 0x250]
pop rdi
pop rsi
pop rbp
ret

Function at 0x140011267
Capabilities:
Parse pe header

Disassembly:
jmp 0x140013ff0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014010
xor al, al
jmp 0x140014091
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014023
xor al, al
jmp 0x140014091
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001404d
xor al, al
jmp 0x140014091
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014061
xor al, al
jmp 0x140014091
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014073
xor al, al
jmp 0x140014091
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001408f
xor al, al
jmp 0x140014091
mov al, 1
add rsp, 0x38
ret
Function at 0x14069d058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14069d1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14069d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14069d06f
add dl, dl
jne 0x14069d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14069d0f6
xor eax, eax
add dl, dl
jne 0x14069d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14069d1ad
add dl, dl
jne 0x14069d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14069d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14069d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14069d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14069d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14069d07e
mov eax, 1
add dl, dl
jne 0x14069d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14069d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14069d0fb
sub eax, ebx
mov ebx, 1
jne 0x14069d14c
mov ecx, 1
add dl, dl
jne 0x14069d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14069d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14069d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14069d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14069d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14069d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14069d15d
cmp eax, 0x7d00
jae 0x14069d19b
cmp eax, 0x500
jb 0x14069d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14069d07e
cmp eax, 0x7f
ja 0x14069d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14069d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14069d1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14069d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140004d40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140004d9d
lea rbx, [0x140079b40]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140004d84
cmp r10, 2
jb 0x140004d84
cmp byte [r9], r8b
jne 0x140004d84
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140004d60
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140004ddf
lea rbx, [0x140079b40]
cmp r8b, 0x23
jne 0x140004dc3
cmp byte [r9], r8b
jne 0x140004dc3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140004db0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140007220
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
movsxd rdi, edx
mov rbx, rcx
mov esi, edi
mov ebp, edi
mov r14d, edi
shr esi, 0x18
shr ebp, 0x10
shr r14d, 8
cmp dword [rcx + 0xc8], 0
jg 0x14000726b
mov r8d, 0x6c2
lea rdx, [0x140076330]
lea rcx, str.Size___0
call fcn.1400550b8
movsxd rcx, dword [rbx + 0xc8]
lea rdx, [0x140079b40]
mov rax, qword [rbx + 0xd0]
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r14b
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, bpl
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, esi
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov rax, qword [0x140091640]
xor ebx, dword [rdx + rcx*4]
not ebx
cmp dword [rax + 0x1c5c], ebx
jne 0x1400072db
mov dword [rax + 0x1c60], ebx
cmp dword [rax + 0x1c98], ebx
jne 0x1400072ea
mov byte [rax + 0x1c9c], 1
cmp dword [rax + 0x1c44], ebx
jne 0x140007301
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001a2f0
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140013a20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14008f040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140091640]
mov edi, edx
cmp byte [rbx + 0x1f7d], 0
jne 0x140013a81
cmp byte [rbx + 0x1f7e], 0
jne 0x140013a81
movsx r9d, word [rbx + 0x3056]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140004cc0
test dil, 1
je 0x140013ba8
jmp 0x140013b0a
movss xmm1, dword [rbx + 0x1618]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140080fb4]
xor eax, eax
mulss xmm1, dword [0x140080fa8]
addss xmm0, dword [rbx + 0x128]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1d20], rax
mov dword [rbx + 0x1d0c], 1
movss dword [rbx + 0x1d18], xmm0
movss dword [rbx + 0x1d1c], xmm1
movss xmm0, dword [rbx + 0x1674]
mulss xmm0, dword [0x140080ed4]
or dword [rbx + 0x1d08], 0x41
movss dword [rbx + 0x1d68], xmm0
movsx r9d, word [rbx + 0x3056]
call fcn.140004cc0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013b60
lea r11, [0x140079b40]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140013b43
cmp byte [r8], r9b
jne 0x140013b43
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140013b30
not ecx
call fcn.14000c7f0
test rax, rax
je 0x140013ba8
cmp byte [rax + 0x8e], 0
je 0x140013ba8
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x3056]
mov edx, 0x10
movsx r9d, word [rbx + 0x3056]
call fcn.140004cc0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000eef0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400401b0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140018f80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x140091640]
cmp byte [rbx + 0x3091], 0
jne 0x1400190c2
cmp dword [rbx + 0x30b8], 0
je 0x140018fca
mov r8d, 0x29b6
lea rdx, [0x140076470]
lea rcx, str.g.SettingsWindows.empty__
call fcn.1400550b8
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400190bb
lea rdx, [0x140079628]
call fcn.140004df0
mov rdi, rax
test rax, rax
je 0x1400190bb
mov rcx, rax
call fcn.14004db60
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400190b3
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.14004e55c
test eax, eax
jne 0x1400190b3
mov rcx, rdi
call fcn.14004db60
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400190b3
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call fcn.14004e55c
test eax, eax
jne 0x1400190b3
cmp rsi, 0xffffffffffffffff
je 0x1400190b3
mov rax, qword [0x140091640]
test rax, rax
je 0x140019055
inc dword [rax + 0x3b0]
mov rcx, rsi
call fcn.1400551c4
mov rbp, rax
test rax, rax
je 0x1400190b3
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call fcn.14004f2e4
mov rcx, rdi
cmp rax, rsi
je 0x140019087
call fcn.14004e240
jmp 0x140019097
call fcn.14004e240
mov rdx, rsi
mov rcx, rbp
call fcn.140019350
mov rax, qword [0x140091640]
test rax, rax
je 0x1400190a9
dec dword [rax + 0x3b0]
mov rcx, rbp
call fcn.14004f070
jmp 0x1400190bb
mov rcx, rdi
call fcn.14004e240
mov byte [rbx + 0x3091], 1
movss xmm0, dword [rbx + 0x3094]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001914f
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x3094], xmm0
jb 0x14001914f
mov rdi, qword [rbx + 0x20]
xor ebp, ebp
test rdi, rdi
je 0x140019142
mov rax, qword [0x140091640]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x3094], ebp
call fcn.140019830
lea rdx, [0x14007962c]
mov rcx, rdi
mov rsi, rax
call fcn.140004df0
mov rdi, rax
test rax, rax
je 0x140019149
mov r8, qword [rsp + 0x30]
lea edx, [rbp + 1]
mov r9, rax
mov rcx, rsi
call fcn.14004eef4
mov rcx, rdi
call fcn.14004e240
jmp 0x140019149
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x3094], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14003e320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x14008f040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
movaps xmm6, xmm2
mov ebx, edx
test al, al
je 0x14003e367
nop
cmp al, 0x25
jne 0x14003e35c
cmp byte [rcx + 1], al
jne 0x14003e367
inc rcx
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x14003e350
cmp byte [rcx], 0x25
jne 0x14003e449
cmp byte [rcx + 1], 0x25
je 0x14003e449
lea rdx, [rsp + 0x20]
call fcn.140033ed0
xorps xmm3, xmm3
lea r8, [rsp + 0x20]
cvtss2sd xmm3, xmm6
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.140004cc0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x14003e3b8
inc rcx
cmp byte [rcx], 0x20
je 0x14003e3b0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14003e438
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x14003e3d3
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x14003e3e9
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x14003e426
movss xmm2, dword [0x140080fac]
cmp al, 0x39
ja 0x14003e426
movzx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x14003e400
cmp r9b, 0x2d
jne 0x14003e444
xorps xmm1, xmmword [0x140081150]
movaps xmm0, xmm1
jmp 0x14003e44c
call fcn.140055bdc
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14003e44c
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400401b0
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
ret
Function at 0x14003e470
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x14008f040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
movaps xmm6, xmm2
mov ebx, edx
test al, al
je 0x14003e4b7
nop
cmp al, 0x25
jne 0x14003e4ac
cmp byte [rcx + 1], al
jne 0x14003e4b7
inc rcx
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x14003e4a0
cmp byte [rcx], 0x25
jne 0x14003e593
cmp byte [rcx + 1], 0x25
je 0x14003e593
lea rdx, [rsp + 0x20]
call fcn.140033ed0
movaps xmm3, xmm6
lea r8, [rsp + 0x20]
movq r9, xmm6
lea rcx, [rsp + 0x40]
mov edx, 0x40
call fcn.140004cc0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x14003e508
nop dword [rax]
inc rcx
cmp byte [rcx], 0x20
je 0x14003e500
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14003e586
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x14003e523
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x14003e539
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x14003e574
movsd xmm2, qword [0x140080f70]
cmp al, 0x39
ja 0x14003e574
movzx eax, al
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x14003e550
cmp r9b, 0x2d
jne 0x14003e58e
xorps xmm1, xmmword [0x140081140]
movaps xmm0, xmm1
jmp 0x14003e596
call fcn.140055bdc
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14003e596
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400401b0
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
ret

Function at 0x140040f00
Capabilities:
Parse pe header

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

Disassembly:
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 0x140046e63
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140046e63
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140046e63
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140046e63
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140046e63
cmp dword [rcx + 0x84], 0xe
jbe 0x140046e63
cmp dword [rcx + 0xf8], 0
je 0x140046e63
mov ecx, ebx
call fcn.140046f14
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.140046cf0
nop
cmp dword [rbp + 0x20], 0
je 0x140046eb1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140046ebc
int3
xor r8d, r8d
xor edx, edx
jmp 0x140046df4

Function at 0x140047890
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400478c7
call fcn.140057b00
mov dword [rax], 0x16
call fcn.1400473f0
xor eax, eax
jmp 0x140047955
mov rdx, r9
mov rcx, r8
call fcn.14004782c
mov rbx, rax
test rax, rax
je 0x140047952
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140047758]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14004793f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140057a74
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140047926
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140047935
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140058298
jmp 0x140047952
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14004794f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14004d97c
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.140064ae0
sub rsp, rax
mov rax, qword [0x14008f040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14005a4f0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14004d9cb
mov rax, rbp
jmp 0x14004dad3
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 + 0x91160]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14005aa78
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x91160]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14004dacf
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004dacf
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14005aa78
test rax, rax
js 0x14004dacf
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14004dacf
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14004dac1
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14004dac1
cmp byte [rcx], 0xd
jne 0x14004daa7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14004dab6
cmp byte [rcx + 1], 0xa
jne 0x14004dab6
inc rcx
jmp 0x14004dab6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x8f3b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14004da89
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14004dad3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400401b0
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 0x14005ab24
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
lea r9, [0x140091160]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14005ab7b
cmp word [rdx], r13w
jne 0x14005ab7b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14005ab80
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14005aca5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14005acc6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14005abb9
mov rdx, r9
mov word [rbx], cx
jmp 0x14005abe0
cmp r9, r8
jae 0x14005abf0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14005ab9a
jmp 0x14005aca5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005ac9a
cmp dword [rsp + 0x80], esi
je 0x14005ac9a
lea r8, [0x140091160]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14005ac72
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14005ac42
mov word [rbx], r13w
jmp 0x14005aca2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14005ac4f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14005aca2
cmp word [rsp + 0x70], r13w
jne 0x14005ac7f
cmp rbx, r14
je 0x14005ac3c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14005aa80
cmp word [rsp + 0x70], r13w
je 0x14005aca5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
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
lea r8, [0x140091160]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14005ac9f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14005aca5
Function at 0x14005ccc8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14005ccde
mov al, 1
jmp 0x14005cd3e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14005ccef
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14005cd3c
mov ecx, dword [rcx + 0x18]
nop
call fcn.14005f854
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005cd3c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14005cd3c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14005cd3c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14005cd3e
xor al, al
add rsp, 0x20
pop rbx
ret