joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800d0b00
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1800d0b42
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1800d0b89
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1800d0be2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1800d0ba0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1800d0c23
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1800e4c32]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1800e4c33]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1800d0bf0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1800d0c40
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800d0c7a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800d0c7f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800d0cc8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1800d0cc8
dec r8
sub rdx, 1
jne 0x1800d0cae
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14001492f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0xa8
mov qword [rsp + 0xa0], rcx
mov rax, qword gs:[0x60]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
add rax, 0x108
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
movzx ecx, word [rcx + 6]
cmp rax, rcx
ja 0x140014a6c
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x2e8]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x48]
mov r8d, 8
call rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
movzx ecx, word [rcx + 6]
sub ecx, 1
movsxd rcx, ecx
cmp rax, rcx
jne 0x140014a4b
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0xc]
add rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x58], rax
jmp 0x140014a6c
mov rax, qword [rsp + 0x68]
add rax, 0x28
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
add rax, 1
mov qword [rsp + 0x50], rax
jmp 0x1400149cc
mov byte [rsp + 0x3a], 0x89
mov byte [rsp + 0x3b], 0x50
mov byte [rsp + 0x3c], 0x4e
mov byte [rsp + 0x3d], 0x47
mov byte [rsp + 0x3e], 0xd
mov byte [rsp + 0x3f], 0xa
mov byte [rsp + 0x40], 0x1a
mov byte [rsp + 0x41], 0xa
mov byte [rsp + 0x42], 0x47
mov byte [rsp + 0x43], 0x49
mov byte [rsp + 0x44], 0x46
mov byte [rsp + 0x45], 0x38
mov byte [rsp + 0x46], 0x37
mov byte [rsp + 0x47], 0x61
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
sub rcx, 0xe
cmp rax, rcx
ja 0x140014b31
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x2f0]
lea rdx, [rsp + 0x3a]
mov rcx, qword [rsp + 0x60]
add rcx, qword [rsp + 0x28]
mov r8d, 0xe
call rax
cmp eax, 0
jne 0x140014b19
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
jmp 0x140014b31
jmp 0x140014b1e
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
jmp 0x140014ac4
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
add rcx, 0xe
sub rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x300]
mov rcx, qword [rsp + 0x20]
shl rcx, 0
call rax
mov rcx, rax
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x2e8]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
add rcx, 0xe
add rdx, rcx
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x40]
call rax
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x48], rcx
add rsp, 0xa8
ret
Function at 0x140014c9f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0xb8
mov qword [rsp + 0xb0], rcx
mov dword [rsp + 0xac], 0
mov byte [rsp + 0x80], 0xf3
mov byte [rsp + 0x81], 0x3a
mov byte [rsp + 0x82], LoadRegTypeLib
mov byte [rsp + 0x83], 1
mov byte [rsp + 0x84], LoadRegTypeLib
mov byte [rsp + 0x85], 0x1b
mov byte [rsp + 0x86], 0x93
mov byte [rsp + 0x87], 0x91
mov byte [rsp + 0x88], 0xd6
mov byte [rsp + 0x89], 0xfb
mov byte [rsp + 0x8a], LoadRegTypeLib

Function at 0x140014e10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov al, byte [rax]
add byte [rax], al
popfq
mov byte [rsp + 0x8b], VariantTimeToSystemTime
mov byte [rsp + 0x8c], 0xf2
mov byte [rsp + 0x8d], 0x64
mov byte [rsp + 0x8e], VarBstrFromDisp
mov byte [rsp + 0x8f], 0x58
mov byte [rsp + 0x90], 0xed
mov byte [rsp + 0x91], 0xf4
mov byte [rsp + 0x92], 0x7d
mov byte [rsp + 0x93], 0x3a
mov byte [rsp + 0x94], 0x69
mov byte [rsp + 0x95], 0x55
mov byte [rsp + 0x96], 0x18
mov byte [rsp + 0x97], VarBstrFromDisp
mov byte [rsp + 0x98], 0xf4
mov byte [rsp + 0x99], VarBstrFromDisp
mov byte [rsp + 0x9a], 0xd9
mov byte [rsp + 0x9b], 0x3f
mov byte [rsp + 0x9c], 0x8b
mov byte [rsp + 0x9d], 0xdb
mov byte [rsp + 0x9e], 0x42
mov byte [rsp + 0x9f], 0x34
mov byte [rsp + 0x74], 0x5c
mov byte [rsp + 0x75], 0x9b
mov byte [rsp + 0x76], 0xa3
mov byte [rsp + 0x77], VarBstrFromDisp
mov byte [rsp + 0x78], 0xd0
mov byte [rsp + 0x79], 9
mov byte [rsp + 0x7a], 0x3b
mov byte [rsp + 0x7b], 0x42
mov byte [rsp + 0x7c], 0xc9
mov byte [rsp + 0x7d], 0xe
mov byte [rsp + 0x7e], LoadRegTypeLib
mov byte [rsp + 0x7f], 0xfb
mov byte [rsp + 0x50], 0x29
mov byte [rsp + 0x51], 0x94
mov byte [rsp + 0x52], 0x61
mov byte [rsp + 0x53], 0xfd
mov byte [rsp + 0x54], 0x93
mov byte [rsp + 0x55], 0x3e
and al, 0x55
mov byte ds:[rsp + 0x56], 0xe9
mov byte [rsp + 0x57], 0x16
mov byte [rsp + 0x58], 0x75
mov byte [rsp + 0x59], 0x56
mov byte [rsp + 0x5a], 0xa6
mov byte [rsp + 0x5b], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov byte [rsp + 0x5c], 0x46
mov byte [rsp + 0x5d], 7
mov byte [rsp + 0x5e], 0x6b
mov byte [rsp + 0x5f], 0x79
mov byte [rsp + 0x60], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov byte [rsp + 0x61], 0xcc
mov byte [rsp + 0x62], 0x13
mov byte [rsp + 0x63], 0xd9
mov byte [rsp + 0x64], 0x22
mov byte [rsp + 0x65], 0x28
mov byte [rsp + 0x66], 0x68
mov byte [rsp + 0x67], 0xe2
mov byte [rsp + 0x68], 0x38
mov byte [rsp + 0x69], 0x98
mov byte [rsp + 0x6a], 0x43
mov byte [rsp + 0x6b], 0x14
mov byte [rsp + 0x6c], 0x9b
invalid
invalid
Function at 0x140131000
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov r12, qword [rcx + 0x10]
xchg r12, rax
xchg r12, rcx
mov r12, qword [rax]
xchg rcx, r12
xchg r9, r8
jmp 0x1401314d2
mov r8, qword [rcx + 0x30]
xchg r8, r9
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
mov r11d, dword [rbx + r9 + 0x20]
nop word [rax + rax]
je 0x14013153b
jne 0x14013153b
cmp r8, rdi
invalid
invalid
Function at 0x14013356e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xchg r8, rsi
jp 0x140132f78
ret
Function at 0x1400023d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x1400359d4], 0
lea rdi, [0x1400359d0]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x1400024a8
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x140002400
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x1400024de
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x1400024c0
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x14000251f
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140002503
cmp byte [r8], r9b
jne 0x140002503
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x1400024f0
not eax
pop rdi
ret
Function at 0x140002720
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x140002739
mov qword [r8], 0
lea rdx, [0x14002b668]
call fcn.140002530
mov rbx, rax
test rax, rax
jne 0x140002758
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
xor edx, edx
mov r8d, 2
mov qword [rsp + 0x38], rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000281a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14000281a
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000281a
mov rax, qword [0x140035820]
mov rbp, rsi
test rax, rax
je 0x1400027b7
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000281a
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x140002807
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140035820]
test rax, rax
je 0x1400027fc
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002823
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140002815
mov qword [rdi], rbp
mov rax, rsi
jmp 0x140002825
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140010d40
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x140035820]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x140010e5a
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2da0]
mov dword [rdi + 0x2d9c], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x140010d9a
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140011d00
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x140010dae
mov edx, 8
mov rcx, rbx
call fcn.140011d00
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2db0], esi
jle 0x140010dfa
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2db0]
jl 0x140010dd0
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x140010e09
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x14002b66c]
test rax, rax
movsxd rsi, esi
lea rdi, [0x140035818]
mov rcx, r15
cmovne rdi, rax
call fcn.140002530
mov rbx, rax
test rax, rax
je 0x140010e55
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x140018d00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r13
push r14
sub rsp, 0xb8
mov r13, rcx
movsxd rax, r9d
xor ecx, ecx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xe8], ecx
mov r14, rdx
test r9d, r9d
jle 0x140018f62
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rbp
movzx ebp, byte [r13 + 0x24]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], rdi
mov edi, pe_nt_image_headers64
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
movzx r11d, byte [r13 + 0x20]
movss xmm8, dword [0x14002fb40]
nop word [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x140018dca
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, di
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, di
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x140018de9
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
xor edi, edi
mov byte [rbx], r11b
mov byte [rbx + 1], bpl
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x140018f00
mov r15, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
add r15, 6
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x140018e30
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x140018e33
mov edx, dword [rax + rsi]
mov eax, dword [r13 + 0x24]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [r13 + 0x20]
cvtsi2ss xmm2, rax
mulss xmm3, xmm6
mulss xmm2, xmm6
call fcn.140014030
mov edx, eax
mov rcx, r14
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.140016960
movzx ecx, word [r13 + 0x1c]
inc r12
movzx r11d, word [r13 + 0x20]
movzx eax, cx
sub ax, word [rsp + 0x50]
dec cx
movzx ebp, word [r13 + 0x24]
dec ax
add ax, r11w
inc edi
add ax, word [rsp + 0x54]
add rsi, 4
mov word [r15 - 2], ax
movzx eax, bp
sub ax, word [rsp + 0x58]
add ax, cx
mov ecx, dword [rsp + 0xe8]
add ax, word [rsp + 0x5c]
inc ecx
mov word [r15], ax
add r15, 0x10
mov dword [rsp + 0xe8], ecx
cmp edi, dword [rbx - 0x10]
jl 0x140018e20
jmp 0x140018f07
mov ecx, dword [rsp + 0xe8]
add rbx, 0x28
mov edi, pe_nt_image_headers64
sub qword [rsp + 0x60], 1
jne 0x140018d80
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, ecx
add rsp, 0xb8
pop r14
pop r13
ret
Function at 0x14001cc40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x14001cdf9
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x14001ccd6
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14001c5b0
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14001bbe0
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x14001ccc7
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.140011980
mov dword [rbx + 0x80], 0
jmp 0x14001cde5
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
mov r8d, 4
call fcn.14001aac0
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140029d30
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140029d7a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140029d7a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140029d7a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140029d7a
cmp dword [rcx + 0x84], 0xe
jbe 0x140029d7a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140029d7c
xor al, al
add rsp, 0x28
ret

Function at 0x142c30058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.142c301df
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 0x142c30089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x142c3006f
add dl, dl
jne 0x142c30096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x142c300f6
xor eax, eax
add dl, dl
jne 0x142c300a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x142c301ad
add dl, dl
jne 0x142c300b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142c300c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142c300d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142c300dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x142c300ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x142c3007e
mov eax, 1
add dl, dl
jne 0x142c30106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142c30113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142c300fb
sub eax, ebx
mov ebx, 1
jne 0x142c3014c
mov ecx, 1
add dl, dl
jne 0x142c3012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142c3013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142c30123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x142c3007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x142c30168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142c30175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142c3015d
cmp eax, 0x7d00
jae 0x142c3019b
cmp eax, 0x500
jb 0x142c30196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x142c3007e
cmp eax, 0x7f
ja 0x142c3019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x142c3007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x142c301d2
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 0x142c3007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001e100
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x10090
call fcn.140022240
sub rsp, rax
mov rax, qword [0x14005ed40]
xor rax, rsp
mov qword [rsp + 0x10080], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor ebp, ebp
mov rsi, rcx
mov word [rsp + 0x80], bp
mov edi, 0x28
mov word [rsp + 0x30], bp
test al, al
je 0x14001e1c2
nop dword [rax]
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.140030d6c
cmp rax, 1
jne 0x14001e21e
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x14001e19f
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x14001e193
cmp rcx, 1
jb 0x14001e21e
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14001e160
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x14001e1f3
lea rcx, [rsp + 0x80]
call fcn.140033874
jmp 0x14001e1f5
xor eax, eax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.140021f70
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140030b18
int3