joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001d510
Capabilities:
Enumerate files on windows
Get common file path
Move file

Disassembly:
mov eax, dword [0x1003db68]
sub esp, 0x658
test eax, eax
jne 0x1001d528
xor eax, eax
add esp, 0x658
ret
push ebp
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x218]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x560]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x560]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, dword [0x1003db68]
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
lea edx, [esp + 0x560]
push ecx
push edx
lea eax, [esp + 0x220]
push 0x100303fc
push eax
call ebp
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x46c]
add esp, 0x10
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x218]
lea edx, [esp + 0x45c]
push ecx
push 0x100316cc
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x31c]
lea ecx, [esp + 0x45c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0xc], esi
je 0x1001d6c2
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_rename]
cmp byte [esp + 0x34c], 0x2e
je 0x1001d6a3
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x14]
lea edx, [esp + 0x34c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x21c]
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x10030690
push ecx
call ebp
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x128]
lea esi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
lea edi, [esp + 0x128]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x128]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x100325fc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x128]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
push ecx
call ebx
add esp, 0x18
lea edx, [esp + 0x118]
mov ecx, 0x1003db78
push str.audio
push edx
call fcn.1001f520
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x320]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001d5d9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x658
ret

Function at 0x1001d6e0
Capabilities:
Create thread

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0
push ecx
push 0x1001d7c0
push 0
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1003db64], eax
mov eax, 1
pop ecx
ret
Function at 0x1001e360
Capabilities:
Capture microphone audio

Disassembly:
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 1
push ebx
mov cx, word [edi + 0x20]
mov ax, word [edi + 0x1c]
mov esi, ecx
mov word [esp + 0x1a], ax
and eax, 0xffff
and esi, 0xffff
imul eax, esi
mov edx, dword [edi + 0x14]
mov esi, eax
mov dword [esp + 0x1c], edx
imul esi, edx
cdq
and edx, 7
push ebx
add eax, edx
mov word [esp + 0x1c], 1
sar eax, 3
mov word [esp + 0x28], ax
lea eax, [esp + 0x1c]
shr esi, 3
push eax
mov dword [esp + 0x28], esi
mov esi, dword [sym.imp.WINMM.dll_waveInOpen]
push ebx
push ebx
mov word [esp + 0x36], cx
mov word [esp + 0x38], bx
call esi
test eax, eax
je 0x1001e3e3
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xb8
ret 4
mov ecx, dword [esp + 0xcc]
push 0x50000
push ebx
lea edx, [esp + 0x18]
mov eax, dword [ecx]
lea ebp, [edi + 0xc]
push eax
push edx
push 0xffffffffffffffff
push ebp
call esi
mov dword [ebp + 4], eax
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x1001e464
cmp eax, 4
jne 0x1001e444
mov edi, str.Another_application_is_recording_audio._Stop_recording_with_this_other_application_and_then_try_to_record_with_Sound_Frequency_Analyzer_again.
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor al, al
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
lea ecx, [esp + 0x24]
push 0xa4
push ecx
push eax
call dword [sym.imp.WINMM.dll_waveInGetErrorTextA]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xb8
ret 4
lea esi, [edi + 0x34]
mov edx, dword [edi + 0x28]
mov eax, dword [edi + 0x30]
imul edx, ebx
add edx, eax
push 0x20
mov dword [esi], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov ecx, dword [ebp]
push esi
push ecx
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
mov edx, dword [ebp]
push 0x20
push esi
push edx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
inc ebx
add esi, 0x20
cmp ebx, 7
jl 0x1001e467
mov eax, dword [ebp]
mov byte [edi + 8], 1
push eax
mov dword [edi + 0x2c], 0
call dword [sym.imp.WINMM.dll_waveInStart]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xb8
ret 4
Function at 0x1001e4d0
Capabilities:
Capture microphone audio

Disassembly:
sub esp, 0x404
push ebx
push esi
mov esi, ecx
push edi
push 0x20
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0xc]
shl eax, 5
lea ecx, [eax + esi + 0x34]
push ecx
push edx
call dword [sym.imp.WINMM.dll_waveInUnprepareHeader]
mov eax, dword [esi + 0x2c]
xor ebx, ebx
lea ecx, [eax - 1]
cmp ecx, ebx
jge 0x1001e503
mov ecx, 7
inc eax
cmp eax, 8
mov dword [esi + 0x2c], eax
jne 0x1001e50f
mov dword [esi + 0x2c], ebx
mov edx, dword [esi + 0x28]
mov eax, ecx
imul edx, ecx
mov ecx, dword [esi + 0x30]
shl eax, 5
add eax, esi
add edx, ecx
lea edi, [eax + 0x34]
mov dword [edi], edx
mov ecx, dword [esi + 0x28]
mov dword [eax + 0x38], ecx
mov dword [eax + 0x44], ebx
mov dword [eax + 0x48], ebx
mov edx, dword [0x1003db60]
cmp dword [edx], ebx
jne 0x1001e562
mov eax, dword [esi + 0xc]
push 0x20
push edi
push eax
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
mov ecx, dword [esi + 0xc]
push 0x20
push edi
push ecx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x404
ret
cmp dword [esi + 4], ebx
je 0x1001e5c8
cmp dword [0x1003db6c], ebx
je 0x1001e5c8
mov edx, dword [eax + 0x38]
xor ecx, ecx
cmp edx, ebx
mov dword [esp + 0xc], 0x400
jbe 0x1001e597
mov edx, dword [edi]
add edx, ecx
add ecx, 2
mov bx, word [edx]
shl bx, 1
mov word [edx], bx
mov edx, dword [eax + 0x38]
cmp ecx, edx
jb 0x1001e580
mov eax, dword [eax + 0x38]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [edi]
push edx
push eax
push ecx
mov ecx, 0x1003dbac
call fcn.10020250
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
mov ecx, 0x1003db88
call fcn.1001fb20
jmp 0x1001e5e0
cmp dword [0x1003db8c], ebx
je 0x1001e5e0
mov ecx, 0x1003db88
call fcn.1001ff60
mov dword [0x1003db8c], ebx
mov ecx, dword [esi + 0xc]
push 0x20
push edi
push ecx
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
mov edx, dword [esi + 0xc]
push 0x20
push edi
push edx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x404
ret

Function at 0x1001f980
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0xc]
mov dword [esi + 4], 0
push eax
push 4
push esi
push 0x1001f9b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
mov dword [esi], 0x1002c5d8
mov eax, esi
pop esi
ret
Function at 0x1001fc60
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1002b610
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push edi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 4]
mov dword [esp + 0x12c], 1
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x20]
mov byte [esp + 0x12c], 2
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, dword [0x1003db68]
lea edx, [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0xc]
push 0x100303fc
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x14]
push 0
push ecx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x18
test eax, eax
pop edi
je 0x1001fd04
mov edx, dword [esp]
push edx
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
lea eax, [esp + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1a]
mov eax, dword [esp + 0x18]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x1a]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x1a]
push eax
mov eax, dword [esp + 0x1c]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x14]
and eax, 0xffff
push edx
push eax
push ecx
lea edx, [esp + 0x24]
push str._s_04d_02d_02d_02d_02d_02d.tmp
push edx
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x158]
add esp, 0x24
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.10022fbe
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x12c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x12c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x124]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x12c
ret 4
Function at 0x1001fdc0
Capabilities:
Access peb ldr_data
Move file

