joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001960
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1009f309
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov ecx, 0x100d0e08
call fcn.10001df0
mov esi, eax
test esi, esi
je 0x100019f4
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
mov eax, dword [esi + 0x560]
mov esi, dword [esi + 0x564]
lea ecx, [esp + 4]
push ecx
push esi
push eax
mov dword [esp + 0x1c], 0
call fcn.10001210
add esp, 0xc
test eax, eax
je 0x100019ea
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov esi, dword [esp + 0x18]
push eax
push 0x5c
push esi
push str.FontStruct
push str.ChatFont
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
cmp dword [esi + 0xc], 0xb4
jge 0x100019ea
mov dword [esi + 0xc], 0xdc
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x10001ad0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1009f399
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
xor eax, eax
mov dword [esp + 6], eax
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
lea ecx, [esp]
mov word [esp + 4], 0
mov word [esp + 0x2a], ax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
lea ecx, [esp]
push ecx
mov dword [esp + 0x38], 0
call fcn.100012c0
mov edx, dword [esp + 0x40]
push edx
lea eax, [esp + 0xc]
push str.MaxState_d
push eax
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x10
lea ecx, [esp]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 1
lea ecx, [esp + 0xc]
push ecx
push str.MicCnfg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [esp + 0x40]
lea ecx, [esp]
mov dword [edx], eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x10001e10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
push ebp
call sub.MFC71U.DLL_SerializeElements
mov ebx, eax
mov ecx, ebp
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x2c]
add esp, 4
xor esi, esi
test edi, edi
mov byte [esp + 0x10], 0x30
mov byte [esp + 0x11], 0x31
mov byte [esp + 0x12], 0x32
mov byte [esp + 0x13], 0x33
mov byte [esp + 0x14], 0x34
mov byte [esp + 0x15], 0x35
mov byte [esp + 0x16], 0x36
mov byte [esp + 0x17], 0x37
mov byte [esp + 0x18], 0x38
mov byte [esp + 0x19], 0x39
mov byte [esp + 0x1a], 0x61
mov byte [esp + 0x1b], 0x62
mov byte [esp + 0x1c], 0x63
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x1e], 0x65
mov byte [esp + 0x1f], 0x66
jle 0x10001ec9
mov ebp, dword [esp + 0x24]
mov ecx, ebx
lea ebx, [ebx]
movzx eax, byte [esi + ebp]
mov edx, eax
shr edx, 4
mov dl, byte [esp + edx + 0x10]
mov byte [ecx], dl
and eax, 0xf
mov al, byte [esp + eax + 0x10]
add ecx, 1
mov byte [ecx], al
add esi, 1
add ecx, 1
cmp esi, edi
jl 0x10001ea0
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push ebp
push ecx
push ebp
push ebx
push 0
push 0x3a8
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test ebx, ebx
je 0x10001eeb
push ebx
call sub.MFC71U.DLL_operator_new
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10

Function at 0x100024c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009f439
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71U.DLL_CWinThread::GetMainWnd]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_3]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MFC71U.DLL_CDockContext::Stretch]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71U.DLL_CPreviewDC::ComputeDeltas]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10005f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009f9e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71U.DLL_CWinThread::GetMainWnd]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_3]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71U.DLL_CPreviewDC::ComputeDeltas]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x10010fa0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0xa8c]
push 0xf0
push eax
call edi
mov ebx, dword [esp + 0x10]
push eax
push 1
push ebx
call fcn.10018180
mov ecx, dword [esi + 0x9c0]
add esp, 0xc
push 0
push 0
push 0xf0
push ecx
call edi
push eax
push 2
push ebx
call fcn.10018180
mov edx, dword [esi + 0xc24]
add esp, 0xc
push 0
push 0
push 0xf0
push edx
call edi
push eax
push 6
push ebx
call fcn.10018180
mov eax, dword [esi + 0xcf0]
add esp, 0xc
push 0
push 0
push 0xf0
push eax
call edi
push eax
push 4
push ebx
call fcn.10018180
mov ecx, dword [esi + 0xb58]
add esp, 0xc
push 0
push 0
push 0xf0
push ecx
call edi
push eax
push 5
push ebx
call fcn.10018180
mov edx, dword [esi + 0xdbc]
add esp, 0xc
push 0
push 0
push 0xf0
push edx
call edi
push eax
push 0xb
push ebx
call fcn.10018180
mov eax, dword [esi + 0xe88]
add esp, 0xc
push 0
push 0
push 0xf0
push eax
call edi
push eax
push 0xc
push ebx
call fcn.10018180
mov ecx, dword [esi + 0xf54]
add esp, 0xc
push 0
push 0
push 0xf0
push ecx
call edi
push eax
push 0xd
push ebx
call fcn.10018180
add esp, 0xc
pop edi
pop esi
pop ebx
ret 4
Function at 0x10011640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
push edi
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov esi, dword [eax + 8]
movzx eax, word [esp + 0x10]
push 0x100ae3f8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x100116de
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x100116dd
push ebx
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x10]
push eax
mov ecx, edx
push 0
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [esp + 0x10]
push 0
push ecx
call fcn.100115d0
mov edx, dword [esp + 0x24]
add esp, 8
push ebx
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop ebx
pop ebp
pop edi
pop esi
pop ecx
ret 8

Function at 0x10012000
Capabilities:
Capture microphone audio

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.WINMM.dll_mixerGetNumDevs]
mov dword [esi], eax
xor ebx, ebx
xor eax, eax
mov dword [esi + 0x64], ebx
mov ecx, 0x14
lea edi, [esi + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push eax
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0xffffffff
call fcn.100123a0
add esp, 4
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
je 0x10012060
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov ecx, dword [esp + 0xc]
push 0xa0000000
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.WINMM.dll_mixerGetID]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.WINMM.dll_waveInClose]
mov eax, dword [esp + 0x10]
pop edi
mov dword [esi + 0x60], eax
pop esi
mov eax, 1
pop ebx
add esp, 0x1c
ret
Function at 0x10012bb0
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x10012d34
lea eax, [esp + 0x18]
test eax, eax
je 0x10012c15
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov eax, 1
mov word [esp + 0x28], cx
mov word [esp + 0x18], ax
mov word [esp + 0x1a], ax
mov word [esp + 0x24], 2
mov dword [esp + 0x1c], 0x5622
mov word [esp + 0x26], 0x10
mov dword [esp + 0x20], 0xac44
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
jne 0x10012d34
mov edx, dword [esp + 0x14]
push 0xa0000000
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.WINMM.dll_mixerGetID]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.WINMM.dll_waveInClose]
test esi, esi
jne 0x10012d34
mov ecx, dword [esp + 0x2c]
push esi
push esi
push esi
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.WINMM.dll_mixerOpen]
test eax, eax
jne 0x10012d29
mov edx, dword [esp + 0x10]
mov ebx, dword [sym.imp.WINMM.dll_mixerGetLineInfoW]
mov ecx, 0x46
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
push 3
lea ecx, [esp + 0x34]
push ecx
push edx
mov dword [esp + 0x3c], pe_nt_image_headers32
mov dword [esp + 0x54], 7
call ebx
test eax, eax
jne 0x10012d29
cmp dword [esp + 0x50], eax
jbe 0x10012d12
xor eax, eax
push 1
mov ecx, 0x46
lea edi, [esp + 0x14c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x14c]
push edx
push eax
mov dword [esp + 0x154], pe_nt_image_headers32
mov dword [esp + 0x158], ecx
mov dword [esp + 0x15c], esi
call ebx
test eax, eax
jne 0x10012d29
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [esp + 0x14c]
push edx
push esi
call dword [ebp + 8]
test eax, eax
je 0x10012d12
add esi, 1
cmp esi, dword [esp + 0x50]
jb 0x10012cb3
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.WINMM.dll_mixerClose]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.WINMM.dll_mixerClose]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10014ea0
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
push esi
mov esi, ecx
cmp byte [esi + 0x30], 0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x38], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
je 0x10014f0e
cmp dword [esi + 0x28], 1
jb 0x10014f0e
cmp dword [esi + 0x14], 0
jne 0x10014f0e
lea edx, [esp + 8]
push edx
push 4
push esi
push 0x10014e70
push 0
push 0
mov dword [esp + 0x20], 0
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 0x14], eax
jne 0x10014f07
mov al, 1
pop esi
ret 0x14
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor al, al
pop esi
ret 0x14

Function at 0x10016c60
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a0b00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esp
push esi
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10013db0
lea eax, [esi + 8]
push eax
mov ecx, edi
call fcn.10013e00
lea ecx, [esi + 0x10]
push ecx
mov ecx, edi
call fcn.10013db0
lea edx, [esi + 0x18]
push edx
mov ecx, edi
call fcn.10013e00
lea eax, [esi + 0x20]
push eax
mov ecx, edi
call fcn.10013d10
lea ecx, [esi + 0x24]
push ecx
mov ecx, edi
call fcn.10013db0
lea edx, [esi + 0x28]
push edx
mov ecx, edi
call fcn.10013db0
lea eax, [esi + 0x2c]
push eax
mov ecx, edi
call fcn.10013db0
lea ecx, [esi + 0x30]
push ecx
mov ecx, edi
call fcn.10013d10
push 0x100
add esi, 0x32
push esi
mov ecx, edi
call fcn.10013fd0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10017340
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a0b70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esp
push esi
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10013db0
lea eax, [esi + 4]
push eax
mov ecx, edi
call fcn.10013db0
lea ecx, [esi + 8]
push ecx
mov ecx, edi
call fcn.10013e00
push 0x14
lea edx, [esi + 0x10]
push edx
mov ecx, edi
call fcn.10013e60
lea eax, [esi + 0x28]
push eax
mov ecx, edi
call fcn.10013e00
push 0x14
lea ecx, [esi + 0x30]
push ecx
mov ecx, edi
call fcn.10013e60
lea edx, [esi + 0x48]
push edx
mov ecx, edi
call fcn.10013db0
lea eax, [esi + 0x4c]
push eax
mov ecx, edi
call fcn.10013db0
lea ecx, [esi + 0x50]
push ecx
mov ecx, edi
call fcn.10013db0
lea edx, [esi + 0x58]
push edx
mov ecx, edi
call fcn.10013e00
lea eax, [esi + 0x60]
push eax
mov ecx, edi
call fcn.10013e00
lea ecx, [esi + 0x68]
push ecx
mov ecx, edi
call fcn.10013e00
lea edx, [esi + 0x70]
push edx
mov ecx, edi
call fcn.10013e00
lea eax, [esi + 0x180]
push eax
mov ecx, edi
call fcn.10013e00
push 0xff
lea ecx, [esi + 0x78]
push ecx
mov ecx, edi
call fcn.10013e60
add esi, 0x178
push esi
mov ecx, edi
call fcn.10013db0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1001b410
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x100a10ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x200]
mov dword [esp + 8], esi
call sub.MFC71U.DLL_CStdioFile::CStdioFile
xor edi, edi
lea ecx, [esi + 0x214]
mov dword [esp + 0x14], edi
call sub.MFC71U.DLL_CStdioFile::CStdioFile
lea ecx, [esi + 0x228]
mov byte [esp + 0x14], 1
call fcn.10012e20
mov dword [esi + 0x3a8], edi
mov dword [esi + 0x3ac], edi
mov dword [esi + 0x3b0], edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x1001b480
mov dword [esi + 0x3a8], 1
mov dword [esi + 0x3b4], edi
xor eax, eax
mov edi, esi
mov ecx, 0x40
rep stosd dword es:[edi], eax
lea edi, [esi + 0x100]
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x1001b670
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.Softwarekele55
push SysReAllocStringLen
mov esi, ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001b705
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esi + 0x100]
push edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 0
push str.LastAudioDeviceID
push ecx
mov dword [esp + 0x24], 0x100
call edi
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push esi
lea eax, [esp + 0x18]
push eax
push 0
push str.LastAudioDeviceName
push ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x100
call edi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0xc
ret

