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

Disassembly:
sub esp, 0x2d8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x980], ebx
je 0x4c2a95
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c2a95
mov edx, dword [esi + 0x38]
lea ecx, [esp + 0x44]
push edi
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov al, byte [esi + 0xa98]
xor edi, edi
test al, 2
mov dword [esp + 0x20], edi
mov dword [esi + 0xa9c], ebx
je 0x4c24a9
mov edi, 2
mov dword [esp + 0x20], edi
mov eax, dword [esi + 0x980]
xor edx, edx
cmp eax, ebx
mov dword [esp + 0x1c], edx
jle 0x4c2a09
push ebp
jmp 0x4c24c6
mov edx, dword [esp + 0x20]
xor ebx, ebx
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x4c]
sub ecx, edi
cmp edx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], edx
jge 0x4c2694
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x90]
mov dword [esp + 0x30], eax
lea edx, [esi + ecx*4 + 0x940]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x38]
mov ebp, dword [eax]
mov ecx, ebp
shl ecx, 4
add ecx, ebp
mov eax, dword [esi + ecx*8 + 0xc8]
lea edi, [esi + ecx*8]
test al, 8
jne 0x4c2616
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
cmp edx, ecx
jle 0x4c253d
test al, 1
jne 0x4c263a
mov ecx, dword [esi + 0xaa0]
test ecx, ecx
je 0x4c254b
xor ebx, ebx
jmp 0x4c255a
test ah, 1
je 0x4c2554
xor ebx, ebx
jmp 0x4c255a
mov ebx, dword [esi + 0xa84]
test al, 2
mov dword [esp + 0x28], ebx
je 0x4c2595
mov ecx, dword [edi + 0x140]
test ecx, ecx
je 0x4c2573
call fcn.004d0fa0
jmp 0x4c2579
mov eax, dword [edi + 0xe4]
mov dword [edi + 0x134], eax
mov eax, dword [edi + 0x13c]
test eax, eax
jg 0x4c25d8
mov ecx, dword [edi + 0x134]
mov eax, ebx
add eax, ecx
jmp 0x4c25d8
mov ecx, dword [esi + 0x30]
mov eax, 0x51eb851f
imul ecx, dword [edi + 0xe4]
mul ecx
mov ecx, dword [esp + 0x30]
shr edx, 5
mov dword [edi + 0x134], edx
mov edx, dword [edi + 0xe4]
mov dword [ecx], ebp
lea eax, [edx + ebx]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
add edx, eax
inc ebx
add ecx, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
add ecx, eax
cmp ecx, edx
mov dword [esp + 0x10], ecx
jg 0x4c2640
mov ecx, dword [edi + 0xe8]
mov eax, 0x51eb851f
imul ecx, dword [esi + 0x30]
mul ecx
mov eax, dword [esp + 0x34]
shr edx, 5
cmp edx, eax
jle 0x4c260a
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
cmp eax, edx
je 0x4c2694
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x980]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], edx
jl 0x4c250a
jmp 0x4c2694
dec dword [esp + 0x14]
jmp 0x4c2694
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
cmp ecx, edx
mov edx, ebp
jne 0x4c266e
shl edx, 4
add edx, ebp
mov eax, 0x51eb851f
mov ecx, dword [esi + edx*8 + 0xe8]
imul ecx, dword [esi + 0x30]
mul ecx
shr edx, 5
mov dword [esp + 0x34], edx
jmp 0x4c2694
shl edx, 4
add edx, ebp
test byte [esi + edx*8 + 0xc8], 2
jne 0x4c2681
dec dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
dec edx
sub ecx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x980]
cmp ecx, eax
jne 0x4c26a7
dec ecx
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x20]
cmp ebx, ecx
jl 0x4c2709
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi + ebx*4 + 0x940]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
mov eax, ecx
shl eax, 4
add eax, ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edx
mov edx, dword [esi + eax*8 + 0xe8]
mov eax, 0x51eb851f
imul edx, dword [esi + 0x30]
mul edx
mov eax, dword [esi + 0xa9c]
shr edx, 5
add edx, edi
push eax
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x40]
push edx
push ecx
mov ecx, esi
call fcn.004c2320
jmp 0x4c29b5
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
sub edx, edi
test edx, edx
mov dword [esp + 0x10], edx
jle 0x4c2872
mov eax, dword [esp + 0x18]
cmp eax, 1
jle 0x4c2872
mov edi, dword [esp + 0x1c]
add edx, edi
dec eax
test eax, eax
mov dword [esp + 0x10], edx
jle 0x4c2847
mov ebx, 1
lea edx, [esp + 0x90]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], edx
mov edi, dword [esi + 0xaa0]
mov eax, dword [edx]
xor ecx, ecx
cmp edi, ecx
je 0x4c2767
mov dword [esp + 0x28], ecx
jmp 0x4c278a
mov edi, eax
shl edi, 4
add edi, eax
mov eax, dword [esi + edi*8 + 0xc8]
test ah, 1
je 0x4c2780
mov dword [esp + 0x28], ecx
jmp 0x4c278a
mov eax, dword [esi + 0xa84]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
cmp ebx, eax
jge 0x4c27ea
mov edi, eax
add edx, 4
sub edi, ebx
mov eax, dword [esi + 0xaa0]
test eax, eax
je 0x4c27ab
xor eax, eax
jmp 0x4c27ca
mov eax, dword [edx]
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [esi + ecx*8 + 0xc8]
test ah, 1
je 0x4c27c4
xor eax, eax
jmp 0x4c27ca
mov eax, dword [esi + 0xa84]
mov ecx, dword [edx]
add edx, 4
mov ebx, ecx
shl ebx, 4
add ebx, ecx
sub eax, dword [esi + ebx*8 + 0xe4]
add ebp, eax
dec edi
jne 0x4c279d
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx]
mov edi, dword [esp + 0x28]
mov ecx, eax
shl ecx, 4
add ecx, eax
lea eax, [esi + ecx*8]
mov ecx, dword [esi + ecx*8 + 0x104]
add edi, ecx
cmp ebp, edi
jb 0x4c280f
mov dword [eax + 0xec], ecx
jmp 0x4c2815
mov dword [eax + 0xec], ebp
mov eax, dword [eax + 0xec]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
add eax, edi
sub ecx, eax
mov eax, dword [esp + 0x18]
add edx, 4
inc ebx
mov dword [esp + 0x10], ecx
dec eax
lea ecx, [ebx - 1]
mov dword [esp + 0x30], edx
cmp ecx, eax
mov dword [esp + 0x1c], ebx
jl 0x4c2753
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + edx*4 + 0x8c]
sub ecx, ebp
mov edx, eax
shl edx, 4
add edx, eax
mov dword [esi + edx*8 + 0xec], ecx
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x54]
cmp ecx, ebx
mov dword [esp + 0x1c], ecx
jl 0x4c29b1
lea eax, [esi + ecx*4 + 0x940]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x2c]
mov ebx, dword [ecx]
mov edx, ebx
shl edx, 4
add edx, ebx
mov al, byte [esi + edx*8 + 0xc8]
lea ebp, [esi + edx*8]
test al, 8
jne 0x4c2991
mov ecx, dword [ebp + 0x144]
lea eax, [esp + 0xe0]
push 0x104
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 0xe0]
push str.AddressBar
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
add ecx, eax
mov eax, dword [esi + 0xaa0]
add esp, 8
test eax, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edi
je 0x4c2900
xor eax, eax
jmp 0x4c2915
mov eax, dword [ebp + 0xc8]
test ah, 1
je 0x4c290f
xor eax, eax
jmp 0x4c2915
mov eax, dword [esi + 0xa84]
test byte [ebp + 0xc8], 2
je 0x4c2934
mov ecx, dword [ebp + 0x13c]
test ecx, ecx
jle 0x4c292c
sub edi, ecx
jmp 0x4c2961
mov edx, dword [ebp + 0x134]
jmp 0x4c295d
cmp dword [esp + 0x18], 1
jne 0x4c2957
sub edi, dword [ebp + 0xe4]
sub edi, eax
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x3c], edi
jmp 0x4c2965
mov edx, dword [ebp + 0xec]
sub edi, edx
sub edi, eax
mov dword [esp + 0x3c], edi
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp eax, edx
jne 0x4c2979
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 0xa9c]
lea edx, [esp + 0x3c]
push ecx
push edx
push ebx
mov ecx, esi
call fcn.004c2320
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
dec eax
sub edx, 4
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], edx
jge 0x4c288d
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x4c29e2
mov edx, dword [esp + 0x24]
add edx, eax
mov eax, dword [esi + 0xa98]
test eax, eax
mov dword [esp + 0x24], edx
je 0x4c29e2
and al, 0x10
mov ecx, edx
neg al
sbb eax, eax
add eax, 2
add ecx, eax
mov dword [esp + 0x24], ecx
mov edi, dword [esi + 0xa9c]
mov eax, dword [esi + 0x980]
inc edi
inc ebx
cmp ebx, eax
mov dword [esi + 0xa9c], edi
mov dword [esp + 0x20], ebx
jl 0x4c24c0
mov edi, dword [esp + 0x24]
pop ebp
xor ebx, ebx
mov eax, dword [esi + 0xa98]
test al, 8
je 0x4c2a16
dec edi
jmp 0x4c2a1f
xor ecx, ecx
cmp eax, ebx
setne cl
sub edi, ecx
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
sub edx, ecx
cmp edi, edx
je 0x4c2a48
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
push 6
sub eax, edx
push edi
push eax
mov eax, dword [esi + 0x38]
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esi + 0xa88], edi
je 0x4c2a5d
mov ecx, esi
mov dword [esi + 0xa88], edi
call fcn.004c2dd0
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
lea edx, [esp + 0x58]
mov dword [esp + 0x60], 0xfffffcb9
push edx
push ebx
push 0x4e
push eax
mov dword [esp + 0x78], ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x38]
push 1
push ebx
push ecx
call fcn.004d3c20
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x2d8
ret