Function at 0x1004b260
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100d5f9e
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x3c], 0
jge 0x1004b4b3
mov edx, dword [ebp + 0xc]
cmp byte [edi + 0x36], 0
mov ebx, edx
mov ecx, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
je 0x1004b2f4
cmp byte [edi + 0x37], 0
je 0x1004b2b8
push edx
push ecx
lea ecx, [edi + 0x50]
call fcn.100278f0
mov edx, dword [ebp + 0xc]
mov ecx, esi
add dword [edi + 0x68], edx
mov esi, dword [edi + 0x68]
cmp esi, dword [edi + 0x44]
setge al
mov byte [ebp - 0x11], al
test al, al
je 0x1004b53f
cmp byte [edi + 0x37], 0
mov byte [edi + 0x36], 0
je 0x1004b50b
cmp dword [edi + 0x64], 0x10
lea esi, [edi + 0x50]
mov dword [ebp - 0x20], esi
jb 0x1004b2ee
mov esi, dword [esi]
mov dword [ebp - 0x20], esi
mov ebx, dword [edi + 0x60]
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x25]
mov edx, ebx
push eax
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
lea eax, [ebp - 0x38]
push eax
push dword [edi + 8]
call fcn.1008b3b0
add esp, 0x10
test al, al
jne 0x1004b6a7
lea eax, [ebp - 0x18]
mov edx, ebx
push eax
lea eax, [ebp - 0x11]
mov ecx, esi
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [edi + 8]
call fcn.1008b590
add esp, 0x10
test al, al
je 0x1004b679
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0x24]
call fcn.1004dab0
mov esi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x24]
cmp esi, dword [edi + 0x24]
je 0x1004b63d
mov eax, dword [ebp - 0x1c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x18]
cmp ebx, eax
jl 0x1004b5ec
mov ebx, dword [ebp - 0x20]
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x40]
mov word [edi + 0x35], 0
push ecx
push dword [edi + 8]
mov edx, eax
mov ecx, ebx
call fcn.1008b620
mov ecx, dword [esi + 0x14]
add esp, 0xc
mov edx, dword [ebp - 0x40]
add ecx, 0x1c
mov eax, dword [ebp - 0x2c]
add edx, ebx
test eax, eax
jne 0x1004b3a4
mov byte [ecx + 0x7c], 1
mov al, 1
jmp 0x1004b3ab
push eax
push edx
call fcn.1005ace0
test al, al
je 0x1004b5a3
cmp byte [ebp - 0x11], 0
je 0x1004b47a
mov eax, dword [esi + 0x14]
lea ebx, [edi + 0x39]
push 1
push ebx
mov byte [eax + 0x98], 1
mov edx, dword [esi + 0x14]
lea ecx, [edx + 0x1c]
mov edx, dword [edx + 0xd0]
call fcn.10036830
add esp, 8
call fcn.1000fa40
test al, al
je 0x1004b41c
cmp byte [edi + 0x38], 0
je 0x1004b41c
cmp byte [ebx], 0
jne 0x1004b41c
mov eax, dword [0x100026d0]
test eax, eax
jne 0x1004b416
push eax
push 0x10056890
call dword [sym.imp.USER32.dll_EnumWindows]
mov dword [0x100026d0], 5
jmp 0x1004b41c
dec eax
mov dword [0x100026d0], eax
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x58]
sub eax, 0xffffff80
push eax
call fcn.10010240
mov dword [ebp - 4], 3
lea eax, [edi + 0x4c]
mov ebx, dword [edi + 8]
push eax
push dword [esi + 0x14]
mov esi, dword [esi + 0x10]
lea eax, [ebp - 0x58]
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.10010240
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
mov edx, ebx
mov ecx, esi
call fcn.1008b040
add esp, 0x20
mov byte [edi + 0x35], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10010e10
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jle 0x1004b57d
mov edx, eax
add ebx, ecx
sub edx, ecx
mov dword [ebp + 0xc], edx
test edx, edx
jle 0x1004b4a9
mov ecx, dword [ebp + 8]
mov esi, edx
sub ebx, ecx
lea esp, [esp]
mov al, byte [ebx + ecx]
mov byte [ecx], al
inc ecx
dec esi
jne 0x1004b4a0
cmp dword [edi + 0x3c], 0
jl 0x1004b290
mov edx, dword [edi + 8]
lea eax, [ebp - 0x6c]
push ecx
mov ecx, dword [edi + 0x3c]
push eax
call fcn.1008b270
mov ecx, dword [ebp + 0x10]
mov esi, eax
mov ebx, esi
lea eax, [ebp - 0x6c]
sub ebx, dword [edi + 0x40]
cmp ecx, ebx
cmovl ebx, ecx
add eax, dword [edi + 0x40]
push ebx
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
call fcn.100acbf7
add dword [edi + 0x40], ebx
add esp, 0x18
cmp dword [edi + 0x40], esi
jl 0x1004b4f6
mov dword [edi + 0x40], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
sub esi, dword [edi + 0x44]
test esi, esi
jle 0x1004b568
mov eax, dword [ebp + 0x10]
sub edx, esi
sub eax, edx
mov dword [ebp + 0xc], edx
push eax
push esi
lea eax, [edx + ecx]
mov ecx, edi
push eax
call fcn.1004b260
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 4]
test eax, eax
jle 0x1004b568
mov edx, dword [edi + 8]
push ecx
push ecx
mov ecx, eax
call fcn.1008b1f0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
mov edx, dword [edi + 8]
push ecx
mov ecx, dword [edi + 4]
push eax
call fcn.1008b1f0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x100f4a73
lea ecx, [ebp - 0x11c]
call fcn.10014780
mov dword [ebp - 4], 1
lea edx, [ebp - 0x1c]
mov ecx, eax
call fcn.1004eb90
mov edx, eax
lea ecx, [ebp - 0x84]
call fcn.10014910
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
push eax
call fcn.10070f30
push 0x10122ffc
lea eax, [ebp - 0x34]
push eax
call fcn.100b1b7b
lea ecx, [edi + 0x50]
mov dword [edi + 0x44], eax
call fcn.10037af0
mov al, byte [ebp - 0x11]
mov ecx, edi
mov byte [edi + 0x35], al
lea eax, [ebp - 0x11]
push eax
push ebx
mov ebx, dword [ebp + 8]
push ebx
mov dword [edi + 0x68], 0
mov word [edi + 0x36], 0x101
call fcn.1004b9a0
mov edx, dword [edi + 8]
push ecx
mov ecx, dword [edi + 4]
push ebx
call fcn.1008b1f0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x18]
mov dword [edi + 4], 0
cmp ebx, ecx
jge 0x1004b68f
mov dword [edi + 0x44], ecx
lea ecx, [edi + 0x50]
call fcn.10037af0
mov al, byte [ebp - 0x11]
mov ecx, edi
mov byte [edi + 0x35], al
lea eax, [ebp - 0x11]
push eax
mov eax, dword [ebp + 8]
push ebx
push eax
mov dword [edi + 0x68], 0
mov word [edi + 0x36], 1
call fcn.1004b9a0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov al, byte [ebp - 0x11]
sub ebx, ecx
mov byte [edi + 0x36], 0
mov byte [edi + 0x35], al
test ebx, ebx
jle 0x1004b679
mov esi, dword [ebp + 0xc]
jmp 0x1004b7d4
mov eax, dword [ebp - 0x18]
cmp ebx, eax
jge 0x1004b6ea
mov dword [edi + 0x44], eax
lea eax, [edi + 0x50]
mov byte [edi + 0x36], 1
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x1004b6c7
mov eax, dword [eax]
mov byte [eax], 0
mov ecx, edi
lea eax, [ebp - 0x11]
mov dword [edi + 0x68], 0
push eax
mov eax, dword [ebp + 8]
push ebx
push eax
mov byte [edi + 0x37], 1
call fcn.1004b9a0
jmp 0x1004b4f6
mov edx, dword [ebp - 0x38]
mov ecx, dword [edi + 8]
call fcn.1008b000
test al, al
je 0x1004b7ca
lea ecx, [ebp - 0x30]
call fcn.100388b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [edi]
call dword [eax + 8]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push eax
push dword [edi + 8]
mov edx, ebx
mov ecx, esi
call fcn.1008b450
add esp, 0x18
test eax, eax
jle 0x1004b763
cmp dword [ebp - 0x2c], 0
jbe 0x1004b74f
push dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.1004c1e0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10033810
jmp 0x1004b7cd
cmp byte [edi + 0x34], 0
jne 0x1004b74f
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
and eax, 0x80000001
jns 0x1004b77a
dec eax
or eax, 0xfffffffe
inc eax
mov esi, dword [ebp + 0xc]
cmp eax, 1
jne 0x1004b752
lea eax, [ecx - 2]
xor ecx, ecx
test eax, eax
mov dword [edi + 0x40], ecx
cmovs eax, ecx
mov dword [edi + 0x3c], eax
cmp esi, ebx
jne 0x1004b752
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, edi
push eax
call fcn.1004b200
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10033810
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0xc]
sub ebx, dword [ebp - 0x18]
test ebx, ebx
jle 0x1004b7b5
mov eax, dword [ebp + 0x10]
sub esi, ebx
sub eax, esi
mov ecx, edi
push eax
mov eax, dword [ebp + 8]
push ebx
add eax, esi
push eax
call fcn.1004b260
mov ecx, dword [ebp - 0xc]
add eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc