Function at 0x42f3a6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x64
push fcn.0042f3a6
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
mov word [0x4713a0], 0
mov word [0x471458], 0
mov word [0x471380], 2
mov edx, dword [0x4713bc]
call fcn.0046d792
mov eax, 4
call fcn.00469516
mov edx, dword [0x4715f4]
call fcn.0046d792
mov eax, 4
call fcn.00469516
call fcn.0046d04d
jne 0x42f40f
jmp 0x42fc7e
mov word [0x470a74], 1
fild word [0x4714d0]
fstp qword [ebp - 0x94]
fld1
fstp qword [ebp - 0x8c]
fldz
fstp qword [0x470a60]
jmp 0x42f4b7
fld qword [0x470a60]
fiadd word [0x4836c8]
fistp qword [ebp - 0x5c]
push dword [ebp - 0x5c]
mov ebx, 0x46f020
push ebx
fld qword [0x470a60]
fiadd word [0x4836c8]
fistp qword [ebp - 0x5c]
push dword [ebp - 0x5c]
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.USER32.DLL_GetDlgItem]
call fcn.0046d0ef
push eax
call dword [sym.imp.USER32.DLL_GetWindowTextA]
call fcn.0046d0ef
mov ebx, 0x46f020
call fcn.0046d62c
fld qword [0x470a60]
fistp qword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
shl eax, 2
add eax, dword [0x471ad4]
mov ebx, eax
call fcn.0046cdad
fld qword [ebp - 0x8c]
fadd qword [0x470a60]
fstp qword [0x470a60]
fld qword [0x470a60]
fcomp qword [ebp - 0x94]
fnstsw ax
sahf
jbe 0x42f439
mov word [0x470a74], 0
mov eax, 0x14
add eax, dword [0x471bbc]
mov edx, dword [eax]
call fcn.0046d792
mov edx, 0x474054
call fcn.0046d7a6
call fcn.0046d04d
je 0x42f555
fild word [0x48316c]
mov eax, 0x14
add eax, dword [0x471bbc]
mov edx, dword [eax]
call fcn.0046d792
mov ecx, 5
mov eax, 2
call fcn.004694b8
call fcn.0046c02f
faddp st(1)
mov edx, dword [0x4713bc]
call fcn.0046d792
mov ecx, 5
mov eax, 2
call fcn.004694b8
call fcn.0046c02f
fcompp
fnstsw ax
sahf
jb 0x42f555
jmp 0x42fc7e
mov edx, 0x47c2cc
call fcn.0046d7a6
mov ebx, 0x4701d0
mov ecx, 0x50
call fcn.0046d672
fild word [0x482f70]
fstp qword [ebp - 0x94]
fld1
fstp qword [ebp - 0x8c]
fldz
fstp qword [0x470a60]
fld qword [0x470a60]
fistp qword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
mov ebx, dword [0x471ad4]
mov edx, dword [ebx + eax*4]
call fcn.0046d792
mov edx, 0x474054
call fcn.0046d7a6
call fcn.0046d04d
je 0x42f671
xor eax, eax
movsx ecx, word [0x4713a0]
cmp ecx, eax
jne 0x42f671
fld qword [0x470a60]
fistp qword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
mov ebx, dword [0x471ad4]
mov edx, dword [ebx + eax*4]
call fcn.0046d792
mov ebx, 0x46f020
mov ecx, 0xfd0
call fcn.0046d672
call fcn.00439942
mov eax, 1
movsx ecx, word [0x47137c]
cmp ecx, eax
jne 0x42f671
mov edx, 0x47c2e0
call fcn.0046d7a6
mov edx, dword [0x46eec4]
call fcn.0046d792
call fcn.0046cfdc
mov edx, 0x47c308
call fcn.0046d7a6
call fcn.0046cfdc
mov edx, dword [0x46eec4]
call fcn.0046d792
call fcn.0046cfdc
mov edx, 0x47c330
call fcn.0046d7a6
call fcn.0046cfdc
mov ebx, 0x46f020
mov ecx, 0xfd0
call fcn.0046d672
fld1
fadd qword [0x470a60]
fistp word [0x4713a0]
fld qword [ebp - 0x8c]
fadd qword [0x470a60]
fstp qword [0x470a60]
fld qword [0x470a60]
fcomp qword [ebp - 0x94]
fnstsw ax
sahf
jbe 0x42f58a
mov eax, 0x44
add eax, dword [0x471ad4]
mov edx, dword [eax]
call fcn.0046d792
mov edx, 0x474054
call fcn.0046d7a6
call fcn.0046d04d
mov eax, 0xffffffff
jne 0x42f6c1
inc eax
mov ecx, 0x40
add ecx, dword [0x471ad4]
mov edx, dword [ecx]
call fcn.0046d792
mov edx, 0x474054
call fcn.0046d7a6
call fcn.0046d04d
mov ecx, 0xffffffff
jne 0x42f6ea
inc ecx
or eax, ecx
mov ecx, 0x48
add ecx, dword [0x471ad4]
mov edx, dword [ecx]
call fcn.0046d792
mov edx, 0x474054
call fcn.0046d7a6
call fcn.0046d04d
mov ecx, 0xffffffff
jne 0x42f715
inc ecx
or eax, ecx
mov ecx, 0x4c
add ecx, dword [0x471ad4]
mov edx, dword [ecx]
call fcn.0046d792
mov edx, 0x474054
call fcn.0046d7a6
call fcn.0046d04d
mov ecx, 0xffffffff
jne 0x42f740
inc ecx
or eax, ecx
test eax, eax
je 0x42f7ee
movsx eax, word [0x4715d8]
imul dword [0x4725d4]
add eax, 0x15
mov ebx, dword [0x4725b4]
mov edx, dword [ebx + eax*4]
call fcn.0046d792
mov edx, 0x478dd0
call fcn.0046d7a6
call fcn.0046d04d
je 0x42f7ee
xor eax, eax
movsx ecx, word [0x4713a0]
cmp ecx, eax
jne 0x42f7ee
mov edx, 0x47c340
call fcn.0046d7a6
mov edx, dword [0x46eec4]
call fcn.0046d792
call fcn.0046cfdc
mov edx, 0x47c37c
call fcn.0046d7a6
call fcn.0046cfdc
mov edx, dword [0x46eec4]
call fcn.0046d792
call fcn.0046cfdc
mov edx, str.02Bayern
call fcn.0046d7a6
call fcn.0046cfdc
mov ebx, 0x46f020
mov ecx, 0xfd0
call fcn.0046d672
mov word [0x4713a0], 0x11
movsx eax, word [0x4715d8]
imul dword [0x4725d4]
add eax, 0x15
mov ebx, dword [0x4725b4]
mov edx, dword [ebx + eax*4]
call fcn.0046d792
mov edx, 0x478dd0
call fcn.0046d7a6
call fcn.0046d04d
jne 0x42fc18
mov eax, 0x40
add eax, dword [0x471ad4]
mov edx, dword [eax]
call fcn.0046d792
mov edx, 0x474054
call fcn.0046d7a6
call fcn.0046d04d
jne 0x42f8b9
xor eax, eax
movsx ecx, word [0x4713a0]
cmp ecx, eax
jne 0x42f8b9
mov edx, 0x47c3e4
call fcn.0046d7a6
mov edx, dword [0x46eec4]
call fcn.0046d792
call fcn.0046cfdc
mov edx, 0x47c41c
call fcn.0046d7a6
call fcn.0046cfdc
mov edx, dword [0x46eec4]
call fcn.0046d792
call fcn.0046cfdc
mov edx, 0x47c450
call fcn.0046d7a6
call fcn.0046cfdc
mov ebx, 0x46f020
mov ecx, 0xfd0
call fcn.0046d672
mov word [0x4713a0], 0x11
mov eax, 0x48
add eax, dword [0x471ad4]
mov edx, dword [eax]
call fcn.0046d792
mov edx, 0x474054
call fcn.0046d7a6
call fcn.0046d04d
jne 0x42f951
xor eax, eax
movsx ecx, word [0x4713a0]
cmp ecx, eax
jne 0x42f951
mov edx, 0x47c3e4
call fcn.0046d7a6
mov edx, dword [0x46eec4]
call fcn.0046d792
call fcn.0046cfdc
mov edx, 0x47c468
call fcn.0046d7a6
call fcn.0046cfdc
mov edx, dword [0x46eec4]
call fcn.0046d792
call fcn.0046cfdc
mov edx, 0x47c4a0
call fcn.0046d7a6
call fcn.0046cfdc
mov ebx, 0x46f020
mov ecx, 0xfd0
call fcn.0046d672
mov word [0x4713a0], 0x13
fild word [0x483180]
mov eax, 0x4c
add eax, dword [0x471ad4]
mov edx, dword [eax]
call fcn.0046d792
call fcn.0046c02f
fcompp
fnstsw ax
sahf
mov ax, 0xffff
jb 0x42f97b
inc ax
call fcn.0046b122
fild word [0x4836ac]
mov eax, 0x4c
add eax, dword [0x471ad4]
mov edx, dword [eax]
call fcn.0046d792
call fcn.0046c02f
fcompp
fnstsw ax
sahf
mov ax, 0xffff
ja 0x42f9aa
inc ax
call fcn.0046b122
call fcn.0046cd64
ftst
jmp 0x49f640
xor eax, eax
movsx ecx, word [0x4713a0]
cmp ecx, eax
je 0x42fc6c
xor eax, eax
movsx ecx, word [0x471458]
cmp ecx, eax
jne 0x42fc6c
mov word [0x46eec8], 0x30
movsx eax, word [0x46eec8]
push eax
mov ebx, 0x4701d0
push ebx
mov ebx, 0x46f020
push ebx
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.004033e3
call fcn.0046b12d
fstp qword [0x470a78]
xor eax, eax
movsx ecx, word [0x4713a0]
cmp ecx, eax
je 0x42fc7e
call fcn.0045f578
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4