joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007090
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x138
mov rax, qword [0x1400490b0]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov eax, dword [0x14004b2dc]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [rsp + 0x20], 2
jge 0x140007109
lea rcx, [rsp + 0x28]
call fcn.1400067c0
mov rdx, qword [str.NitroDriverReadSpool10]
lea r8, [0x140006e40]
lea rcx, [rsp + 0x28]
call fcn.140006950
lea rcx, [rsp + 0x28]
call fcn.140006cf0
lea rcx, [rsp + 0x28]
call fcn.140006820
jmp 0x1400071e6
mov qword [rsp + 0x130], rdi
mov edi, 1
cmp dword [rsp + 0x20], edi
jle 0x1400071de
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x148], rsi
mov esi, 0xfffd
lea rbx, [rax + 8]
nop dword [rax]
mov rcx, qword [rbx]
movzx eax, word [rcx]
sub ax, 0x2d
test si, ax
jne 0x1400071be
lea rdx, str.install
add rcx, 2
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140007177
call fcn.140006f40
movzx ecx, al
dec ecx
jne 0x1400071be
call fcn.140008200
jmp 0x1400071be
mov rcx, qword [rbx]
lea rdx, str.uninstall
add rcx, 2
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140007196
call fcn.140006fe0
jmp 0x1400071be
lea rdx, str.ReadSpoolService___Unknown_command_n____install_n____uninstall
lea rcx, [rsp + 0x50]
call fcn.140007060
mov r8, qword [str.NitroPDFDriverCreatorReadSpool10]
lea rdx, [rsp + 0x50]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
inc edi
add rbx, 8
cmp edi, dword [rsp + 0x20]
jl 0x140007140
mov rsi, qword [rsp + 0x148]
mov rbx, qword [rsp + 0x140]
mov rdi, qword [rsp + 0x130]
xor eax, eax
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140008de0
add rsp, 0x138
ret

Function at 0x140007a70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x1400490b0]
xor rax, rsp
mov qword [rsp + 0x450], rax
cmp word [0x14004af40], 0
mov esi, edx
mov rdi, rcx
je 0x140007b80
xor r9d, r9d
mov qword [rsp + 0x30], 0
lea rcx, [0x14004af40]
lea r8d, [r9 + 3]
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x480], rbx
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140007b78
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x50], 0
call fcn.14000afa0
lea rdx, str._s__err___u
lea rcx, [rsp + 0x50]
mov r9d, esi
mov r8, rdi
call fcn.14000bf24
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rax, [rsp + 0x50]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140007b40
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140008de0
mov rsi, qword [rsp + 0x488]
add rsp, 0x460
pop rdi
ret
Function at 0x140003f84
Capabilities:
Parse pe header

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

Function at 0x1400079e8
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 0x140007a57
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007a57
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007a57
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007a57
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007a57
cmp dword [rcx + 0x84], 0xe
jbe 0x140007a57
cmp dword [rcx + 0xf8], 0
je 0x140007a57
mov ecx, ebx
call fcn.140007b08
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.1400078e4
nop
cmp dword [rbp + 0x20], 0
je 0x140007aa5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140007ab0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400079e8

Function at 0x140007bec
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400079e8
Function at 0x14000ad64
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000ad94
xor eax, eax
jmp 0x14000ae57
mov rbp, rbx
cmp word [rax], si
je 0x14000adb9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000ada0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000ad9c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000ac84
movsxd r14, eax
test eax, eax
jne 0x14000adf7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000ad8d
mov rcx, r14
call fcn.140008b48
mov rdi, rax
test rax, rax
jne 0x14000ae10
xor ecx, ecx
call fcn.140008b0c
jmp 0x14000adec
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000ac84
test eax, eax
jne 0x14000ae41
mov rcx, rdi
call fcn.140008b0c
jmp 0x14000ae4b
xor ecx, ecx
call fcn.140008b0c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400104e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140010508
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140010508
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1808c40b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1808c4237
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 0x1808c40e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808c40c7
add dl, dl
jne 0x1808c40ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808c414e
xor eax, eax
add dl, dl
jne 0x1808c40fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808c4205
add dl, dl
jne 0x1808c410e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808c411b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808c4128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808c4135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1808c4142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1808c40d6
mov eax, 1
add dl, dl
jne 0x1808c415e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808c416b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1808c4153
sub eax, ebx
mov ebx, 1
jne 0x1808c41a4
mov ecx, 1
add dl, dl
jne 0x1808c4186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1808c4193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1808c417b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1808c40d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1808c41c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1808c41cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1808c41b5
cmp eax, 0x7d00
jae 0x1808c41f3
cmp eax, 0x500
jb 0x1808c41ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1808c40d6
cmp eax, 0x7f
ja 0x1808c41f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1808c40d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1808c422a
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 0x1808c40d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov cl, 0xff
invalid
cmp bh, bh
xor byte [rsi], ah
invalid
outsb dx, byte [rsi]
invalid
invalid
cmp dword [rsi + 0x7a], 0xffffffff
insb byte [rdi], dx
invalid
jmp [rsi + riz*2 + 0x63]
scasb al, byte [rdi]
jmp qword [rbp - 0x5300595c]
movabs al, byte [0xa2a0a1ffa5a2a3ff]
jmp qword [rbp - 0x6a00565c]
movabs byte [0x9d9495ffa9a4a5ff], al
call qword [rdi - 0x68005e68]
cwde
movabs byte [0x917468ff96847eff], al
push 0x5fff9174
push 0xffffffffffffff8a
push qword [rcx + 0x76]
push 0x5fff9174
push 0xffffffffffffff8a
push qword [rcx + 0x76]
invalid
add dword [rdi + rdx*4 - 0x5f737b01], 0xffffffff
jle 0x14003f6a6
test al, 0xff
insd dword [rdi], dx
jp 0x14003f6cb
jmp qword [rbx + 0x74]
adc al, 6
add bh, bh
adc al, 6
add bh, bh
adc al, 6
add bh, bh
adc al, 6
add bh, bh
adc al, 6
add bh, bh
and byte [0x15c29f6ab], dl
ud0
Function at 0x180004ce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov byte [rsp + 8], cl
push rsi
push rdi
sub rsp, 0x58
mov eax, 3
mov word [rsp + 4], ax
lea rax, [rsp + 0x20]
lea rcx, str.xmBqZQaJGgXpvjOUDMsThPVtdiwWCEFIRHfy
mov rdi, rax
mov rsi, rcx
mov ecx, 0x25
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x10], 6
mov qword [rsp + 0x18], 0
mov dword [rsp + 8], 3
mov byte [rsp + 2], 0x62
mov byte [rsp + 1], 0
jmp 0x180004d48
movzx eax, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x180004dcb
mov byte [rsp], 0
jmp 0x180004d61
movzx eax, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x180004dc6
movzx eax, byte [rsp + 1]
mov rcx, qword [rsp + 0x78]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp]
movzx edx, byte [rsp + 0x70]
shl edx, 2
movzx edi, byte [rsp + 1]
shl edi, 2
lea edx, [rdi + rdx*4]
movzx edi, byte [rsp]
add edx, edi
movsxd rdx, edx
mov rdi, qword [rsp + 0x80]
movzx edx, byte [rdi + rdx]
movzx eax, byte [rax + rcx]
xor eax, edx
movzx ecx, byte [rsp]
movzx edx, byte [rsp + 1]
mov rdi, qword [rsp + 0x78]
lea rdx, [rdi + rdx*4]
mov byte [rdx + rcx], al
mov byte [rsp + 3], 0x49
jmp 0x180004d58
jmp 0x180004d3d
add rsp, 0x58
pop rdi
pop rsi
ret

Function at 0x180004de0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x58
mov byte [rsp + 2], 0x79
mov dword [rsp + 0x14], 1
mov eax, 3
mov word [rsp + 8], ax
mov byte [rsp + 3], 0
mov byte [rsp + 1], 0
jmp 0x180004e19
movzx eax, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x180004ebc
mov byte [rsp], 0
jmp 0x180004e36
movzx eax, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x180004eb7
movzx eax, byte [rsp]
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp + 1]
movzx eax, byte [rax + rcx]
lea rcx, [0x18004fd40]
movzx edx, byte [rsp]
mov r8, qword [rsp + 0x70]
lea rdx, [r8 + rdx*4]
movzx r8d, byte [rsp + 1]
movzx eax, byte [rcx + rax]
mov byte [rdx + r8], al
mov qword [rsp + 0x18], 0
mov eax, 4
mov word [rsp + 0xc], ax
mov eax, 6
mov word [rsp + 0x10], ax
mov byte [rsp + 4], 0
lea rax, [rsp + 0x20]
lea rcx, str.NpQVUaSOCBigKXMJzRkTlYrvofmjuhbEGADs
mov rdi, rax
mov rsi, rcx
mov ecx, 0x25
rep movsb byte [rdi], byte [rsi]
jmp 0x180004e2d
jmp 0x180004e0e
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x180005b10
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1a8
mov rax, qword [0x180056080]
xor rax, rsp
mov qword [rsp + 0x198], rax
mov byte [rsp + 0x28], 0x52
mov eax, 7
mov word [rsp + 0x30], ax
mov qword [rsp + 0x80], 0
mov byte [rsp + 0x29], 0
mov qword [rsp + 0x88], 7
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x64], 2
mov eax, 2
mov word [rsp + 0x34], ax
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x98], 1
lea rax, [rsp + 0x158]
lea rcx, str.NFozBOJnHtCQcEusZPlkiXhRgwdveqmfYAGSaDVTMryLU
mov rdi, rax
mov rsi, rcx
mov ecx, 0x2e
rep movsb byte [rdi], byte [rsi]
mov eax, 5
mov word [rsp + 0x38], ax
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0x10
jmp 0x180005bf0
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x1d0]
cmp dword [rsp + 0x24], eax
jae 0x180005e61
lea rax, [rsp + 0x188]
mov rcx, qword [rsp + 0x1c0]
mov rdi, rax
lea rsi, [rcx + 0xb0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, 5
mov word [rsp + 0x3c], ax
mov byte [rsp + 0x2a], 0x6f
mov dword [rsp + 0x6c], 9
mov qword [rsp + 0xa8], 0
mov rax, qword [rsp + 0x1c0]
mov rdx, rax
lea rcx, [rsp + 0x188]
call fcn.1800058d0
mov eax, 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x20], 0xf
jmp 0x180005c7b
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x180005da2
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1c0]
movzx eax, byte [rcx + rax + 0xb0]
cmp eax, 0xff
jne 0x180005d46
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1c0]
mov byte [rcx + rax + 0xb0], 0
mov qword [rsp + 0xb0], 3
mov byte [rsp + 0x2b], 0
lea rax, [rsp + 0xf0]
lea rcx, str.naxBLRAlgwhJSPopOIbQMqdGVW
mov rdi, rax
mov rsi, rcx
mov ecx, 0x1b
rep movsb byte [rdi], byte [rsi]
xor eax, eax
mov word [rsp + 0x44], ax
mov qword [rsp + 0xb8], 0
jmp 0x180005c71
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1c0]
movzx eax, byte [rcx + rax + 0xb0]
inc eax
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x1c0]
mov byte [rdx + rcx + 0xb0], al
jmp 0x180005da2
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x130]
lea rcx, str.QTzkOIhmVMZrLcCjWgEuoPwiapxYlJSeAsf
mov rdi, rax
mov rsi, rcx
mov ecx, 0x24
rep movsb byte [rdi], byte [rsi]
mov eax, 6
mov word [rsp + 0x54], ax
mov byte [rsp + 0x2e], 0
mov qword [rsp + 0xd8], 5
mov dword [rsp + 0x74], 4
mov qword [rsp + 0xe0], 0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x1c8]
movzx eax, byte [rcx + rax]
movsxd rcx, dword [rsp + 0x20]
movzx ecx, byte [rsp + rcx + 0x188]
xor eax, ecx
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x1c8]
mov byte [rdx + rcx], al
mov qword [rsp + 0xe8], 0
mov eax, 9
mov word [rsp + 0x58], ax
mov dword [rsp + 0x78], 6
mov byte [rsp + 0x2f], 0x50
mov eax, 5
mov word [rsp + 0x5c], ax
movzx eax, word [0x18004dd4c]
mov word [rsp + 0x60], ax
jmp 0x180005bdc
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.18001c7b0
add rsp, 0x1a8
pop rdi
pop rsi
ret
Function at 0x1800063f0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1e8
mov rax, qword [0x180056080]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x38], 0
mov byte [rsp + 0x24], 0x70
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x98], 0
mov eax, 5
mov word [rsp + 0x40], ax
xor eax, eax
mov word [rsp + 0x44], ax
mov byte [rsp + 0x25], 0x6b
mov qword [rsp + 0xa0], 3
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1800064b3
xor eax, eax
jmp 0x1800066b6
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x200]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp dword [rax], 0x4550
je 0x180006506
mov rax, qword [rsp + 0x38]
jmp 0x1800066b6
lea rax, [rsp + 0xe0]
mov rcx, qword [rsp + 0x60]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
cmp dword [rsp + rax + 0x150], 0
jne 0x18000654b
mov rax, qword [rsp + 0x38]
jmp 0x1800066b6
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x150]
mov rcx, qword [rsp + 0x200]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x200]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x200]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov eax, 3
mov word [rsp + 0x4c], ax
mov dword [rsp + 0x7c], 0
mov byte [rsp + 0x28], 0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x200]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x20], 0
jmp 0x1800065f3
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x1800066b1
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x200]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x208]
mov rcx, rax
call fcn.180026f08
test eax, eax
jne 0x1800066ac
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x200]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x29], 0
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0x68], 1
jmp 0x1800066b1
jmp 0x1800065e9
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.18001c7b0
add rsp, 0x1e8
pop rdi
pop rsi
ret
Function at 0x18000aa00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x180056080]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x80], 0
jg 0x18000aa34
xor eax, eax
jmp 0x18000abe0
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x18000aa5c
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.18000b6d0
jmp 0x18000abe0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x70]
call fcn.1800102c0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x18000aaf8
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.18000ac00
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x70]
call fcn.180010480
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.1800113f0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
call fcn.1800103e0
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x18000abd0
mov rcx, qword [rsp + 0x70]
call fcn.18000fcb0
mov qword [rsp + 0x38], 0xfff
cmp qword [rsp + 0x40], 0xfff
jbe 0x18000ab98
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.1800280c4
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x28], 0xfff
je 0x18000ab96
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x18000abe0
jmp 0x18000ab1e
cmp qword [rsp + 0x40], 0
jbe 0x18000abd0
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.1800280c4
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18001c7b0
add rsp, 0x68
ret

Function at 0x1800316ac
Capabilities:
Get file size

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