Function at 0x1001b710
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0x20006
push 0
push str.Softwarekele55
push SysReAllocStringLen
mov esi, ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1001b764
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.Softwarekele55
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1001b7a9
mov eax, dword [esp + 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x100
lea edx, [esi + 0x100]
push edx
push 1
push 0
push str.LastAudioDeviceID
push eax
call edi
mov ecx, dword [esp + 8]
push 0x100
push esi
push 1
push 0
push str.LastAudioDeviceName
push ecx
call edi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret
Function at 0x100214b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100a13a3
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x7c]
push edi
mov ecx, ebx
call fcn.1001f1d0
test eax, eax
je 0x10021689
cmp dword [esp + 0x50], 0
je 0x1002167e
push 0x4e0
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x48], 0
je 0x10021514
push 0
mov ecx, eax
call fcn.10027260
mov ecx, eax
jmp 0x10021516
xor ecx, ecx
mov eax, dword [esi + 0x80]
mov edi, dword [esi + 0x84]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
mov dword [esp + 0x50], 0xffffffff
mov dword [esi + 0x11c], ecx
call fcn.10027210
mov edi, dword [esp + 0x54]
mov ecx, dword [esi + 0x11c]
mov eax, dword [ecx]
push edi
push 0x6f
call dword [eax + 0x138]
test edi, edi
jne 0x10021560
xor eax, eax
jmp 0x10021563
mov eax, dword [edi + 0x20]
test edi, edi
mov ecx, dword [esi + 0x11c]
mov dword [ecx + 0x4cc], eax
mov edx, dword [esi + 0x11c]
mov eax, dword [esi + 0x6c]
mov dword [edx + 0x4c8], eax
mov ecx, dword [esi + 0x11c]
mov dword [ecx + 0x4dc], ebx
je 0x10021591
mov edi, dword [edi + 0x20]
lea edx, [esp + 0x30]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
push 4
push eax
push ecx
mov ecx, dword [esi + 0x11c]
call fcn.10027420
lea ecx, [esp + 0x50]
mov dword [esp + 0x10], 0x100b0624
mov dword [esp + 0x14], 0x100b0620
mov dword [esp + 0x18], 0x100b061c
mov dword [esp + 0x1c], 0x100b0618
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
movsx edx, word [esi + 0x70]
mov eax, dword [esp + edx*4 + 0x10]
push eax
lea ecx, [esp + 0x54]
push 0x100b0608
push ecx
mov dword [esp + 0x54], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0xc
lea ecx, [esp + 0x50]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov ecx, dword [esi + 0x11c]
push eax
call fcn.1007e5c0
mov ecx, dword [esi + 0x11c]
lea edx, [esp + 0x20]
push edx
call fcn.1007d050
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x11c]
mov ecx, dword [eax + 0x20]
push ecx
mov ecx, ebx
call fcn.1001fc10
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x34]
lea ecx, [esp + 0x50]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8
push 0
push 0
mov ecx, esi
call fcn.10021460
mov ecx, dword [esp + 0x40]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x40
ret 8
Function at 0x10025240
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x38
movsx ecx, word [esp + 0x3c]
push ebx
push ebp
mov bp, word [esp + 0x4c]
push esi
push edi
movsx edi, word [esp + 0x50]
movsx eax, bp
imul eax, edi
imul eax, ecx
cdq
and edx, 7
add eax, edx
mov esi, eax
xor ebx, ebx
sar esi, 3
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x5c]
lea eax, [esi + 0x36]
push 0x100b0b00
push ecx
mov word [esp + 0x18], 0x4d42
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], bx
mov word [esp + 0x20], bx
mov dword [esp + 0x22], 0x36
mov dword [esp + 0x28], 0x28
mov word [esp + 0x34], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], edi
mov word [esp + 0x36], bp
call dword [sym.imp.MSVCR71.dll__wfopen]
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x1002530c
mov ebx, dword [sym.imp.MSVCR71.dll_fwrite]
push edi
push 0xe
lea edx, [esp + 0x18]
push 1
push edx
call ebx
push edi
push 0x28
lea eax, [esp + 0x38]
push 1
push eax
call ebx
mov ecx, dword [esp + 0x78]
push edi
push esi
push 1
push ecx
call ebx
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 0x34
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x38
ret 0x14
Function at 0x1002d260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x58]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x24], esi
je 0x1002d391
cmp dword [esi + 0x60], ebx
je 0x1002d391
mov ecx, dword [esi + 0x5c]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x30]
mov edi, dword [esi + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x3c]
cdq
and edx, 7
add eax, edx
sar eax, 3
push ebp
mov ebp, eax
imul ebp, edi
cmp edi, 4
lea ecx, [eax*4]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ecx
jl 0x1002d36a
mov dword [esp + 0x20], 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
lea ecx, [ecx]
mov edx, dword [esi + 0x60]
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + edx]
test ebx, ebx
je 0x1002d34e
mov eax, dword [esp + 0x24]
sub eax, ebx
imul eax, ebp
add eax, dword [esp + 0x14]
lea edx, [ebx - 1]
add eax, dword [esi + 0x58]
imul edx, ecx
add edx, dword [esi + 0x78]
test ebx, ebx
jle 0x1002d34e
jmp 0x1002d310
mov ebp, ecx
shr ecx, 2
mov esi, edx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
cmp ebx, 1
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
je 0x1002d331
add eax, dword [esp + 0x1c]
sub edx, ecx
mov esi, dword [esp + 0x28]
mov edi, eax
sub edi, dword [esi + 0x58]
cmp edi, dword [esi + 0x5c]
jg 0x1002d387
sub ebx, 1
test ebx, ebx
jg 0x1002d310
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], 4
add dword [esp + 0x14], ecx
add eax, 4
cmp eax, edi
mov dword [esp + 0x20], eax
jle 0x1002d2e0
cmp dword [esi + 0x68], 0
lea eax, [esi + 0x68]
jle 0x1002d37a
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20
ret
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x20
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x20
ret