joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14034a520
Capabilities:
Query environment variable

Disassembly:
push r15
mov eax, 0x10088
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.1403ad750
sub rsp, rax
xor edx, edx
mov rbp, rcx
xor ecx, ecx
mov word [rsp + 0x80], dx
lea r15, [rsp + 0x30]
movzx eax, byte [rbp]
mov word [rsp + 0x30], cx
test al, al
je 0x14034a5e5
xor edi, edi
lea r15, [rsp + 0x30]
lea r14, [rsp + 0x2a]
mov r12d, 0x28
lea r13, [rsp + 0x2c]
nop dword [rax]
mov rsi, r12
mov r8d, 2
mov rdx, r14
mov rcx, r13
sub rsi, rdi
mov byte [rsp + 0x2a], al
lea rbx, [r15 + rdi*2]
mov byte [rsp + 0x2b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1403be6c8
cmp word [r15 + rdi*2], 0
movzx eax, word [rsp + 0x2c]
je 0x14034a5c6
nop dword [rax + rax]
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x14034a5b8
test rsi, rsi
je 0x1403be6c8
mov word [rbx], ax
add rdi, 1
xor eax, eax
mov word [rbx + 2], ax
movzx eax, byte [rbp + rdi]
test al, al
jne 0x14034a578
lea rbx, [rsp + 0x80]
mov r8d, 0x10000
mov rcx, r15
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x14034a614
mov rcx, rbx
call sub.msvcrt.dll__wcsdup
add rsp, 0x10088
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14034a630
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
movzx eax, byte [rcx]
mov qword [rsp + 0xd8], rdx
xor edx, edx
mov rbp, rcx
lea r15, [rsp + 0x30]
mov word [rsp + 0x30], dx
test al, al
je 0x14034a6ed
xor edi, edi
lea r15, [rsp + 0x30]
lea r14, [rsp + 0x2a]
mov r12d, 0x28
lea r13, [rsp + 0x2c]
nop dword [rax]
mov rsi, r12
mov r8d, 2
mov rdx, r14
mov rcx, r13
sub rsi, rdi
mov byte [rsp + 0x2a], al
lea rbx, [r15 + rdi*2]
mov byte [rsp + 0x2b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1403be6ce
cmp word [r15 + rdi*2], 0
movzx eax, word [rsp + 0x2c]
je 0x14034a6ce
nop dword [rax + rax]
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x14034a6c0
test rsi, rsi
je 0x1403be6ce
mov word [rbx], ax
add rdi, 1
xor eax, eax
mov word [rbx + 2], ax
movzx eax, byte [rbp + rdi]
test al, al
jne 0x14034a680
mov rdx, qword [rsp + 0xd8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1403613f0
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rbx, qword [0x140402150]
mov rsi, rcx
test rbx, rbx
je 0x140361470
mov rax, qword [0x1403d5dc0]
mov rcx, qword [rax + 0x48]
cmp rbx, rcx
je 0x140361460
mov rdx, qword [0x140402388]
test rdx, rdx
je 0x140361568
mov rcx, rbx
mov rbx, qword [sym.imp.python310.dll_PyNumber_InPlaceAdd]
call rbx
mov rcx, rax
mov rdx, rsi
mov rax, rbx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp rax
mov rbx, qword [sym.imp.python310.dll_PyNumber_InPlaceAdd]
jmp 0x140361441
lea r15, str.NUITKA_ONEFILE_BINARY
mov rcx, r15
call fcn.14034a520
test rax, rax
je 0x140361588
mov rcx, rax
mov rdx, 0xffffffffffffffff
lea r14, [rsp + 0x40]
call qword [sym.imp.python310.dll_PyUnicode_FromWideChar]
xor ecx, ecx
mov r13, r14
lea r12, [r15 + 0x28]
mov word [rsp + 0x40], cx
lea rbp, [rsp + 0x3a]
lea rdi, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov eax, 0x4e
nop
mov rbx, r12
mov r8d, 2
mov rdx, rbp
mov rcx, rdi
sub rbx, r15
mov byte [rsp + 0x3a], al
mov byte [rsp + 0x3b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1403be780
cmp word [r13], 0
movzx edx, word [rsp + 0x3c]
mov rax, r13
je 0x14036150e
nop word [rax + rax]
add rax, 2
sub rbx, 1
cmp word [rax], 0
jne 0x140361500
test rbx, rbx
je 0x1403be780
mov word [rax], dx
add r15, 1
xor edx, edx
add r13, 2
mov word [rax + 2], dx
movzx eax, byte [r15]
test al, al
jne 0x1403614c0
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rax, qword [sym.imp.python310.dll__PyRuntime]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rax + 0x1f0]
call fcn.140361330
mov rbx, rax
mov qword [0x140402150], rbx
jmp 0x140361412
lea rcx, [0x1403d2390]
call qword [sym.imp.python310.dll_PyUnicode_FromString]
mov qword [0x140402388], rax
mov rdx, rax
jmp 0x140361432
mov rbx, qword [0x140402168]
test rbx, rbx
jne 0x140361556
cmp byte [0x140402382], 0
je 0x1403615c6
mov rdx, 0xffffffffffffffff
lea rcx, [0x140402180]
call qword [sym.imp.python310.dll_PyUnicode_FromWideChar]
mov qword [0x140402168], rax
mov rbx, rax
test rax, rax
je 0x1403615d2
add qword [rax], 1
jmp 0x140361556
mov ecx, 1
call fcn.14034b140
jmp 0x14036159d
call qword [sym.imp.python310.dll_PyErr_Print]
call sub.msvcrt.dll_abort
nop
nop
call sub.msvcrt.dll_abort
nop
Function at 0x140362f10
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rsi, str.NUITKA_ONEFILE_BINARY
mov ebx, ecx
mov rcx, rsi
call fcn.14034a520
test rax, rax
je 0x140363070
mov rcx, rax
mov rdx, 0xffffffffffffffff
lea r14, [rsp + 0x40]
call qword [sym.imp.python310.dll_PyUnicode_FromWideChar]
xor ecx, ecx
mov r15, r14
lea r12, [rsi + 0x28]
mov word [rsp + 0x40], cx
mov r13, rax
lea rbp, [rsp + 0x3a]
mov eax, 0x4e
lea rdi, [rsp + 0x3c]
nop word [rax + rax]
mov rbx, r12
mov r8d, 2
mov rdx, rbp
mov rcx, rdi
sub rbx, rsi
mov byte [rsp + 0x3a], al
mov byte [rsp + 0x3b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1403be79e
cmp word [r15], 0
movzx edx, word [rsp + 0x3c]
mov rax, r15
je 0x140362fc6
nop dword [rax]
add rax, 2
sub rbx, 1
cmp word [rax], 0
jne 0x140362fb8
test rbx, rbx
je 0x1403be79e
mov word [rax], dx
add rsi, 1
xor edx, edx
add r15, 2
mov word [rax + 2], dx
movzx eax, byte [rsi]
test al, al
jne 0x140362f78
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rax, qword [sym.imp.python310.dll__PyRuntime]
mov rdx, qword [0x140402ac0]
mov rsi, qword [rax + 0x1f0]
mov rax, qword [0x1403d5dc0]
mov rbx, qword [rax + 0x1c0]
test rdx, rdx
je 0x1403630c0
mov r8, rbx
mov rcx, rsi
call fcn.14034d5a0
mov r8, r13
mov rcx, rsi
mov rbx, rax
mov rdx, rax
call fcn.14035ec20
sub qword [rbx], 1
jne 0x140363054
mov rdx, qword [rbx + 8]
mov qword [rsp + 0x28], rax
mov rcx, rbx
call qword [rdx + 0x30]
mov rax, qword [rsp + 0x28]
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x140402160]
lea rsi, [0x140402160]
test bl, bl
je 0x140363090
mov rax, qword [0x140402168]
lea rsi, [0x140402168]
test rax, rax
jne 0x140363054
cmp byte [0x140402382], 0
je 0x1403630ed
mov rdx, 0xffffffffffffffff
lea rcx, [0x140402180]
call qword [sym.imp.python310.dll_PyUnicode_FromWideChar]
mov qword [rsi], rax
test rax, rax
je 0x1403630f7
add qword [rax], 1
jmp 0x140363054
mov rdx, qword [0x140402a38]
mov rdi, qword [rax + 0x1b0]
test rdx, rdx
je 0x140363102
mov r8, rdi
mov rcx, rsi
call fcn.14034d5a0
mov qword [0x140402ac0], rax
mov rdx, rax
jmp 0x14036301e
movzx ecx, bl
call fcn.14034b140
jmp 0x14036309e
call qword [sym.imp.python310.dll_PyErr_Print]
call sub.msvcrt.dll_abort
lea rcx, [0x1403cdd9e]
call qword [sym.imp.python310.dll_PyImport_ImportModule]
mov qword [0x140402a38], rax
mov rdx, rax
test rax, rax
je 0x1403be79e
jmp 0x1403630d3
Function at 0x1403a3990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x140402149], 0
mov rbp, rcx
mov rdi, rdx
mov r12, r8
je 0x1403a3a38
lea rdx, [0x1403d1b1a]
mov rcx, r12
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1403a3aa0
mov rbx, qword [0x140401fe8]
jmp 0x1403a39d5
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, r12
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x1403a39d0
movzx eax, word [rdx + 4]
lea r8, [rdx + 6]
test ax, ax
je 0x1403a3a27
lea rbx, [rdi + rax*8]
nop word cs:[rax + rax]
mov rdx, rdi
mov rcx, rbp
add rdi, 8
call fcn.140392dc0
mov r8, rax
cmp rdi, rbx
jne 0x1403a3a10
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x140401fe8], rax
mov ebx, dword [rax]
mov qword [0x140401fe8], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x140401fe8], rdx
call fcn.1403a2ac0
cmp eax, ebx
jne 0x1403a3b27
mov byte [0x140402149], 1
jmp 0x1403a39b0
cmp byte [0x140402148], 0
jne 0x1403a39c7
mov rbx, qword [sym.imp.python310.dll_PyDict_New]
call rbx
mov qword [0x140402cc8], rax
call rbx
mov qword [0x140402cc0], rax
call rbx
mov qword [0x140402cb8], rax
call rbx
mov qword [0x140402cb0], rax
call rbx
mov qword [0x140402ca8], rax
call rbx
mov qword [0x140402ca0], rax
call rbx
mov qword [0x140402c98], rax
call rbx
mov byte [0x140402148], 1
mov qword [0x140402c90], rax
mov rax, qword [sym.imp.python310.dll__PyRuntime]
mov rax, qword [rax + 0x1f0]
mov rax, qword [rax + 0x10]
add rax, 0xda0
mov qword [0x140401fe0], rax
jmp 0x1403a39c7
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1403ac430
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1403bdbc0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1403bdbc0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x1403ad102
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140403188]
test eax, eax
je 0x1403ad19a
lea rax, [0x140403160]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140403190]
mov qword [rbp - 8], rax
jmp 0x1403ad17e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1403ad172
cmp qword [rbp - 0x10], 0
je 0x1403ad172
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1403ad138
lea rax, [0x140403160]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1403ad19b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1403ad2a0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1403ad2c8
mov eax, 0
jmp 0x1403ad316
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1403ad2f1
mov eax, 0
jmp 0x1403ad316
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1403ad311
mov eax, 0
jmp 0x1403ad316
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x1403ad31c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1403ad39a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1403ad391
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1403ad391
mov rax, qword [rbp - 8]
jmp 0x1403ad3af
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1403ad364
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14000b050
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140029008]
xor rax, rsp
mov qword [rbp + 0x20], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x6d0055
mov dword [rsp + 0x24], 0x119015d
mov dword [rsp + 0x28], 0x780166
mov dword [rsp + 0x2c], 0x1630166
mov dword [rsp + 0x30], 0x660077
mov dword [rsp + 0x34], 0x11a0164
mov dword [rsp + 0x38], 0x620159
mov dword [rsp + 0x3c], 0x290077
mov dword [rsp + 0x40], 0x25007a
mov dword [rsp + 0x44], 0x76016d
mov dword [rsp + 0x48], 0x770062
mov dword [rsp + 0x4c], 0x119016c
mov dword [rsp + 0x50], 0x6b0158
mov dword [rsp + 0x54], 0x15d015a
mov dword [rsp + 0x58], 0x78007a
mov dword [rsp + 0x5c], 0x11a015c
mov dword [rsp + 0x60], 0x740163
mov dword [rsp + 0x64], 0x65007f
mov dword [rsp + 0x68], 0x360078
mov dword [rsp + 0x6c], 0x32012a
mov dword [rsp + 0x70], 0x69002f
mov dword [rsp + 0x74], 0x1650164
mov dword [rsp + 0x78], 0x6f0116
mov dword [rsp + 0x7c], 0x11c016a
mov dword [rbp - 0x80], 0x6e0072
mov dword [rbp - 0x7c], 0x16d016a
mov dword [rbp - 0x78], 0x6f015f
mov dword [rbp - 0x74], 0x220070
mov dword [rbp - 0x70], 0x77006c
mov dword [rbp - 0x6c], 0x6f0169
mov dword [rbp - 0x68], 0x7e0021
mov dword [rbp - 0x64], 0x16e0167
mov dword [rbp - 0x60], 0x260168
mov dword [rbp - 0x5c], 0x16b015a
mov dword [rbp - 0x58], 0x750072
mov dword [rbp - 0x54], 0x16e016c
mov dword [rbp - 0x50], 0x73015b
mov dword [rbp - 0x4c], 0x220037
mov dword [rbp - 0x48], 0x77005a
mov dword [rbp - 0x44], 0x220173
mov dword [rbp - 0x40], 0x6a0073
mov dword [rbp - 0x3c], 0x1670161
mov dword [rbp - 0x38], 0x7a0169
mov dword [rbp - 0x34], 0x1680158
mov dword [rbp - 0x30], 0x6e0071
mov dword [rbp - 0x2c], 0x1610165
mov dword [rbp - 0x28], 0x750116
mov dword [rbp - 0x24], 0x670071
mov dword [rbp - 0x20], 0x750026
mov dword [rbp - 0x1c], 0x71016c
mov dword [rbp - 0x18], 0x770068
mov dword [rbp - 0x14], 0x1660159
mov dword [rbp - 0x10], 0x7a0116
mov dword [rbp - 0xc], 0x11c0166
mov dword [rbp - 8], 0x6e006b
mov dword [rbp - 4], 0x11a016f
mov dword [rbp], 0x69016a
mov dword [rbp + 4], 0x750072
mov dword [rbp + 8], 0x750026
mov dword [rbp + 0xc], 0x71016c
mov dword [rbp + 0x10], 0x710063
mov dword [rbp + 0x14], 0x166015d
mov dword [rbp + 0x18], 0x60124
call fcn.14000b290
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400131c0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000bc20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140029008]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r14d, r14d
mov dword [rbp - 0x40], 0x59004f
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
mov dword [rbp - 0x3c], 0x145013c
mov dword [rbp - 0x38], 0x340142
mov dword [rbp - 0x34], 0x148013b
mov dword [rbp - 0x30], 0x50051
call fcn.14000bdb0
movdqa xmm0, xmmword [0x140026d40]
lea rcx, [rbp - 0x40]
movdqu xmmword [rbp - 0x40], xmm0
mov rdi, rax
mov dword [rbp - 0x30], 0x744a7375
mov dword [rbp - 0x2c], 0x6c5d6870
mov word [rbp - 0x28], 0x669
call fcn.140007440
mov rcx, rdi
mov rbx, rax
call qword [0x14002ac38]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rdi, rdi
je 0x14000bcee
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov word [rdi + 0x10], ax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbx, rbx
je 0x14000bd16
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov byte [rbx + 0x18], al
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rsi, rsi
je 0x14000bd79
call qword [0x14002acf0]
mov r9d, 8
mov qword [rsp + 0x20], r14
mov rcx, rax
lea r8, [rbp - 0x20]
lea edx, [r9 - 1]
call rsi
test eax, eax
jne 0x14000bd79
cmp qword [rbp - 0x20], r14
jne 0x14000bd72
call qword [0x14002acf0]
mov r9d, 8
mov qword [rsp + 0x20], r14
mov rcx, rax
lea r8, [rbp - 0x18]
lea edx, [r9 + 0x16]
call rsi
test eax, eax
je 0x14000bd6c
cmp eax, 0xc0000353
jne 0x14000bd79
cmp qword [rbp - 0x18], r14
je 0x14000bd79
mov eax, 1
jmp 0x14000bd7b
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400131c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140011b90
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x140029008]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov edi, r9d
mov esi, r8d
mov rbx, rcx
call qword [0x14002acb8]
mov rcx, rbx
mov r14, rax
call fcn.14000ce40
test eax, eax
jne 0x140011dc9
mov edx, edi
mov ecx, esi
call fcn.140009910
test eax, eax
jne 0x140011c10
mov edx, dword [rbp + 0x490]
mov rcx, qword [rbp + 0x488]
call fcn.14000a720
call qword [0x14002acf0]
mov rcx, rax
xor edx, edx
call qword [0x14002ad30]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
cmp byte [rcx + 2], 1
je 0x140011dc9
cmp byte [rcx + 0xbc], 0x70
je 0x140011dc9
call fcn.14000bc20
test eax, eax
jne 0x140011dc9
xor edx, edx
mov qword [rsp + 0x60], 0x4d0
mov r8d, 0x4c8
lea rcx, [rsp + 0x68]
call fcn.140014200
mov dword [rbp - 0x70], 0x100010
call qword [0x14002ac70]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [0x14002ad58]
test eax, eax
je 0x140011ca7
cmp qword [rbp - 0x58], 0
jne 0x140011dc9
cmp qword [rbp - 0x50], 0
jne 0x140011dc9
cmp qword [rbp - 0x48], 0
jne 0x140011dc9
cmp qword [rbp - 0x40], 0
jne 0x140011dc9
call fcn.14000c040
test eax, eax
jne 0x140011dc9
lea ecx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 0xf6
mov dword [rsp + 0x38], 0x660054
lea rcx, [rsp + 0x38]
mov word [rsp + 0x50], ax
mov dword [rsp + 0x3c], 0x1690165
mov dword [rsp + 0x40], 0x6b0162
mov dword [rsp + 0x44], 0x1710146
mov dword [rsp + 0x48], 0x750079
mov dword [rsp + 0x4c], 0x16e016c
call fcn.14000c060
mov rcx, rax
call qword [0x14002acb0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140011dc9
call qword [0x14002acb8]
mov ecx, eax
mov rdi, rax
sub ecx, r14d
cmp ecx, 0x32
ja 0x140011dc9
xor esi, esi
lea r8, [0x14000c3d0]
mov qword [rsp + 0x28], rsi
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [0x14002ad98]
mov rbx, rax
test rax, rax
je 0x140011db2
mov edx, 0x4e20
mov rcx, rax
call qword [0x14002adc0]
xor edx, edx
mov rcx, rbx
call qword [0x14002ac50]
mov rcx, qword [0x14002abe0]
test rcx, rcx
je 0x140011d81
call qword [0x14002ad08]
cmp dword [0x14002abdc], esi
ja 0x140011db2
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], esi
lea r8, [0x14000c4a0]
xor edx, edx
xor ecx, ecx
call qword [0x14002abf8]
cmp dword [rsp + 0x30], esi
je 0x140011db2
call fcn.14000c570
test eax, eax
jne 0x140011dc9
call fcn.140011140
mov ebx, eax
call qword [0x14002acb8]
sub eax, edi
cmp eax, ebx
jb 0x140011dc9
xor eax, eax
jmp 0x140011dce
mov eax, 1
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.1400131c0
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140015e0c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140015c38
Function at 0x1405dd058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1405dd1df
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 0x1405dd089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405dd06f
add dl, dl
jne 0x1405dd096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405dd0f6
xor eax, eax
add dl, dl
jne 0x1405dd0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405dd1ad
add dl, dl
jne 0x1405dd0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405dd0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405dd0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405dd0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405dd0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405dd07e
mov eax, 1
add dl, dl
jne 0x1405dd106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405dd113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405dd0fb
sub eax, ebx
mov ebx, 1
jne 0x1405dd14c
mov ecx, 1
add dl, dl
jne 0x1405dd12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405dd13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405dd123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405dd07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405dd168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405dd175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405dd15d
cmp eax, 0x7d00
jae 0x1405dd19b
cmp eax, 0x500
jb 0x1405dd196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405dd07e
cmp eax, 0x7f
ja 0x1405dd19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405dd07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405dd1d2
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 0x1405dd07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20