joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140060518
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x3718
call fcn.14002fa50
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rsp + 0x3700], rax
mov rax, r9
mov r9, qword [rsp + 0x3740]
mov r9, qword [r9]
mov r8, rax
mov edx, 0xdac
lea rcx, [rsp + 0x1ba0]
call fcn.140048d28
test eax, eax
js 0x140060610
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov r9d, eax
lea rax, [rsp + 0x1ba0]
mov qword [rsp + 0x20], rax
lea r8, str._4d__s_n
mov edx, 0xdac
lea rcx, [rsp + 0x40]
call fcn.140006ce0
test eax, eax
js 0x1400605af
cmp byte [0x1400c9ff9], 0
je 0x1400605af
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rdx, [rsp + 0x40]
call fcn.140060bc8
cmp byte [0x1400c9ff8], 0
jne 0x1400605c7
call fcn.14001c868
cmp byte [0x1400c9ff9], 0
jne 0x1400605e8
lea rdx, [0x1400959f0]
mov rcx, qword [0x1400c8290]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventEnabled]
test al, al
je 0x140060610
test dword [0x1400ca100], 0x200000
je 0x140060610
lea r8, [rsp + 0x1ba0]
lea rdx, [0x1400959f0]
lea rcx, [0x1400c8290]
call fcn.14005325c
nop
jmp 0x140060612
mov rcx, qword [rsp + 0x3700]
xor rcx, rsp
call fcn.14002cdb0
add rsp, 0x3718
ret
Function at 0x140076be8
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rax, rcx
mov qword [rsp + 0x50], rcx
mov rsi, rdx
mov qword [rsp + 0x78], 0x41
xor edx, edx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x70], rcx
mov rdi, r8
lea rcx, fcn.140019f80
mov word [rbp - 0x80], dx
mov qword [rsp + 0x68], rcx
mov r9, r8
lea rcx, [0x14008bba0]
mov dword [rbp + 8], edx
mov qword [rsp + 0x60], rcx
mov r8, rsi
mov qword [rbp + 0x10], rdx
lea rcx, [rsp + 0x60]
mov rdx, qword [rax + 0xb0]
call fcn.140075c8c
jmp 0x140076c7f
mov r8, rdi
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140076be8
xor ecx, ecx
mov ebx, eax
test eax, eax
jne 0x140076ce9
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea r8, [rbp + 0x20]
mov qword [rsp + 0x28], rcx
xor edx, edx
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
je 0x140076c6e
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
mov rcx, qword [rcx + 0xb0]
cmp rdi, 0xffffffffffffffff
je 0x140076ce2
mov qword [rsp + 0x20], rdi
call fcn.14005d838
jmp 0x140076ce7
call fcn.14005d7d4
mov ebx, eax
lea rcx, [rsp + 0x60]
call fcn.140013e30
mov eax, ebx
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.14002cdb0
mov rbx, qword [rsp + 0x368]
add rsp, 0x330
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007a7c0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0xa8]
sub rsp, 0x190
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rsi, rcx
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 0x41
xor r15d, r15d
mov word [rbp - 0x20], r15w
lea rax, fcn.140019f80
mov qword [rbp - 0x38], rax
lea rax, [0x14008bba0]
mov qword [rbp - 0x40], rax
mov dword [rbp + 0x68], r15d
mov qword [rbp + 0x70], r15
mov qword [rsp + 0x20], r15
mov r9d, 0x2001f
lea r8, str.SOFTWAREMicrosoftWindows_SearchCrawlScopeManager_
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x40]
call fcn.140013ea0
lea r8, [rsp + 0x30]
lea rdx, str.SQMFullDriveIndexingSent
lea rcx, [rbp - 0x40]
call fcn.140014200
test eax, eax
jne 0x14007a98b
mov rcx, qword [rsi + 0x98]
mov rdx, qword [rcx]
call fcn.1400120d0
mov rdi, rax
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140097428]
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
test eax, eax
js 0x14007a98b
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14001716c
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x48]
call fcn.140012a08
nop
mov r14d, r15d
jmp 0x14007a968
mov rbx, rdi
mov rdx, rdi
mov rcx, qword [rsi + 0x98]
call fcn.1400465bc
mov rdi, rax
cmp dword [rbx + 0x50], r15d
je 0x14007a968
cmp qword [rbx + 8], 2
jne 0x14007a968
xor edx, edx
mov rcx, rbx
call fcn.140013d40
lea rdx, str.file:
mov rcx, qword [rax]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x14007a968
lea edx, [rax + 1]
mov rcx, rbx
call fcn.140013d40
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140012a08
nop
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140045db4
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.140021600
neg ebx
sbb eax, eax
add eax, 2
or eax, r14d
mov r14d, eax
mov r8d, eax
lea rdx, str.SQMFullDriveIndexingSent
lea rcx, [rbp - 0x40]
call fcn.14005ba70
test rdi, rdi
jne 0x14007a8d8
lea rcx, [rsp + 0x48]
call fcn.140021600
nop
mov rcx, qword [rsp + 0x38]
add rcx, 0xffffffffffffffe8
call fcn.140013dd0
nop
lea rcx, [rbp - 0x40]
call fcn.140013e30
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14002cdb0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14007ca90
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edx, dword [rcx + 0x7c]
xor al, al
mov rbx, rcx
cmp edx, 0xffffffff
je 0x14007cc42
mov ecx, edx
cmp ecx, 0x7c
je 0x14007cc42
cmp ecx, 0x29
jne 0x14007cad9
cmp dword [rbx + 0x1c], 0
jne 0x14007cc42
cmp ecx, ecx
jne 0x14007cad9
test dword [rbx + 0x80], 0x10000000
je 0x14007cc4d
cmp ecx, 0x2e
jne 0x14007caf9
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14007fb00
mov rcx, rbx
call fcn.14007fb60
jmp 0x14007cc2a
cmp ecx, 0x5c
jne 0x14007cb60
mov rcx, rbx
call fcn.14007fb60
test byte [rbx + 0x80], 0x80
je 0x14007cb53
cmp word [rbx + 0x78], 0x62
jne 0x14007cb31
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14007fb00
mov rcx, rbx
call fcn.14007fb60
jmp 0x14007cc32
cmp word [rbx + 0x78], 0x42
jne 0x14007cb53
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14007fb00
mov rax, qword [rbx + 0x48]
add rax, 0xc
xor dword [rax], 1
jmp 0x14007cb24
mov rcx, rbx
call fcn.14007ccdc
jmp 0x14007cc2a
cmp ecx, 0x5b
jne 0x14007cb8a
mov rcx, rbx
call fcn.14007fb60
mov rcx, rbx
call fcn.14007d2c0
cmp dword [rbx + 0x7c], 0x5d
je 0x14007caec
mov ecx, 4
call fcn.14002c998
int3
cmp ecx, 0x28
jne 0x14007cbb3
mov rcx, rbx
call fcn.14007fb60
mov rcx, rbx
call fcn.1400800cc
cmp dword [rbx + 0x7c], 0x29
mov dil, al
je 0x14007cc1d
mov ecx, 5
call fcn.14002c998
int3
cmp ecx, 0x5e
jne 0x14007cbc0
lea edx, [rcx - 0x5c]
jmp 0x14007cb1b
cmp ecx, 0x24
jne 0x14007cbcd
lea edx, [rcx - 0x21]
jmp 0x14007cb1b
cmp ecx, 0x3f
je 0x14007cc6e
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14007cc6e
cmp ecx, 0x7b
je 0x14007cc6e
cmp edx, 0x7d
jne 0x14007cbfc
test dword [rbx + 0x80], 0x10000000
je 0x14007cc58
cmp edx, 0x5d
jne 0x14007cc0d
test dword [rbx + 0x80], 0x10000000
je 0x14007cc63
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14007c2f0
mov dil, 1
mov rcx, rbx
call fcn.14007fb60
test dil, dil
je 0x14007cc32
mov rcx, rbx
call fcn.14007fba0
mov edx, dword [rbx + 0x7c]
mov al, 1
mov ecx, edx
cmp edx, 0xffffffff
jne 0x14007caad
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, 5
call fcn.14002c998
int3
mov ecx, 6
call fcn.14002c998
int3
mov ecx, 4
call fcn.14002c998
int3
mov ecx, 0xa
call fcn.14002c998
int3

