Function at 0x404230
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x47db3c
mov eax, dword fs:[0]
push eax
mov eax, 0x2348
mov dword fs:[0], esp
call fcn.004502e0
mov eax, dword [0x4ac3b8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2364]
xor ebx, ebx
cmp word [esi], bx
mov dword [esp + 0x2350], eax
push edi
mov ebp, ecx
jne 0x404277
or eax, 0xffffffff
jmp 0x404777
xor eax, eax
mov word [esp + 0x138], bx
mov ecx, 0xf
lea edi, [esp + 0x13a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov dword [esp + 0x62], eax
mov word [esp + 0xb0], bx
mov ecx, 0x10
lea edi, [esp + 0xb2]
rep stosd dword es:[edi], eax
mov word [esp + 0x178], bx
mov ecx, 0x20
lea edi, [esp + 0x17a]
rep stosd dword es:[edi], eax
mov word [esp + 0xf4], bx
mov ecx, 0x10
lea edi, [esp + 0xf6]
rep stosd dword es:[edi], eax
push 0x20
lea ecx, [esp + 0xb4]
push ecx
lea edi, [ebp + 0xac]
push 2
mov ecx, edi
mov word [esp + 0x54], bx
mov dword [esp + 0x72], eax
mov dword [esp + 0x1c], 0xffffffff
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push esi
call fcn.004437b0
add esp, 0x14
test eax, eax
je 0x40463b
push 0x40
lea edx, [esp + 0x17c]
push edx
push 3
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push esi
call fcn.004437b0
add esp, 0x14
test eax, eax
je 0x40463b
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
call fcn.0040f590
push ebx
push ebx
lea ecx, [esp + 0x214]
call fcn.0040f5f0
xor eax, eax
mov byte [esp + 0x24], al
mov byte [esp + 0x6c], 0
mov ecx, 0x10
lea edi, [esp + 0x6d]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.MSVCR71.dll_wcslen]
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
push ebx
mov dword [esp + 0x35], eax
push ebx
mov dword [esp + 0x3d], eax
push 0x41
lea ecx, [esp + 0x78]
mov dword [esp + 0x45], eax
push ecx
lea edx, [esp + 0x188]
mov dword [esp + 0x4d], eax
push edx
mov dword [esp + 0x2374], ebx
mov dword [esp + 0x55], eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 4
inc eax
push eax
lea eax, [esp + 0x18c]
push eax
push ebx
push 0x3a8
call esi
push ebx
push ebx
push 0x21
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x104]
push edx
call edi
add esp, 4
inc eax
push eax
lea eax, [esp + 0x108]
push eax
push ebx
push 0x3a8
call esi
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.MSVCR71.dll__wtoi64]
mov esi, edx
add esp, 4
cmp esi, 2
mov ebx, eax
jg 0x40461b
jl 0x404435
cmp ebx, 0x540be400
jae 0x40461b
lea edx, [esp + 0x178]
push edx
call edi
add esp, 4
cmp eax, 0x20
jbe 0x4044a1
xor edx, edx
lea edi, [esp + 0x24]
lea ecx, [ecx]
mov al, byte [esp + edx + 0x6c]
cmp al, 0x61
jl 0x40445c
sub al, 0x57
jmp 0x40445e
sub al, 0x30
mov cl, byte [esp + edx + 0x6d]
cmp cl, 0x61
jl 0x40446c
sub cl, 0x57
jmp 0x40446f
sub cl, 0x30
shl al, 4
add al, cl
mov byte [edi], al
add edx, 2
inc edi
cmp edx, 0x3f
jl 0x404450
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
mov byte [esp + 0x2360], 1
push 1
lea ecx, [esp + 0x28]
jmp 0x4044c1
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
mov byte [esp + 0x2360], 2
push 0
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x204]
push edx
call fcn.00410d50
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], eax
mov byte [esp + 0x2360], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
cmp dword [esp + 0x10], 1
jne 0x40461b
push esi
push ebx
mov ecx, ebp
call fcn.00403d50
test eax, eax
je 0x404573
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
push esi
push ebx
lea eax, [esp + 0x18]
push 0x4886e4
push eax
mov byte [esp + 0x2370], 3
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x10
push 0x30
push 0x48838c
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
push ebx
mov ecx, ebp
call fcn.00403040
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x1fc]
mov dword [esp + 0x2360], 0xffffffff
call fcn.0040e820
xor eax, eax
jmp 0x404777
push esi
push ebx
mov ecx, ebp
call fcn.00403400
call fcn.004460a0
mov edi, eax
mov ecx, edi
call fcn.00444770
or eax, edx
je 0x404595
mov ecx, ebp
call fcn.004033c0
mov ecx, edi
call fcn.00445730
mov ecx, dword [esp + 0xd28]
mov edx, dword [esp + 0xd24]
push 0
push ecx
push edx
call fcn.0044dd00
add esp, 0xc
push eax
lea eax, [esp + 0x6f5]
push eax
push esi
push ebx
mov ecx, edi
call fcn.00445b50
lea ecx, [esp + 0x7ac]
push ecx
mov ecx, edi
call fcn.00444410
mov eax, dword [ebp + 0xa8]
lea edx, [esp + 0x6f1]
push edx
push esi
push ebx
push eax
mov ecx, ebp
call fcn.00402c60
mov ecx, dword [ebp + 0xa8]
push esi
push ebx
push ecx
mov ecx, ebp
call fcn.00402d10
push esi
push ebx
call fcn.00447450
mov ecx, eax
call fcn.004473b0
push esi
push ebx
call fcn.00443640
mov ecx, eax
call fcn.00443570
lea ecx, [esp + 0x1fc]
mov dword [esp + 0x2360], 0xffffffff
call fcn.0040e820
mov esi, dword [esp + 0x2368]
xor ebx, ebx
push 0x20
lea edx, [esp + 0x13c]
push edx
lea edi, [ebp + 0xac]
push ebx
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push esi
call fcn.004437b0
add esp, 0x14
test eax, eax
je 0x40475c
push 0x10
lea eax, [esp + 0x4c]
push eax
push 1
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push esi
call fcn.004437b0
add esp, 0x14
test eax, eax
je 0x40475c
cmp dword [esp + 0x10], 1
je 0x404773
cmp dword [ebp + 0xcc], ebx
jne 0x4046d9
push 0x7a8
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x2360], 4
je 0x4046c6
push ebx
mov ecx, eax
call fcn.0041c1e0
jmp 0x4046c8
xor eax, eax
mov dword [esp + 0x2360], 0xffffffff
mov dword [ebp + 0xcc], eax
mov ecx, dword [ebp + 0xcc]
push ecx
push 0x403160
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp + 0xcc]
call fcn.0041c3b0
mov ecx, dword [ebp + 0xcc]
cmp ecx, ebx
mov esi, eax
je 0x40470c
cmp dword [ecx + 0x20], ebx
je 0x40470c
mov edx, dword [ecx]
call dword [edx + 0x68]
mov ecx, dword [ebp + 0xcc]
cmp ecx, ebx
je 0x40471d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
cmp esi, ebx
mov dword [ebp + 0xcc], ebx
je 0x404773
mov ecx, dword [ebp + 0x48]
push ecx
mov dword [esp + 0x1c], 0xc
call dword [sym.imp.MSVCR71.dll_wcslen]
mov edx, dword [ebp + 0x48]
shl eax, 1
add esp, 4
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push ebx
push 0x4a
push esi
mov dword [esp + 0x30], edx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x404777
push esi
call dword [sym.imp.MSVCR71.dll_wcslen]
push eax
push 0x488000
push esi
call dword [sym.imp.MSVCR71.dll_wcsncpy]
add esp, 0x10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2358]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2354]
call fcn.0045015b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2354
ret 4