Function at 0x407100
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43aec7
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x45b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x234], esi
xor ebx, ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - method.CWString.virtual_0], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - method.CWString.virtual_0], vtable.CVolObject.0
mov dword [ebp - 0x2cc], ebx
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2b8]
mov dword [ebp - method.CWString.virtual_0], vtable.rg_n35050::rg_n36663.0
call fcn.004020d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28c]
call fcn.004020d0
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c4], ebx
mov dword [ebp - 0x2c0], ebx
mov dword [ebp - 0x2bc], ebx
mov dword [ebp - 4], 3
mov ecx, esi
call fcn.00423180
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x224]
push eax
push 0x4070c0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x220]
xor edx, edx
mov ecx, dword [ebp - 0x224]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x22c], edx
test eax, eax
je 0x4074e4
lea edi, [esi + 0xc]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
nop dword [eax + eax]
mov eax, dword [ecx + edx*4]
lea ecx, [ebp - 0x230]
push ecx
push eax
mov dword [ebp - 0x2c4], eax
call esi
mov eax, dword [ebp - 0x230]
push 0
push dword [ebp - 0x2c4]
mov dword [ebp - 0x2c0], eax
call esi
mov edx, dword [ebp - 0x2c4]
lea ecx, [ebp - 0x304]
mov dword [ebp - 0x2bc], eax
call fcn.00406f50
mov esi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2b8]
mov edx, dword [ebp - 0x2b8]
call dword [edx + 0x44]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x2b4], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x2b0], ecx
lea ecx, [ebp - 0x2a8]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x2a8]
call dword [eax + 0x44]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x2a8]
call fcn.00402f40
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2f4]
mov dword [ebp - 0x2d4], eax
mov dword [ebp - method.CWString.virtual_0], vtable.CVolMem.0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2e8]
test ecx, ecx
je 0x4072db
mov eax, dword [ebp - 0x2f4]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, fcn.004265e0
jne 0x4072d3
mov ecx, 0x45bdd8
call fcn.004298b0
jmp 0x4072db
lea ecx, [ebp - 0x2f4]
call eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2e4], 0
mov byte [ebp - 4], 6
mov dword [ebp - method.CWString.virtual_0], vtable.CVolObject.0
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x2c4]
mov dword [ebp - method.CWString.virtual_0], vtable.CVolObject.0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea ecx, [ebp - 0x260]
call fcn.004020d0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
mov dword [ebp - method.CWString.virtual_0], vtable.CWString.0
call fcn.0042a710
mov byte [ebp - 4], 9
or ebx, 2
mov dword [ebp - 0x228], ebx
lea ecx, [ebp - 0x28c]
mov eax, dword [ebp - 0x28c]
call dword [eax + 0x44]
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x27c]
call dword [eax + 0x44]
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00402f40
and ebx, 0xfffffffd
mov dword [ebp - 0x228], ebx
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x250]
mov dword [ebp - 0x2d8], eax
mov dword [ebp - method.CWString.virtual_0], vtable.CVolMem.0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x244]
test ecx, ecx
je 0x40742a
mov eax, dword [ebp - 0x250]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, fcn.004265e0
jne 0x407422
mov ecx, 0x45bdd8
call fcn.004298b0
jmp 0x40742a
lea ecx, [ebp - 0x250]
call eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
mov byte [ebp - 4], 0xb
mov dword [ebp - method.CWString.virtual_0], vtable.CVolObject.0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2d0]
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - method.CWString.virtual_0], vtable.CVolObject.0
mov eax, dword [eax + 0x20]
cmp eax, fcn.004067c0
jne 0x407481
call fcn.004067c0
jmp 0x407483
call eax
mov esi, dword [edi + 0x14]
mov ebx, eax
mov eax, dword [edi + 0x10]
sub eax, esi
cmp eax, 4
jl 0x40749e
mov eax, dword [edi + 0xc]
mov dword [esi + eax], ebx
add dword [edi + 0x14], 4
jmp 0x4074ac
lea eax, [esi + 4]
mov ecx, edi
push eax
call fcn.00428ab0
mov dword [eax + esi], ebx
mov eax, dword [ebp - 0x220]
mov edx, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x224]
inc edx
mov ebx, dword [ebp - 0x228]
sub eax, ecx
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
sar eax, 2
mov dword [ebp - 0x22c], edx
cmp edx, eax
jb 0x407200
mov esi, dword [ebp - 0x234]
mov esi, dword [esi + 0x20]
shr esi, 2
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x407552
mov eax, dword [ebp - 0x21c]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x40752a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40752a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00438e23
add esp, 8
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x28c]
call fcn.00402b20
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2b8]
call fcn.00402b20
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [ebp - method.CWString.virtual_0], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438998
mov esp, ebp
pop ebp
ret