Function at 0x140086004
Capabilities:
Get common file path
Set environment variable

Disassembly:
sub rsp, 0x258
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp byte [0x1400cb818], 0
jne 0x140086078
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x801c
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
test eax, eax
jne 0x14008607a
lea rdx, [rsp + 0x30]
lea rcx, str.LOCALAPPDATA
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x140086071
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x14008607a
movzx eax, ax
or eax, 0x80070000
jmp 0x14008607a
mov byte [0x1400cb818], 1
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002cdb0
add rsp, 0x258
ret
Function at 0x10000129c
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1000036f8]
lea rdx, [0x100003700]
call qword [sym.imp.API_MS_WIN_Service_Core_L1_1_0.dll_SetServiceStatus]
test eax, eax
jne 0x1000012e6
mov dword [0x100003704], 1
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
cmp qword [0x1000036f8], 0
mov dword [0x10000370c], eax
je 0x1000012dd
call fcn.10000129c
xor ecx, ecx
call qword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_ExitProcess]
inc dword [0x100003714]
add rsp, 0x28
ret

Function at 0x1000014b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor r12d, r12d
xor eax, eax
lock cmpxchg qword [0x100003740], rdi
je 0x1000014fe
cmp rax, rdi
jne 0x1000014f1
mov edi, 1
mov r12d, edi
jmp 0x100001503
mov ecx, 0x3e8
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_Sleep]
jmp 0x1000014d5
mov edi, 1
mov eax, dword [0x100003738]
cmp eax, edi
jne 0x100001519
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x100001576
mov eax, dword [0x100003738]
test eax, eax
jne 0x100001570
mov dword [0x100003738], edi
lea r13, [0x1000011a0]
lea rsi, [0x100001188]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
cmp rsi, r13
jae 0x100001562
test eax, eax
jne 0x100001562
mov rcx, qword [rsi]
test rcx, rcx
je 0x100001557
call rcx
mov dword [rsp + 0x20], eax
add rsi, 8
mov qword [rsp + 0x28], rsi
jmp 0x100001540
test eax, eax
je 0x100001576
mov eax, 0xff
jmp 0x100001648
mov dword [0x100003164], edi
mov eax, dword [0x100003738]
cmp eax, edi
jne 0x10000159d
lea rdx, [0x100001180]
lea rcx, [0x100001170]
call sub.msvcrt.dll__initterm
mov dword [0x100003738], 2
test r12d, r12d
jne 0x1000015ab
xor eax, eax
xchg qword [0x100003740], rax
cmp qword [0x100003748], 0
je 0x1000015d4
lea rcx, [0x100003748]
call fcn.10000189c
test eax, eax
je 0x1000015d4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100003748]
mov r8, qword [0x100003148]
mov rdx, qword [0x100003150]
mov ecx, dword [0x100003140]
call fcn.100001440
mov dword [0x100003160], eax
cmp dword [0x100003144], 0
jne 0x100001604
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100003164], 0
jne 0x100001619
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100003160]
jmp 0x100001648
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call fcn.10011f000
add rsp, 0x28
jmp 0x1000014b0

Function at 0x100001908
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100001955
cmp rcx, 0xffffffffffffffff
je 0x100001955
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10000194d
cmp dword [rcx + 0x3c], edx
jl 0x10000194d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10000194d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100001955
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140090a60
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
push r11
mov r11, qword [r14 + 0x10]
add r14, 0x18
mov r15, qword [r14]
mov r12, r15
add r12, 0x10
mov r14, qword [r12]
push rax
mov r12, qword [r14 + 0x30]
cmp r12, 0
je 0x140090aba
mov r15, qword [r14 + 0x60]
mov rax, qword [r15]
and eax, 0xdf00df
mov r15, qword [r15 + 0xb]
add r15d, eax
shr r15d, 2
sub r15d, 0xc914cd2
cmp r15, 0
je 0x140090ac2
mov r14, qword [r14]
jmp 0x140090a8b
mov r14d, dword [r12 + 0x3c]
add r14, r12
add r14, 0x10
mov r15d, dword [r14 + 0x78]
add r15, r12
push r10
mov eax, dword [r15 + 0x20]
add rax, r12
mov r10d, dword [rax]
add r10, r12
mov r14d, dword [r10 + 0xb]
sub r14d, 0x746365
cmp r14d, 0
jne 0x140090af7
jmp 0x140090b05
inc rax
inc rax
inc rax
inc rax
jmp 0x140090ade
mov r14d, dword [r15 + 0x20]
sub rax, r14
sub rax, r12
shr eax, 1
mov r14d, dword [r15 + 0x24]
add r14, rax
add r14, r12
mov eax, dword [r14]
mov r14d, dword [r15 + 0x1c]
mov esi, dword [rdi + 0x1c]
shl eax, 0x10
shr eax, 0xe
add r14, r12
add r14, rax
mov eax, dword [r14]
add rax, r12
mov r14d, 0x200000
add r14, r11
push r12

