joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006b970
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
movdqa xmm0, xmmword [0x140121830]
xor ebx, ebx
movdqa xmm1, xmmword [0x140121260]
mov edx, ebx
mov eax, 0x35
mov dword [rbp - 0x50], eax
mov dword [rbp - 0x1c], 0x9b93c6d0
mov dword [rbp - 0x18], 0xb6d3
movdqu xmmword [rbp - 0x4c], xmm0
movdqa xmm0, xmmword [0x1401219e0]
movdqu xmmword [rbp - 0x2c], xmm0
movdqu xmmword [rbp - 0x3c], xmm1
test eax, eax
je 0x14006b9f7
nop dword [rax]
nop word [rax + rax]
mov eax, edx
lea rcx, [rbp - 0x4c]
add rcx, rax
lea eax, [rdx - 0x7f]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x50]
cmp edx, eax
jb 0x14006b9e0
lea rcx, [rbp - 0x4c]
mov byte [rbp + rax - 0x4c], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x140121cb0]
mov edx, ebx
movdqa xmm1, xmmword [0x1401217c0]
mov eax, 0x3e
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm0, xmmword [0x140121310]
movdqa xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x50], eax
mov dword [rbp - 0x4c], 0xa4e4e7f3
mov dword [rbp - 0x48], 0xedebe3e1
mov dword [rbp - 0x44], 0xc4abeffd
movdqa xmmword [rbp - 0x30], xmm1
mov dword [rbp - 0x10], 0xbfd892
test eax, eax
je 0x14006ba77
nop word [rax + rax]
mov eax, edx
lea rcx, [rbp - 0x4c]
add rcx, rax
lea eax, [rdx - 0x7f]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x50]
cmp edx, eax
jb 0x14006ba60
lea rcx, [rbp - 0x4c]
mov byte [rbp + rax - 0x4c], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x140121cb0]
movdqa xmm1, xmmword [0x1401217c0]
mov eax, 0x3a
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm0, xmmword [0x140120cb0]
movdqa xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x50], eax
mov dword [rbp - 0x4c], 0xa4e4e7f3
mov dword [rbp - 0x48], 0xedebe3e1
mov dword [rbp - 0x44], 0xc4abeffd
movdqa xmmword [rbp - 0x30], xmm1
test eax, eax
je 0x14006bae7
nop dword [rax]
mov eax, ebx
lea rcx, [rbp - 0x4c]
add rcx, rax
lea eax, [rbx - 0x7f]
inc ebx
xor byte [rcx], al
mov eax, dword [rbp - 0x50]
cmp ebx, eax
jb 0x14006bad0
lea rcx, [rbp - 0x4c]
mov byte [rbp + rax - 0x4c], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret

Function at 0x14006bb10
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x14012d010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x20]
mov rbx, rcx
mov dword [rsp + 0x20], 0x101
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov qword [rbx + 0x18], 7
mov qword [rbx], rax
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x10], rax
mov word [rbx], ax
lea rax, [rsp + 0x30]
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14006bb70
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140051700
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14010ea20
add rsp, 0x250
pop rbx
ret
Function at 0x14010c900
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, qword [rdx + 0x18]
mov rdi, rdx
mov rsi, qword [rdx + 0x10]
mov r10, rcx
mov r9, rdx
cmp r14, 0x10
jb 0x14010c92f
mov r9, qword [rdx]
xor edx, edx
movabs r8, 0xcbf29ce484222325
test rsi, rsi
je 0x14010c964
movabs rcx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + r9]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, rsi
jb 0x14010c950
mov rcx, qword [r10 + 0x30]
mov rax, qword [r10 + 0x18]
and rcx, r8
add rcx, rcx
mov qword [rsp + 0x30], rbp
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r10 + 8]
je 0x14010c9ee
mov rbp, qword [rax + rcx*8]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jb 0x14010c9a2
mov rdx, qword [rdx]
mov rcx, rdi
cmp r14, 0x10
jb 0x14010c9ae
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x14010c9bf
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14010c9ca
cmp rbx, rbp
je 0x14010c9ee
mov rbx, qword [rbx + 8]
jmp 0x14010c990
test rbx, rbx
je 0x14010c9ee
mov rbp, qword [rsp + 0x30]
lea rax, [rbx + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
lea rcx, str.invalid_unordered_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
Function at 0x14010e9a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rdx]
mov rbx, rcx
mov rdi, qword [r8]
call fcn.14004fb10
mov rcx, qword [rbx + 8]
mov r8, rax
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14004fcc0
Function at 0x14009a58c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rdi, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualQuery]
test rax, rax
jne 0x14009a5ba
lea ecx, [rax + 0x19]
int 0x29
test byte [rsp + 0x44], 0x44
je 0x14009a60f
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemInfo]
mov r9d, dword [rsp + 0x54]
xor edx, edx
lea ecx, [r9 - 1]
mov eax, ecx
lea r8, [r9 - 1]
and eax, edi
and ecx, ebx
add eax, ecx
not r8
dec rax
and r8, rbx
add rax, r9
div r9
xor edx, edx
mov rcx, rax
mov rax, rdi
div r9
add eax, ecx
je 0x14009a60f
lock or dword [r8], 0
add r8, r9
sub rax, 1
jne 0x14009a601
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret

Function at 0x14009a620
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movsxd r8, dword [0x14000003c]
lea rdi, [0x140000000]
add r8, rdi
mov rsi, rdx
mov ebp, ecx
cmp dword [r8 + 0x84], 0xd
jbe 0x14009a708
mov r9d, dword [r8 + 0xf0]
test r9d, r9d
je 0x14009a708
movzx eax, word [r8 + 0x14]
lea rcx, [r8 + 0x18]
mov r10d, dword [r9 + rdi + 0xc]
add rcx, rax
movzx r11d, word [r8 + 6]
xor r9d, r9d
test r11d, r11d
je 0x14009a6a7
mov r8d, dword [rcx + 0xc]
cmp r10d, r8d
jb 0x14009a69b
mov edx, dword [rcx + 8]
lea eax, [rdx + r8]
cmp r10d, eax
jb 0x14009a6e0
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14009a686
mov eax, dword [rsp + 0x40]
xor ebx, ebx
mov edx, dword [rsp + 0x40]
test rbx, rbx
je 0x14009a708
cmp dword [0x1400e6e28], 0
jne 0x14009a6e9
mov dword [0x1400e6e28], 1
test eax, eax
js 0x14009a6d4
mov ecx, 0x19
int 0x29
mov rcx, rbx
mov edi, edx
call fcn.14009a58c
jmp 0x14009a6eb
mov eax, dword [rcx + 0x24]
lea rbx, [rdi + r8]
jmp 0x14009a6b1
mov edi, edx
mov r9, rsi
mov r8d, ebp
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualProtect]
test eax, eax
jne 0x14009a70e
lea ecx, [rax + 0x19]
int 0x29
jmp 0x14009a70e
mov dword [rsi], 4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14009ae40
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
push r11
mov r11, qword [r14 + 0x10]
add r14, 0x18
mov r15, qword [r14]
mov r12, r15
add r12, 0x10
mov r14, qword [r12]
push rax
Function at 0x140003950
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003984
cmp word [rcx], 0x5a4d
jne 0x140003984
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003984
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003984
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003890
test eax, eax
jne 0x1400039a0
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.140003900
test rax, rax
je 0x140003995
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.14000414c
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140004050
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140003ff0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400044b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x1405299b8]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x1405299b4]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x140004502
mov rdx, qword [rax]
cmp r12, rdx
jb 0x1400044fa
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1400045e9
inc ebx
add rax, 0x28
jmp 0x1400044da
mov rcx, r12
call fcn.140004ce1
mov rbp, rax
test rax, rax
jne 0x140004521
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140004450
movsxd rbx, ebx
mov rax, qword [0x1405299b8]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.140004d8f
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1405299b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140004583
mov rax, qword [0x1405299b8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140004450
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400045e3
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400045e3
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 [0x1405299b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400045e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140004450
inc dword [0x1405299b4]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140004a10
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x140529a20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140529a00]
test rbx, rbx
je 0x140004a5c
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140004a56
test eax, eax
jne 0x140004a56
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140004a2e
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140004c10
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004c33
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140004c33
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140004c34
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140004c6e
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140004c65
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140004c70
inc r8d
add rax, 0x28
jmp 0x140004c4c
xor eax, eax
ret

Function at 0x140004ce1
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140525bd0]
mov r8, rcx
mov rcx, r9
call fcn.140004c10
test eax, eax
je 0x140004d0d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140004c34
xor eax, eax
add rsp, 0x28
ret
Function at 0x402c50
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0044a940]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0044a968]
test rbx, rbx
je 0x402ca4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rdi
mov rbp, rax
call rsi
test eax, eax
jne 0x402c9b
test rbp, rbp
je 0x402c9b
mov rax, qword [rbx + 8]
mov rcx, rbp
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402c80
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x0044a940]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax

Function at 0x140640058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406401df
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 0x140640089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14064006f
add dl, dl
jne 0x140640096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406400f6
xor eax, eax
add dl, dl
jne 0x1406400a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406401ad
add dl, dl
jne 0x1406400b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406400c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406400d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406400dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406400ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14064007e
mov eax, 1
add dl, dl
jne 0x140640106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140640113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406400fb
sub eax, ebx
mov ebx, 1
jne 0x14064014c
mov ecx, 1
add dl, dl
jne 0x14064012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14064013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140640123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14064007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140640168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140640175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14064015d
cmp eax, 0x7d00
jae 0x14064019b
cmp eax, 0x500
jb 0x140640196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14064007e
cmp eax, 0x7f
ja 0x14064019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14064007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406401d2
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 0x14064007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400020a8
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x80
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], rdi
mov rax, qword [0x1400342a0]
xor rax, rbp
mov qword [rbp + 0x58], rax
mov rdi, rdx
lea rdx, str.Py_Initialize
mov rbx, r9
movsxd r12, r8d
mov r13, rcx
mov qword [rbp + 8], rcx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PySys_SetArgv
mov rcx, r13
mov qword [rbp + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PyRun_SimpleString
mov rcx, r13
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Py_Finalize
mov rcx, r13
mov qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Py_BuildValue
mov rcx, r13
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PyCFunction_New
mov rcx, r13
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PyArg_ParseTuple
mov rcx, r13
mov qword [rbp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 8]
lea rdx, str.PyErr_Format
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
cmp qword [rbp + 0x18], rcx
je 0x14000232c
cmp r14, rcx
je 0x14000232c
cmp qword [rbp + 0x10], rcx
je 0x14000232c
cmp r15, rcx
je 0x14000232c
cmp rsi, rcx
je 0x14000232c
cmp r13, rcx
je 0x14000232c
cmp rax, rcx
je 0x14000232c
cmp qword [rbp + 0x20], rcx
je 0x14000232c
cmp rdi, rcx
je 0x140002325
cmp byte [rdi], cl
je 0x140002325
xor edx, edx
mov rcx, rdi
call fcn.140022570
mov esi, eax
cmp eax, 0xffffffff
jne 0x140002216
call fcn.14000a4d0
lea rdx, str.Could_not_open_postinstall_script__s_n
mov r8, rdi
lea rcx, [rax + 0x60]
call fcn.14000a2b0
lea eax, [rsi + 4]
jmp 0x140002331
mov rcx, qword [0x140038620]
lea r8, str.Running_Script...
mov edx, 0x3ec
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
call qword [rbp + 0x18]
mov rcx, qword [rbp + 8]
call fcn.140001f08
lea r13, [0x1400358d0]
xor edx, edx
mov rcx, r13
mov r8d, 0x800
call fcn.140008b20
mov rdi, r12
test r12d, r12d
jle 0x14000228c
mov r12, r13
mov r13, rdi
sub r12, rbx
mov rcx, qword [rbx]
test rcx, rcx
je 0x140002272
call fcn.1400018c4
jmp 0x140002274
xor eax, eax
mov qword [r12 + rbx], rax
add rbx, 8
sub r13, 1
jne 0x140002263
mov r12d, edi
lea r13, [0x1400358d0]
mov rdx, r13
mov ecx, r12d
call r14
xor ebx, ebx
test rdi, rdi
jle 0x1400022b3
mov rcx, qword [r13 + rbx*8]
test rcx, rcx
je 0x1400022ab
call fcn.1400099cc
inc rbx
cmp rbx, rdi
jl 0x14000229c
lea rdx, [rbp + 0x28]
mov ecx, esi
mov ebx, 3
call fcn.140009e70
test eax, eax
jne 0x140002317
mov r8d, dword [rbp + 0x3c]
lea eax, [r8 + 5]
movsxd rcx, eax
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1400022e5
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
int3
call r15
mov ecx, esi
call fcn.140017cc4
mov eax, ebx
jmp 0x140002331
mov eax, 2
jmp 0x140002331
mov eax, 1
mov rcx, qword [rbp + 0x58]
xor rcx, rbp
call fcn.1400091a0
mov rbx, qword [rbp + 0x90]
mov rsi, qword [rbp + 0x98]
mov rdi, qword [rbp + 0xa0]
lea rsp, [rbp + 0x60]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000e155
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
Function at 0x415da0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415f2b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x004e79e0]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00433680
xorps xmm15, xmm15
mov r14, qword [0x006819d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x415e05
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415e14
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415e33
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415e43
cmp rbx, 0x1000
jae 0x415e0b
jmp 0x415ead
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415e55
xor edx, edx
jmp 0x415ea4
mov rcx, qword [0x004e79e0]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00433680
xorps xmm15, xmm15
mov r14, qword [0x006819d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x415e39
jmp 0x415e28
call fcn.00465f80
xorps xmm15, xmm15
mov r14, qword [0x006819d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00437d00
lea rax, [0x00530890]
mov ebx, 0x18
nop dword [rax]
call fcn.00438580
mov rax, qword [rsp + 0x38]
call fcn.004382c0
lea rax, [0x00530efa]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00438580
mov rax, qword [rsp + 0x30]
call fcn.004382c0
call fcn.00437f40
call fcn.00437d60
lea rax, [0x00533aea]
mov ebx, 0x21
call fcn.00436360
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00462880
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00415da0
Function at 0x415f60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416186
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x004e79d8]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00433700
xorps xmm15, xmm15
mov r14, qword [0x006819d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x415fd3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x415fe2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x416005
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x416015
cmp rbx, 0x1000
jae 0x415fd9
nop
jmp 0x416098
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x41602d
xor esi, esi
jmp 0x41608a
mov rax, qword [0x004e79d8]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00433700
xorps xmm15, xmm15
mov r14, qword [0x006819d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x41600b
jmp 0x415ff6
call fcn.00465f80
xorps xmm15, xmm15
mov r14, qword [0x006819d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x416120
nop dword [rax + rax]
call fcn.00437d00
lea rax, [0x00530f13]
mov ebx, 0x19
call fcn.00438580
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.004382c0
lea rax, [0x00530efa]
mov ebx, 0x19
call fcn.00438580
mov eax, dword [rsp + 0x34]
call fcn.004382c0
nop
call fcn.00437f40
call fcn.00437d60
lea rax, [0x0052cb6c]
mov ebx, 0xd
call fcn.00436360
nop dword [rax + rax]
cmp eax, 0x5af
je 0x4160c0
call fcn.00437d00
lea rax, [0x00530f13]
mov ebx, 0x19
call fcn.00438580
mov rax, qword [rsp + 0x38]
call fcn.004382c0
lea rax, [0x00530efa]
mov ebx, 0x19
call fcn.00438580
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.004382c0
call fcn.00437f40
call fcn.00437d60
lea rax, [0x005332ba]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00436360
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00462880
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00415f60