Function at 0x40f2c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c2088
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
call fcn.004c5661
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f309
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0
mov dword [esp + 0x8c], 0
call fcn.004e5aed
mov esi, dword [ebp + 8]
add esi, 0xfc
mov dword [0x637a44], eax
mov dword [0x637a48], edx
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
add esp, 4
test ecx, ecx
jl 0x40f364
push 0x5f5b54
push eax
call fcn.004e4d15
add esp, 8
test eax, eax
je 0x40f364
sub eax, dword [esi]
cmp eax, 0xffffffff
jne 0x40f381
push 0x637a44
mov esi, str._m__d__Y_n_n_H:_M:_S_n_n
lea edi, [esp + 0x18]
call fcn.00405a10
mov byte [esp + 0x88], 1
jmp 0x40f39c
push 0x637a44
mov esi, str._Y__m__d_n_n_H:_M:_S_n_n
lea edi, [esp + 0x18]
call fcn.00405a10
mov byte [esp + 0x88], 2
push eax
lea ecx, [esp + 0x1c]
call fcn.00404e30
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f3ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004c5661
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f3e8
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x58]
push 0x637a44
push ecx
mov byte [esp + 0x90], 3
call fcn.004e44dc
add esp, 8
test eax, eax
jne 0x40f41f
mov eax, dword [esp + 0x70]
add eax, 1
jmp 0x40f421
xor eax, eax
sub eax, 1
cmp eax, 6
ja case.default.0x40f42d
jmp dword [eax*4 + 0x40f788]
push 0x1b1
lea edx, [esp + 0x20]
push edx
call fcn.0041c990
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 4
call fcn.00404e30
lea ecx, [esp + 0x1c]
jmp 0x40f54c
push 0x1b2
lea eax, [esp + 0x24]
push eax
call fcn.0041c990
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 5
call fcn.00404e30
lea ecx, [esp + 0x20]
jmp 0x40f54c
push 0x1b3
lea ecx, [esp + 0x28]
push ecx
call fcn.0041c990
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 6
call fcn.00404e30
lea ecx, [esp + 0x24]
jmp 0x40f54c
push 0x1b5
lea edx, [esp + 0x2c]
push edx
call fcn.0041c990
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 7
call fcn.00404e30
lea ecx, [esp + 0x28]
jmp 0x40f54c
push 0x1b4
lea eax, [esp + 0x30]
push eax
call fcn.0041c990
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 8
call fcn.00404e30
lea ecx, [esp + 0x2c]
jmp 0x40f54c
push 0x1b6
lea ecx, [esp + 0x34]
push ecx
call fcn.0041c990
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 9
call fcn.00404e30
lea ecx, [esp + 0x30]
jmp 0x40f54c
push 0x1b7
lea edx, [esp + 0x38]
push edx
call fcn.0041c990
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 0xa
call fcn.00404e30
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 3
call fcn.00476b70
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.004165d0
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0xfc
push ecx
push eax
lea eax, [esp + 0x3c]
mov bl, 0xb
push eax
mov byte [esp + 0x94], bl
call fcn.004165d0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 0xc
call fcn.00404e30
mov byte [esp + 0x88], bl
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f5ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 3
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f5f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], vtable.CBitmap.0
mov byte [esp + 0x88], 0xd
call fcn.004c9922
mov eax, dword [eax + 0xc]
push 0x220
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x44]
call fcn.004cd130
mov ecx, dword [esp + 0x44]
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0xda0]
push ecx
push edi
push 0x172
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0xda0]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004cce5b
mov esi, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], vtable.CFont.0
push edi
push 0x5f5b8c
push 0x50
lea ecx, [esp + 0x44]
mov byte [esp + 0x94], 0xe
call fcn.004cda4f
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call edx
push 1
mov ecx, esi
mov ebx, eax
call fcn.004cc76b
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push edi
mov ecx, esi
call edx
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x18]
push 1
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x58], 0x92
mov dword [esp + 0x5c], 0x96
mov eax, dword [edi - 0xc]
push eax
push edi
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push ebx
mov ecx, esi
call edx
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xda0]
push eax
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, vtable.CGdiObject.0
mov byte [esp + 0x88], 0xd
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x38]
call fcn.004cd183
mov byte [esp + 0x88], 3
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], esi
call fcn.004cd183
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f748
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov dword [esp + 0x88], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f76f
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4