joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14012829c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140247830]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14023f210]
test eax, eax
je 0x1401282e7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023f210]
test eax, eax
jne 0x1401282f0
call fcn.1400101d8
test eax, eax
je 0x14012830c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140237178]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140128314
xor eax, eax
jmp 0x140128371
test rbx, rbx
jne 0x140128334
lea rcx, str.ChooseColorW
call fcn.1400a6a74
mov rbx, rax
test rax, rax
je 0x14012833f
mov qword [0x140247830], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140128354
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140128356
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14012836f
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140130c18
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140247b10]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14023f210]
test eax, eax
je 0x140130c63
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023f210]
test eax, eax
jne 0x140130c6c
call fcn.1400101d8
test eax, eax
je 0x140130c88
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140237178]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140130c90
xor eax, eax
jmp 0x140130ced
test rbx, rbx
jne 0x140130cb0
lea rcx, str.GetOpenFileNameW
call fcn.1400a6a74
mov rbx, rax
test rax, rax
je 0x140130cbb
mov qword [0x140247b10], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140130cd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140130cd2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140130ceb
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140130d04
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140247b18]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14023f210]
test eax, eax
je 0x140130d4f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023f210]
test eax, eax
jne 0x140130d58
call fcn.1400101d8
test eax, eax
je 0x140130d74
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140237178]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140130d7c
xor eax, eax
jmp 0x140130dd9
test rbx, rbx
jne 0x140130d9c
lea rcx, str.GetSaveFileNameW
call fcn.1400a6a74
mov rbx, rax
test rax, rax
je 0x140130da7
mov qword [0x140247b18], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140130dbc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140130dbe
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140130dd7
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140179140
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140248e88]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14023f210]
test eax, eax
je 0x14017918b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023f210]
test eax, eax
jne 0x140179194
call fcn.1400101d8
test eax, eax
je 0x1401791b0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140237178]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401791b8
xor eax, eax
jmp 0x140179215
test rbx, rbx
jne 0x1401791d8
lea rcx, str.PrintDlgW
call fcn.1400a6a74
mov rbx, rax
test rax, rax
je 0x1401791e3
mov qword [0x140248e88], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1401791f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401791fa
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140179213
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14017a154
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140179fbc
Function at 0x14018dd78
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x14018dda4
call fcn.14017a870
mov dword [rax], 0x16
call fcn.140181560
jmp 0x14018deaa
mov eax, dword [rcx + 0x18]
test al, 0x83
je 0x14018deaa
test al, 0x40
jne 0x14018deaa
test al, 2
je 0x14018ddc6
or eax, 0x20
mov dword [rcx + 0x18], eax
jmp 0x14018deaa
or eax, 1
mov dword [rcx + 0x18], eax
test eax, 0x10c
jne 0x14018ddda
call fcn.14018bcb0
jmp 0x14018dde1
mov rax, qword [rcx + 0x10]
mov qword [rcx], rax
mov rcx, rdi
call fcn.14017f864
mov r8d, dword [rdi + 0x24]
mov rdx, qword [rdi + 0x10]
mov ecx, eax
call fcn.14018aee8
mov dword [rdi + 8], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x14018de99
test byte [rdi + 0x18], 0x82
jne 0x14018de67
mov rcx, rdi
call fcn.14017f864
cmp eax, 0xffffffff
je 0x14018de52
mov rcx, rdi
call fcn.14017f864
cmp eax, 0xfffffffe
je 0x14018de52
mov rcx, rdi
call fcn.14017f864
mov rcx, rdi
lea rsi, [0x140249b10]
movsxd rbx, eax
sar rbx, 5
call fcn.14017f864
and eax, 0x1f
imul rax, rax, 0x58
add rax, qword [rsi + rbx*8]
jmp 0x14018de59
lea rax, [0x14023d3f0]
mov al, byte [rax + 8]
and al, 0x82
cmp al, 0x82
jne 0x14018de67
bts dword [rdi + 0x18], 0xd
cmp dword [rdi + 0x24], 0x200
jne 0x14018de86
test byte [rdi + 0x18], 8
je 0x14018de86
test dword [rdi + 0x18], 0x400
jne 0x14018de86
mov dword [rdi + 0x24], 0x1000
mov rcx, qword [rdi]
add dword [rdi + 8], 0xfffffffe
movzx eax, word [rcx]
add rcx, 2
mov qword [rdi], rcx
jmp 0x14018deaf
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
or dword [rdi + 0x18], eax
and dword [rdi + 8], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140006d80
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov dword [rsp + 0x20], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov dword [rsp + 0x20], 1
mov rbx, qword [rdx]
mov r12, qword [rdx + 8]
mov qword [rsp + 0x88], r12
cmp rbx, r12
je 0x140006f23
movabs rdx, 0x2aaaaaaaaaaaaaab
mov r13d, 0x5a4d
nop word [rax + rax]
cmp qword [rbx], 5
jne 0x140006f16
mov rcx, qword [rdi + 8]
sub rcx, qword [rdi]
mov rax, rdx
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x140006f23
xor esi, esi
cmp qword [rbx + 0x18], rsi
jbe 0x140006ed5
mov r12d, 0x4550
nop dword [rax]
mov r15d, esi
shl r15d, 0xc
mov rbp, qword [rbx + 8]
add rbp, r15
mov rcx, rbp
call fcn.140004940
cmp ax, r13w
jne 0x140006ebf
lea rcx, [rbp + 0x3c]
call fcn.140004860
mov r14d, eax
add r14, rbp
mov rcx, r14
call fcn.140004940
cmp ax, r12w
jne 0x140006ebf
mov rcx, qword [rbx + 0x10]
add rcx, r15
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbx + 8]
add rcx, r15
mov qword [rsp + 0x30], rcx
lea rcx, [r14 + 0x50]
call fcn.140004860
mov dword [rsp + 0x38], eax
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140006eb2
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rdx + 0x10], xmm1
add qword [rdi + 8], 0x18
jmp 0x140006ebf
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.140006fd0
inc esi
mov eax, esi
cmp rax, qword [rbx + 0x18]
jb 0x140006e30
mov r12, qword [rsp + 0x88]
mov r9, qword [rdi + 8]
mov r8, qword [rdi]
mov rcx, r9
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 4
movabs rdx, 0x2aaaaaaaaaaaaaab
jae 0x140006f16
cmp r8, r9
je 0x140006f16
mov qword [rdi + 8], r8
add rbx, 0x28
cmp rbx, r12
jne 0x140006df0
mov rax, rdi
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400170a0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140057040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp dword [0x14005dbac], 0
jne 0x140017241
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor ebp, ebp
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
mov edi, 0xffffffff
mov edx, edi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov qword [rsp + 0x58], rbp
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x140042ad8]
xor edx, edx
mov r8d, 1
lea rcx, [0x140042ae8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x18]
mov ecx, 0x18
call fcn.14001a820
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14001718b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rbp
mov dword [rbx + 0x10], 1
lea rcx, [0x14004f4e0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14001726f
jmp 0x14001718e
mov rbx, rbp
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x140017264
lea rax, [0x14005db38]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x58]
call rsi
nop
lock xadd dword [rbx + 0x10], edi
cmp edi, 1
jne 0x140017206
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400171e7
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rbp
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400171f9
call fcn.14001aa9c
mov qword [rbx + 8], rbp
mov edx, 0x18
mov rcx, rbx
call fcn.14001aa9c
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rcx, qword [0x14005db38]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [0x14005dbac], 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14001a6e0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x8007000e
call fcn.14001b7c0
nop
mov ecx, 0x8007000e
call fcn.14001b7c0
int3
Function at 0x140017280
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140057040]
xor rax, rsp
mov qword [rsp + 0x48], rax
call fcn.1400170a0
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov rax, qword [0x14005db38]
mov rcx, qword [rax]
mov rbp, qword [rcx + 0xa0]
mov ecx, 0x18
call fcn.14001a820
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140017306
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r14
mov dword [rbx + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_NetworkAdapter_where_PNPDeviceID_is_not_NULL_and_MACAddress_is_not_NULL
call fcn.14001b7d0
mov qword [rbx], rax
jmp 0x140017309
mov rbx, r14
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x14001744a
mov rsi, qword [rbx]
mov ecx, 0x18
call fcn.14001a820
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140017359
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r14
mov dword [rdi + 0x10], 1
lea rcx, [0x14004f4f8]
call fcn.14001b7d0
mov qword [rdi], rax
jmp 0x14001735c
mov rdi, r14
mov qword [rsp + 0x38], rdi
test rdi, rdi
je 0x14001743f
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 0x30
mov r8, rsi
mov rdx, qword [rdi]
mov rcx, qword [0x14005db38]
call rbp
mov ebp, eax
mov esi, 0xffffffff
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x1400173d2
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400173b2
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r14
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400173c4
call fcn.14001aa9c
mov qword [rdi + 8], r14
mov edx, 0x18
mov rcx, rdi
call fcn.14001aa9c
nop
lock xadd dword [rbx + 0x10], esi
cmp esi, 1
jne 0x14001740c
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400173ed
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400173ff
call fcn.14001aa9c
mov qword [rbx + 8], r14
mov edx, 0x18
mov rcx, rbx
call fcn.14001aa9c
mov rax, qword [rsp + 0x40]
test ebp, ebp
cmovs rax, r14
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001a6e0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
mov ecx, 0x8007000e
call fcn.14001b7c0
nop
mov ecx, 0x8007000e
call fcn.14001b7c0
int3
Function at 0x140019a28
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x140019a56
xor eax, eax
jmp 0x140019b3c
cmp qword [rcx + 0x68], 0
je 0x140019a67
call fcn.140019b58
jmp 0x140019b3c
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140019a7e
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140019a80
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140019ab2
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14003dc70
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x140019b36
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140019ae9
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140019b12
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140026afc
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x140019b36
cmp rsi, rbx
ja 0x140019af0
test rsi, rsi
je 0x140019b36
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140026afc
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14001b570
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001b5ba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001b5ba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001b5ba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001b5ba
cmp dword [rcx + 0x84], 0xe
jbe 0x14001b5ba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001b5bc
xor al, al
add rsp, 0x28
ret
Function at 0x1400261bc
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.14001ae50
sub rsp, rax
mov rax, qword [0x140057040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14002e674
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14002620b
mov rax, rbp
jmp 0x140026317
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 + 0x594e0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140031544
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x594e0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140026313
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + r12*8 + 0x28]
lea rdx, [rsp + 0x40]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140026313
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140031544
test rax, rax
js 0x140026313
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140026313
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140026305
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140026305
cmp byte [rcx], 0xd
jne 0x1400262eb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400262fa
cmp byte [rcx + 1], 0xa
jne 0x1400262fa
inc rcx
jmp 0x1400262fa
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x574a0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400262cd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140026317
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14001a6e0
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 0x140029430
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 0x14002949f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002949f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002949f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002949f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002949f
cmp dword [rcx + 0x84], 0xe
jbe 0x14002949f
cmp dword [rcx + 0xf8], 0
je 0x14002949f
mov ecx, ebx
call fcn.140029544
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.140029338
nop
cmp dword [rbp + 0x20], 0
jne 0x140029500
call fcn.140033ac8
cmp eax, 1
jne 0x1400294f0
xor dl, dl
jmp 0x1400294fa
call fcn.140033a94
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x14002950b
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140029514
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140029430

Function at 0x140029618
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140029430

Function at 0x14002c630
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140062050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x14002c695
test rax, rax
jne 0x14002c683
lea r9, str.GetLocaleInfoEx
lea r8, [0x140045c38]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.14002c240
test rax, rax
je 0x14002c695
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.14003dc30
jmp 0x14002c6af
xor edx, edx
mov rcx, rbp
call fcn.14002c920
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140030640
Capabilities:
Get file size

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