joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800c1130
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, [0x18016c6c0]
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 0x1800c1187
cmp word [rdx], r13w
jne 0x1800c1187
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800c118c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800c12b1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1800c12d2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1800c11c5
mov rdx, r9
mov word [rbx], cx
jmp 0x1800c11ec
cmp r9, r8
jae 0x1800c11fc
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 0x1800c11a6
jmp 0x1800c12b1
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 0x1800c12a6
cmp dword [rsp + 0x80], esi
je 0x1800c12a6
lea r8, [0x18016c6c0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1800c127e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1800c124e
mov word [rbx], r13w
jmp 0x1800c12ae
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 0x1800c125b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800c12ae
cmp word [rsp + 0x70], r13w
jne 0x1800c128b
cmp rbx, r14
je 0x1800c1248
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800c108c
cmp word [rsp + 0x70], r13w
je 0x1800c12b1
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, [0x18016c6c0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800c12ab
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800c12b1
Function at 0x1800c3000
Capabilities:
Get file size

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

Function at 0x1800c37ac
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800c37cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800b8c40
or eax, 0xffffffff
jmp 0x1800c37ce
xor eax, eax
add rsp, 0x28
ret
Function at 0x1800c689c
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 0x1800c68cc
xor eax, eax
jmp 0x1800c698f
mov rbp, rbx
cmp word [rax], si
je 0x1800c68f1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800c68d8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800c68d4
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.1800c3824
movsxd r14, eax
test eax, eax
jne 0x1800c692f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800c68c5
mov rcx, r14
call fcn.1800bc6b0
mov rdi, rax
test rax, rax
jne 0x1800c6948
xor ecx, ecx
call fcn.1800bc674
jmp 0x1800c6924
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.1800c3824
test eax, eax
jne 0x1800c6979
mov rcx, rdi
call fcn.1800bc674
jmp 0x1800c6983
xor ecx, ecx
call fcn.1800bc674
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 0x1800ca7d4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1800bbf68
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1800ca875
cmp ebx, dword [rsp + 0x30]
je 0x1800ca86e
test esi, esi
je 0x1800ca86e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1800ca849
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1800ca856
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1800ca833
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1800ca85a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1800ca877
mov eax, 1
jmp 0x1800ca877
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800cd648
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.1800c108c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800c108c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800cd798
cmp rax, 0xffffffffffffffff
je 0x1800cd798
xor edi, edi
test rbp, rbp
jle 0x1800cd743
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800c0a90
mov rbx, rax
test rax, rax
jne 0x1800cd6d0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800cd739
mov edx, 0x8000
mov ecx, r14d
call fcn.1800cd4cc
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.1800c2700
cmp eax, 0xffffffff
je 0x1800cd719
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800cd6e0
mov edx, r15d
mov ecx, r14d
call fcn.1800cd4cc
jmp 0x1800cd739
cmp byte [rsi + 0x38], dil
je 0x1800cd730
cmp dword [rsi + 0x34], 5
jne 0x1800cd730
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800cd739
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800bc674
jmp 0x1800cd7ac
jns 0x1800cd7ac
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800c108c
cmp rax, 0xffffffffffffffff
jne 0x1800cd764
cmp byte [rsi + 0x30], dil
je 0x1800cd7ac
mov edi, dword [rsi + 0x2c]
jmp 0x1800cd7ac
mov ecx, r14d
call fcn.1800cb034
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800cd7ac
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 0x1800cd7ac
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800cd7a5
mov eax, dword [rsi + 0x2c]
jmp 0x1800cd7aa
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800c108c
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 0x1800cdec0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800cdee8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800cdee8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001070
Capabilities:
Parse pe header

Disassembly:
push rdi
push r14
sub rsp, 0x68
mov rax, qword [0x140282a80]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, rdx
mov rdi, rcx
mov edx, SafeArrayDestroy
call fcn.140003c20
test rax, rax
jne 0x1400010a3
mov al, 1
jmp 0x140001274
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x60], rbp
test rdi, rdi
je 0x140001265
mov edx, 0x40
mov rcx, rdi
call fcn.140004f00
test al, al
jne 0x140001265
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x140001265
movsxd rax, dword [rdi + 0x3c]
cmp eax, 0x400
jg 0x140001265
lea rbx, [rdi + rax]
mov edx, 0xf8
mov rcx, rbx
call fcn.140004f00
test al, al
jne 0x140001265
cmp dword [rbx], 0x4550
jne 0x140001265
test rbx, rbx
je 0x140001265
mov edx, 0xf8
mov rcx, rbx
call fcn.140004f00
test al, al
jne 0x140001265
mov eax, 0x20b
cmp word [rbx + 0x18], ax
jne 0x140001265
mov rcx, rdi
call fcn.140003e40
mov ebp, eax
mov edx, SafeArrayDestroy
lea rax, vtable.peconv::default_func_resolver.0
mov rcx, rdi
mov qword [rsp + 0x40], rax
call fcn.140003c20
test rax, rax
je 0x140001265
mov ebx, dword [rax]
mov edx, dword [rax + 4]
lea rcx, [rbx + rdi]
cmp edx, 0x20
jb 0x140001265
test rcx, rcx
je 0x140001265
cmp rcx, rdi
jb 0x140001265
lea rax, [rbx + 0x20]
cmp rax, rbp
ja 0x140001265
cmp rax, 0x20
jb 0x140001265
cmp rax, rbx
jb 0x140001265
mov qword [rsp + 0x50], r15
mov r8b, 1
mov r15d, edx
shr r15, 5
test r15, r15
je 0x14000125a
add rbx, 0x20
mov qword [rsp + 0x58], rsi
xor esi, esi
lea rdx, [rdi - 0x20]
add rdx, rbx
je 0x140001255
cmp rdx, rdi
jb 0x140001255
cmp rbx, rbp
ja 0x140001255
cmp rbx, 0x20
jb 0x140001255
lea rax, [rbx - 0x20]
cmp rbx, rax
jb 0x140001255
mov eax, dword [rdi + rbx - 0x1c]
test eax, eax
je 0x140001255
cmp rax, r14
jbe 0x140001202
sub rax, r14
lea r9, [rdi + rax]
test r9, r9
je 0x140001245
cmp r9, rdi
jb 0x140001245
lea rcx, [rax + 1]
cmp rcx, rbp
ja 0x140001245
cmp rcx, 1
jb 0x140001245
cmp rcx, rax
jb 0x140001245
lea rax, [rsp + 0x40]
mov r8, r14
mov qword [rsp + 0x30], rax
mov rcx, rdi
mov qword [rsp + 0x28], rdx
mov rdx, rbp
call fcn.140001290
movzx r8d, al
inc rsi
add rbx, 0x20
cmp rsi, r15
jb 0x1400011d0
mov rsi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
movzx eax, r8b
jmp 0x140001267
xor al, al
mov rbx, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14002e100
add rsp, 0x68
pop r14
pop rdi
ret
Function at 0x140001470
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, r8
mov r13, rdx
mov r12, rcx
xor edi, edi
cmp qword [r8], rdi
je 0x1400015b4
mov r8, qword [r8 + 8]
test r8, r8
je 0x1400015b4
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400014cc
inc rcx
mov qword [rbx + 0x10], rcx
mov rax, qword [rbx + 0x18]
dec rax
mov qword [rbx + 0x18], rax
jmp 0x140001548
mov rcx, r12
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r15, rax
mov qword [rsp + 0x28], rdi
test rax, rax
je 0x1400015ad
movzx esi, word [rax + 0x14]
add rsi, 0x18
add rsi, rax
mov qword [rsp + 0x28], rsi
movzx r14d, di
mov word [rsp + 0x20], di
nop
cmp r14w, word [r15 + 6]
jae 0x14000152d
mov r8d, 8
mov rdx, rsi
mov rcx, r13
call fcn.140020a88
test eax, eax
jne 0x140001586
mov eax, dword [rsi + 0xc]
add rax, r12
mov qword [rbx + 0x10], rax
mov eax, dword [rsi + 8]
mov qword [rbx + 0x18], rax
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000159e
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14000159e
mov r8, qword [rbx + 8]
cmp rax, r8
jb 0x14000159e
mov r14, rcx
sub r14, r8
add r14, rax
cmp rcx, r14
ja 0x14000159e
mov rsi, qword [rbx + 8]
mov rdx, rcx
mov rcx, qword [rbx]
call qword [sym.imp.ntdll.dll_RtlCompareMemory]
cmp rax, rsi
je 0x1400015c5
mov rcx, qword [rbx + 0x10]
inc rcx
mov qword [rbx + 0x10], rcx
mov rax, qword [rbx + 0x18]
dec rax
mov qword [rbx + 0x18], rax
mov r8, rsi
jmp 0x140001551
add rsi, 0x28
mov qword [rsp + 0x28], rsi
inc r14w
mov word [rsp + 0x20], r14w
jmp 0x140001500
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov edi, 0xc0000225
jmp 0x1400015c1
mov edi, 0xc00000ef
jmp 0x1400015c1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov edi, 0xc000000d
mov dword [rsp + 0x24], edi
jmp 0x1400015cd
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
ret
Function at 0x1400019a0
Capabilities:
Check os version

Disassembly:
push rbp
push rbx
push r12
push r13
mov rbp, rsp
sub rsp, 0x48
mov rax, qword [0x140282a80]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r13d, edx
mov r12, rcx
call fcn.1400016c0
mov rbx, rax
test rax, rax
jne 0x1400019d9
mov eax, 0xc00000bb
jmp 0x140001bb3
xor eax, eax
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rdi
lea r8, [rbp - 0x20]
mov qword [rbp - 0x28], rax
lea rdi, [rbp - 0x28]
mov dword [rbp - 0x20], eax
lea rdx, [rbp - 0x24]
mov ecx, SafeArrayDestroy
mov qword [rsp + 0x40], r15
rep stosb byte [rdi], al
lea rcx, [rbp - 0x28]
call qword [sym.imp.ntdll.dll_RtlGetNtVersionNumbers]
xor esi, esi
cmp dword [rbp - 0x28], 6
jne 0x140001a27
cmp dword [rbp - 0x24], 3
jne 0x140001a27
mov r15d, 1
jmp 0x140001a2b
seta r15b
test r15b, r15b
je 0x140001a45
mov rdx, rbx
mov ecx, 4
call fcn.1400015f0
test eax, eax
js 0x140001ba1
xor eax, eax
mov qword [rsp + 0x88], r14
mov r14d, dword [rbx]
lea rdi, [rbp - 0x28]
mov qword [rbp - 0x28], rax
lea r8, [rbp - 0x20]
mov dword [rbp - 0x20], eax
lea rdx, [rbp - 0x24]
mov ecx, SafeArrayDestroy
mov dword [rbp - 0x18], esi
rep stosb byte [rdi], al
lea rcx, [rbp - 0x28]
call qword [sym.imp.ntdll.dll_RtlGetNtVersionNumbers]
cmp dword [rbp - 0x28], 6
jne 0x140001a8c
cmp dword [rbp - 0x24], 2
jne 0x140001a8c
mov eax, 1
jmp 0x140001a8f
seta al
movzx edi, al
cmp r14d, dword [rbx + 4]
je 0x140001b24
test r14d, r14d
je 0x140001af1
cmp edi, r14d
jae 0x140001ac2
lea rax, [rdi + 1]
lea rcx, [rax + rax*2]
lea rax, [rbx + rcx*8]
cmp r12, qword [rax]
jb 0x140001ac4
inc edi
add rax, 0x18
cmp edi, r14d
jb 0x140001ab2
je 0x140001af1
lea eax, [rdi + 1]
sub r14d, edi
mov ecx, eax
lea rdx, [rdi + 1]
add rcx, 2
lea rdx, [rdi + rdx*2]
lea rdx, [rbx + rdx*8]
lea r8, [r14 + r14*2]
shl r8, 3
lea rax, [rcx + rax*2]
lea rcx, [rbx + rax*8]
call fcn.1400374c0
lea rcx, [rdi + rdi*2]
mov r8d, 3
lea rdi, [rbx + rcx*8]
mov dl, 1
mov rcx, r12
lea r9, [rbp - 0x18]
call qword [sym.imp.ntdll.dll_RtlImageDirectoryEntryToData]
mov qword [rdi + 0x10], rax
mov eax, dword [rbp - 0x18]
mov dword [rdi + 0x24], eax
mov qword [rdi + 0x18], r12
mov dword [rdi + 0x20], r13d
inc dword [rbx]
jmp 0x140001b38
test al, al
je 0x140001b31
mov dword [rbx + 0xc], 1
jmp 0x140001b38
mov dword [rbx + 8], 1
mov r14, qword [rsp + 0x88]
test r15b, r15b
je 0x140001b56
mov rdx, rbx
mov ecx, 2
call fcn.1400015f0
test eax, eax
js 0x140001ba1
xor eax, eax
lea rdi, [rbp - 0x28]
mov qword [rbp - 0x28], rax
lea r8, [rbp - 0x20]
mov dword [rbp - 0x20], eax
lea rdx, [rbp - 0x24]
mov ecx, SafeArrayDestroy
rep stosb byte [rdi], al
lea rcx, [rbp - 0x28]
call qword [sym.imp.ntdll.dll_RtlGetNtVersionNumbers]
cmp dword [rbp - 0x28], 6
jne 0x140001b88
cmp dword [rbp - 0x24], 2
je 0x140001b90
seta sil
test esi, esi
je 0x140001b95
mov eax, dword [rbx + 0xc]
jmp 0x140001b98
mov eax, dword [rbx + 8]
neg eax
sbb eax, eax
and eax, 0xc0000017
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov r15, qword [rsp + 0x40]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14002e100
add rsp, 0x48
pop r13
pop r12
pop rbx
pop rbp
ret
Function at 0x1400035d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x60
mov rax, qword [0x140282a80]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rdx
mov rbx, rcx
call fcn.140003e40
mov ebp, eax
test eax, eax
je 0x140003796
test rbx, rbx
je 0x140003796
mov edx, 0x40
mov rcx, rbx
call fcn.140004f00
test al, al
jne 0x140003796
mov r15d, 0x5a4d
cmp word [rbx], r15w
jne 0x140003796
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140003796
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.140004f00
test al, al
jne 0x140003796
cmp dword [rdi], 0x4550
jne 0x140003796
test rdi, rdi
je 0x140003796
mov edx, 0xf8
mov rcx, rdi
call fcn.140004f00
test al, al
jne 0x140003796
mov r12d, 0x20b
cmp word [rdi + 0x18], r12w
jne 0x140003796
mov qword [rsp + 0x98], r14
lea rax, vtable.peconv::default_func_resolver.0
test rsi, rsi
mov qword [rsp + 0x20], rax
lea r14, [rsp + 0x20]
mov qword [rsp + 0x30], rbx
cmovne r14, rsi
mov qword [rsp + 0x38], rbp
xor esi, esi
mov edx, 0x40
mov rcx, rbx
mov dword [rsp + 0x41], esi
mov word [rsp + 0x45], si
mov byte [rsp + 0x47], sil
call fcn.140004f00
test al, al
jne 0x140003728
cmp word [rbx], r15w
jne 0x140003728
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140003728
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.140004f00
test al, al
jne 0x140003728
cmp dword [rdi], 0x4550
jne 0x140003728
test rdi, rdi
je 0x140003728
mov edx, 0xf8
mov rcx, rdi
call fcn.140004f00
test al, al
jne 0x140003728
movzx esi, word [rdi + 0x18]
lea rax, vtable.FillImportThunks.0
mov qword [rsp + 0x48], r14
cmp si, r12w
mov qword [rsp + 0x28], rax
mov edx, 1
mov rcx, rbx
sete byte [rsp + 0x40]
call fcn.140003c20
mov r14, qword [rsp + 0x98]
test rax, rax
jne 0x140003760
mov al, 1
jmp 0x140003798
mov ecx, dword [rax]
lea r8, [rcx + rbx]
test r8, r8
je 0x140003796
cmp r8, rbx
jb 0x140003796
lea rax, [rcx + 0x14]
cmp rax, rbp
ja 0x140003796
cmp rax, 0x14
jb 0x140003796
cmp rax, rcx
jb 0x140003796
lea r9, [rsp + 0x28]
mov rdx, rbp
mov rcx, rbx
call fcn.140003200
jmp 0x140003798
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14002e100
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140003950
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x140003975
test rdx, rdx
je 0x140003987
cmp rdx, 0x40
jae 0x140003995
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, 0x40
call fcn.140004f00
test al, al
jne 0x140003975
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x140003975
movsxd rax, dword [rdi + 0x3c]
cmp eax, 0x400
jg 0x140003975
lea rbx, [rax + rdi]
mov rcx, rax
test rsi, rsi
je 0x1400039da
test rbx, rbx
je 0x140003975
cmp rbx, rdi
jb 0x140003975
add rax, 0xf8
cmp rax, rsi
ja 0x140003975
cmp rax, 0xf8
jb 0x140003975
cmp rax, rcx
jb 0x140003975
jmp 0x1400039eb
mov edx, 0xf8
mov rcx, rbx
call fcn.140004f00
test al, al
jne 0x140003975
mov rsi, qword [rsp + 0x38]
xor eax, eax
cmp dword [rbx], 0x4550
cmovne rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140003a10
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140003b0e
mov edx, 0x40
call fcn.140004f00
test al, al
jne 0x140003b0e
mov edi, 0x5a4d
cmp word [rbx], di
jne 0x140003b0e
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140003b0e
lea rsi, [rbx + rax]
mov edx, 0xf8
mov rcx, rsi
call fcn.140004f00
test al, al
jne 0x140003b0e
cmp dword [rsi], 0x4550
jne 0x140003b0e
test rsi, rsi
je 0x140003b0e
mov edx, 0x40
mov rcx, rbx
call fcn.140004f00
test al, al
jne 0x140003afb
cmp word [rbx], di
jne 0x140003afb
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140003afb
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.140004f00
test al, al
jne 0x140003afb
cmp dword [rdi], 0x4550
jne 0x140003afb
test rdi, rdi
je 0x140003afb
mov edx, 0xf8
mov rcx, rdi
call fcn.140004f00
test al, al
jne 0x140003afb
xor eax, eax
mov ecx, 0x20b
cmp word [rdi + 0x18], cx
cmovne rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140003b20
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140003c03
mov edx, 0x40
call fcn.140004f00
test al, al
jne 0x140003c03
mov edi, 0x5a4d
cmp word [rbx], di
jne 0x140003c03
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140003c03
lea rsi, [rbx + rax]
mov edx, 0xf8
mov rcx, rsi
call fcn.140004f00
test al, al
jne 0x140003c03
cmp dword [rsi], 0x4550
jne 0x140003c03
test rsi, rsi
je 0x140003c03
mov edx, 0x40
mov rcx, rbx
call fcn.140004f00
test al, al
jne 0x140003c03
cmp word [rbx], di
jne 0x140003c03
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140003c03
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.140004f00
test al, al
jne 0x140003c03
cmp dword [rdi], 0x4550
jne 0x140003c03
test rdi, rdi
je 0x140003c03
mov edx, 0xf8
mov rcx, rdi
call fcn.140004f00
test al, al
jne 0x140003c03
xor eax, eax
mov ecx, 0x20b
cmp word [rdi + 0x18], cx
cmove rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140003c20
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebp, edx
mov rbx, rcx
test rcx, rcx
je 0x140003d0c
mov edx, 0x40
call fcn.140004f00
test al, al
jne 0x140003d0c
mov edi, 0x5a4d
cmp word [rbx], di
jne 0x140003d0c
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140003d0c
lea rsi, [rbx + rax]
mov edx, 0xf8
mov rcx, rsi
call fcn.140004f00
test al, al
jne 0x140003d0c
cmp dword [rsi], 0x4550
jne 0x140003d0c
test rsi, rsi
je 0x140003d0c
mov edx, 0x40
mov rcx, rbx
call fcn.140004f00
test al, al
jne 0x140003cfa
cmp word [rbx], di
jne 0x140003cfa
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x140003cfa
lea rdi, [rbx + rax]
mov edx, 0xf8
mov rcx, rdi
call fcn.140004f00
test al, al
jne 0x140003cfa
cmp dword [rdi], 0x4550
jne 0x140003cfa
test rdi, rdi
je 0x140003cfa
mov edx, 0xf8
mov rcx, rdi
call fcn.140004f00
test al, al
jne 0x140003cfa
mov eax, 0x20b
cmp word [rdi + 0x18], ax
lea rax, [rbp + 0x11]
je 0x140003cfe
lea rax, [rbp + 0xf]
lea rax, [rsi + rax*8]
xor ecx, ecx
cmp dword [rax], ecx
cmove rax, rcx
jmp 0x140003d0e
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret