Function at 0x4c27c0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x28
mov eax, dword [0x547570]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, 0x554e48
mov dword [esp + 0x18], edi
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x4c2819
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x4c2819
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x4c2819
mov edx, dword [esp + 0x10]
inc esi
push esi
push 0x554e48
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [esp + 0x10]
push ecx
mov ecx, esp
mov edx, dword [eax - 0xc]
test edx, edx
jl 0x4c2839
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4c284b
mov edx, dword [0x547570]
mov dword [ecx], edx
mov eax, dword [esp + 0x14]
push eax
call fcn.00405920
push ecx
lea eax, [edi + 0x5c]
mov ecx, esp
push eax
call fcn.00405440
mov ecx, 0x55f604
call fcn.0048f960
mov eax, dword [esp + 0x10]
mov ecx, 0x7d01
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x4c287a
cmp dword [eax - 4], ecx
jge 0x4c28c3
mov ebp, dword [eax - 8]
cmp ebp, ecx
jle 0x4c2883
mov ecx, ebp
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
jne 0x4c2895
xor esi, esi
jmp 0x4c28c5
mov edi, dword [esp + 0x10]
lea ecx, [ebp + ebp + 2]
mov edx, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov dword [eax - 8], ebp
call fcn.00405590
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov esi, eax
mov ecx, dword [edi + 4]
push 0x3ea
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x7d00
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x10]
call fcn.004055c0
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edx
call ebp
mov ecx, dword [esp + 0x10]
xor esi, esi
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x10]
mov word [edx + eax*2], si
mov eax, 0x54920c
test eax, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
je 0x4c2aca
push eax
call ebp
mov ebx, eax
cmp ebx, esi
je 0x4c2aca
mov ecx, 0x554e08
test ecx, ecx
jne 0x4c293d
mov dword [esp + 0x14], esi
jmp 0x4c2948
push 0x554e08
call ebp
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
xor edi, edi
mov edx, dword [esi - 8]
lea eax, [esi + edx*2]
cmp esi, eax
mov dword [esp + 0x20], eax
jae 0x4c2ac6
push 0x54920c
push esi
call fcn.0053225f
add esp, 8
test eax, eax
je 0x4c2988
lea esi, [eax + ebx*2]
push 0x54920c
push esi
inc edi
call fcn.0053225f
add esp, 8
test eax, eax
jne 0x4c2972
push esi
call ebp
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x20]
cmp esi, eax
jb 0x4c2960
test edi, edi
jle 0x4c2ac6
lea ecx, [esp + 0x10]
call fcn.004055c0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
sub ebp, ebx
imul ebp, edi
mov eax, dword [esi - 8]
mov dword [esp + 0x1c], eax
add ebp, eax
mov eax, dword [esi - 4]
mov dword [esp + 0x28], ebp
cmp eax, ebp
jl 0x4c29cf
cmp dword [esi - 0xc], 1
jle 0x4c2a0d
lea edi, [esi - 0xc]
push ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], edi
call fcn.00405530
test eax, eax
je 0x4c2ac6
mov ecx, dword [edi + 4]
mov edi, dword [esp + 0x10]
shl ecx, 1
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00405590
mov esi, dword [esp + 0x10]
mov edx, dword [esi - 8]
lea eax, [esi + edx*2]
cmp esi, eax
mov dword [esp + 0x20], eax
jae 0x4c2ac3
push 0x54920c
push esi
call fcn.0053225f
mov edi, eax
add esp, 8
test edi, edi
je 0x4c2aa8
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, edi
sub ecx, eax
mov eax, dword [esp + 0x1c]
sar ecx, 1
sub eax, ecx
lea esi, [edx + edx]
sub eax, ebx
lea ecx, [edi + ebx*2]
lea ebp, [eax + eax]
lea eax, [esi + edi]
push ebp
push ecx
push eax
mov dword [esp + 0x30], eax
call fcn.00532360
mov ecx, esi
mov esi, 0x554e08
mov edx, ecx
mov eax, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
sub eax, ebx
and ecx, 3
push 0x54920c
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x34]
push esi
mov word [esi + ebp], 0
mov ebp, dword [esp + 0x30]
add ebp, eax
mov dword [esp + 0x30], ebp
call fcn.0053225f
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4c2a33
mov ebp, dword [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x20]
cmp esi, eax
jb 0x4c2a1f
mov esi, dword [esp + 0x10]
mov dword [esi - 8], ebp
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push 0xa
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.004b6e20
mov ebx, dword [esp + 0x40]
mov eax, 0x554e48
add esp, 0xc
test eax, eax
je 0x4c2af6
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
jmp 0x4c2af8
xor esi, esi
push esi
lea ecx, [esp + 0x14]
call fcn.00405660
test eax, eax
je 0x4c2b25
mov ecx, dword [esp + 0x10]
inc esi
push esi
push 0x554e48
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00405bb0
xor esi, esi
test ebx, ebx
jle 0x4c2bfe
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
lea eax, [edx + esi*4]
push eax
call fcn.00405440
cmp dword [edi + 0x4c], 3
jne 0x4c2b53
lea ecx, [esp + 0x18]
push ecx
call fcn.00519a30
add esp, 4
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x20]
lea eax, [edx + esi*4]
push eax
call fcn.00405440
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4c2be3
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx - 8]
test edx, edx
je 0x4c2be3
push 0
push ecx
mov ecx, dword [edi + 0x5c]
push eax
push ecx
call fcn.0048ee10
add esp, 0x10
lea edx, [esp + 0x20]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push 0x547cec
push edx
push 0x547824
push eax
push ecx
call fcn.00412d60
lea edx, [esp + 0x2c]
push eax
push edx
call fcn.00412c10
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00412d60
push eax
lea ecx, [esp + 0x14]
call fcn.00413070
lea ecx, [esp + 0x28]
call fcn.00405700
lea ecx, [esp + 0x24]
call fcn.00405700
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x20]
call fcn.00405700
lea ecx, [esp + 0x18]
call fcn.00405700
inc esi
cmp esi, ebx
jl 0x4c2b2f
mov ecx, dword [edi + 4]
push 0x3ea
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [edi + 0x4c], 3
jne 0x4c2c24
call fcn.004cc430
lea ecx, [esp + 0x2c]
call fcn.00405350
lea ecx, [esp + 0x10]
call fcn.00405700
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret