joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002d60
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x14000b260]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000b240]
test rbx, rbx
je 0x140002dac
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 0x140002da6
test eax, eax
jne 0x140002da6
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140002d7e
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002f60
Capabilities:
Parse pe header

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

Function at 0x140002f84
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 0x140002fbe
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140002fb5
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140002fc0
inc r8d
add rax, 0x28
jmp 0x140002f9c
xor eax, eax
ret

Function at 0x140003031
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140008850]
mov r8, rcx
mov rcx, r9
call sym._ValidateImageBase
test eax, eax
je 0x14000305d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp sym._FindPESection
xor eax, eax
add rsp, 0x28
ret

Function at 0x140006d50
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Convert ip address from string
Create tcp socket
Create udp socket
Delete file
Execute command
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x90
xor esi, esi
call sym.__main
call sym.__p__acmdln
mov rbx, qword [rax]
test rbx, rbx
jne 0x140006d8b
lea rbx, [0x140008180]
jmp 0x140006dbd
cmp cl, 0x22
jne 0x140006d7f
xor esi, 1
call sym._ismbblead
test eax, eax
jne 0x140006d95
inc rbx
movsx ecx, byte [rbx]
cmp cl, 0x20
jg 0x140006d77
jmp 0x140006da0
cmp byte [rbx + 1], 0
je 0x140006d88
inc rbx
jmp 0x140006d88
test cl, cl
je 0x140006db7
and esi, 1
je 0x140006db7
mov esi, 1
jmp 0x140006d7f
cmp al, 0x20
jg 0x140006dbd
inc rbx
mov al, byte [rbx]
test al, al
jne 0x140006db0
lea rdx, [rsp + 0x28]
xor eax, eax
mov ecx, 0x1a
mov rdi, rdx
rep stosd dword [rdi], eax
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov r9d, 0xa
test byte [rsp + 0x64], 1
je 0x140006dea
movzx r9d, word [rsp + 0x68]
mov rcx, qword [0x140008850]
mov r8, rbx
xor edx, edx
add rsp, 0x90
pop rbx
pop rsi
pop rdi
jmp sym.WinMain
Function at 0x140001210
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
lea rax, [rcx + 1]
test rax, 0xfffffffffffffffe
je 0x140001249
cmp dword [rbx + 0x10], 0
je 0x14000123d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
and dword [rbx + 0x10], 0
mov rcx, qword [rbx]
lea rax, [rcx + 1]
test rax, 0xfffffffffffffffe
jne 0x140001253
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000126b
cmp dword [rbx + 8], 0
je 0x140001261
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x140001267
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or qword [rbx], 0xffffffffffffffff
add rsp, 0x20
pop rbx
ret

Function at 0x14000130c
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor edi, edi
mov rcx, qword [rcx]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000133f
cmp dword [rbx + 8], edi
je 0x140001335
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x14000133b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or qword [rbx], 0xffffffffffffffff
cmp dword [rbx + 0x10], edi
je 0x14000135b
lea rcx, [rbx + 0x18]
cmp qword [rcx + 0x18], 8
jb 0x140001352
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rbx + 0x10], edi
mov rdx, qword [rbx + 0x30]
cmp rdx, 8
jb 0x140001376
mov rcx, qword [rbx + 0x18]
lea rdx, [rdx*2 + 2]
call fcn.1400015b8
mov qword [rbx + 0x28], rdi
mov qword [rbx + 0x30], 7
mov word [rbx + 0x18], di
mov rcx, qword [rbx]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400013aa
cmp dword [rbx + 8], edi
je 0x1400013a0
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x1400013a6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or qword [rbx], 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000279c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140025020]
xor rax, rsp
mov qword [rsp + 0x28], rax
and qword [rdx], 0
mov rbx, rdx
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1400027de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x1400027f4
mov rax, qword [rsp + 0x20]
test rax, rax
jns 0x1400027ef
mov eax, 0x800703ee
jmp 0x1400027f4
mov qword [rbx], rax
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140004200
add rsp, 0x30
pop rbx
ret
Function at 0x140002808
Capabilities:
Clear file content
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140025020]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, rdx
mov rdi, rcx
mov qword [rbp - 0x38], rcx
lea rdx, [rbp - 0x10]
call fcn.14000279c
test eax, eax
jns 0x140002861
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x1400029da
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov r14d, 0x80070000
test eax, eax
jne 0x140002898
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, r14d
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140002898
mov eax, ecx
jmp 0x1400029da
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x1400028c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, r14d
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x140002891
mov rdi, qword [rbp - 0x10]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rax
and qword [rbp - 0x28], rax
and qword [rbp - 0x20], rax
and qword [rbp - 0x18], rax
mov edx, 0x8000
mov byte [rbp - 0x40], al
lea r8, [rbp - 0x40]
lea rcx, [rbp - 0x28]
cmp rdi, rdx
jbe 0x1400028fb
call fcn.140003998
jmp 0x14000290c
mov rdx, rdi
call fcn.140003998
test rdi, rdi
je 0x140002991
mov r12, qword [rbp - 0x20]
mov rsi, qword [rbp - 0x28]
mov rax, r12
sub rax, rsi
cmp rdi, rax
jae 0x14000293b
mov byte [rbp - 0x40], 0
lea r8, [rbp - 0x40]
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140003998
mov r12, qword [rbp - 0x20]
mov rsi, qword [rbp - 0x28]
and dword [rbp - 0x30], 0
mov r13, r12
sub r13, rsi
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x30]
mov r8d, r13d
mov rdx, rsi
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400029af
mov eax, dword [rbp - 0x30]
sub rdi, rax
and dword [rbp - 0x10], 0
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x10]
mov r8d, r13d
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400029af
test rdi, rdi
jne 0x140002914
jmp 0x140002995
mov rsi, qword [rbp - 0x28]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
je 0x1400029af
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400029c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, r14d
test eax, eax
cmovle edi, eax
jmp 0x1400029c4
xor edi, edi
test rsi, rsi
je 0x1400029d8
mov rdx, qword [rbp - 0x18]
sub rdx, rsi
mov rcx, rsi
call fcn.1400015b8
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140004200
lea r11, [rsp + 0x70]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140002a00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140025020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r13, rdx
mov r12, rcx
lea rdx, [rbp - 0x20]
call fcn.14000279c
test eax, eax
jns 0x140002a52
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x140002aea
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x140002a83
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140002a83
mov eax, ecx
jmp 0x140002aea
mov r14, qword [rbp - 0x20]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
and qword [rbp - 0x40], rax
and qword [rbp - 0x38], rax
and qword [rbp - 0x30], rax
mov edx, 0x8000
lea rcx, [rbp - 0x40]
cmp r14, rdx
jbe 0x140002b0e
call fcn.140002118
movups xmm0, xmmword [r13]
movdqu xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.140002734
mov edi, eax
test eax, eax
jns 0x140002b38
mov rsi, qword [rbp - 0x40]
test rsi, rsi
je 0x140002ae8
mov rdx, qword [rbp - 0x30]
sub rdx, rsi
mov rcx, rsi
call fcn.1400015b8
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140004200
mov rsi, qword [rsp + 0xc0]
add rsp, 0x80
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
mov rdx, r14
call fcn.140002118
movups xmm0, xmmword [r13]
movdqu xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.140002734
mov edi, eax
test eax, eax
js 0x140002ad0
test r14, r14
je 0x140002bae
mov rdi, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x40]
mov rax, rdi
sub rax, rsi
cmp r14, rax
jae 0x140002b80
mov rdx, r14
lea rcx, [rbp - 0x40]
call fcn.140002118
movups xmm0, xmmword [r13]
movdqu xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x40]
call fcn.140002734
mov edi, eax
test eax, eax
js 0x140002ad0
mov rdi, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x40]
and dword [rbp - 0x20], 0
mov r8, rdi
sub r8, rsi
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x20]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140002bbf
mov eax, dword [rbp - 0x20]
sub r14, rax
je 0x140002bb2
jmp 0x140002b40
mov rsi, qword [rbp - 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x140002bd8
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x140002ad4
xor edi, edi
jmp 0x140002ad4
Function at 0x140002be0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140025020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r13, r9
mov r12, r8
mov rbx, rdx
mov r15, rcx
xor edi, edi
mov dword [r9], edi
lea rdx, [rbp - 0x20]
call fcn.14000279c
test eax, eax
jns 0x140002c3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x140002ce0
mov rsi, qword [rbp - 0x20]
cmp rbx, rsi
jb 0x140002c4e
mov eax, 0x80070057
jmp 0x140002ce0
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x140002c80
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140002c80
mov eax, ecx
jmp 0x140002ce0
sub rsi, rbx
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rdi
mov edx, 0x8000
lea rcx, [rbp - 0x40]
cmp rsi, rdx
jbe 0x140002cfe
call fcn.140002118
movups xmm0, xmmword [r12]
movdqu xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.140002734
mov ebx, eax
test eax, eax
jns 0x140002d28
mov rdi, qword [rbp - 0x40]
test rdi, rdi
je 0x140002cde
mov rdx, qword [rbp - 0x30]
sub rdx, rdi
mov rcx, rdi
call fcn.1400015b8
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140004200
add rsp, 0x80
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rdx, rsi
call fcn.140002118
movups xmm0, xmmword [r12]
movdqu xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.140002734
mov ebx, eax
test eax, eax
js 0x140002cc6
test rsi, rsi
je 0x140002da2
mov rbx, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x40]
and dword [rbp - 0x20], 0
mov rax, rbx
sub rax, rdi
cmp rsi, rax
jae 0x140002d74
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.140002118
movups xmm0, xmmword [r12]
movdqu xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x40]
call fcn.140002734
mov ebx, eax
test eax, eax
js 0x140002cc6
mov rbx, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x40]
mov r8, rbx
sub r8, rdi
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x20]
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140002db3
mov ecx, dword [rbp - 0x20]
add dword [r13], ecx
sub rsi, rcx
je 0x140002da6
jmp 0x140002d30
mov rdi, qword [rbp - 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x140002dcc
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140002cca
xor ebx, ebx
jmp 0x140002cca
Function at 0x1400037c8
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140025020]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov rsi, rcx
xor r12d, r12d
test rcx, rcx
jne 0x140003802
mov r14d, r12d
jmp 0x14000380f
mov edx, 0x104
call fcn.140008c5c
mov r14, rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, r14d
mov r8, rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd r15, eax
test eax, eax
jne 0x14000384d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x140003970
mov rdx, r15
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r12w
cmp r15, 7
ja 0x140003881
mov qword [rbp - 0x18], rdx
movzx eax, r12w
lea rdi, [rbp - 0x28]
mov rcx, rdx
rep stosw word [rdi], ax
mov word [rbp + r15*2 - 0x28], r12w
jmp 0x140003892
xor r9d, r9d
mov r8b, byte [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.140002628
nop
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14000393a
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
movsxd rdi, eax
test eax, eax
je 0x14000393a
lea rdx, [rdi - 1]
cmp rdx, qword [rbx + 0x10]
ja 0x140003903
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400038f8
mov rax, qword [rbx]
mov qword [rbx + 0x10], rdx
mov word [rax + rdx*2], r12w
jmp 0x140003912
xor r8d, r8d
sub rdx, qword [rbx + 0x10]
mov rcx, rbx
call fcn.140003aa8
cmp qword [rbx + 0x18], 8
jb 0x14000391c
mov rbx, qword [rbx]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
mov r8d, edi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x140003950
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x140003953
mov edi, r12d
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x14000396e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
call fcn.1400015b8
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140004200
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret

Function at 0x14000c1d4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000c000
Function at 0x140011217
Capabilities:
Terminate process

Disassembly:
jmp 0x1400135e0
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 0x1400112a3
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014930
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014950
xor al, al
jmp 0x1400149d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014963
xor al, al
jmp 0x1400149d1
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 0x14001498d
xor al, al
jmp 0x1400149d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400149a1
xor al, al
jmp 0x1400149d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400149b3
xor al, al
jmp 0x1400149d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400149cf
xor al, al
jmp 0x1400149d1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012820
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113cf
movzx eax, al
test eax, eax
jne 0x140012840
mov ecx, 7
call fcn.140011348
nop
mov byte [rsp + 0x20], 0
call fcn.14001135c
mov byte [rsp + 0x21], al
cmp dword [0x14001e868], 1
jne 0x140012864
mov ecx, 7
call fcn.140011348
nop
jmp 0x1400128bc
cmp dword [0x14001e868], 0
jne 0x1400128b7
mov dword [0x14001e868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111bd
test eax, eax
je 0x140012898
mov eax, 0xff
jmp 0x1400129c1
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011352
mov dword [0x14001e868], 2
jmp 0x1400128bc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011334
call fcn.1400112c6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012919
mov rcx, qword [rsp + 0x30]
call fcn.14001116d
movzx eax, al
test eax, eax
je 0x140012919
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 [0x140024020]
nop
call fcn.140011302
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001294d
mov rcx, qword [rsp + 0x38]
call fcn.14001116d
movzx eax, al
test eax, eax
je 0x14001294d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011389
nop
call fcn.140012a70
mov dword [rsp + 0x28], eax
call fcn.1400112a3
movzx eax, al
test eax, eax
jne 0x14001296c
mov ecx, dword [rsp + 0x28]
call fcn.14001105a
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001297b
call fcn.140011393
nop
xor edx, edx
mov cl, 1
call fcn.14001115e
mov eax, dword [rsp + 0x28]
jmp 0x1400129c1
add rsp, 0x68
ret
Function at 0x1800111b8
Capabilities:
Terminate process

Disassembly:
jmp 0x1800141e0
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 0x180012930
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x18002304b]
call fcn.1800112f3
cmp dword [rbp + 0x1a0], 1
je 0x18001299a
cmp dword [rbp + 0x1a0], 2
jne 0x180012a0e
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x58], rax
mov r8d, 0x30
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
je 0x180012a0e
mov eax, dword [rbp + 0x2c]
and eax, 0x60
test eax, eax
je 0x180012a0e
lea r9, [rbp + 0x94]
mov r8d, 1
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x18001105a]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rbp - 0x30]
lea rdx, [0x18001bb10]
call fcn.180011299
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.180011177
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x141a34058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141a341df
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 0x141a34089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141a3406f
add dl, dl
jne 0x141a34096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141a340f6
xor eax, eax
add dl, dl
jne 0x141a340a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141a341ad
add dl, dl
jne 0x141a340b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a340c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a340d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a340dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141a340ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141a3407e
mov eax, 1
add dl, dl
jne 0x141a34106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a34113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141a340fb
sub eax, ebx
mov ebx, 1
jne 0x141a3414c
mov ecx, 1
add dl, dl
jne 0x141a3412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141a3413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141a34123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141a3407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141a34168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141a34175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141a3415d
cmp eax, 0x7d00
jae 0x141a3419b
cmp eax, 0x500
jb 0x141a34196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141a3407e
cmp eax, 0x7f
ja 0x141a3419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141a3407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141a341d2
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 0x141a3407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20