Function at 0x45fb50
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb9c3
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov ebx, dword [ebp + 0xc]
push 0
mov dword [ebp - 0xc0], esi
mov byte [ebp - 0x95], 0
call fcn.00407960
push eax
call fcn.004c333f
add esp, 8
cmp eax, 0xffffffff
je 0x45fe34
mov dword [ebp - 0x30], 0xb0025
mov dword [ebp - 0x2c], 0x5d0040
mov dword [ebp - 0x28], 0x40
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x2e]
xor eax, ecx
mov word [ebp - 0x22], ax
xor edx, ecx
mov eax, dword [ebp - 0x2a]
xor eax, ecx
mov word [ebp - 0x24], dx
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x28]
xor eax, ecx
mov dword [ebp - 0x64], 7
mov word [ebp - 0x1e], ax
xor eax, eax
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x68], eax
mov word [ebp - 0x78], ax
test dx, dx
jne 0x45fc0c
xor ecx, ecx
jmp 0x45fc21
lea ecx, [ebp - 0x24]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fc12
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x78]
call fcn.00403e20
push ecx
mov edx, esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.0041fd00
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
push 0
push ecx
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.0042a560
add esp, 0xc
mov eax, dword [ebp - 0x7c]
cmp eax, 8
jb 0x45fc75
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.00403f90
xor eax, eax
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x45fca1
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00403f90
xor eax, eax
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
xorps xmm0, xmm0
mov word [ebp - 0x26], ax
movq qword [ebp - 0x2e], xmm0
mov dword [ebp - 0x48], 0x54007a
mov dword [ebp - 0x44], 0x2001f
mov dword [ebp - 0x40], 0x1f
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x46]
xor eax, ecx
mov word [ebp - 0x3a], ax
xor edx, ecx
mov eax, dword [ebp - 0x42]
xor eax, ecx
mov word [ebp - 0x3c], dx
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x40]
xor eax, ecx
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x36], ax
xor eax, eax
mov word [ebp - 0x34], ax
mov dword [ebp - 0x50], eax
mov word [ebp - 0x60], ax
test dx, dx
jne 0x45fd1e
xor ecx, ecx
jmp 0x45fd33
lea ecx, [ebp - 0x3c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fd24
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x60]
call fcn.00403e20
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0xb4]
call fcn.0042a980
mov esi, eax
add esp, 4
lea eax, [ebp - 0xa0]
cmp eax, esi
je 0x45fdc6
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa0]
mov eax, dword [ebp - 0xa0]
push dword [eax + 4]
call fcn.0042c370
mov eax, dword [ebp - 0xa0]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0xa0]
mov dword [eax], eax
mov eax, dword [ebp - 0xa0]
mov dword [eax + 8], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], 0
mov eax, dword [esi]
mov dword [ebp - 0xa0], eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0x9c]
mov eax, dword [esi + 4]
mov dword [ebp - 0x9c], eax
mov dword [esi + 4], ecx
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0xb4]
push eax
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.0042bc70
push dword [ebp - 0xb4]
call fcn.004a04a0
mov eax, dword [ebp - 0x4c]
add esp, 4
cmp eax, 8
jb 0x45fe01
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00403f90
mov byte [ebp - 4], 6
cmp dword [ebp - 0x9c], 0
jne 0x45fe58
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x14]
push ecx
push dword [ecx]
lea ecx, [ebp - 0xa0]
push eax
call fcn.0042bc70
push dword [ebp - 0xa0]
call fcn.004a04a0
add esp, 4
mov al, byte [ebp - 0x95]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0475
mov esp, ebp
pop ebp
ret 8
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0xac]
call fcn.00428360
mov byte [ebp - 4], 0xa
mov eax, 0x92492493
mov edi, dword [ebp - 0xa8]
mov ecx, edi
mov esi, dword [ebp - 0xac]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jne 0x460003
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4600f5
mov dword [ebx + 0x18], eax
mov cl, 0x5b
mov word [ebp - 0x18], 0x75b
mov al, 7
mov byte [ebp - 0x16], 0
xor al, cl
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x15], al
lea eax, [ebp - 0x15]
push eax
push dword [ebp - 0xc0]
lea eax, [ebp - 0x60]
mov byte [ebp - 0x14], 0
push eax
call fcn.00454650
mov byte [ebp - 4], 0xc
push dword [ebp - 0xac]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0044ac40
add esp, 0x18
mov esi, eax
cmp ebx, esi
je 0x45ff2d
mov eax, dword [ebx + 0x14]
cmp eax, 0x10
jb 0x45ff08
inc eax
mov ecx, ebx
push eax
push dword [ebx]
call fcn.004099a0
mov dword [ebx + 0x14], 0xf
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x45ff20
mov eax, dword [ebx]
jmp 0x45ff22
mov eax, ebx
push esi
mov ecx, ebx
mov byte [eax], 0
call fcn.00407660
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x45ff48
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.004099a0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
cmp eax, 0x10
jb 0x45ff72
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.004099a0
mov ecx, dword [ebp - 0xac]
mov bl, 1
test ecx, ecx
je 0x45ffd6
push dword [ebp - 0x14]
mov edx, dword [ebp - 0xa8]
push ecx
call fcn.0042c910
mov ecx, dword [ebp - 0xa4]
mov eax, 0x92492493
mov esi, dword [ebp - 0xac]
add esp, 8
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0042c2d0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov ecx, dword [ebp - 0xa0]
push ecx
push dword [ecx]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.0042bc70
push dword [ebp - 0xa0]
call fcn.004a04a0
add esp, 4
mov al, bl
jmp 0x45fe3a
jbe 0x4600f5
cmp esi, edi
je 0x4600f5
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
call fcn.00409690
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xbc]
push eax
push 0x461410
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xb4], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xb8]
cmp ecx, dword [ebp - 0xb4]
jne 0x460167
test ecx, ecx
je 0x4600bf
mov eax, dword [ebp - 0xb0]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041f030
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x80]
cmp eax, 0x10
jb 0x4600de
inc eax
lea ecx, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
call fcn.004099a0
add esi, 0x1c
cmp esi, edi
jne 0x460011
mov edi, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xac]
mov bl, byte [ebp - 0x95]
test esi, esi
je 0x460155
push dword [ebp - 0x14]
mov edx, edi
push ecx
mov ecx, esi
call fcn.0042c910
mov ecx, dword [ebp - 0xa4]
mov eax, 0x92492493
mov esi, dword [ebp - 0xac]
add esp, 8
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0042c2d0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa0]
push eax
push dword [eax]
lea eax, [ebp - 0x14]
push eax
jmp 0x45ffe3
lea eax, [ebp - 0x94]
cmp ebx, eax
je 0x460183
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00409690
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x7c]
mov dword [ebx + 0x18], eax
mov bl, 1
test ecx, ecx
je 0x4601bf
mov eax, dword [ebp - 0xb0]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041f030
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x80]
cmp eax, 0x10
jb 0x4601da
inc eax
lea ecx, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
call fcn.004099a0
mov edi, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xac]
jmp 0x4600fb