Function at 0x415e60
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4678f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb00
mov eax, dword [0x48644c]
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x68]
push edi
mov ecx, esi
mov dword [esp + 0xb04], eax
call fcn.00420740
test eax, eax
je 0x415eaa
mov eax, 6
jmp 0x416223
mov ecx, esi
call fcn.004206f0
mov dword [esp + 0x18], eax
xor eax, eax
mov word [esp + 0x900], 0
mov ecx, 0x7f
lea edi, [esp + 0x902]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], edx
jne 0x415ee5
cmp edx, 0xffffffff
je 0x416177
mov ecx, esi
call fcn.004206f0
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.00420750
cmp al, 1
jne 0x415faa
xor eax, eax
mov dword [esp + 0x8b9], eax
mov dword [esp + 0x8bd], eax
mov dword [esp + 0x8c1], eax
mov dword [esp + 0x8c5], eax
mov dword [esp + 0x8c9], eax
mov dword [esp + 0x8cd], eax
push 0x21
lea ecx, [esp + 0x8bc]
mov dword [esp + 0x8d5], eax
push ecx
mov ecx, esi
mov byte [esp + 0x8c0], 0
mov dword [esp + 0x8dd], eax
call fcn.00420670
test eax, eax
je 0x416081
push 0
push 0x100
lea edx, [esp + 0x908]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x46e89c
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
push 0
push 0
push 1
lea eax, [esp + 0x8d4]
push eax
push edi
lea ecx, [ebx + 0x5b8]
call fcn.0040a190
jmp 0x41602a
mov ecx, esi
call fcn.00420750
test al, al
jne 0x416081
mov byte [esp + 0x8b8], al
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x8b9]
rep stosd dword es:[edi], eax
push 0x41
lea ecx, [esp + 0x8bc]
push ecx
mov ecx, esi
call fcn.004206b0
test eax, eax
je 0x416081
push 0
push 0x100
lea edx, [esp + 0x908]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x46e89c
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
lea eax, [esp + 0x8d4]
push eax
push ecx
lea ecx, [ebx + 0x5b8]
call fcn.0040a190
mov edi, dword [ebp + 8]
test eax, eax
jne 0x416081
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.00412e40
test eax, eax
je 0x416077
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.00412ff0
mov ecx, ebx
call fcn.00415e20
mov eax, 4
jmp 0x416223
mov eax, 3
jmp 0x416223
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x900]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push str._u7b_
push edx
mov dword [esp + 0xb28], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x14
push 0
push 0
lea ecx, [esp + 0x38]
call fcn.0040b640
push 0x46e89c
lea ecx, [esp + 0x14]
mov byte [esp + 0xb18], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
push 0x46f078
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb18], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
push 0x46f070
lea ecx, [esp + 0x30]
mov byte [esp + 0xb18], 3
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
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 + 0xb28], 4
call fcn.0040b520
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 + 0xb14], 0
call fcn.0040b2c0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, 5
jmp 0x416223
push 0
lea ecx, [esp + 0x34]
mov edi, 5
call fcn.0041fc70
lea ecx, [esp + 0x30]
push ecx
push 0x412a00
mov dword [esp + 0xb1c], edi
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [esp + 0x30]
call fcn.0041fe40
mov esi, eax
test esi, esi
je 0x41620d
mov ecx, dword [ebx + 0x44]
call fcn.0040ae10
cmp esi, eax
je 0x41620d
mov edx, dword [0x487120]
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 [0x487120]
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 + 0xb14], 0xffffffff
call fcn.0041fd20
mov eax, esi
jmp 0x416223
lea ecx, [esp + 0x30]
mov dword [esp + 0xb14], 0xffffffff
call fcn.0041fd20
mov eax, edi
mov ecx, dword [esp + 0xb0c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xb04]
call fcn.00436153
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4