joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100021c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x10016040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x230]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
push 0x3d68868c
mov dword [ebp - 0x234], eax
movq qword [edi], xmm0
mov dword [edi + 8], 0
call fcn.1000e430
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call esi
test eax, eax
jne 0x1000227f
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, 0xd3
xor edx, edx
mov al, byte [edx + 0x100114e0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x224], al
and ecx, 0x800000ff
jns 0x10002246
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x15
jl 0x10002226
lea eax, [ebp - 0x108]
mov byte [ebp - 0x20f], 0
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.100011b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x100022a6
push 0x3d68868c
lea ecx, [ebp - 0x230]
call fcn.1000e430
push eax
call esi
xorps xmm0, xmm0
mov word [ebp - 0x228], 0
movq qword [ebp - 0x230], xmm0
mov ebx, eax
test ebx, ebx
je 0x1000232b
push dword [ebp - 0x234]
call esi
mov dword [ebp - 0x234], eax
mov edx, 0x35
xor esi, esi
mov cl, byte [esi + str.rSCuVNPXwQ.0._1__]
xor cl, dl
inc edx
mov byte [ebp + esi - 0x224], cl
and edx, 0x800000ff
jns 0x100022e1
dec edx
or edx, 0xffffff00
inc edx
inc esi
cmp esi, 0x14
jl 0x100022c1
lea eax, [ebp - 0x224]
mov byte [ebp - 0x210], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xc
push edi
push dword [ebp - 0x234]
xorps xmm0, xmm0
mov dword [ebp - 0x214], 0
mov esi, eax
mov byte [ebp - 0x210], 0
movups xmmword [ebp - 0x224], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000f0bd
mov esp, ebp
pop ebp
ret 8

Function at 0x10002d10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100103dd
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10016040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx]
xor esi, esi
mov edi, dword [ebp + 8]
push edi
call dword [eax + 0x24]
test eax, eax
je 0x10002d50
mov esi, dword [eax + 0x64]
test esi, esi
jne 0x10002d94
mov ecx, 0x29
xor edx, edx
mov al, byte [edx + str.mdi]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x50], al
and ecx, 0x800000ff
jns 0x10002d74
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x3c
jl 0x10002d57
mov byte [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push edi
push eax
call fcn.100019f0
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000f0bd
mov esp, ebp
pop ebp
ret 4
Function at 0x100053f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001077d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10016040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, 0x49
xor eax, eax
mov dl, byte [eax + 0x10011b30]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x30], dl
and ecx, 0x800000ff
jns 0x1000543f
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1c
jl 0x10005422
mov byte [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x30]
mov ecx, dword [0x10016904]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [ebp + 8]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
add eax, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000f0bd
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c740
Capabilities:
Enumerate threads
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x10016040]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov dword [esp + 0x10], ecx
mov esi, 0x64
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], esi
call fcn.1000c640
nop dword [eax]
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000c853
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x1c
xorps xmm0, xmm0
xor bl, bl
push eax
push edi
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1000c841
nop dword [eax + eax]
push dword [esp + 0x30]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1000c82d
push str.NtQueryInformationThread
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1000c7f6
xor ecx, ecx
jmp 0x1000c815
push 0
push 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
push ecx
push 9
push esi
call eax
xor ecx, ecx
test eax, eax
cmovns ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x14]
jne 0x1000c826
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1000c7c0
mov esi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x1000c853
mov esi, 0x64
jmp 0x1000c860
lea eax, [esi + esi]
mov esi, 0x1388
cmp eax, esi
cmovl esi, eax
push esi
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x18]
call fcn.1000c640
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
sbb eax, dword [esp + 0x24]
cmp eax, 0xd
jl 0x1000c770
jg 0x1000c89b
cmp ecx, 0xf8569a40
jb 0x1000c770
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000f0bd
mov esp, ebp
pop ebp
ret
Function at 0x1000d400
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x1000d42c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x1000d454
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1000d45a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x1000d4c2
jg 0x1000d471
test esi, esi
je 0x1000d4c2
test ecx, ecx
jl 0x1000d4bd
jg 0x1000d47b
test eax, eax
je 0x1000d4bd
cmp edi, ecx
jg 0x1000d48f
jl 0x1000d485
cmp esi, eax
jae 0x1000d48f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x1000d4c5
mov ecx, dword [ebp + 8]
jmp 0x1000d4cf
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x1000d4e9
jg 0x1000d4cf
test esi, esi
je 0x1000d4e9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x1000d4e9
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000d500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
test eax, eax
jg 0x1000d524
jl 0x1000d519
test ecx, ecx
jne 0x1000d524
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1000d53e
push eax
push ecx
push dword [ebp + 8]
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push esi
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x1000d58a
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 4], edx
mov eax, dword [eax]
test eax, eax
je 0x1000d590
mov edi, dword [ebp + 8]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [ebp + 8], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x1000d590
lea eax, [ebx + 0x2c]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
mov esi, dword [ebp + 8]
je 0x1000d606
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1000d5bc
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x1000d5f4
nop dword [eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x1000d606
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x1000d5d0
test edi, edi
je 0x1000d606
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000d980
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10016040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1000d9b0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f0bd
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1000d9ec
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1000d9ec
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f0bd
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x1000dac3
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1000da14
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1000da20
movsx eax, bl
jmp 0x1000da58
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x1000da82
sub eax, 1
je 0x1000da82
sub eax, 2
jne 0x1000dac3
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f0bd
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000daa0
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1000dac3
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f0bd
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000f0bd
mov esp, ebp
pop ebp
ret 4
Function at 0x1000e030
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10016040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1000e0ec
cmp byte [esi + 0x3d], 0
je 0x1000e0ec
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1000e0da
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1000e0a1
sub eax, 1
je 0x1000e0a5
sub eax, 2
jne 0x1000e0da
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f0bd
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000e0c3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1000e0da
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f0bd
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f0bd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1000f0bd
mov esp, ebp
pop ebp
ret
Function at 0x10007faf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10007fbe
pop dword [ebp - 0x50]
mov eax, 0xf3f12bc8
sub eax, 0xe3f0ac0a
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x52b5a5e8
sub dword [ebp - 0x60], 0x463609d
mov dword [ebp - 0x5c], 0xd7118c7
add dword [ebp - 0x5c], 0x24c2337e
mov dword [ebp - 0x58], 0xbcb50390
add dword [ebp - 0x58], 0x8f97409e
mov dword [ebp - 0x54], 0x978c4431
add dword [ebp - 0x54], 0x6873bbcf
lea eax, [ebp - 0x60]
push eax
mov eax, 0x743cb583
sub eax, 0x643af503
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xd9937461
add dword [ebp - 0x60], 0x9adef4f5
mov dword [ebp - 0x5c], 0xc279e986
add dword [ebp - 0x5c], 0x7ef277ef
mov dword [ebp - 0x58], 0x7c49e13b
add dword [ebp - 0x58], 0xe7258b31
mov dword [ebp - 0x54], 0xa333f194
sub dword [ebp - 0x54], 0xa333f194
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x96e8e510
sub eax, 0x86e72510
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3527b
push 0
call eax
mov ecx, 0x3ea2
xor ebx, ebx
add ebx, eax
mov edx, 0x41a8495b
sub edx, 0x31a5e15b
add edx, dword [ebp - 0x50]
mov edi, 0x90cee47
sub edi, 0x14a92443
add dword [ebp - 0x48], edi
mov esi, dword [edx]
xor dword [ebp - 0x24], ebx
sub esi, edi
xor dword [ebp - 0x1c], 0x6aff60b1
mov dword [ebx], esi
xor dword [ebp - 0xc], 0x7489538d
add ebx, 0xf09dd37e
add ebx, 0xf622c86
add edx, 0xbdd17f15
sub edx, 0xbdd17f11
loop 0x100080dc
add eax, 0xfa1b6ab7
add eax, 0x5e582a4
mov ebx, eax
add eax, 0xbffa45c8
sub eax, 0xbffa45c3
mov ecx, 0x10000000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x10008fc4
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x1000
mov dword [esp + 0x14], ebp
call sub.glib_lite.dll_Ordinal_406
mov esi, dword [esp + 0x1c]
mov edi, eax
mov ebx, dword [esp + 0x20]
pop ecx
mov dword [ebx], ebp
mov eax, dword [esi + 0x118]
sub eax, dword [esi + 0x110]
mov ecx, dword [esi + 0x11c]
sbb ecx, dword [esi + 0x114]
add eax, 0xffffffff
adc ecx, 0xffffffff
cmp ecx, ebp
ja 0x1000901f
jb 0x10009011
cmp eax, 0xffe
ja 0x1000901f
mov eax, dword [esi + 0x118]
sub eax, dword [esi + 0x110]
jmp 0x10009024
mov eax, 0x1000
test edi, edi
je 0x1000909a
push ebp
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
push dword [esi + 0x104]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x10009093
push sub.glib_lite.dll_Ordinal_109
push edi
push dword [esp + 0x18]
push ebp
push 0x1000
push edi
push ebp
call sub.gstreamer_lite.dll_Ordinal_25
add esp, 0x1c
mov dword [ebx], eax
test eax, eax
je 0x10009072
mov ecx, dword [esi + 0x110]
mov dword [eax + 0x40], ecx
mov ecx, dword [esi + 0x114]
mov dword [eax + 0x44], ecx
mov eax, dword [esp + 0x10]
add eax, dword [esi + 0x110]
push 0
pop edx
adc edx, dword [esi + 0x114]
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], edx
jmp 0x1000909e
push edi
call sub.glib_lite.dll_Ordinal_109
pop ecx
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x100081f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10118c65
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x10159e80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.100b5760
mov ecx, dword [esi + 0xfb8]
add esi, 0xf28
test ecx, ecx
je 0x10008232
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [esi + 0x58], 0
je 0x10008243
mov ecx, esi
mov byte [esi + 0x58], 0
call fcn.10024ba0
cmp byte [esi + 0x59], 0
je 0x10008254
mov ecx, esi
mov byte [esi + 0x59], 0
call fcn.10024dd0
cmp byte [esi + 0x5a], 0
je 0x10008265
mov ecx, esi
mov byte [esi + 0x5a], 0
call fcn.10024fd0
push 0x32
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.HKEY_CURRENT_USER_Software_Red_Rock_Sound_SelfTest
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.100023d0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
jne 0x1000829c
mov byte [ebp - 0xd], 0
jmp 0x100082d3
mov edx, 0x10161b00
lea ecx, [ebp - 0x28]
call fcn.100c98d0
test al, al
je 0x100082ba
lea ecx, [ebp - 0x28]
call fcn.100c8610
mov byte [ebp - 0xd], al
jmp 0x100082d3
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne byte [ebp - 0xd]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10002530
cmp byte [ebp - 0xd], 0
je 0x10008339
push 0x32
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.HKEY_CURRENT_USER_Software_Red_Rock_Sound_SelfTest
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.100023d0
push 0
xor edx, edx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.100c9930
add esp, 4
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.10002530
test esi, esi
je 0x10008339
push esi
call fcn.100edc4e
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10008370
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, 0x464
jne 0x1000842f
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xfd4], eax
cmp eax, 2
jl 0x1000840d
mov eax, dword [ebx + 0xf2c]
push esi
push edi
lea edi, [ebx + 0xf28]
push 0
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, esi
jne 0x100083f5
mov ecx, edi
call fcn.100249b0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x100083ca
jmp dword [eax*4 + 0x100084c8]
mov ecx, edi
call fcn.10024ba0
jmp case.default.0x100083ca
mov ecx, edi
call fcn.10024dd0
jmp case.default.0x100083ca
mov ecx, edi
call fcn.100250f0
jmp case.default.0x100083ca
mov ecx, edi
call fcn.10025030
jmp case.default.0x100083ca
mov ecx, dword [edi + 0x90]
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
push 0
push 0
push ebx
push method.Steinberg::Vst::AudioEffect.virtual_56
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ebx
pop ebp
ret 0xc
lea eax, [ebx + 0xf28]
cmp edx, 0x402
jne 0x10008455
cmp byte [eax + 0x58], 0
je 0x100084bf
mov ecx, eax
mov byte [eax + 0x58], 0
call fcn.10024ba0
mov al, 1
pop ebx
pop ebp
ret 0xc
cmp edx, 0x403
jne 0x10008475
cmp byte [eax + 0x59], 0
je 0x100084bf
mov ecx, eax
mov byte [eax + 0x59], 0
call fcn.10024dd0
mov al, 1
pop ebx
pop ebp
ret 0xc
cmp edx, 0x404
jne 0x10008495
cmp byte [eax + 0x5a], 0
je 0x100084bf
mov ecx, eax
mov byte [eax + 0x5a], 0
call fcn.10024fd0
mov al, 1
pop ebx
pop ebp
ret 0xc
push 0
push 0x1015b854
push 0x1015b82c
push 0
push dword [eax + 0x90]
call fcn.101146cb
add esp, 0x14
test eax, eax
je 0x100084bf
push dword [ebp + 0xc]
mov ecx, eax
call fcn.10027390
mov al, 1
pop ebx
pop ebp
ret 0xc
Function at 0x100085d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10118cb5
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x10159e80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
cmp eax, 0x5a
jne 0x1000865e
push 0xa2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10008776
cmp byte [esi + 8], 0
je 0x10008776
mov ecx, dword [esi + 0x18]
cmp ecx, 0xffffffff
jle 0x10008776
mov byte [esi + 8], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + ecx*4]
test ecx, ecx
je 0x1000863d
mov eax, dword [ecx]
call dword [eax + 8]
dec dword [esi + 0x18]
lea ecx, [esi + 4]
mov byte [esi + 8], 1
call fcn.100b7da0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x59
jne 0x100086cc
push 0xa2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10008776
cmp byte [esi + 8], 0
je 0x10008776
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
sub eax, ecx
mov edx, dword [esi + 0x18]
sar eax, 2
dec eax
cmp edx, eax
jge 0x10008776
lea eax, [edx + 1]
mov byte [esi + 8], 0
mov dword [esi + 0x18], eax
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x100086ae
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esi + 4]
mov byte [esi + 8], 1
call fcn.100b7da0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x70
jne 0x10008776
lea ecx, [ebp - 0x70]
call fcn.10007d30
push 0x14
push str._uniQ_User_Guide.pdf
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10002000
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x58]
call fcn.100022c0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
sub esp, 8
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.100c7390
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.10002530
lea ecx, [ebp - 0x58]
call fcn.10002530
lea ecx, [ebp - 0x40]
call fcn.10002530
lea ecx, [ebp - 0x70]
call fcn.10002530
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4