joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001d148
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 0x14001d178
xor eax, eax
jmp 0x14001d23b
mov rbp, rbx
cmp word [rax], si
je 0x14001d19d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001d184
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001d180
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.14001b748
movsxd r14, eax
test eax, eax
jne 0x14001d1db
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001d171
mov rcx, r14
call fcn.140014cb8
mov rdi, rax
test rax, rax
jne 0x14001d1f4
xor ecx, ecx
call fcn.140013ec4
jmp 0x14001d1d0
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.14001b748
test eax, eax
jne 0x14001d225
mov rcx, rdi
call fcn.140013ec4
jmp 0x14001d22f
xor ecx, ecx
call fcn.140013ec4
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 0x14001ff04
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140016420
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14001ffa5
cmp ebx, dword [rsp + 0x30]
je 0x14001ff9e
test esi, esi
je 0x14001ff9e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14001ff79
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14001ff86
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14001ff63
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14001ff8a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14001ffa7
mov eax, 1
jmp 0x14001ffa7
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002369c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000ff68
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140023726
cmp byte [rbp - 0x21], r15b
je 0x140023721
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002375c
call fcn.1400141c8
test eax, eax
jne 0x140023748
cmp byte [rbp - 0x21], r15b
je 0x140023740
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002375c
cmp byte [rbp - 0x21], r15b
je 0x140023759
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001054c
test eax, eax
jne 0x1400237fc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000ff68
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002379b
cmp byte [rbp - 0x21], r15b
je 0x1400237d0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400237d0
call fcn.1400141c8
test eax, eax
jne 0x1400237bc
cmp byte [rbp - 0x21], r15b
je 0x1400237b5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400237d0
cmp byte [rbp - 0x21], r15b
je 0x1400237cd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001054c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400237fc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400237ff
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002380d
mov rcx, rdi
call fcn.140013ec4
cmp byte [rbp + 0x3f], r15b
je 0x14002381c
mov rcx, qword [rbp + 0x27]
call fcn.140013ec4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400254b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400254d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400254d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x2fc4cad40
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4cb742
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f0108]
test eax, eax
je 0x2fc4cb7da
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f0110]
mov qword [rbp - 8], rax
jmp 0x2fc4cb7be
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 0x2fc4cb7b2
cmp qword [rbp - 0x10], 0
je 0x2fc4cb7b2
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 0x2fc4cb778
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cb7db
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cb8e0
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 0x2fc4cb908
mov eax, 0
jmp 0x2fc4cb956
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 0x2fc4cb931
mov eax, 0
jmp 0x2fc4cb956
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 0x2fc4cb951
mov eax, 0
jmp 0x2fc4cb956
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cb95c
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 0x2fc4cb9da
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cb9d1
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 0x2fc4cb9d1
mov rax, qword [rbp - 8]
jmp 0x2fc4cb9ef
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 0x2fc4cb9a4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4da890
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4db292
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ff108]
test eax, eax
je 0x2fc4db32a
lea rax, [0x2fc4ff0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ff110]
mov qword [rbp - 8], rax
jmp 0x2fc4db30e
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 0x2fc4db302
cmp qword [rbp - 0x10], 0
je 0x2fc4db302
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 0x2fc4db2c8
lea rax, [0x2fc4ff0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4db32b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4db430
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 0x2fc4db458
mov eax, 0
jmp 0x2fc4db4a6
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 0x2fc4db481
mov eax, 0
jmp 0x2fc4db4a6
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 0x2fc4db4a1
mov eax, 0
jmp 0x2fc4db4a6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400113ac
Capabilities:
Terminate process

Disassembly:
jmp 0x140019b10
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]
nop
add rsp, 0x28
ret

Function at 0x1400114dd
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001ae60
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001ae80
xor al, al
jmp 0x14001af01
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001ae93
xor al, al
jmp 0x14001af01
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 0x14001aebd
xor al, al
jmp 0x14001af01
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001aed1
xor al, al
jmp 0x14001af01
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001aee3
xor al, al
jmp 0x14001af01
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001aeff
xor al, al
jmp 0x14001af01
mov al, 1
add rsp, 0x38
ret
Function at 0x140011654
Capabilities:
Create thread

Disassembly:
jmp 0x140014080
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x140026040]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x14002c077]
call fcn.1400116f4
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140011762
mov rax, qword [rbp + 0x188]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x180]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x178]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x170]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x168]
mov r8, qword [rbp + 0x160]
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.140011640
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.14001126c
nop
lea rcx, [rbp + 0x108]
call fcn.1400112e9
nop
lea rax, [0x1400116e5]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.1400116db
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x1400141cb
lea rcx, [rbp + 8]
call fcn.1400112ee
nop
jmp 0x1400141e4
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14001119f
nop
lea rcx, [rbp + 8]
call fcn.1400112e9
nop
lea rcx, [rbp - 0x40]
lea rdx, [0x140022240]
call fcn.1400115d2
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.140011348
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x140018c60
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011735
movzx eax, al
test eax, eax
jne 0x140018c80
mov ecx, 7
call fcn.1400115e1
nop
mov byte [rsp + 0x20], 0
call fcn.14001161d
mov byte [rsp + 0x21], al
cmp dword [0x140026b88], 1
jne 0x140018ca4
mov ecx, 7
call fcn.1400115e1
nop
jmp 0x140018cfc
cmp dword [0x140026b88], 0
jne 0x140018cf7
mov dword [0x140026b88], 1
lea rdx, [0x140021660]
lea rcx, [0x140021330]
call fcn.14001132a
test eax, eax
je 0x140018cd8
mov eax, 0xff
jmp 0x140018e01
lea rdx, [0x140021220]
lea rcx, [section..rdata]
call fcn.140011604
mov dword [0x140026b88], 2
jmp 0x140018cfc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400115c8
call fcn.140011519
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140018d59
mov rcx, qword [rsp + 0x30]
call fcn.14001127b
movzx eax, al
test eax, eax
je 0x140018d59
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002d020]
nop
call fcn.140011569
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140018d8d
mov rcx, qword [rsp + 0x38]
call fcn.14001127b
movzx eax, al
test eax, eax
je 0x140018d8d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400116b3
nop
call fcn.140018eb0
mov dword [rsp + 0x28], eax
call fcn.1400114dd
movzx eax, al
test eax, eax
jne 0x140018dac
mov ecx, dword [rsp + 0x28]
call fcn.14001107d
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140018dbb
call fcn.1400116d1
nop
xor edx, edx
mov cl, 1
call fcn.140011253
mov eax, dword [rsp + 0x28]
jmp 0x140018e01
add rsp, 0x68
ret
Function at 0x140011299
Capabilities:
Terminate process

Disassembly:
jmp 0x140015ee0
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]
nop
add rsp, 0x28
ret

Function at 0x140011352
Capabilities:
Parse pe header

