joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438070
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x465028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0045e192
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00437a10
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0045e0c0
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045a984
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045a984
push 1
push 0
push 0
mov ecx, esi
call fcn.0045a92c
push 1
push 0
push 1
mov ecx, esi
call fcn.0045a92c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045e204
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4381f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x465048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0045e192
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00437a10
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0045e0c0
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4382b4
cmp dword [esp + 0x40], 1
jne 0x4382b2
cmp ecx, eax
jge 0x4382b4
mov eax, ecx
cmp eax, 0xc8
jge 0x4382c0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00438070
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045e204
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x438a40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4650b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00458da4
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0045e43a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0045f956
test eax, eax
je 0x438b5c
mov ecx, dword [esp + 0x3c]
call fcn.0045e467
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x438b20
push edi
mov ecx, esi
call fcn.0045bacb
mov ecx, esi
call fcn.00438cc0
cmp dword [esp + 0x38], 1
jne 0x438b55
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045bc06
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43b580
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43b5b3
push esi
call fcn.0043e670
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43b5ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43b639
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43b622
mov eax, dword [esi + 8]
test eax, eax
je 0x43b5d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43b61e
cmp eax, 2
je 0x43b622
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43b5ca
cmp eax, 3
je 0x43b5fd
cmp eax, 1
jne 0x43b5ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43b5ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43b5ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043b660
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43b648
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043b660
add esp, 4
pop esi
ret

Function at 0x459b9a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x459bd2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00457c4e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00457c26
jmp 0x459bde
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45b288
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45b2ca
call fcn.00460d41
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45b2ca
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45b2c1
xor eax, eax
jmp 0x45b2d2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045b2d8
pop edi
pop esi
pop ebx
ret 4

Function at 0x461271
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46129f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4612bd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004611d7
jmp 0x4612bd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4612bd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004611d7
test edi, edi
mov eax, edi
jne 0x4612a7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x402ee4
pop dword [ebp - 0x3c]
mov eax, 0x402ee4
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x5f156ea9
sub dword [ebp - 0x4c], 0x10c3295e
mov dword [ebp - 0x48], 0x447379fc
sub dword [ebp - 0x48], 0x12402db7
mov dword [ebp - 0x44], 0x1ce67b6e
sub dword [ebp - 0x44], 0xd09a3740
mov dword [ebp - 0x40], 0x4c6547df
sub dword [ebp - 0x40], 0x4c6547df
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x93fd903c
add dword [ebp - 0x4c], 0xe074d91a
mov dword [ebp - 0x48], 0x9b7362f5
sub dword [ebp - 0x48], 0x5a070180
mov dword [ebp - 0x44], 0x12a7246e
sub dword [ebp - 0x44], 0xaf37b802
mov dword [ebp - 0x40], 0xce530088
add dword [ebp - 0x40], 0x31acff78
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x24c70c79
sub eax, 0x24868b79
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x38e07
push 0
call eax
mov ecx, 0x6b5a8099
sub ecx, 0x6b5a313c
mov ebx, eax
mov edx, 0x46e400
add edx, dword [ebp - 0x3c]
mov edi, 0xc707d93d
sub edi, 0x16b760ed
xor dword [ebp - 0x28], ebx
mov esi, dword [edx]
xor dword [ebp - 0x30], edi
xor esi, edi
add dword [ebp - 0x1c], 0x919be334
mov dword [ebx], esi
sub dword [ebp - 0x30], 0xb879fbe6
add ebx, 0xe4a3c449
sub ebx, 0xe4a3c445
add edx, 4
loop 0x402ff6
add eax, 0x13047
xor ebx, ebx
add ebx, eax
add eax, 0xe5e061cb
add eax, 0x1a1f9e3a
mov ecx, 0xa3bd4909
add ecx, 0x5c82b6f7
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x40317b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4031a6
mov ecx, dword [0x42a298]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 4
call fcn.00403283
cmp eax, esi
jl 0x40327d
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.00403283
mov ebx, eax
cmp ebx, esi
jl 0x40327b
cmp dword [ebp + 0x10], esi
jne 0x403249
cmp dword [ebp + 8], esi
jle 0x40327b
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x40320b
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00402ed5
test eax, eax
je 0x403245
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4031fa
jmp 0x40327b
push 0xfffffffffffffffe
jmp 0x40326f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403254
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x403272
push 0xfffffffffffffffd
pop eax
jmp 0x40327d
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x402c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45ae51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov dword [esp + 0x1c], ebx
mov dword [esp + 8], ebx
lea eax, [esp + 8]
push eax
push 0x4647e4
push 0x17
push ebx
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x30], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [esp + 0x38], ebx
mov eax, dword [esp + 8]
mov edx, dword [eax]
lea ecx, [esp + 0xc]
je 0x402c73
push 0xffffffffffffffff
jmp 0x402c74
push ebx
push ecx
push eax
call dword [edx + 0x24]
mov edx, dword [esp + 0xc]
push edx
lea ecx, [esp + 0x14]
call dword [0x463b0c]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
mov eax, dword [esp + 8]
cmp eax, ebx
mov byte [esp + 0x1c], bl
je 0x402cb6
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x4039a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x45af8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push esi
push edi
mov edi, ecx
push 0x400
lea ecx, [esp + 0x10]
call fcn.00459516
push 0x98
mov dword [esp + 0xd0], 0
call sub.MFC71.DLL_operator_new
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov byte [esp + 0xcc], 1
je 0x403a07
mov ecx, dword [edi + 0x8c]
push ecx
mov ecx, eax
call fcn.00402d20
mov esi, eax
jmp 0x403a09
xor esi, esi
push 0
push 0x1000
push 0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x8c]
mov byte [esp + 0xdc], 0
call fcn.00459510
mov eax, dword [edi]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, edi
mov byte [esp + 0xd0], 2
call dword [eax + 8]
lea ecx, [esp + 0x7c]
call sub.MFC71.DLL_CArchive::Flush
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
lea ecx, [esp + 0x18]
call dword [edx + 0x30]
push 0
push 0x1000
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
call fcn.00459510
mov eax, 3
mov dword [esp + 0x44], eax
mov edx, dword [esi]
mov byte [esp + 0xcc], al
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call dword [edx + 8]
lea ecx, [esp + 0x34]
mov byte [esp + 0xcc], 2
call sub.MFC71.DLL_CArchive::CArchive
lea ecx, [esp + 0x7c]
mov byte [esp + 0xcc], 0
call sub.MFC71.DLL_CArchive::CArchive
lea ecx, [esp + 0xc]
mov dword [esp + 0xcc], 0xffffffff
call sub.MFC71.DLL_CMemFile::CMemFile
mov ecx, dword [esp + 0xc4]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0xc8
ret
Function at 0x4082b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45b429
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.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [0x463420]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::StringLength]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40a470
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x45b78e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x466cb4
call fcn.00433f40
xor ebx, ebx
push 0xa
lea ecx, [esi + 0x2c]
mov dword [esp + 0x2c], ebx
call sub.MFC71.DLL_CObList::CObList
mov dword [esi + 0x28], ebx
xor eax, eax
xor ecx, ecx
mov edx, 0x64
lea ebx, [esi + 8]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
push edx
mov ebp, edx
mov dword [ebx + 8], edx
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
mov dword [ebx + 0xc], ebp
call fcn.00433f60
push eax
mov ecx, edi
mov byte [esp + 0x2c], 2
call fcn.00434060
mov bl, 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00433fc0
mov ecx, dword [esp + 0x20]
pop edi
mov byte [esi + 4], bl
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x40b4a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov ecx, dword [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40b4c0
test al, 0x10
je 0x40b4c0
mov eax, 1
ret
xor eax, eax
ret
Function at 0x40bc40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45ba9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
lea ecx, [esp + 0xc]
call fcn.00432ac0
xor ebx, ebx
push ebx
push str.SoftwareAheadNero_WaveEditor_
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.Directories
push eax
push ecx
mov byte [esp + 0x30], 1
call fcn.004082b0
add esp, 0xc
push reloc.DSOUND.dll_DirectSoundCreate
lea ecx, [esp + 0x18]
call fcn.00432ad0
lea ecx, [esp + 4]
mov byte [esp + 0x1c], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x24]
dec eax
cmp eax, 4
ja case.default.0x40bcbd
jmp dword [eax*4 + 0x40bdb4]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
mov byte [esp + 0x24], 2
push str.Presets
jmp 0x40bd7e
mov eax, dword [esp + 0x28]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
mov byte [esp + 0x24], 3
push str.Plugin
jmp 0x40bd7e
mov edx, dword [esp + 0x28]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
mov byte [esp + 0x24], 4
push str.Peakfiles
jmp 0x40bd7e
mov eax, dword [esp + 0x28]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
mov byte [esp + 0x24], 5
push str.Temporary
jmp 0x40bd7e
mov edx, dword [esp + 0x28]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
mov byte [esp + 0x24], 6
push str.MyMusic
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.00432c40
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00432e00
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret
Function at 0x40bf20
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x45bac2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
lea ecx, [esp]
mov dword [esp + 0xc], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x14]
mov byte [esp + 0xc], 1
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
jne 0x40bf83
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
dec eax
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetAt]
cmp al, 0x5c
je 0x40bf83
push 0x4671bc
lea ecx, [esp + 0x18]
call dword [0x463b2c]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40bfef
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 4]
push 0x111
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format_1]
add esp, 0xc
push 0
push 4
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call sub.MFC71.DLL_AfxMessageBox_1
cmp eax, 7
jne 0x40bfef
lea ecx, [esp]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor al, al
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
lea ecx, [esp]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 4]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40c6e0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x45bbb9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 4], eax
xor eax, eax
lea edi, [esi + 0x10]
mov dword [esi], 0x467528
mov dword [esp + 0x1c], eax
mov dword [edi], 0x4674d0
mov dword [edi + 4], eax
lea ebp, [esi + 0x18]
mov dword [ebp], 0x4674d0
mov dword [ebp + 4], eax
push 0xa
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 2
call sub.MFC71.DLL_CObList::CObList
push 0x93
push 4
push 0x93
mov byte [esp + 0x28], 3
call sub.MFC71.DLL_AfxFindResourceHandle
mov ebx, dword [sym.imp.USER32.dll_LoadMenuA]
push eax
call ebx
push eax
mov ecx, edi
call sub.MFC71.DLL_CMenu::Attach
push 0xcd
push 4
push 0xcd
call sub.MFC71.DLL_AfxFindResourceHandle
push eax
call ebx
push eax
mov ecx, ebp
call sub.MFC71.DLL_CMenu::Attach
mov ecx, dword [esp + 0x14]
pop edi
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x40c6fc
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x45bbb9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 4], eax
xor eax, eax
lea edi, [esi + 0x10]
mov dword [esi], 0x467528
mov dword [esp + 0x1c], eax
mov dword [edi], 0x4674d0
mov dword [edi + 4], eax
lea ebp, [esi + 0x18]
mov dword [ebp], 0x4674d0
mov dword [ebp + 4], eax
push 0xa
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 2
call sub.MFC71.DLL_CObList::CObList
push 0x93
push 4
push 0x93
mov byte [esp + 0x28], 3
call sub.MFC71.DLL_AfxFindResourceHandle
mov ebx, dword [sym.imp.USER32.dll_LoadMenuA]
push eax
call ebx
push eax
mov ecx, edi
call sub.MFC71.DLL_CMenu::Attach
push 0xcd
push 4
push 0xcd
call sub.MFC71.DLL_AfxFindResourceHandle
push eax
call ebx
push eax
mov ecx, ebp
call sub.MFC71.DLL_CMenu::Attach
mov ecx, dword [esp + 0x14]
pop edi
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40c7a0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x45bbee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x467528
lea ecx, [esi + 0x30]
mov dword [esp + 0x10], 2
call fcn.00459476
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 1
mov dword [ecx], 0x4674d0
call sub.MFC71.DLL_CMenu::DestroyMenu
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 0
mov dword [ecx], 0x4674d0
call sub.MFC71.DLL_CMenu::DestroyMenu
mov ecx, dword [esp + 8]
mov dword [esi], 0x4674ec
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40c7b6
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x45bbee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x467528
lea ecx, [esi + 0x30]
mov dword [esp + 0x10], 2
call fcn.00459476
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 1
mov dword [ecx], 0x4674d0
call sub.MFC71.DLL_CMenu::DestroyMenu
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 0
mov dword [ecx], 0x4674d0
call sub.MFC71.DLL_CMenu::DestroyMenu
mov ecx, dword [esp + 8]
mov dword [esi], 0x4674ec
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret