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

Disassembly:
push 0xffffffffffffffff
push 0x4ffd9e
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.004028c0
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.004028c0
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.00402080
cmp eax, ebx
jle 0x4016fb
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.00401be0
test eax, eax
je 0x4016e5
mov eax, dword [0x54514c]
mov dword [esp + 0x28], eax
push 0x54ae58
lea ecx, [esp + 0x2c]
mov byte [esp + 0x160], 2
mov dword [esp + 0x20], 0x50cb20
call fcn.004e14c2
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 0x4016c4
mov ecx, dword [esp + 0x48]
sub ecx, eax
sar ecx, 4
cmp ebp, ecx
jae 0x4016c4
mov edx, dword [esp + 0x20]
mov ecx, dword [edi + eax + 4]
cmp edx, ecx
jne 0x4016bb
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 0x4016b7
lea ecx, [esp + 0x54]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.004dac6c
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x160], 4
call fcn.004e1472
lea ecx, [esp + 0x2c]
mov byte [esp + 0x15c], 3
call fcn.004e1339
mov eax, dword [esi + 8]
lea edx, [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.00402710
mov eax, dword [esp + 0x44]
inc ebp
add edi, 0x10
jmp 0x401631
lea ecx, [esp + 0x28]
mov byte [esp + 0x15c], 1
mov dword [esp + 0x1c], 0x50cb20
call fcn.004e1339
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 0x4015ca
call fcn.004f65e5
mov eax, dword [eax + 4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x74]
mov edi, eax
push 0x50f210
mov ecx, edi
call fcn.004e5bd4
test eax, eax
je 0x401850
mov eax, dword [edi + 0xd9dc]
xor ebp, ebp
cmp eax, ebx
jle 0x401850
mov eax, dword [0x54514c]
mov dword [esp + 0x28], eax
push 0x54ae58
lea ecx, [esp + 0x2c]
mov byte [esp + 0x160], 5
mov dword [esp + 0x20], 0x50cb20
call fcn.004e14c2
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 6
call fcn.00440050
push 0xe091
lea ecx, [esp + 0x1c]
mov byte [esp + 0x160], 7
call fcn.004400c0
lea ecx, [esp + 0x14]
call fcn.00440050
push 0xe092
lea ecx, [esp + 0x18]
mov byte [esp + 0x160], 8
call fcn.004400c0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00402970
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x160], 9
call fcn.004e1472
lea ecx, [esp + 0x2c]
mov byte [esp + 0x15c], 8
call fcn.004e1339
cmp edi, ebx
jne 0x4017e9
mov dword [esp + 0x24], ebx
jmp 0x4017f0
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.00402a40
lea ecx, [esp + 0x14]
mov byte [esp + 0x15c], 7
call fcn.004e1339
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 6
call fcn.004e1339
lea ecx, [esp + 0x28]
mov byte [esp + 0x15c], 1
mov dword [esp + 0x1c], 0x50cb20
call fcn.004e1339
mov eax, dword [edi + 0xd9dc]
inc ebp
cmp ebp, eax
jl 0x401730
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x40185b
xor esi, esi
jmp 0x401863
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 0x401888
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax]
add edi, 0xc
cmp edi, ebp
jne 0x401876
mov edi, dword [esp + 0x34]
push edi
call fcn.004e1a33
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 0x4018c6
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx]
add edi, 0x10
cmp edi, ebp
jne 0x4018b4
mov edi, dword [esp + 0x44]
push edi
call fcn.004e1a33
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