Disassembly:
push 0xffffffffffffffff
push 0x1002b640
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0xc]
push 4
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push str..tmp
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
pop ebx
je 0x1001feef
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 8]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x2c]
add eax, 0xfffffffc
push eax
push edx
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0xc]
mov byte [esp + 0x24], 3
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x16]
mov eax, dword [esp + 0x14]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x16]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x16]
push eax
mov eax, dword [esp + 0x18]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x10]
and eax, 0xffff
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push str._s__04d_02d_02d_02d_02d_02d.a
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 0x2c
mov byte [esp + 0x24], 1
test eax, eax
lea ecx, [esp + 4]
je 0x1001ff21
call sub.MFC42.DLL_CString::CString
lea ecx, [esp]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x1001ffb0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1002b687
push eax
mov eax, dword [0x1003db68]
mov dword fs:[0], esp
sub esp, 0x268
test eax, eax
je 0x100201a6
push esi
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
mov dword [esp + 0x278], 0
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x16c]
mov byte [esp + 0x278], 1
rep stosd dword es:[edi], eax
lea eax, [esp + 0x16c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, dword [0x1003db68]
lea edx, [esp + 0x16c]
push ecx
push edx
lea eax, [esp + 0x10]
push 0x100303fc
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.10022ffa
lea ecx, [esp + 0xc]
mov byte [esp + 0x278], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push ecx
push 0x100316cc
push edx
mov byte [esp + 0x284], 3
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100200ff
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp byte [esp + 0x58], 0x2e
je 0x100200ec
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x58]
lea eax, [esp + 0x10]
push edx
push 0x10030c5c
push eax
mov byte [esp + 0x284], 4
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x2c]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x10]
mov byte [esp + 0x278], 3
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x2c]
push eax
push esi
call edi
test eax, eax
jne 0x10020099
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x20]
pop edi
cmp eax, 0x32
pop esi
mov byte [esp + 0x270], 2
lea ecx, [esp + 4]
jge 0x1002016b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x270], 1
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp]
mov byte [esp + 0x270], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x270], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
add esp, 0x274
ret
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x270], 1
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp]
mov byte [esp + 0x270], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x270], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x268]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x274
ret
Function at 0x10020310
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x7e4
push esi
push edi
push 1
call fcn.1000ec30
mov dword [0x1003dce8], eax
mov eax, dword [esp + 0x7f4]
mov esi, 9
add esp, 4
xor edi, edi
mov dword [0x1003dbb0], eax
cmp word [eax + 0x20], si
jae 0x1002048e
cmp word [eax + 0x20], di
je 0x10020367
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x10020362
lea ecx, [esp + 0x14]
push ecx
call dword [eax + 0xd0]
add esp, 4
mov edi, 0x55
mov edx, dword [0x1003dbb0]
mov word [edx + 0x20], si
mov eax, dword [0x1003dbb0]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [eax + 0x1c], fcn.10020a00
mov ecx, dword [0x1003dbb0]
mov dword [ecx + 0xdc], 0x10020850
mov edx, dword [0x1003dbb0]
mov ecx, dword [esp + 0x7fc]
mov dword [edx + 0xd0], 0x100204b0
mov eax, dword [0x1003dbb0]
mov edx, dword [esp + 0x7f8]
mov dword [eax + 0x25c], 0x10020680
mov dword [0x1003dcd4], ecx
lea eax, [esp + 0xc]
mov dword [0x1003dbb4], edx
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push 0x10032740
push str.SOFTWAREMicrosoft
push bind
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 4
call esi
test eax, eax
jne 0x1002040e
mov eax, dword [esp + 8]
cmp eax, 0xa
jb 0x1002040e
mov dword [0x10032724], eax
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push 0x1003273c
push str.SOFTWAREMicrosoft
push bind
call esi
test eax, eax
jne 0x10020440
mov eax, dword [esp + 8]
cmp eax, 0xa
jb 0x10020440
mov dword [0x10032730], eax
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push str.vfreq
push str.SOFTWAREMicrosoft
push bind
call esi
test eax, eax
jne 0x1002046d
mov eax, dword [esp + 8]
mov dword [0x1003dce4], eax
push 0
call fcn.10020a00
push 0
call fcn.10020ab0
add esp, 8
mov eax, edi
shl eax, 8
pop edi
or al, 3
pop esi
add esp, 0x7e4
ret
mov edi, 0xff
mov eax, edi
pop edi
shl eax, 8
or al, 3
pop esi
add esp, 0x7e4
ret

