Function at 0x404f88
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebp
push esi
mov esi, dword [0x415eb0]
push edi
push 0
push 0xc
mov edi, ecx
call ebx
push eax
push 0xb
call ebx
mov ebp, dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0xca
push esi
call ebp
push eax
push 1
push 0x80
lea esi, [edi + 4]
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x415eb0]
push 0
push 0x32
mov dword [esp + 0x18], eax
call ebx
push eax
push 0x31
call ebx
push eax
push 1
push 0xca
push dword [esp + 0x24]
call ebp
push eax
push 0
push 0x80
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x415db0
call fcn.00405851
lea ecx, [edi + 0x20]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [eax + 4]
call fcn.0040564e
push ecx
mov ecx, esp
push 0x412904
call fcn.0040321e
push 0x190
push 0xd
call fcn.004055c8
mov dword [edi + 0x28], eax
add esp, 8
mov eax, esp
mov dword [eax], 0x4128fc
push ecx
mov eax, esp
mov dword [eax], 0xcc
call fcn.00405346
mov ebp, eax
mov eax, dword [edi + 0x24]
test eax, eax
pop ecx
pop ecx
je 0x40506e
cmp eax, ebp
je 0x40506e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [esp + 0x14]
push eax
push 0x18
push ebp
mov dword [edi + 0x24], ebp
call dword [sym.imp.GDI32.dll_GetObjectW]
push 8
call ebx
push 4
mov ebp, eax
call ebx
add eax, dword [esp + 0x1c]
push 7
lea ebp, [eax + ebp*2]
call ebx
mov ecx, dword [esp + 0x18]
xor ebx, ebx
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_MoveWindow]
lea eax, [ecx + eax*2]
push eax
push ebx
push ebx
push dword [esi]
call ebp
push ebx
mov ecx, esi
call fcn.004051f9
push ecx
mov ecx, esp
push 0x412538
lea ebx, [edi + 0x2c]
call fcn.0040321e
push ecx
mov ecx, esp
push str.info
call fcn.0040321e
push ecx
mov ecx, esp
push str.update
call fcn.0040321e
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x415dfc
call fcn.0040969a
push eax
mov ecx, ebx
call fcn.004029af
lea ecx, [esp + 0x10]
call fcn.00401869
push 0x4128d8
push str._r_n
mov ecx, ebx
call fcn.0040569f
push ecx
mov ecx, esp
push 0x4128c4
add edi, 0x30
call fcn.0040321e
push ecx
mov ecx, esp
push 0x4128bc
call fcn.0040321e
push ecx
mov ecx, esp
push str.update
call fcn.0040321e
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x415dfc
call fcn.0040969a
push eax
mov ecx, edi
call fcn.004029af
lea ecx, [esp + 0x10]
call fcn.00401869
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push dword [esi]
call ebx
push 1
push 0x23
push 0x5d
push 0xee
push 0x23
push eax
call ebp
push 0x3ee
push dword [esi]
call ebx
push 1
push 0x23
push 0x5d
push 0xee
push 0xa6
push eax
call ebp
push 0xffffffffffffffff
push dword [esi]
call ebx
push 1
push 0x1f
push 0x12c
push 0x40
push 0xc2
push eax
call ebp
mov edi, dword [edi]
push 0xffffffffffffffff
push dword [esi]
call ebx
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xffffffffffffffff
push dword [esi]
call ebx
push ecx
mov ecx, esp
push str.Arial
mov esi, eax
call fcn.0040321e
push 0x258
push 0x1e
call fcn.004055c8
mov eax, dword [eax]
add esp, 0xc
push 1
push eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x1c
ret 0x10