Function at 0x45f340
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eafc3
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.00407910
push eax
call fcn.004c2ac4
add esp, 8
cmp eax, 0xffffffff
je 0x45f624
mov dword [ebp - 0x30], 0x54007a
mov dword [ebp - 0x2c], 0x2001f
mov dword [ebp - 0x28], 0x1f
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 0x45f3fc
xor ecx, ecx
jmp 0x45f411
lea ecx, [ebp - 0x24]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45f402
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x78]
call fcn.00403dd0
push ecx
mov edx, esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.0041fb90
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
push 0
push ecx
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.00429ee0
add esp, 0xc
mov eax, dword [ebp - 0x7c]
cmp eax, 8
jb 0x45f465
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.00403f40
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 0x45f491
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00403f40
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], 0x71005f
mov dword [ebp - 0x44], 0x27003a
mov dword [ebp - 0x40], 0x3a
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 0x45f50e
xor ecx, ecx
jmp 0x45f523
lea ecx, [ebp - 0x3c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45f514
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x60]
call fcn.00403dd0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0xb4]
call fcn.0042a300
mov esi, eax
add esp, 4
lea eax, [ebp - 0xa0]
cmp eax, esi
je 0x45f5b6
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa0]
mov eax, dword [ebp - 0xa0]
push dword [eax + 4]
call fcn.0042bd40
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.0042b640
push dword [ebp - 0xb4]
call fcn.0049fc80
mov eax, dword [ebp - 0x4c]
add esp, 4
cmp eax, 8
jb 0x45f5f1
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00403f40
mov byte [ebp - 4], 6
cmp dword [ebp - 0x9c], 0
jne 0x45f648
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x14]
push ecx
push dword [ecx]
lea ecx, [ebp - 0xa0]
push eax
call fcn.0042b640
push dword [ebp - 0xa0]
call fcn.0049fc80
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.0049fc55
mov esp, ebp
pop ebp
ret 8
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0xac]
call fcn.004281f0
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 0x45f7f3
mov eax, dword [esi + 0x18]
test eax, eax
je 0x45f8e5
mov dword [ebx + 0x18], eax
mov cl, 0x13
mov word [ebp - 0x18], 0x4f13
mov al, 0x4f
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.00453e30
mov byte [ebp - 4], 0xc
push dword [ebp - 0xac]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0044a410
add esp, 0x18
mov esi, eax
cmp ebx, esi
je 0x45f71d
mov eax, dword [ebx + 0x14]
cmp eax, 0x10
jb 0x45f6f8
inc eax
mov ecx, ebx
push eax
push dword [ebx]
call fcn.00409950
mov dword [ebx + 0x14], 0xf
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x45f710
mov eax, dword [ebx]
jmp 0x45f712
mov eax, ebx
push esi
mov ecx, ebx
mov byte [eax], 0
call fcn.00407610
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x45f738
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.00409950
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
cmp eax, 0x10
jb 0x45f762
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00409950
mov ecx, dword [ebp - 0xac]
mov bl, 1
test ecx, ecx
je 0x45f7c6
push dword [ebp - 0x14]
mov edx, dword [ebp - 0xa8]
push ecx
call fcn.0042c2e0
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.0042bca0
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.0042b640
push dword [ebp - 0xa0]
call fcn.0049fc80
add esp, 4
mov al, bl
jmp 0x45f62a
jbe 0x45f8e5
cmp esi, edi
je 0x45f8e5
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.00409640
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xbc]
push eax
push 0x460c00
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 0x45f957
test ecx, ecx
je 0x45f8af
mov eax, dword [ebp - 0xb0]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041eec0
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 0x45f8ce
inc eax
lea ecx, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
call fcn.00409950
add esi, 0x1c
cmp esi, edi
jne 0x45f801
mov edi, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xac]
mov bl, byte [ebp - 0x95]
test esi, esi
je 0x45f945
push dword [ebp - 0x14]
mov edx, edi
push ecx
mov ecx, esi
call fcn.0042c2e0
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.0042bca0
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 0x45f7d3
lea eax, [ebp - 0x94]
cmp ebx, eax
je 0x45f973
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00409640
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x7c]
mov dword [ebx + 0x18], eax
mov bl, 1
test ecx, ecx
je 0x45f9af
mov eax, dword [ebp - 0xb0]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041eec0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x80]
cmp eax, 0x10
jb 0x45f9ca
inc eax
lea ecx, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
call fcn.00409950
mov edi, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xac]
jmp 0x45f8eb