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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
push edi
mov eax, 0x9234c8
mov dword [esp + 0x2c], esi
call fcn.0044a3e0
cmp byte [ebp + 0xc], 0
mov edi, eax
jne 0x423865
mov ecx, dword [esi + 0x24]
push edi
push 0
push 0xc
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov edi, dword [esi + 0x24]
lea ebx, [esp + 0x58]
call fcn.00451bf0
mov eax, dword [esi + 0x2c]
add dword [esp + 0x58], 6
add esp, 4
lea edx, [esp + 0x64]
push edx
xor ebx, ebx
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x4238af
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x64]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x68]
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x74]
push eax
push 0x193
push 0x433
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x80]
sub eax, dword [esp + 0x28]
mov edi, dword [esp + 0x7c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
add edi, 0xa
mov dword [esp + 0x18], edi
cmp eax, 0xffffffff
jne 0x423967
mov eax, dword [esi + 0x30]
push 0
push 0
push 0xe
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x10], eax
inc eax
push 2
push eax
call fcn.00658a3b
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x423920
mov dword [esp + 0x10], eax
jmp 0x423942
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ebx
inc eax
push eax
push 0xd
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x10]
xor eax, eax
mov word [ebx + ecx*2], ax
mov dword [esp + 0x10], ebx
mov eax, dword [esi + 0x30]
lea edx, [esp + 0x64]
push edx
push eax
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x42395f
mov ebx, dword [esp + 0x6c]
sub ebx, dword [esp + 0x64]
add ebx, 0xfffffffa
jmp 0x423a06
test eax, eax
jne 0x42397d
push 0x923408
call fcn.00661039
add esp, 4
jmp 0x423a02
cmp dword [esi + 4], ebx
je 0x4239f4
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
call edx
test al, al
je 0x4239f0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov edi, dword [esp + 0x10]
mov edx, dword [eax + 0x14]
push edi
call edx
push eax
push str.___d____d_
call fcn.00458200
add esp, 0xc
push edi
push edi
push str.___d____d_
mov dword [esp + 0x1c], eax
call fcn.00458200
mov edi, dword [esi + 0x30]
add esp, 0xc
push eax
lea ebx, [esp + 0x68]
mov dword [esp + 0x18], eax
call fcn.00451bf0
mov ebx, dword [eax]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 4]
add esp, 4
push ecx
mov dword [esp + 0x6c], eax
call fcn.00658a01
mov edi, dword [esp + 0x1c]
add esp, 4
jmp 0x423a06
mov eax, dword [esp + 0x10]
push eax
push str.____d
call fcn.00458200
add esp, 8
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x30]
push edx
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
jne 0x423a3e
mov ecx, dword [esp + 0x10]
mov edi, dword [esi + 0x30]
push ecx
lea ebx, [esp + 0x68]
call fcn.00451bf0
mov edx, dword [eax + 4]
mov ebx, dword [eax]
mov edi, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x10]
push eax
add ebx, 6
call fcn.00658a01
add esp, 4
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
sub eax, ecx
inc eax
cdq
push 0
sub eax, edx
mov edx, dword [esi + 0x24]
push ecx
mov ecx, dword [esp + 0x5c]
sar eax, 1
add eax, dword [esp + 0x38]
push ecx
push eax
push edi
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x9f4968]
cmp eax, 2
je 0x423a9f
cmp eax, 0x17
je 0x423a9f
cmp eax, 0x1f
je 0x423a9f
cmp eax, 0x25
jne 0x423aa9
lea eax, [edi + ebx - 6]
mov dword [esp + 0x18], eax
mov edi, eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
push 0
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
mov eax, dword [esi + 0x2c]
lea edx, [edi + ecx]
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x14]
push 0
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [eax + eax]
sub ecx, edx
mov edx, dword [esp + 0x18]
push ecx
add eax, edi
add eax, dword [esp + 0x60]
push edx
push eax
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x9f4968]
cmp eax, 2
je 0x423b10
cmp eax, 0x17
je 0x423b10
cmp eax, 0x1f
je 0x423b10
cmp eax, 0x25
jne 0x423b2a
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x30]
push 0
push ecx
push ebx
sub edi, ebx
add edi, dword [esp + 0x60]
push edx
push edi
push eax
jmp 0x423b46
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push 0
push ecx
mov ecx, dword [esi + 0x30]
push ebx
add eax, edi
add eax, dword [esp + 0x60]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x34]
push edx
push 0x1b2
push 0x43f
push eax
mov dword [esp + 0x44], 0x20
mov dword [esp + 0x48], 0x40
call edi
mov ecx, dword [esp + 0x24]
add ecx, dword [esp + 0x54]
movzx eax, word [esp + 0x46]
lea ebx, [ebx + ecx + 0xc]
cmp eax, ebx
jne 0x423c4c
cmp byte [ebp + 0xc], 0
je 0x423c4c
mov ecx, dword [esi + 0x30]
push ecx
lea esi, [esp + 0x20]
call fcn.00401090
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x30]
push ecx
mov ecx, dword [eax + 0x10]
lea ebx, [esp + 0x78]
call fcn.00422790
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
add esp, 0x14
lea esi, [esp + 0x64]
lea edi, [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.004207d0
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
add edx, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x70]
add eax, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x2c]
push 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x64], eax
mov eax, dword [edx + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x34]
push ecx
push 0x1b2
push 0x440
push edx
mov word [esp + 0x56], bx
call edi
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret