Function at 0x44fa70
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, dword [esp + 0x11c]
mov eax, dword [edi + 0xa3a0]
test eax, eax
je case.0x44fda1.5
mov esi, dword [esp + 0x124]
push esi
call fcn.0044ebe0
mov ebx, eax
add esp, 4
test ebx, ebx
je case.0x44fda1.5
mov eax, dword [esp + 0x120]
shr eax, 0x10
cmp eax, 0x100
jg 0x44fba7
je 0x44fb7b
sub eax, 0
je 0x44fb25
dec eax
je 0x44faf3
sub eax, 3
jne case.0x44fda1.5
mov eax, dword [ebx]
push 0
push 0
push 0x147
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
mov dword [ebx + 0x2c], eax
pop esi
pop ebx
add esp, 0x10c
ret
mov eax, dword [ebx + 0x54]
test eax, eax
jne 0x44fb0e
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx]
push 0
push ecx
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x24]
push eax
push edi
call fcn.0044e5e0
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
cmp dword [ebx + 8], 0xc
jne 0x44fb5a
push 0x400
call fcn.004411b0
add esp, 4
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp esi, dword [ebx]
jne 0x44fb50
mov dword [ebx + 0x94], 1
jmp 0x44fb5a
mov dword [ebx + 0x98], 1
cmp dword [ebx + 8], 1
jne case.0x44fda1.5
mov ecx, dword [ebx + 0x24]
push ecx
push edi
call fcn.0044e5e0
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
cmp dword [ebx + 8], 0xb
jne 0x44fb96
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x44fb96
mov edx, dword [ebx]
push 0x4ddbb0
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
mov dword [ebx + 0x50], 0
pop esi
pop ebx
add esp, 0x10c
ret
cmp eax, 0x200
je 0x44fd92
cmp eax, 0x300
jne case.0x44fda1.5
mov eax, dword [ebx + 8]
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, 6
je 0x44fbd1
cmp eax, 4
jne 0x44fc3d
mov ecx, dword [ebx]
lea eax, [esp + 0x1c]
push 0x100
push eax
push ecx
call ebp
lea edx, [esp + 0x1c]
push str._.1234567890_0
push edx
call dword [sym.imp.MSVCRT.dll_strspn]
mov edx, eax
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jae 0x44fc3d
cmp edx, 1
jbe 0x44fc3d
lea edi, [esp + edx + 0x1d]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + edx + 0x1c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
push ebx
call fcn.0044ff10
add esp, 8
cmp dword [ebx + 8], 9
jne 0x44fd73
mov eax, dword [ebx]
lea edx, [esp + 0x1c]
push 0x100
push edx
push eax
call ebp
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x44fcbf
movsx ecx, byte [esp + ebp + 0x1c]
lea edi, [esp + ebp + 0x1c]
push ecx
push str._1234567890
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jne 0x44fcac
lea edx, [edi + ebp]
or ecx, 0xffffffff
lea edi, [edx + 1]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 1
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
inc ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebp, ecx
jb 0x44fc6a
mov ebp, dword [sym.imp.MSVCRT.dll_atoi]
lea ecx, [esp + 0x1c]
push ecx
call ebp
mov edi, eax
mov eax, dword [ebx + 0x34]
add esp, 4
cmp edi, eax
jge 0x44fcda
mov edi, eax
mov eax, dword [ebx + 0x30]
cmp edi, eax
jle 0x44fce3
mov edi, eax
cmp dword [ebx + 0x2c], edi
je 0x44fd0c
push ebx
mov dword [ebx + 0x2c], edi
call fcn.0044ebb0
mov edx, dword [ebx + 0x64]
add esp, 4
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebx + 0x64]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0x1c]
push ecx
call ebp
add esp, 4
cmp edi, eax
jne 0x44fd1e
test esi, esi
je 0x44fd73
mov ecx, dword [ebx]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push 0xb0
push ecx
call esi
push edi
push 0x4c417c
lea edx, [esp + 0x24]
push 0x100
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
mov ecx, dword [ebx]
add esp, 0x10
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx]
push edx
push eax
push 0xb1
push ecx
call esi
mov edx, dword [ebx + 0x24]
mov eax, dword [esp + 0x120]
push edx
push eax
call fcn.0044e5e0
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
mov eax, dword [ebx + 8]
add eax, 0xfffffffc
cmp eax, 7
ja case.0x44fda1.5
jmp dword [eax*4 + 0x44fef0]
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ebx]
lea edx, [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x18]
mov edx, ecx
mov esi, edi
mov edi, dword [ebx + 0x44]
push eax
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]
call fcn.0044ff10
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
mov edx, dword [ebx]
lea ecx, [esp + 0x18]
push 0x100
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov esi, eax
mov eax, dword [ebx + 0x34]
add esp, 4
cmp esi, eax
jge 0x44fe20
mov esi, eax
mov eax, dword [ebx + 0x30]
cmp esi, eax
jle 0x44fe29
mov esi, eax
push esi
push 0x4c417c
lea ecx, [esp + 0x20]
push 0x100
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
mov eax, dword [ebx + 0x2c]
add esp, 0x10
cmp eax, esi
je case.0x44fda1.5
mov dword [ebx + 0x2c], esi
jmp 0x44fed7
mov edx, dword [ebx]
lea ecx, [esp + 0x18]
push 0x100
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fst dword [esp + 0x10]
fcomp dword [ebx + 0x3c]
add esp, 4
fnstsw ax
test ah, 1
je 0x44fe8b
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0xc], ecx
fld dword [esp + 0xc]
fcomp dword [ebx + 0x40]
fnstsw ax
test ah, 0x41
jne 0x44fea0
mov edx, dword [ebx + 0x40]
mov dword [esp + 0xc], edx
fld dword [esp + 0xc]
sub esp, 8
lea eax, [esp + 0x20]
fstp qword [esp]
push 0x4c4df8
push 0x100
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
fld dword [ebx + 0x38]
fcomp dword [esp + 0x20]
add esp, 0x14
fnstsw ax
test ah, 0x40
jne case.0x44fda1.5
mov ecx, dword [esp + 0xc]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebx]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
pop ebx
add esp, 0x10c
ret