Function at 0x415f88
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x10]
call fcn.00416154
lea ecx, [edi + 0xd4]
call fcn.00416154
mov al, byte [ebp + 0x20]
lea esi, [edi + 0x14]
push dword [ebp + 8]
mov byte [edi + 4], al
mov ecx, esi
mov al, byte [ebp + 0x1c]
mov byte [edi + 5], al
call fcn.004081a7
push dword [ebp + 0xc]
lea ecx, [edi + 0x24]
call fcn.004081a7
lea ecx, [edi + 0xa4]
push 0x48f910
call fcn.00407d2c
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x18]
xor ebx, ebx
mov dword [edi + 0xb4], 1
mov dword [edi + 0x10], eax
mov byte [edi + 0xc], 1
mov dword [edi + 8], ebx
mov dword [edi + 0xb8], ebx
mov dword [edi + 0xcc], ebx
call fcn.004077c7
lea ecx, [esp + 0x28]
call fcn.004077c7
lea ecx, [esp + 0x38]
call fcn.004077c7
cmp dword [edi + 0x10], ebx
jl 0x450d33
cmp dword [edi + 0x10], 4
je 0x450d47
cmp dword [edi + 0x18], ebx
jne 0x450d59
cmp dword [edi + 0x28], ebx
jne 0x450d59
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
mov ecx, edi
call fcn.00415f57
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004034c2
xor ebx, ebx
inc ebx
lea ecx, [esp + 0x38]
call fcn.00405a64
lea ecx, [esp + 0x28]
call fcn.00405a64
lea ecx, [esp + 0x18]
call fcn.00405a64
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push dword [edi + 0x10]
call fcn.00426ccd
pop ecx
mov dword [edi + 0x10], eax
mov byte [edi + 0xc], bl
jmp 0x416026
push esi
call fcn.0045b1e0
mov dword [edi + 0x10], 1
jmp 0x416030
push ebx
mov ecx, esi
call fcn.00407b52
cmp word [eax], 0x5b
jne 0x451067
mov eax, dword [edi + 0x18]
mov ecx, esi
dec eax
push eax
call fcn.00407b52
cmp word [eax], 0x5d
jne 0x451067
mov eax, dword [edi + 0x18]
sub eax, 2
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], eax
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
push esi
call fcn.0045a3e6
test al, al
je 0x451067
mov edx, 0x4b9698
lea ecx, [esp + 0x18]
call fcn.00420d27
test al, al
jne 0x451047
mov edx, 0x4b96b0
lea ecx, [esp + 0x18]
call fcn.00420d27
test al, al
jne 0x45102d
mov edx, 0x4b9760
lea ecx, [esp + 0x18]
call fcn.00420d27
test al, al
jne 0x450fe9
mov edx, 0x4b9770
lea ecx, [esp + 0x18]
call fcn.00420d27
test al, al
je 0x450e24
mov eax, dword [edi + 8]
test al, 1
jne 0x450fd9
or eax, 2
lea ecx, [edi + 0x34]
mov dword [edi + 8], eax
call fcn.00415c2e
push ecx
lea ecx, [edi + 0x34]
jmp 0x450e67
mov edx, 0x4b95fc
lea ecx, [esp + 0x18]
call fcn.00420d27
test al, al
je 0x450e45
or dword [edi + 8], 8
lea ecx, [edi + 0xa4]
jmp 0x450fb2
mov edx, 0x4b9620
lea ecx, [esp + 0x18]
call fcn.00420d27
test al, al
je 0x450e81
or dword [edi + 8], 0x10
lea ecx, [edi + 0x6c]
call fcn.00415c2e
push ecx
lea ecx, [edi + 0x6c]
lea eax, [esp + 0x2c]
push eax
call fcn.00415c72
test eax, eax
jne 0x450fdd
lea esi, [edi + 0x14]
jmp 0x450fd0
mov edx, 0x4b964c
lea ecx, [esp + 0x18]
call fcn.00420d27
test al, al
je 0x450eaf
push dword [esp + 0x28]
or dword [edi + 8], 0x80
call fcn.004237ca
pop ecx
mov dword [edi + 0xbc], eax
jmp 0x450fd0
mov edx, 0x4b9650
lea ecx, [esp + 0x18]
call fcn.00420d27
test al, al
je 0x450edd
push dword [esp + 0x28]
or dword [edi + 8], 0x100
call fcn.004237ca
pop ecx
mov dword [edi + 0xc0], eax
jmp 0x450fd0
mov edx, 0x4b9654
lea ecx, [esp + 0x18]
call fcn.00420d27
test al, al
je 0x450f0b
push dword [esp + 0x28]
or dword [edi + 8], 0x200
call fcn.004237ca
pop ecx
mov dword [edi + 0xc4], eax
jmp 0x450fd0
mov edx, 0x4b9658
lea ecx, [esp + 0x18]
call fcn.00420d27
test al, al
je 0x450f39
push dword [esp + 0x28]
or dword [edi + 8], 0x400
call fcn.004237ca
pop ecx
mov dword [edi + 0xc8], eax
jmp 0x450fd0
mov edx, 0x4b9660
lea ecx, [esp + 0x18]
call fcn.00420d27
test al, al
je 0x450f61
push dword [esp + 0x28]
or dword [edi + 8], 0x20
call fcn.004237ca
pop ecx
mov dword [edi + 0xb4], eax
jmp 0x450fd0
mov edx, 0x4b9748
lea ecx, [esp + 0x18]
call fcn.00420d27
test al, al
je 0x450f8f
mov edx, 0x48f910
lea ecx, [esp + 0x28]
call fcn.00420d27
test al, al
je 0x45103f
or dword [edi + 8], 0x40
jmp 0x450fd0
mov edx, 0x4b9788
lea ecx, [esp + 0x18]
call fcn.00420d27
test al, al
je 0x450fbe
mov eax, dword [edi + 8]
test al, 2
jne 0x450fe1
or eax, 1
lea ecx, [esp + 0x38]
mov dword [edi + 8], eax
lea eax, [esp + 0x28]
push eax
call fcn.004081a7
jmp 0x450fd0
mov edx, 0x48f910
lea ecx, [esp + 0x18]
call fcn.0045a36d
test al, al
jne 0x45103f
mov eax, dword [esp + 0x10]
jmp 0x450d93
push 0xfffffffffffffffd
jmp 0x450fe3
push 0xfffffffffffffffe
jmp 0x450fe3
push 0xfffffffffffffffc
pop ebx
jmp 0x416068
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
call fcn.00465a97
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x416068
push dword [esp + 0x10]
jmp 0x451015
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
mov ecx, edi
call fcn.00415f57
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
jmp 0x41605c
mov edx, 0x48f910
lea ecx, [esp + 0x28]
call fcn.00420d27
test al, al
jne 0x45100e
or ebx, 0xffffffff
jmp 0x416068
mov edx, 0x48f910
lea ecx, [esp + 0x28]
call fcn.00420d27
test al, al
je 0x45103f
mov eax, dword [edi]
mov eax, dword [eax]
test eax, eax
je 0x416068
jmp 0x451020
cmp dword [esp + 0x3c], ebx
je 0x451079
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.004081a7
cmp dword [edi + 8], ebx
jne 0x451085
mov dword [edi + 8], 1
or dword [edi + 8], 4
mov esi, dword [sym.imp.USER32.dll_CharUpperBuffW]
cmp byte [edi + 0xc], bl
jne 0x4510a4
lea ecx, [edi + 0x24]
call fcn.00407faf
push dword [edi + 0x28]
push dword [edi + 0x24]
call esi
test byte [edi + 8], 1
je 0x4510bf
cmp byte [edi + 0xc], bl
jne 0x4510bf
lea ecx, [edi + 0x14]
call fcn.00407faf
push dword [edi + 0x18]
push dword [edi + 0x14]
call esi
push edi
push 0x45b397
cmp byte [ebp + 0x18], bl
je 0x4510d9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x4510df
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, dword [ebp + 0x10]
lea esi, [edi + 0xd4]
push esi
mov ecx, ebx
call fcn.0045b144
mov ecx, esi
call fcn.00416154
cmp dword [edi + 0xcc], 1
jl 0x45110e
mov eax, dword [ebx + 4]
mov ecx, edi
mov eax, dword [eax]
push dword [eax]
call fcn.00415f57
mov ebx, dword [edi + 0xcc]
jmp 0x416068