joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14027a150
Capabilities:
Download url
Receive data

Disassembly:
push rdi
sub rsp, 0x680
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + Ordinal_1686], rbx
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + Ordinal_1652], rax
mov rbx, rcx
mov byte [rsp + 0x70], 0
xor edx, edx
mov r8d, Ordinal_512
lea rcx, [rsp + 0x71]
call sub.ntdll.dll_memset
mov r8d, reloc.MFC80U.DLL_Ordinal_512
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x5c
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntdll.dll_strrchr]
test rax, rax
je 0x14027a2b6
mov byte [rax], 0
lea rdi, [rsp + 0x70]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [0x140378140]
mov qword [rdi - 1], rax
mov eax, dword [0x140378148]
mov dword [rdi + 7], eax
movzx eax, word [0x14037814c]
mov word [rdi + 0xb], ax
call fcn.140049500
mov rdi, qword [rax]
lea rdx, [0x140378150]
mov rcx, rax
call qword [rdi]
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC80U.DLL_Ordinal_286]
nop
mov byte [rsp + 0x270], 0
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rsp + 0x271]
call sub.ntdll.dll_memset
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC80U.DLL_Ordinal_2492]
mov rdx, rax
mov r8d, 0x400
lea rcx, [rsp + 0x270]
call qword [sym.imp.ntdll.dll_wcstombs]
lea rdx, str.PD_
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x40], 1
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
test rbx, rbx
je 0x14027a27c
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x3e8
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x270]
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileA
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.140161080
mov rbx, qword [rsp + 0x690]
add rsp, 0x680
pop rdi
ret
Function at 0x140290ae0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov rsi, rdx
mov r12d, r8d
mov r13, rcx
mov r8d, r8d
xor edx, edx
mov rcx, rsi
call sub.ntdll.dll_memset
xor ebp, ebp
shr r12d, 1
mov ebx, ebp
mov rdi, rsi
je 0x140290b67
nop
nop
lea r9, [rsp + 0x60]
mov r8d, 2
mov rdx, rdi
mov rcx, r13
mov dword [rsp + 0x60], ebp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140290c03
cmp dword [rsp + 0x60], ebp
je 0x140290c03
movzx eax, word [rdi]
add ebx, 1
add rdi, 2
cmp ax, 0xa
je 0x140290b67
cmp ebx, r12d
jb 0x140290b20
mov word [rdi], bp
cmp byte [rsi], 0xff
jne 0x140290baf
cmp byte [rsi + 1], 0xfe
jne 0x140290baf
movzx ecx, word [rsi + 2]
lea rax, [rsi + 2]
test cx, cx
je 0x140290ba6
mov rdx, rsi
nop
nop
nop
add rax, 2
mov word [rdx], cx
add ebp, 1
mov cx, word [rax]
add rdx, 2
test cx, cx
jne 0x140290b90
movsxd rax, ebp
mov word [rsi + rax*2], 0
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
cmp ecx, 2
jl 0x140290be8
movsxd rax, ecx
cmp word [rsi + rax*2 - 4], 0xd
jne 0x140290be8
cmp word [rsi + rax*2 - 2], 0xa
jne 0x140290be8
mov word [rsi + rax*2 - 4], 0
mov word [rsi + rax*2 - 2], 0
mov eax, ecx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
mov ecx, ebx
mov eax, ebx
mov word [rdi + rcx*2], bp
jmp 0x140290bea
Function at 0x1402915e0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
mov eax, 0x14e0
call sub.ntdll.dll___chkstk
sub rsp, rax
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0x14d0], rax
mov r13, rdx
mov rbp, rcx
xor r12d, r12d
xor eax, eax
lea rdx, [0x140375dd4]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_1792]
mov r8d, r12d
mov byte [rsp + reloc.MFC80U.DLL_Ordinal_1792], 0
mov qword [rsp + 0x701], rax
mov byte [rsp + 0x709], al
call qword [sym.imp.ntdll.dll_sprintf]
lea rcx, [rsp + 0x911]
xor edx, edx
mov r8d, 0x3e7
mov byte [rsp + 0x910], 0
call sub.ntdll.dll_memset
lea r9, [rsp + 0x910]
lea r8, [0x1403628c3]
lea rdx, [rsp + reloc.MFC80U.DLL_Ordinal_1792]
lea rcx, str.LANG
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x3e8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14029186e
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_3330]
xor edx, edx
mov r8d, 0x7ce
mov word [rsp + Ordinal_3330], 0
call sub.ntdll.dll_memset
lea rdx, [rsp + 0x910]
lea rcx, [rsp + 0xd00]
mov r8d, 0x3e8
call qword [sym.imp.ntdll.dll_mbstowcs]
lea rdx, [0x140375e1c]
lea rcx, [rsp + 0xd00]
lea rbx, [rsp + 0xd00]
call qword [sym.imp.ntdll.dll_wcsstr]
xor edi, edi
test rax, rax
mov rsi, rax
je 0x14029185d
nop
nop
nop
nop
lea rcx, [rsp + 0x712]
xor edx, edx
mov r8d, Ordinal_512
mov word [rsp + Ordinal_1812], 0
call sub.ntdll.dll_memset
mov r8, rsi
sub r8, rbx
lea rcx, [rsp + 0x710]
mov rdx, rbx
sar r8, 1
add r8, r8
call sub.ntdll.dll_memcpy
test edi, edi
jne 0x140291779
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x6ca
call sub.ntdll.dll_memset
lea rcx, [rsp + 0x710]
call qword [sym.imp.ntdll.dll__wtoi]
mov word [rsp + 0x30], ax
jmp 0x14029183a
cmp edi, 1
jne 0x14029179b
xor ecx, ecx
movzx eax, word [rsp + rcx + 0x710]
add rcx, 2
test ax, ax
mov word [rsp + rcx + 0x30], ax
jne 0x140291780
jmp 0x14029183a
cmp edi, 2
jne 0x1402917cb
xor ecx, ecx
nop
nop
nop
nop
movzx eax, word [rsp + rcx + 0x710]
add rcx, 2
test ax, ax
mov word [rsp + rcx + 0xf8], ax
jne 0x1402917b0
jmp 0x14029183a
cmp edi, 3
jne 0x1402917fb
xor ecx, ecx
nop
nop
nop
nop
movzx eax, word [rsp + rcx + 0x710]
add rcx, 2
test ax, ax
mov word [rsp + rcx + reloc.MFC80U.DLL_Ordinal_760], ax
jne 0x1402917e0
jmp 0x14029183a
cmp edi, 4
jne 0x14029183a
xor ecx, ecx
nop
nop
nop
nop
movzx eax, word [rsp + rcx + 0x710]
add rcx, 2
test ax, ax
mov word [rsp + rcx + 0x4f8], ax
jne 0x140291810
lea rcx, [rbp + 0xf8]
lea rdx, [rsp + 0x30]
call fcn.140006010
lea rbx, [rsi + 2]
lea rdx, [0x140375e64]
add edi, 1
mov rcx, rbx
call qword [sym.imp.ntdll.dll_wcsstr]
test rax, rax
mov rsi, rax
jne 0x140291710
add r12d, 1
cmp r12d, 0xc8
jl 0x140291614
mov rcx, qword [rsp + 0x14d0]
xor rcx, rsp
call fcn.140161080
mov rbx, qword [rsp + 0x1520]
add rsp, 0x14e0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140295340
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, rcx
mov word [rsp + 0x20], 0x2e
mov word [rsp + 0x22], 0x22
mov word [rsp + 0x24], 0x2f
mov word [rsp + 0x26], 0x5c
mov word [rsp + 0x28], 0x5b
mov word [rsp + 0x2a], 0x5d
mov word [rsp + 0x2c], 0x7c
mov word [rsp + 0x2e], 0x3d
mov word [rsp + 0x30], 0x2c
mov word [rsp + 0x32], 0x2a
mov word [rsp + 0x34], 0x3f
mov word [rsp + 0x36], 0x3c
mov word [rsp + 0x38], 0x3e
mov word [rsp + 0x3a], 0x2b
mov word [rsp + 0x3c], 0x3a
mov word [rsp + 0x3e], 0x3b
xor ebx, ebx
lea rdi, [rsp + 0x20]
nop
nop
movzx edx, word [rdi]
mov rcx, rsi
call qword [sym.imp.ntdll.dll_wcschr]
test rax, rax
jne 0x140295404
add ebx, 1
add rdi, 2
cmp ebx, 0x10
jb 0x1402953e0
mov eax, 1
jmp 0x140295406
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140161080
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1402aa3f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, rcx
mov word [rsp + 0x20], 0x2e
mov word [rsp + 0x22], 0x22
mov word [rsp + 0x24], 0x2f
mov word [rsp + 0x26], 0x5c
mov word [rsp + 0x28], 0x5b
mov word [rsp + 0x2a], 0x5d
mov word [rsp + 0x2c], 0x7c
mov word [rsp + 0x2e], 0x3d
mov word [rsp + 0x30], 0x2c
mov word [rsp + 0x32], 0x2a
mov word [rsp + 0x34], 0x3f
mov word [rsp + 0x36], 0x3c
mov word [rsp + 0x38], 0x3e
mov word [rsp + 0x3a], 0x2b
mov word [rsp + 0x3c], 0x3a
mov word [rsp + 0x3e], 0x3b
xor ebx, ebx
lea rdi, [rsp + 0x20]
nop
nop
movzx edx, word [rdi]
mov rcx, rsi
call qword [sym.imp.ntdll.dll_wcschr]
test rax, rax
jne 0x1402aa4b4
add ebx, 1
add rdi, 2
cmp ebx, 0x10
jb 0x1402aa490
mov eax, 1
jmp 0x1402aa4b6
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140161080
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1402ba590
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x858
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + Ordinal_2114], rax
lea rcx, [rsp + 0x442]
xor edx, edx
mov r8d, reloc.MFC80U.DLL_Ordinal_1022
mov word [rsp + Ordinal_1095], 0
call sub.ntdll.dll_memset
lea rcx, [rsp + 0x440]
mov edx, reloc.MFC80U.DLL_Ordinal_512
call qword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
jne 0x1402ba5fc
mov eax, 1
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140161080
add rsp, 0x858
ret
lea rcx, [rsp + 0x232]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x230], 0
call sub.ntdll.dll_memset
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], 0
call sub.ntdll.dll_memset
lea r8, [rsp + 0x440]
lea rdx, [0x14037d798]
lea rcx, [rsp + 0x230]
call qword [sym.imp.MSVCR80.dll__swprintf]
lea r8, [rsp + 0x440]
lea rdx, [0x14037d7b0]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCR80.dll__swprintf]
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1402ba698
xor eax, eax
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140161080
add rsp, 0x858
ret
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140161080
add rsp, 0x858
ret
Function at 0x1402bad60
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_336], rax
mov eax, dword [0x140c47dd0]
mov rbp, rcx
test al, 1
jne 0x1402bada8
or eax, 1
mov dword [0x140c47dd0], eax
call fcn.140055490
mov rcx, rax
mov qword [0x140c47dc8], rax
jmp 0x1402badaf
mov rcx, qword [0x140c47dc8]
mov rax, qword [rcx]
mov esi, dword [rbp + 4]
call qword [rax + 0x18]
mov rcx, rax
mov rdi, rax
mov rdx, qword [rax]
call qword [rdx + 0x18]
test rax, rax
mov rbx, rax
je 0x1402badee
nop
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x50]
cmp eax, esi
je 0x1402bae56
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
test rax, rax
mov rbx, rax
jne 0x1402badd0
call fcn.140049500
lea rdx, [0x14037f4b8]
mov rdi, qword [rax]
mov rcx, rax
call qword [rdi]
lea rcx, [0x14037f4c8]
mov rdx, rax
call qword [sym.imp.MSVCR80.dll_wprintf]
call fcn.140049470
lea rbp, [0x140c492d0]
mov rcx, rbp
xor edx, edx
mov r8d, 0x80
mov rbx, rax
call sub.ntdll.dll_memset
lea rcx, [0x14037f4d8]
mov edx, 0x5c
call qword [sym.imp.ntdll.dll_strrchr]
test rax, rax
mov rdi, rax
jne 0x1402baf11
xor ebp, ebp
jmp 0x1402bafa0
mov esi, dword [rbp + 0xd8]
xor ebp, ebp
mov qword [rsp + 0x188], r12
test esi, esi
js 0x1402bae6f
cmp esi, 2
jle 0x1402baeb6
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, Ordinal_280
call sub.ntdll.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_280
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [rsp + 0x24]
cmp edx, 5
jne 0x1402baea1
mov esi, ebp
jmp 0x1402baeb6
cmp edx, 6
jne 0x1402baeb1
cmp dword [rsp + 0x28], ebp
jne 0x1402baeb1
lea esi, [rdx - 5]
jmp 0x1402baeb6
mov esi, 2
mov eax, dword [0x140c47dc0]
test al, 1
jne 0x1402baeda
or eax, 1
mov dword [0x140c47dc0], eax
call fcn.1400554f0
mov r12, rax
mov qword [0x140c47db8], rax
jmp 0x1402baee1
mov r12, qword [0x140c47db8]
mov rax, qword [rbx]
mov rdi, qword [r12]
mov rcx, rbx
call qword [rax + 0x50]
mov r8d, esi
mov rcx, r12
mov edx, eax
call qword [rdi + 0xa8]
mov r12, qword [rsp + 0x188]
test eax, eax
setne bpl
mov eax, ebp
jmp 0x1402bafb5
xor eax, eax
lea rdx, [0x14037f684]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
mov r8d, Ordinal_2492
mov byte [rsp + reloc.MFC80U.DLL_Ordinal_320], 0
mov qword [rsp + 0x141], rax
mov word [rsp + 0x149], ax
mov byte [rsp + 0x14b], al
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, rbp
sub rcx, rdx
nop
nop
nop
movzx eax, byte [rdx]
add rdx, 1
test al, al
mov byte [rcx + rdx - 1], al
jne 0x1402baf60
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
nop
nop
nop
movzx eax, byte [rdx + rcx]
add rcx, 1
test al, al
mov byte [rdi + rcx - 2], al
jne 0x1402baf90
mov rax, qword [rbx]
lea rdx, [0x14037f4f0]
mov r8, rbp
mov rcx, rbx
call qword [rax + 0x10]
xor eax, eax
mov rcx, qword [rsp + reloc.MFC80U.DLL_Ordinal_336]
xor rcx, rsp
call fcn.140161080
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
Function at 0x1402c3b70
Capabilities:
Download url
Receive data

