joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1594058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.015941df
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 0x1594089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x159406f
add dl, dl
jne 0x1594096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x15940f6
xor eax, eax
add dl, dl
jne 0x15940a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x15941ad
add dl, dl
jne 0x15940b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15940c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15940d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15940dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x15940ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x159407e
mov eax, 1
add dl, dl
jne 0x1594106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1594113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x15940fb
sub eax, ebx
mov ebx, 1
jne 0x159414c
mov ecx, 1
add dl, dl
jne 0x159412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x159413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1594123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x159407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1594168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1594175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x159415d
cmp eax, 0x7d00
jae 0x159419b
cmp eax, 0x500
jb 0x1594196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x159407e
cmp eax, 0x7f
ja 0x159419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x159407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x15941d2
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 0x159407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x40ca10
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004a92e0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x40ca7d
mov rcx, r8
call fcn.0040c8f0
test eax, eax
je 0x40ca7d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x40ca7d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x40ca74
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x40ca7f
add rax, 0x28
cmp rax, r9
jne 0x40ca60
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400110f5
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001bdb0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x140034066]
call fcn.14001189d
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001be07
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14001bf13
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14001beac
cmp qword [rbp + 0x28], 0
jle 0x14001beac
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001be4c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140011825
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14001bf02
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001bf02
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400114ec
Capabilities:
Terminate process

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

Disassembly:
jmp 0x14001fd90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001fdb0
xor al, al
jmp 0x14001fe31
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001fdc3
xor al, al
jmp 0x14001fe31
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 0x14001fded
xor al, al
jmp 0x14001fe31
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001fe01
xor al, al
jmp 0x14001fe31
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001fe13
xor al, al
jmp 0x14001fe31
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001fe2f
xor al, al
jmp 0x14001fe31
mov al, 1
add rsp, 0x38
ret
Function at 0x140011884
Capabilities:
Write file on windows

Disassembly:
jmp 0x140018640
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 [0x14002d040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x140034066]
call fcn.14001189d
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x1400186a6
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400186ad
mov al, 1
jmp 0x1400187fd
call fcn.14001127b
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.14001127b
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.1400116ea
movzx eax, al
test eax, eax
je 0x1400186fe
xor al, al
jmp 0x1400187fd
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x140018763
cmp dword [rbp + 0x154], 1
je 0x14001876e
cmp dword [rbp + 0x154], 3
je 0x1400187ec
jmp 0x1400187fb
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x1400187be
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x1400187be
xor al, al
jmp 0x1400187fd
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400187d9
mov dword [rbp + 0x154], 1
jmp 0x1400187e3
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1400187fd
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400187fd
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140027c70]
call fcn.140011735
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.14001142e
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret

Function at 0x14046a6dd
Capabilities:
Encode data using xor

