Function at 0x415cb0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x450d86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xaf8
mov eax, dword [0x46b378]
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x70]
push edi
mov ecx, esi
mov dword [esp + 0xafc], eax
call fcn.0041d8c0
test eax, eax
je 0x415cfa
mov eax, 6
jmp 0x416073
mov ecx, esi
call fcn.0040da60
mov dword [esp + 0x18], eax
xor eax, eax
mov word [esp + 0x8f8], 0
mov ecx, 0x7f
lea edi, [esp + 0x8fa]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], edx
jne 0x415d35
cmp edx, 0xffffffff
je 0x415fc7
mov ecx, esi
call fcn.0040da60
mov edi, dword [ebp + 8]
push edx
push eax
push str._I64d
push edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x10
mov ecx, esi
call fcn.0041d8d0
cmp al, 1
jne 0x415dfa
xor eax, eax
mov dword [esp + 0x8b1], eax
mov dword [esp + 0x8b5], eax
mov dword [esp + 0x8b9], eax
mov dword [esp + 0x8bd], eax
mov dword [esp + 0x8c1], eax
mov dword [esp + 0x8c5], eax
push 0x21
lea ecx, [esp + 0x8b4]
mov dword [esp + 0x8cd], eax
push ecx
mov ecx, esi
mov byte [esp + 0x8b8], 0
mov dword [esp + 0x8d5], eax
call fcn.0041d800
test eax, eax
je 0x415ed1
push 0
push 0x100
lea edx, [esp + 0x900]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x456e0c
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
push 0
push 0
push 1
lea eax, [esp + 0x8cc]
push eax
push edi
lea ecx, [ebx + 0x5c0]
call fcn.0040b120
jmp 0x415e7a
mov ecx, esi
call fcn.0041d8d0
test al, al
jne 0x415ed1
mov byte [esp + 0x8b0], al
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x8b1]
rep stosd dword es:[edi], eax
push 0x41
lea ecx, [esp + 0x8b4]
push ecx
mov ecx, esi
call fcn.0041d840
test eax, eax
je 0x415ed1
push 0
push 0x100
lea edx, [esp + 0x900]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x456e0c
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
lea eax, [esp + 0x8cc]
push eax
push ecx
lea ecx, [ebx + 0x5c0]
call fcn.0040b120
mov edi, dword [ebp + 8]
test eax, eax
jne 0x415ed1
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov esi, dword [sym.imp.MSVCR71.dll__wtoi64]
push eax
call esi
add esp, 4
push edx
push eax
mov ecx, ebx
call fcn.00413790
test eax, eax
je 0x415ec7
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call esi
add esp, 4
push edx
push eax
mov ecx, ebx
call fcn.00413940
mov ecx, ebx
call fcn.00415c80
mov eax, 4
jmp 0x416073
mov eax, 3
jmp 0x416073
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x8f8]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push str._u7b_
push edx
mov dword [esp + 0xb20], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x14
push 0
push 0
lea ecx, [esp + 0x38]
call fcn.0040c310
push 0x456e0c
lea ecx, [esp + 0x14]
mov byte [esp + 0xb10], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
push 0x4575b4
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb10], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
push 0x4575ac
lea ecx, [esp + 0x30]
mov byte [esp + 0xb10], 3
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xb20], 4
call fcn.0040c1e0
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0c], 0
call fcn.0040bf80
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, 5
jmp 0x416073
push 0
lea ecx, [esp + 0x34]
mov edi, 5
call fcn.0041cdd0
lea ecx, [esp + 0x30]
push ecx
push 0x413350
mov dword [esp + 0xb14], edi
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [esp + 0x30]
call fcn.0041cfa0
mov esi, eax
test esi, esi
je 0x41605d
mov ecx, dword [ebx + 0x44]
call fcn.0040baf0
cmp esi, eax
je 0x41605d
mov edx, dword [0x46c010]
push edx
mov dword [esp + 0x1c], 0xc
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
lea ecx, [esp + 0x18]
push ecx
shl eax, 1
push 0
mov dword [esp + 0x24], eax
mov eax, dword [0x46c010]
push 0x4a
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x30]
mov esi, 4
mov dword [esp + 0xb0c], 0xffffffff
call fcn.0041ce80
mov eax, esi
jmp 0x416073
lea ecx, [esp + 0x30]
mov dword [esp + 0xb0c], 0xffffffff
call fcn.0041ce80
mov eax, edi
mov ecx, dword [esp + 0xb04]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xafc]
call fcn.004225d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4