Disassembly:
jmp 0x140017230
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140017250
xor al, al
jmp 0x1400172d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140017263
xor al, al
jmp 0x1400172d1
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 0x14001728d
xor al, al
jmp 0x1400172d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400172a1
xor al, al
jmp 0x1400172d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400172b3
xor al, al
jmp 0x1400172d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400172cf
xor al, al
jmp 0x1400172d1
mov al, 1
add rsp, 0x38
ret
Function at 0x140015110
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400114bf
movzx eax, al
test eax, eax
jne 0x140015130
mov ecx, 7
call fcn.14001141f
nop
mov byte [rsp + 0x20], 0
call fcn.140011433
mov byte [rsp + 0x21], al
cmp dword [0x1400218a8], 1
jne 0x140015154
mov ecx, 7
call fcn.14001141f
nop
jmp 0x1400151ac
cmp dword [0x1400218a8], 0
jne 0x1400151a7
mov dword [0x1400218a8], 1
lea rdx, [0x14001d770]
lea rcx, [0x14001d440]
call fcn.14001123a
test eax, eax
je 0x140015188
mov eax, 0xff
jmp 0x1400152b1
lea rdx, [0x14001d330]
lea rcx, [section..rdata]
call fcn.140011429
mov dword [0x1400218a8], 2
jmp 0x1400151ac
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011406
call fcn.14001137a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140015209
mov rcx, qword [rsp + 0x30]
call fcn.1400111e0
movzx eax, al
test eax, eax
je 0x140015209
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140028020]
nop
call fcn.1400113bb
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001523d
mov rcx, qword [rsp + 0x38]
call fcn.1400111e0
movzx eax, al
test eax, eax
je 0x14001523d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001147e
nop
call fcn.140015360
mov dword [rsp + 0x28], eax
call fcn.140011352
movzx eax, al
test eax, eax
jne 0x14001525c
mov ecx, dword [rsp + 0x28]
call fcn.140011073
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001526b
call fcn.140011488
nop
xor edx, edx
mov cl, 1
call fcn.1400111c7
mov eax, dword [rsp + 0x28]
jmp 0x1400152b1
add rsp, 0x68
ret
Function at 0x1800016ec
Capabilities:
Authenticate hmac

Disassembly:
mov word [rdx + 0x385b5434], fs
cmpsd dword [rsi], dword [rdi]
int 0x88
mov word [rsp + rbp*4 - 0x1a1541c4], ds
ja 0x18000172c
sbb dword [rbx - 0x3a639474], ebp
cdq
mul ebp
in eax, 0xec
adc edi, edi
invalid
fucomi st(6)
wait
pop rdx
in al, 0xd9
xor dword [rbx + 0x630fb2c], 0x84c5f176
push rdi
rcr dword [rcx + rdx + 0x64], cl
sub al, 0x4d
pop rdx
jnp 0x18000169e
mov dh, byte [rbx]
sub eax, dword [rbx]
invalid
jrcxz 0x1800017a0
jnp 0x180001744
xor al, 0xce
sbb edi, dword [rbx]
add eax, 0xec77c93c
invalid
adc byte [rcx + 0x77], ch
pop rbx
out dx, al
imul edx, dword [0x1b0efba0b], 0x32
rol dword [rcx + riz*4 - 0x2c], cl
mov bh, 0xf0
pop rsp
in eax, 0xa1
out 0x39, al
xchg esp, eax
xlatb
mov r13b, 0x36
je 0x18000175a
push rsp
or r13b, byte [r15 - 0x14]
pop rax
in eax, dx
int1
sti
shl byte [rcx], 1
xor dword [rdx + 0x9168b6f], edx
in eax, dx
outsd dx, dword [rsi]
mov edx, dword [rsi]
or ebp, ebp
int3
and al, 0x5c
xor al, 0x6d
test dword [0x17ceb6380], 0xaf7c7260
jne 0x180001772
fadd dword [rax]
invalid
Function at 0x18061d058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.18061d1df
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 0x18061d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18061d06f
add dl, dl
jne 0x18061d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18061d0f6
xor eax, eax
add dl, dl
jne 0x18061d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18061d1ad
add dl, dl
jne 0x18061d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18061d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18061d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18061d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18061d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18061d07e
mov eax, 1
add dl, dl
jne 0x18061d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18061d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18061d0fb
sub eax, ebx
mov ebx, 1
jne 0x18061d14c
mov ecx, 1
add dl, dl
jne 0x18061d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18061d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18061d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18061d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18061d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18061d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18061d15d
cmp eax, 0x7d00
jae 0x18061d19b
cmp eax, 0x500
jb 0x18061d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18061d07e
cmp eax, 0x7f
ja 0x18061d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18061d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18061d1d2
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 0x18061d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20