Function at 0x48915b
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8a8
and dword [esp + 0x88], 0
xor eax, eax
push ebx
push ebp
push esi
push edi
push 7
pop ebp
mov ebx, ecx
mov dword [esp + 0x9c], ebp
mov esi, 0x54de54
mov word [esp + 0x88], ax
push esi
lea ecx, [esp + 0x8c]
call fcn.0043c2b9
and dword [esp + 0x78], 0
lea ecx, [esp + 0x68]
xor eax, eax
mov dword [esp + 0x7c], ebp
push esi
mov word [esp + 0x6c], ax
call fcn.0043c2b9
and dword [esp + 0x60], 0
lea ecx, [esp + 0x50]
xor eax, eax
mov dword [esp + 0x64], ebp
push esi
mov word [esp + 0x54], ax
call fcn.0043c2b9
xor ebp, ebp
xor edi, edi
and dword [esp + 0x18], ebp
and dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ebp
cmp dword [ebx + 0x14c], edi
jbe 0x489250
lea esi, [ebx + 0x108]
push 0x800
lea eax, [esp + 0xbc]
push eax
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
and dword [esp + 0x30], ebp
lea ecx, [esp + 0x20]
xor eax, eax
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
lea eax, [esp + 0xb8]
push eax
call fcn.0043c2b9
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.004401a8
lea ecx, [esp + 0x20]
call fcn.0043c274
inc edi
lea esi, [esi + 4]
cmp edi, dword [ebx + 0x14c]
jb 0x4891ed
mov ebp, dword [esp + 0x14]
cmp dword [0x5ffce8], 0
je 0x4894cb
mov eax, dword [0x5ffce4]
mov eax, dword [eax]
cmp dword [eax + 0x20], 0
jbe 0x489286
lea edx, [eax + 0x10]
push 0x54e058
lea ecx, [esp + 0xa4]
call fcn.0043de19
xor esi, esi
inc esi
xor edi, edi
pop ecx
jmp 0x4892b1
and dword [esp + 0x48], 0
lea ecx, [esp + 0x38]
xor eax, eax
mov dword [esp + 0x4c], 7
push str.N_A
mov word [esp + 0x3c], ax
call fcn.0043c2b9
push 2
lea eax, [esp + 0x3c]
xor esi, esi
pop edi
push eax
lea ecx, [esp + 0x8c]
call fcn.0043a3e7
test edi, edi
je 0x4892cb
lea ecx, [esp + 0x38]
call fcn.0043c274
test esi, esi
je 0x4892db
lea ecx, [esp + 0xa0]
call fcn.0043c274
mov eax, dword [0x5ffce4]
lea ecx, [esp + 0x38]
mov edx, 0x54e058
mov eax, dword [eax]
add eax, 0x28
push eax
call fcn.0043dfa3
pop ecx
push eax
lea ecx, [esp + 0x6c]
call fcn.0043a3e7
lea ecx, [esp + 0x38]
call fcn.0043c274
and dword [esp + 0x30], 0
lea ecx, [esp + 0x20]
xor eax, eax
mov dword [esp + 0x34], 7
mov esi, 0x559268
mov word [esp + 0x20], ax
push esi
call fcn.0043c2b9
push 1
push esi
lea ecx, [esp + 0x28]
call fcn.0043d30e
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x20]
push 8
pop edx
cmp dword [esp + 0x34], edx
lea esi, [esp + 0xa0]
lea edi, [esp + 0x38]
cmovae ecx, dword [esp + 0x20]
lea ecx, [ecx + eax*2]
mov dword [esp + 0xa4], ecx
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
lea ecx, [esp + 0x68]
cmp dword [esp + 0x7c], edx
mov dword [esp + 0xa0], eax
cmovae ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x78]
movsd dword es:[edi], dword [esi]
lea eax, [ecx + eax*2]
push eax
lea ecx, [esp + 0x6c]
movsd dword es:[edi], dword [esi]
cmovae ecx, dword [esp + 0x6c]
lea eax, [esp + 0x84]
push ecx
push eax
lea ecx, [esp + 0x44]
movsd dword es:[edi], dword [esi]
call fcn.00489acd
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, eax
je 0x4893e1
mov edi, 0x55926a
mov esi, 0x559268
push edi
push esi
push ecx
push ecx
mov edx, esp
push edi
push esi
sub esp, 0xc
lea esi, [esp + 0xc4]
mov edi, esp
mov dword [edx], ecx
lea ecx, [esp + 0x8c]
mov dword [edx + 4], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00489b2c
add esp, 0x24
lea eax, [esp + 0x68]
push eax
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x3c]
call fcn.0047c73e
pop ecx
push eax
lea ecx, [esp + 0x54]
call fcn.0043a3e7
lea ecx, [esp + 0x38]
call fcn.0043c274
mov esi, ebp
cmp esi, dword [esp + 0x18]
je 0x489451
mov eax, dword [0x5ffce4]
mov edi, dword [eax]
cmp dword [edi + 0x24], 8
lea eax, [edi + 0x10]
jb 0x489425
mov eax, dword [edi + 0x10]
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x48942f
mov ecx, dword [esi]
push dword [edi + 0x20]
mov edx, dword [esi + 0x10]
push eax
push ecx
call fcn.00489a60
add esp, 0xc
cmp eax, 0xffffffff
jne 0x48950e
add esi, 0x18
cmp esi, dword [esp + 0x18]
jne 0x489419
cmp dword [esp + 0x64], 8
lea eax, [esp + 0x50]
lea ecx, [esp + 0x38]
cmovae eax, dword [esp + 0x50]
push eax
call fcn.0043a44d
lea eax, [esp + 0x38]
push eax
push ebp
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x20]
call fcn.004898e4
lea ecx, [esp + 0x38]
call fcn.0043c274
xor ebp, ebp
cmp dword [ebx + 0x14c], ebp
jbe 0x4894c2
mov esi, dword [esp + 0x14]
lea edi, [ebx + 0x108]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4894a7
mov eax, dword [esi]
push eax
mov eax, dword [edi]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
inc ebp
add edi, 4
add esi, 0x18
cmp ebp, dword [ebx + 0x14c]
jb 0x48949d
lea ecx, [esp + 0x20]
call fcn.0043c274
push 1
push 0
push dword [ebx + 0x10]
mov byte [0x56cb9d], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x14]
call fcn.0043bc40
lea ecx, [esp + 0x50]
call fcn.0043c274
lea ecx, [esp + 0x68]
call fcn.0043c274
lea ecx, [esp + 0x88]
call fcn.0043c274
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x64], 8
lea eax, [esp + 0x50]
cmovae eax, dword [esp + 0x50]
cmp dword [esi + 0x14], 8
jb 0x489524
mov esi, dword [esi]
mov cx, word [esi]
cmp cx, word [eax]
jne 0x48954a
test cx, cx
je 0x489546
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x48954a
add esi, 4
add eax, 4
test cx, cx
jne 0x489524
xor eax, eax
jmp 0x48954f
sbb eax, eax
or eax, 1
test eax, eax
je 0x4894c2
cmp dword [esp + 0x64], 8
lea eax, [esp + 0x50]
lea ecx, [esp + 0x38]
cmovae eax, dword [esp + 0x50]
push eax
call fcn.0043a44d
lea eax, [esp + 0x38]
push eax
push ebp
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x20]
call fcn.004898e4
lea ecx, [esp + 0x38]
call fcn.0043c274
xor ebp, ebp
cmp dword [ebx + 0x14c], ebp
jbe 0x4894c2
mov esi, dword [esp + 0x14]
lea edi, [ebx + 0x108]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4895b1
mov eax, dword [esi]
push eax
mov eax, dword [edi]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
inc ebp
add edi, 4
add esi, 0x18
cmp ebp, dword [ebx + 0x14c]
jb 0x4895a7
jmp 0x4894c2