Function at 0x14009ad7c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14009aea0
Function at 0x1400d9280
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1400d92bc
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400d92c6
add rdi, rbx
sub rsi, rbx
jne 0x1400d929a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14008d5e0
int3

Function at 0x1400d92d0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x14017e028]
xor rax, rsp
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmm2, xmmword [rdx + 0x20]
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
xor eax, eax
lea rcx, [0x140168e90]
movaps xmm0, xmmword [rsp + rax + 0x20]
xorps xmm0, xmmword [rax + rcx]
movaps xmmword [rsp + rax + 0x20], xmm0
add rax, 0x10
cmp rax, 0x30
jne 0x1400d930b
lea rdi, [rsi + 0xf8]
mov eax, dword [0x14018a254]
lea rcx, [rsp + 0x20]
bt eax, 0x19
jae 0x1400d9391
mov edx, 0x100
mov r8, rsi
call fcn.1400166a0
lea rax, [0x1400151a0]
test rdi, rdi
je 0x1400d935e
lea rcx, [0x140014440]
mov qword [rdi], rcx
mov qword [rsi + 0x100], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x108], xmm0
mov qword [rsi + 0x118], 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14008fec0
nop
add rsp, 0x58
pop rdi
pop rsi
ret
bt eax, 9
jae 0x1400d93b9
mov edx, 0x100
mov r8, rsi
call fcn.140017890
lea rax, [0x140017d60]
test rdi, rdi
je 0x1400d935e
lea rcx, [0x140017a60]
jmp 0x1400d935b
mov rdx, rsi
call fcn.140124b10
lea rax, [0x140125460]
test rdi, rdi
je 0x1400d935e
lea rcx, [0x1401244a0]
jmp 0x1400d935b

Function at 0x1400db05d
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.14008d2b8
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x14010a9e0]
xor ecx, ecx
xor edx, edx
mov r9, rax
call fcn.14008e2ac
mov qword [rbx], rax
test rax, rax
je 0x1400db0b4
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x1400dc4b0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
lea rdi, [rcx + 8]
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1400dc4db
mov rcx, rdi
add rsp, 0x28
pop rdi
pop rsi
jmp sub.KERNEL32.dll_ReleaseSRWLockExclusive
lock inc dword [rsi]
mov rcx, rdi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
mov rcx, rsi
call fcn.140120bb0
lock dec dword [rsi]
je 0x1400dc4fa
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rsi
call fcn.140120b50
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400013b0
Function at 0x140133310
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rsi, r9
mov r13, r8
mov rdi, rdx
mov r14, rcx
mov r15, qword [rsp + 0x108]
mov rax, qword [rsp + 0x100]
mov rcx, qword [0x14017e028]
xor rcx, rsp
mov qword [rsp + 0x80], rcx
test rax, rax
jne 0x140133370
lea rcx, [0x1401883f0]
lea rdx, [0x14014af40]
call fcn.1400530d0
lea rax, [0x1401883f8]
test r15, r15
cmove r15, rax
mov ebx, dword [rax + 4]
lea rcx, [rbx + rbx]
add rcx, 2
cmp rcx, rdi
jbe 0x1401333d2
mov dword [rsp + 0x20], 0x14a
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r12d, r12d
mov ecx, 4
xor edx, edx
mov r8d, 0x7e
call fcn.1400cc8a0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14008fec0
mov eax, r12d
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rbx + rbx]
mov rbp, rcx
not rbp
lea rdx, [rdi + rbp]
dec rdx
cmp rdx, rsi
jae 0x140133409
mov dword [rsp + 0x20], 0x150
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r12d, r12d
mov ecx, 4
xor edx, edx
mov r8d, 0x72
jmp 0x1401333a6
dec rdi
or rcx, 1
cmp rdi, rcx
jae 0x140133422
mov dword [rsp + 0x20], 0x155
jmp 0x14013338f
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
mov byte [r14], 0
lea r8, [r14 + rbx]
inc r8
mov qword [rsp + 0x20], rax
xor r12d, r12d
mov qword [rsp + 0x38], r8
xor r9d, r9d
call fcn.1400f4690
test eax, eax
je 0x1401333ab
mov r12, rdi
sub r12, rsi
add rbp, r12
mov rcx, qword [rsp + 0x38]
je 0x140133482
mov rax, qword [rsp + 0x38]
lea rcx, [rax + rbx]
xor edx, edx
mov r8, rbp
call fcn.1400924f0
mov rcx, qword [rsp + 0x38]
inc r14
mov rax, rbx
not rax
add r12, rax
mov byte [rcx + r12], 1
test rsi, rsi
mov rbp, rcx
je 0x1401334b0
lea rcx, [rdi + rbp]
sub rcx, rsi
sub rcx, rbx
mov rdx, r13
mov r8, rsi
call fcn.140091e40
lea r8, [0x140168ec0]
mov rcx, r14
mov rdx, rbx
call fcn.14000a100
sub rdi, rbx
mov rcx, rdi
call fcn.14006b210
test rax, rax
jne 0x1401334f6
mov dword [rsp + 0x20], 0x169
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r12d, r12d
mov ecx, 4
xor edx, edx
mov r8d, 0x41
jmp 0x1401333a6
mov rsi, rax
mov qword [rsp + 0x20], r15
mov rcx, rax
mov rdx, rdi
mov r8, r14
mov r9, rbx
call fcn.1401335c0
xor r12d, r12d
test eax, eax
jne 0x140133544
mov rdi, rsi
add rdi, 0xfffffffffffffff8
mov r8, qword [rsi - 8]
add r8, 8
mov rcx, rdi
xor edx, edx
call fcn.1400924f0
mov rcx, qword [0x140181548]
mov rdx, rdi
xor r8d, r8d
call qword [rcx + 0x28]
jmp 0x1401333ab
test rdi, rdi
je 0x14013355a
xor eax, eax
mov cl, byte [rsi + rax]
xor byte [rbp + rax], cl
inc rax
cmp rdi, rax
jne 0x14013354b
movaps xmm0, xmmword [0x14015c320]
lea rcx, [rsp + 0x40]
movaps xmmword [rcx + 0x30], xmm0
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
mov qword [rsp + 0x20], r15
mov rdx, rbx
mov r8, rbp
mov r9, rdi
call fcn.1401335c0
test eax, eax
je 0x140133516
mov r12d, 1
test rbx, rbx
je 0x140133516
xor eax, eax
mov cl, byte [rsp + rax + 0x40]
xor byte [r14 + rax], cl
inc rax
cmp rbx, rax
jne 0x14013359d
jmp 0x140133516
Function at 0x1409edce0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409ede67
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 0x1409edd11
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409edcf7
add dl, dl
jne 0x1409edd1e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409edd7e
xor eax, eax
add dl, dl
jne 0x1409edd2d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409ede35
add dl, dl
jne 0x1409edd3e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409edd4b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409edd58
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409edd65
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409edd72
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1409edd06
mov eax, 1
add dl, dl
jne 0x1409edd8e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409edd9b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409edd83
sub eax, ebx
mov ebx, 1
jne 0x1409eddd4
mov ecx, 1
add dl, dl
jne 0x1409eddb6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409eddc3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409eddab
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409edd06
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1409eddf0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409eddfd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409edde5
cmp eax, 0x7d00
jae 0x1409ede23
cmp eax, 0x500
jb 0x1409ede1e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409edd06
cmp eax, 0x7f
ja 0x1409ede26
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409edd06
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409ede5a
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 0x1409edd06
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x004055a0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x004055b0]
mov dword [rax], 1
mov rax, qword [0x004055c0]
mov dword [rax], 1
mov rax, qword [0x00405590]
mov dword [rax], 1
mov rax, qword [0x00405480]
cmp word [rax], 0x5a4d
je 0x4010b0
mov rax, qword [0x00405580]
mov dword [0x00408008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010a0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x00405540]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x00405430]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401103
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058