Function at 0x10020a00
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x10020a56
mov eax, dword [0x1003dce0]
test eax, eax
jne 0x10020a9a
lea eax, [esp + 8]
mov dword [esp + 8], esi
push eax
push esi
push esi
push 0x10020d20
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x1003dcdc], eax
je 0x10020a9a
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x1003dce0
call esi
push 0
push 0x1003dcd8
call esi
mov eax, 1
pop esi
ret
push edi
push 0x7d6
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, 0x1f5
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add esp, 4
lea ecx, [esp + 0xc]
movsw word es:[edi], word [esi]
push ecx
push 0
push eax
push 0x10020b90
push 0
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
pop edi
je 0x10020a9a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
ret
Function at 0x10020ab0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push 0
push 0x10020b00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x1003dcdc], eax
je 0x10020ae1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ecx
ret
Function at 0x100217b0
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
mov eax, dword [0x1003dce8]
sub esp, 0x558
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x100217d0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x558
ret
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x464]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x464]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x25c]
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
rep stosd dword es:[edi], eax
mov ecx, dword [0x1003dce8]
lea edx, [esp + 0x464]
push ecx
push edx
lea eax, [esp + 0x264]
push 0x100303fc
push eax
call ebx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x370]
add esp, 0x10
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x25c]
lea edx, [esp + 0x360]
push ecx
push str._s.
push edx
mov ebp, 1
call ebx
add esp, 0xc
lea eax, [esp + 0x11c]
lea ecx, [esp + 0x360]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x100219b9
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov esi, eax
jmp 0x10021891
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
cmp byte [esp + 0x148], 0x2e
je 0x10021997
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x148]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x25c]
push edx
push eax
lea ecx, [esp + 0x20]
push 0x10030690
push ecx
call ebx
mov bl, byte [esp + eax + 0x27]
add esp, 0x10
test ebp, ebp
je 0x10021970
cmp bl, 0x61
je 0x100218e5
cmp bl, 0x76
jne 0x10021970
lea edx, [esp + 0x148]
push edx
call fcn.10021720
add esp, 4
cmp bl, 0x61
mov ecx, esi
jne 0x1002192a
sub ecx, eax
mov eax, dword [0x10032724]
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
shl edx, 2
cmp ecx, edx
jle 0x10021917
lea eax, [esp + 0x18]
push eax
jmp 0x10021991
push 0
call fcn.100216b0
push eax
push 5
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
jmp 0x10021956
sub ecx, eax
mov eax, dword [0x10032730]
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
shl edx, 2
cmp ecx, edx
jle 0x10021945
lea eax, [esp + 0x18]
push eax
jmp 0x10021991
push 1
call fcn.100216b0
push eax
push 5
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
lea edx, [esp + 0x28]
push edx
call sub.MFC42.DLL_CString::CString_1
call fcn.10021a90
add esp, 0x10
test eax, eax
jne 0x10021997
xor ebp, ebp
jmp 0x10021997
lea eax, [esp + 0x148]
push eax
call fcn.10021720
mov ecx, esi
add esp, 4
sub ecx, eax
cmp ecx, 0x258
jle 0x10021997
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x11c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1002188b
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x558
ret
Function at 0x100219d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002b70f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov dword [esp + 0xc], 0
lea ecx, [esp + 4]
mov dword [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_2
push 0x5c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::ReverseFind
mov ecx, dword [esp + 0x24]
lea edx, [esp + 8]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
inc eax
push ecx
push eax
push edx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 8]
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x20]
lea eax, [esp + 4]
push eax
mov ecx, esi
call fcn.10022fbe
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x100228d0
Capabilities:
Enumerate devices by category

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1002b858
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x24]
xor ebx, ebx
cmp esi, ebx
je 0x10022a16
mov dword [esi], ebx
mov dword [esp + 0xc], ebx
lea eax, [esp + 0xc]
mov dword [esp + 0x1c], ebx
push eax
push 0x10032870
push 7
push ebx
push 0x1002c808
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x10022a16
mov dword [esp + 8], ebx
mov ecx, dword [eax]
lea edx, [esp + 8]
push ebx
push edx
push 0x1002c7f8
push eax
mov byte [esp + 0x2c], 1
call dword [ecx + 0xc]
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x10022975
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
cmp eax, ebx
je 0x10022a16
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
mov edx, dword [eax]
push eax
call dword [edx + 0x14]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x28]
mov ecx, dword [eax]
push edx
push 1
push eax
mov byte [esp + 0x2c], 2
call dword [ecx + 0xc]
cmp eax, ebx
jne 0x100229cf
mov eax, dword [esp + 0x24]
push esi
push 0x1002c798
push ebx
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x20]
mov eax, dword [esi]
mov byte [esp + 0x1c], 1
cmp eax, ebx
mov eax, dword [esp + 0x24]
jne 0x100229e4
cmp eax, ebx
je 0x1002297b
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x1002297b
mov eax, dword [esp + 0x24]
mov byte [esp + 0x1c], 1
cmp eax, ebx
je 0x100229ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100229ee
cmp eax, ebx
je 0x100229ee
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 8]
mov byte [esp + 0x1c], bl
cmp eax, ebx
je 0x10022a00
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
cmp eax, ebx
je 0x10022a16
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x14]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4