Disassembly:
add r8b, 0x3e
rol r8b, 1
add r8b, 0xba
rol r8b, 1
xor dil, r8b
call fcn.14049089d
Function at 0x180005990
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r10, r8
mov r9, rdx
test rdx, rdx
jne 0x1800059a6
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rbx
lea rbx, [0x180009840]
not ecx
cmp r10, 8
jb 0x180005a94
mov r11, r10
shr r11, 3
imul rax, r11, 0xfffffffffffffff8
add r10, rax
nop dword [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
mov edx, dword [rbx + rax*4]
xor edx, ecx
movzx ecx, byte [r9 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 2]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 3]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 4]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 5]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 6]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 7]
add r9, 8
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ecx, dword [rbx + rax*4]
xor ecx, edx
sub r11, 1
jne 0x1800059d0
test r10, r10
je 0x180005ac0
nop dword [rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
xor rdx, rax
shr eax, 8
movzx r8d, dl
mov ecx, dword [rbx + r8*4]
xor ecx, eax
sub r10, 1
jne 0x180005aa0
mov rbx, qword [rsp]
not ecx
mov eax, ecx
add rsp, 8
ret
Function at 0x180005e60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, qword [rcx + 0x20]
mov r14, rdx
mov edi, r8d
mov rbx, rcx
test rsi, rsi
je 0x180005f65
mov eax, dword [rcx + 0x28]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r15
mov r15d, dword [rbx + 0x2c]
lea ecx, [rax + rdi]
cmp ecx, r15d
jb 0x180005f4e
add r15d, r15d
cmp r15d, ecx
cmovbe r15d, ecx
xor eax, eax
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], r15d
lea rcx, [rax - 1]
lea r8d, [rax + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbp, rax
test rax, rax
je 0x180005efe
movsxd rax, r15d
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0xf001f
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
test rax, rax
jne 0x180005f1b
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x300
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov r8d, dword [rbx + 0x2c]
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbx + 0x28]
mov dword [rbx + 0x2c], r15d
mov qword [rbx + 0x20], rsi
mov qword [rbx + 8], rbp
mov ecx, eax
mov r8, rdi
add rcx, rsi
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
add dword [rbx + 0x28], edi
mov eax, edi
jmp 0x180005f03
mov rcx, qword [rcx]
test rcx, rcx
je 0x180005f98
xor eax, eax
lea r9, [rsp + 0x50]
mov r8d, edi
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov dword [rbx + 0x14], 0x1000000
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x180006180
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbp, rdx
mov rcx, qword [rcx + 0x88]
test rcx, rcx
je 0x1800061ec
mov eax, dword [rdi + 0x94]
mov esi, dword [rdi + 0x90]
cmp eax, esi
jae 0x180006230
sub esi, eax
lea rdx, [rcx + rax]
cmp esi, r8d
mov rcx, rbp
cmova esi, r8d
mov r8d, esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rdi + 0x70]
mov rdx, rbp
add dword [rdi + 0x94], esi
add dword [rdi + 0x6c], esi
mov r8d, esi
call fcn.180005990
mov dword [rdi + 0x70], eax
mov eax, esi
jmp 0x180006232
mov rcx, qword [rdi + 0x78]
test rcx, rcx
je 0x180006229
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180006230
mov ebx, dword [rsp + 0x40]
mov rdx, rbp
add dword [rdi + 0x6c], ebx
mov r8d, ebx
mov ecx, dword [rdi + 0x70]
call fcn.180005990
mov dword [rdi + 0x70], eax
mov eax, ebx
jmp 0x180006232
mov dword [rdi + 0x14], 0x1000000
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140001be0
Capabilities:
Print debug messages

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x850
mov rdi, rcx
mov qword [rsp + 0x878], rdx
mov qword [rsp + 0x880], r8
mov qword [rsp + 0x888], r9
mov rax, qword [0x14007b498]
xor rax, rsp
mov qword [rsp + 0x848], rax
lea rax, [rsp + 0x878]
mov qword [rsp + 0x38], rax
lea rsi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rsi
xor edx, edx
call fcn.1400399d0
mov rbx, qword [rsp + 0x38]
call fcn.140002280
mov rcx, qword [rax]
or rcx, 2
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0
mov r8d, 0x7fd
mov rdx, rsi
mov r9, rdi
call fcn.14003d130
test eax, eax
mov ecx, 0xffffffff
cmovns ecx, eax
movsxd rax, ecx
add ecx, 1
mov byte [rsp + rax + 0x40], 0xd
add eax, 2
mov byte [rsp + rcx + 0x40], 0xa
mov byte [rsp + rax + 0x40], 0
mov rcx, rsi
call fcn.140047368
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x848]
xor rcx, rsp
call fcn.14000ea90
nop
add rsp, 0x850
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400024c0
Capabilities:
Enumerate process modules

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x460
mov r14, rdx
mov ebx, ecx
mov rax, qword [0x14007b498]
xor rax, rsp
mov qword [rsp + 0x458], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x438
mov rcx, rdi
xor edx, edx
call fcn.1400399d0
mov dword [rsp + 0x20], 0x438
mov ecx, 8
mov edx, ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
mov rcx, rax
mov rdx, rdi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x140002541
movzx eax, word [r14]
test ax, ax
je 0x140002551
cmp ax, 0x5c
je 0x140002537
cmp word [r14 + 2], 0x3a
jne 0x140002551
lea r15, [rsp + 0x250]
jmp 0x140002556
lea rcx, str.CheckLibraryLoaded:_Failed_to_load_module_snapshot
call fcn.140001be0
xor edi, edi
jmp 0x140002596
lea r15, [rsp + 0x50]
lea rdi, [rsp + 0x20]
jmp 0x14000256f
mov rcx, rsi
mov rdx, rdi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
je 0x14000254d
cmp dword [rsp + 0x28], ebx
jne 0x140002560
mov rcx, r14
mov rdx, r15
call fcn.140043e68
test eax, eax
jne 0x140002560
lea rcx, str.CheckLibraryLoaded:_Module__ls_is_already_loaded
mov rdx, r14
call fcn.140001be0
mov dil, 1
mov rax, rsi
add rax, 1
cmp rax, 2
jb 0x1400025ac
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x458]
xor rcx, rsp
call fcn.14000ea90
mov eax, edi
add rsp, 0x460
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140005780
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
lea rcx, str.audioses.dll
call fcn.140003650
test rax, rax
je 0x1400057c7
mov rdi, rax
xor ecx, ecx
xor edx, edx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x1400057d1
mov rcx, rsi
mov rdx, rdi
call fcn.140004bb0
mov rcx, rsi
mov rdx, rdi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140005260
mov eax, 1
xchg dword [rsi + 0x20], eax
jmp 0x1400057df
lea rcx, str.COM_call_failed:_CoInitializeEx_NULL__COINIT_MULTITHREADED__HR:__08X
mov edx, eax
call fcn.140001be0
nop
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140040b88
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140040cd0

Function at 0x140057998
Capabilities:
Get geographical location

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140059d40
xor eax, eax
jmp 0x140059e03
mov rbp, rbx
cmp word [rax], si
je 0x140059d65
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140059d4c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140059d48
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14005041c
movsxd r14, eax
test eax, eax
jne 0x140059da3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140059d39
mov rcx, r14
call fcn.14005032c
mov rdi, rax
test rax, rax
jne 0x140059dbc
xor ecx, ecx
call fcn.1400502f0
jmp 0x140059d98
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14005041c
test eax, eax
jne 0x140059ded
mov rcx, rdi
call fcn.1400502f0
jmp 0x140059df7
xor ecx, ecx
call fcn.1400502f0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140059e20
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140059ea7
mov rsi, rbx
cmp word [rax], bp
je 0x140059e66
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140059e50
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140059e4c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14005032c
mov rdi, rax
test rax, rax
je 0x140059e94
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140039320
mov rbp, rdi
xor ecx, ecx
call fcn.1400502f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14005bb44
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14005bb5a
mov al, 1
jmp 0x14005bbba
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14005bb6b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14005bbb8
mov ecx, dword [rcx + 0x18]
nop
call fcn.14005a6c4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005bbb8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14005bbb8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14005bbb8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14005bbba
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140011262
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140017080
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400170a0
xor al, al
jmp 0x140017121
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400170b3
xor al, al
jmp 0x140017121
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 0x1400170dd
xor al, al
jmp 0x140017121
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400170f1
xor al, al
jmp 0x140017121
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140017103
xor al, al
jmp 0x140017121
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001711f
xor al, al
jmp 0x140017121
mov al, 1
add rsp, 0x38
ret