Function at 0x403aa0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b2a0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x436260]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x437524]
push eax
push 0x402dc0
call dword [sym.imp.USER32.dll_EnumWindows]
xor edi, edi
mov dword [ebp - 4], edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x18]
push ecx
push 0x42c5d4
push 0x17
push edi
push 0x42c6c4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x30], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x403b1f
mov edx, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
push eax
mov edx, dword [edx + 0x1c]
call edx
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
xor esi, esi
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x30], edi
jl 0x403d41
cmp esi, dword [ebp - 0x30]
jge 0x403d41
push edi
lea ecx, [ebp - 0x2c]
call fcn.00403270
mov word [ebp - 0x4c], 3
mov ecx, esi
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [edx]
lea eax, [ebp - 0x2c]
push eax
sub esp, 0x10
mov eax, esp
mov ebx, dword [ebp - 0x4c]
mov dword [eax], ebx
mov ebx, dword [ebp - 0x48]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0xc], ecx
push edx
mov edx, dword [esi + 0x20]
call edx
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.004033a0
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x403d25
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], edi
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
cmp eax, edi
jne 0x403cf8
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push 0x42e0a0
push eax
mov eax, dword [ecx]
call eax
cmp eax, edi
jne 0x403cf8
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x1c]
call fcn.00403710
mov ecx, dword [esi]
mov edx, dword [ebp - 0x1c]
push edx
push esi
mov eax, dword [ecx + 0x78]
call eax
lea ecx, [ebp - 0x1c]
call fcn.004030f0
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00403a20
lea ecx, [ebp - 0x24]
call fcn.004034f0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00403a20
mov ecx, eax
call fcn.004034f0
mov eax, dword [eax]
push edi
push eax
lea ecx, [ebp - 0x24]
call fcn.00403360
cmp eax, 0xffffffff
setne bl
lea ecx, [ebp - 0x3c]
call fcn.00403340
test bl, bl
je 0x403ce8
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push eax
mov eax, dword [ecx + 0x94]
call eax
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x403ce8
cmp eax, dword [0x43752c]
jne 0x403ce8
push 3
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea ecx, [ebp - 0x24]
call fcn.00403340
lea ecx, [ebp - 0x1c]
call fcn.004036c0
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0x403c8c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x403c9b
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x403caa
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x403cc3
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x403cd2
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x24]
call fcn.00403340
lea ecx, [ebp - 0x1c]
call fcn.004036c0
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0x403d07
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x403d16
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x403d25
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
add dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x38]
jmp 0x403b32
cmp ecx, edi
je 0x403d50
mov edx, dword [ecx]
push ecx
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x403d5c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4