Disassembly:
push rdi
sub rsp, 0x690
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x6a8], rbx
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + Ordinal_1671], rax
mov rbx, rcx
mov byte [rsp + 0x80], 0
xor edx, edx
mov r8d, Ordinal_512
lea rcx, [rsp + 0x81]
call sub.ntdll.dll_memset
mov r8d, reloc.MFC80U.DLL_Ordinal_512
lea rdx, [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x5c
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntdll.dll_strrchr]
test rax, rax
je 0x1402c3d78
mov byte [rax], 0
lea rdi, [rsp + 0x80]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [0x14037f780]
mov qword [rdi - 1], rax
mov eax, dword [0x14037f788]
mov dword [rdi + 7], eax
movzx eax, byte [0x14037f78c]
mov byte [rdi + 0xb], al
call fcn.140049500
mov rdi, qword [rax]
lea rdx, [0x14037f790]
mov rcx, rax
call qword [rdi]
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC80U.DLL_Ordinal_286]
nop
mov byte [rsp + 0x280], 0
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rsp + 0x281]
call sub.ntdll.dll_memset
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC80U.DLL_Ordinal_2492]
mov rdx, rax
mov r8d, 0x400
lea rcx, [rsp + 0x280]
call qword [sym.imp.ntdll.dll_wcstombs]
lea rdx, str.PD_
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x50], 1
xor ecx, ecx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rcx
test rbx, rbx
jne 0x1402c3cab
mov rax, rcx
jmp 0x1402c3caf
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], ecx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x280]
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
je 0x1402c3d6d
call fcn.140049500
mov rdi, qword [rax]
lea rdx, str.0143
mov rcx, rax
call qword [rdi]
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC80U.DLL_Ordinal_286]
nop
call fcn.140049500
mov rdi, qword [rax]
lea rdx, [0x14037f7b0]
mov rcx, rax
call qword [rdi]
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC80U.DLL_Ordinal_286]
nop
xor r9d, r9d
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_4133
xor edx, edx
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_2187
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
jmp 0x1402c3d78
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.140161080
mov rbx, qword [rsp + 0x6a8]
add rsp, 0x690
pop rdi
ret
Function at 0x1402da320
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rbx, rdx
mov rdi, rcx
lea rcx, [rsp + 0x68]
call qword [sym.imp.MFC80U.DLL_Ordinal_296]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC80U.DLL_Ordinal_296]
nop
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1402da4ca
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1402da4ca
mov eax, dword [rbx + 8]
sub eax, reloc.MFC80U.DLL_Ordinal_512
je 0x1402da3ab
sub eax, 1
je 0x1402da39c
sub eax, 3
je 0x1402da39c
cmp eax, 3
jne 0x1402da4b1
xor edx, edx
mov rcx, rdi
call fcn.14015fd58
jmp 0x1402da4b1
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rdi + 0xb4]
cmp dword [rsp + 0x60], eax
jne 0x1402da3d1
shr rax, 0x20
cmp dword [rsp + 0x64], eax
je 0x1402da48f
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_WindowFromPoint]
mov rcx, rax
call sub.MFC80U.DLL_Ordinal_2397
mov rsi, rax
test rax, rax
je 0x1402da48f
mov r8, qword [rax + 0x40]
mov rcx, r8
shr rcx, 4
xor edx, edx
mov eax, ecx
div dword [rdi + 0x100]
mov rbx, qword [rdi + 0xf8]
test rbx, rbx
je 0x1402da48f
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x1402da48f
nop
nop
cmp dword [rbx + 0x20], ecx
jne 0x1402da431
xor eax, eax
cmp qword [rbx], r8
sete al
test eax, eax
jne 0x1402da43c
mov rbx, qword [rbx + 0x18]
test rbx, rbx
je 0x1402da48f
jmp 0x1402da420
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC80U.DLL_Ordinal_786]
mov rdx, qword [rbx + 0x10]
mov qword [rsp + 0x38], rdx
mov qword [rdi + 0xe8], rsi
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0xb4], rax
mov rcx, rdi
call fcn.1402da260
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call qword [sym.imp.MFC80U.DLL_Ordinal_280]
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rdi
call fcn.1402d9d60
mov rax, qword [rdi + 0xb4]
cmp dword [rsp + 0x60], eax
jne 0x1402da4a6
shr rax, 0x20
cmp dword [rsp + 0x64], eax
je 0x1402da4b1
xor edx, edx
mov rcx, rdi
call fcn.14015fd58
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
jmp 0x1402da4ec
xor edx, edx
mov rcx, rdi
call fcn.14015fd58
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1402db0a0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
mov rbx, qword [rcx + 0x10]
cmp qword [rcx + 8], rbx
jbe 0x1402db0de
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rsi, qword [rdi + 8]
cmp rsi, qword [rdi + 0x10]
jbe 0x1402db0ee
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp rsi, rbx
je 0x1402db168
mov rbp, qword [rdi + 0x10]
mov rcx, rbp
sub rcx, rbx
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rdx + rdx*4]
lea r12, [rsi + rax*8]
cmp rbx, rbp
je 0x1402db146
sub rsi, rbx
nop
nop
lea rcx, [rsi + rbx]
mov rdx, rbx
call qword [reloc.MSVCP80.dll___4__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01_AEBV01__Z]
add rbx, 0x28
cmp rbx, rbp
jne 0x1402db130
mov rsi, qword [rdi + 0x10]
mov rbx, r12
cmp r12, rsi
je 0x1402db164
mov rcx, rbx
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rbx, 0x28
cmp rbx, rsi
jne 0x1402db152
mov qword [rdi + 0x10], r12
movabs rax, 0x5c003a0041
mov qword [rsp + 0x50], rax
mov ebx, 0x1a
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x1402db1c1
mov word [rsp + 0x54], 0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.1400044f0
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add word [rsp + 0x50], 1
sub rbx, 1
jne 0x1402db180
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1156058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.011561df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1156089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x115606f
add dl, dl
jne 0x1156096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x11560f6
xor eax, eax
add dl, dl
jne 0x11560a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x11561ad
add dl, dl
jne 0x11560b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11560c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11560d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11560dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x11560ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x115607e
mov eax, 1
add dl, dl
jne 0x1156106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1156113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x11560fb
sub eax, ebx
mov ebx, 1
jne 0x115614c
mov ecx, 1
add dl, dl
jne 0x115612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x115613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1156123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x115607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1156168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1156175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x115615d
cmp eax, 0x7d00
jae 0x115619b
cmp eax, 0x500
jb 0x1156196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x115607e
cmp eax, 0x7f
ja 0x115619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x115607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x11561d2
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 0x115607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20