Function at 0x401530
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x503fae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [ebp + 0x68]
push edi
mov eax, dword [ebp + 0x6c]
lea esi, [ebp + 0x64]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x58], ebp
call fcn.004029f0
mov al, byte [esp + 0x13]
xor ebx, ebx
mov byte [esp + 0x40], al
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
push ebx
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x164], ebx
call fcn.004029f0
lea ecx, [esp + 0x40]
push ecx
push 0x401010
call dword [sym.imp.USER32.dll_EnumWindows]
mov dl, byte [esp + 0x13]
mov dword [esp + 0x34], ebx
mov byte [esp + 0x30], dl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
lea eax, [esp + 0x30]
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x164], 1
call fcn.004020a0
cmp eax, ebx
jle 0x40170b
xor edi, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x34]
push section..text
lea edx, [edi + ecx]
mov ecx, ebp
push edx
call fcn.00401bf0
test eax, eax
je 0x4016f5
mov eax, dword [0x54a6a4]
mov dword [esp + 0x28], eax
push 0x550398
lea ecx, [esp + 0x2c]
mov byte [esp + 0x160], 2
mov dword [esp + 0x20], 0x510b20
call fcn.004e56d2
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
xor ebp, ebp
mov byte [esp + 0x15c], 3
mov edx, dword [edi + ecx + 4]
xor edi, edi
mov dword [esp + 0x20], edx
cmp eax, ebx
je 0x4016d4
mov ecx, dword [esp + 0x48]
sub ecx, eax
sar ecx, 4
cmp ebp, ecx
jae 0x4016d4
mov edx, dword [esp + 0x20]
mov ecx, dword [edi + eax + 4]
cmp edx, ecx
jne 0x4016cb
mov ecx, dword [edi + eax + 8]
lea eax, [edi + eax + 8]
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x54]
mov eax, dword [eax]
push 0xff
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
jle 0x4016c7
lea ecx, [esp + 0x54]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.004dee7c
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x160], 4
call fcn.004e5682
lea ecx, [esp + 0x2c]
mov byte [esp + 0x15c], 3
call fcn.004e5549
mov eax, dword [esi + 8]
lea edx, [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.00402840
mov eax, dword [esp + 0x44]
inc ebp
add edi, 0x10
jmp 0x401641
lea ecx, [esp + 0x28]
mov byte [esp + 0x15c], 1
mov dword [esp + 0x1c], 0x510b20
call fcn.004e5549
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x14]
add edi, 0xc
dec eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
jne 0x4015da
call fcn.004fa7f5
mov eax, dword [eax + 4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x74]
mov edi, eax
push 0x513338
mov ecx, edi
call fcn.004e9de4
test eax, eax
je 0x401860
mov eax, dword [edi + 0xd9d0]
xor ebp, ebp
cmp eax, ebx
jle 0x401860
mov eax, dword [0x54a6a4]
mov dword [esp + 0x28], eax
push 0x550398
lea ecx, [esp + 0x2c]
mov byte [esp + 0x160], 5
mov dword [esp + 0x20], 0x510b20
call fcn.004e56d2
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 6
call fcn.004456e0
push 0xe091
lea ecx, [esp + 0x1c]
mov byte [esp + 0x160], 7
call fcn.00445750
lea ecx, [esp + 0x14]
call fcn.004456e0
push 0xe092
lea ecx, [esp + 0x18]
mov byte [esp + 0x160], 8
call fcn.00445750
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00402aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x160], 9
call fcn.004e5682
lea ecx, [esp + 0x2c]
mov byte [esp + 0x15c], 8
call fcn.004e5549
cmp edi, ebx
jne 0x4017f9
mov dword [esp + 0x24], ebx
jmp 0x401800
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x24], ecx
mov eax, dword [esi + 8]
lea edx, [esp + 0x1c]
push edx
push 1
push eax
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.00402b70
lea ecx, [esp + 0x14]
mov byte [esp + 0x15c], 7
call fcn.004e5549
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 6
call fcn.004e5549
lea ecx, [esp + 0x28]
mov byte [esp + 0x15c], 1
mov dword [esp + 0x1c], 0x510b20
call fcn.004e5549
mov eax, dword [edi + 0xd9d0]
inc ebp
cmp ebp, eax
jl 0x401740
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x40186b
xor esi, esi
jmp 0x401873
mov esi, dword [esi + 8]
sub esi, eax
sar esi, 4
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
cmp edi, ebp
mov byte [esp + 0x15c], bl
je 0x401898
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax]
add edi, 0xc
cmp edi, ebp
jne 0x401886
mov edi, dword [esp + 0x34]
push edi
call fcn.004e5c43
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
add esp, 4
cmp edi, ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x15c], 0xffffffff
je 0x4018d6
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx]
add edi, 0x10
cmp edi, ebp
jne 0x4018c4
mov edi, dword [esp + 0x44]
push edi
call fcn.004e5c43
mov ecx, dword [esp + 0x158]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x150
ret