Function at 0x409700
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50ef66
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push esi
push edi
mov eax, dword [0x5416a0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.00478c84
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x409752
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 + 0x10], eax
push esi
mov dword [esp + 0x94], esi
call fcn.00497fb5
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
call fcn.00478c84
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x409794
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 + 0xc], eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x98], 1
call fcn.00496bc1
add esp, 8
cmp eax, esi
jne 0x4097cb
mov eax, dword [esp + 0x78]
add eax, 1
jmp 0x4097cd
xor eax, eax
sub eax, 1
cmp eax, 6
ja case.default.0x4097d9
jmp dword [eax*4 + 0x40a094]
push 0x1b1
lea eax, [esp + 0x20]
push eax
call fcn.00410b20
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 2
call fcn.00404a60
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x409953
push 0x1b2
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410b20
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 3
call fcn.00404a60
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x18]
jmp 0x409943
push 0x1b3
lea ecx, [esp + 0x18]
push ecx
call fcn.00410b20
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 4
call fcn.00404a60
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
jmp 0x409943
push 0x1b5
lea ecx, [esp + 0x24]
push ecx
call fcn.00410b20
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 5
call fcn.00404a60
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x20]
jmp 0x409943
push 0x1b4
lea ecx, [esp + 0x28]
push ecx
call fcn.00410b20
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 6
call fcn.00404a60
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x24]
jmp 0x409943
push 0x1b6
lea ecx, [esp + 0x2c]
push ecx
call fcn.00410b20
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 7
call fcn.00404a60
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x28]
jmp 0x409943
push 0x1b7
lea ecx, [esp + 0x30]
push ecx
call fcn.00410b20
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 8
call fcn.00404a60
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg case.default.0x4097d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0xc]
mov eax, dword [edi - 0xc]
cmp eax, esi
jl 0x409983
push 0x5222c0
push edi
call fcn.0049702a
add esp, 8
cmp eax, esi
je 0x409983
sub eax, edi
cmp eax, 0xffffffff
jne 0x4099a0
lea ecx, [esp + 0x38]
push ecx
mov esi, str._m____d____Y_n_n_H:_M:_S
lea edi, [esp + 0x30]
call fcn.00405160
mov byte [esp + 0x90], 9
jmp 0x4099bb
lea ecx, [esp + 0x38]
push ecx
mov esi, str._Y__m__d_n_n_H:_M:_S
lea edi, [esp + 0x30]
call fcn.00405160
mov byte [esp + 0x90], 0xa
push eax
lea ecx, [esp + 0x14]
call fcn.00404a60
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4099ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00478c84
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x409a09
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 + 0x1c], eax
mov byte [esp + 0x90], 0xb
call fcn.00478c84
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x409a3b
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
mov byte [esp + 0x90], 0xc
call fcn.00478c84
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x409a6d
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 0x548b
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x98], 0xd
call fcn.00410b20
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 0xe
call fcn.00404a60
mov byte [esp + 0x90], 0xd
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409ace
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x642
lea ecx, [esp + 0x2c]
push ecx
call fcn.00410b20
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 0xf
call fcn.00404a60
mov byte [esp + 0x90], 0xd
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409b17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x643
lea ecx, [esp + 0x30]
push ecx
call fcn.00410b20
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 0x10
call fcn.00404a60
mov byte [esp + 0x90], 0xd
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409b60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x99c]
cmp eax, 1
jle 0x409b9c
fld dword [0x533438]
lea ecx, [eax - 1]
push ecx
fstp dword [esp]
call fcn.0040eab0
add esp, 4
call fcn.004a0720
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push str._s___dX
lea edx, [ebx + 0x520]
push edx
jmp 0x409c6c
jne 0x409c39
cmp byte [ebx + 0x784], 0
je 0x409bec
push 0x548d
lea eax, [esp + 0x2c]
push eax
call fcn.00410b20
lea ecx, [ebx + 0x520]
push eax
mov byte [esp + 0x94], 0x11
call fcn.00404a60
mov byte [esp + 0x90], 0xd
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x409c2b
push 0x548c
lea ecx, [esp + 0x28]
push ecx
call fcn.00410b20
lea ecx, [ebx + 0x520]
push eax
mov byte [esp + 0x94], 0x12
call fcn.00404a60
mov byte [esp + 0x90], 0xd
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409c74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x409c74
cmp eax, edi
jg 0x409c74
jne 0x409c54
mov ecx, dword [esp + 0x14]
push 2
push ecx
push str._s___dX
lea edx, [ebx + 0x520]
push edx
jmp 0x409c6c
cmp eax, 0xffffffff
jne 0x409c74
mov eax, dword [esp + 0x14]
push 4
push eax
push str._s___dX
lea ecx, [ebx + 0x520]
push ecx
call fcn.00404f50
add esp, 0x10
cmp byte [ebx + 0x524], 0
je 0x409cbe
push 0x548e
lea edx, [esp + 0x24]
push edx
call fcn.00410b20
lea ecx, [ebx + 0x520]
push eax
mov byte [esp + 0x94], 0x13
call fcn.00404a60
mov byte [esp + 0x90], 0xd
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x409d06
cmp byte [ebx + 0x525], 0
je 0x409d12
push 0x5497
lea ecx, [esp + 0x34]
push ecx
call fcn.00410b20
lea ecx, [ebx + 0x520]
push eax
mov byte [esp + 0x94], 0x14
call fcn.00404a60
mov byte [esp + 0x90], 0xd
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409d12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebx + 0x784], 0
jne 0x409d66
push 0x548c
lea ecx, [esp + 0x38]
push ecx
call fcn.00410b20
lea ecx, [ebx + 0x520]
push eax
mov byte [esp + 0x94], 0x15
call fcn.00404a60
mov byte [esp + 0x90], 0xd
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409d66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0040dca0
add esp, 0xc
push 0x522304
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x9c], 0x16
call fcn.0040dd60
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x9c], 0x17
call fcn.0040dca0
add esp, 0xc
lea ecx, [ebx + 0x520]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x9c], 0x18
call fcn.0040dca0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 0x19
call fcn.00404a60
mov byte [esp + 0x90], 0x18
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 0x409e0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0x17
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 0x409e32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0x16
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0xd
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], vtable.CBitmap.0
mov byte [esp + 0x90], 0x1a
call fcn.0047cf45
mov eax, dword [eax + 0xc]
push 0x24e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x4c]
call fcn.0047f4c7
mov ecx, dword [esp + 0x4c]
mov edx, dword [ebx + 0x4e8]
push ecx
push edi
push 0x172
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x4e8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0047f1f2
mov esi, eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], vtable.CFont.0
push edi
push str.Microsoft_Sans_Serif
push 0x5a
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], 0x1b
call fcn.0047ff04
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call edx
push 1
mov ecx, esi
mov edi, eax
call fcn.0047eb70
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push 0
mov ecx, esi
call edx
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
push 1
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x58], 0xa
mov dword [esp + 0x5c], 0xc
mov dword [esp + 0x60], 0x96
mov dword [esp + 0x64], 0x64
mov eax, dword [eax - 0xc]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push edi
mov ecx, esi
call edx
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 0x4e8]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x90], 0x1a
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], esi
call fcn.0047f51a
mov byte [esp + 0x90], 0xd
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], esi
call fcn.0047f51a
mov byte [esp + 0x90], 0xc
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409fd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0xb
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 0x40a001
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a029
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a051
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a07c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret