Function at 0x4096d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bf456
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push esi
push edi
mov eax, dword [0x4ef6a0]
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.004768e7
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x409722
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.00495c15
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
call fcn.004768e7
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x409764
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.00494821
add esp, 8
cmp eax, esi
jne 0x40979b
mov eax, dword [esp + 0x78]
add eax, 1
jmp 0x40979d
xor eax, eax
sub eax, 1
cmp eax, 6
ja case.default.0x4097a9
jmp dword [eax*4 + 0x40a064]
push 0x1b1
lea eax, [esp + 0x20]
push eax
call fcn.00410a90
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 2
call fcn.00404a50
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 0x409923
push 0x1b2
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410a90
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 3
call fcn.00404a50
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x18]
jmp 0x409913
push 0x1b3
lea ecx, [esp + 0x18]
push ecx
call fcn.00410a90
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 4
call fcn.00404a50
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
jmp 0x409913
push 0x1b5
lea ecx, [esp + 0x24]
push ecx
call fcn.00410a90
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 5
call fcn.00404a50
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x20]
jmp 0x409913
push 0x1b4
lea ecx, [esp + 0x28]
push ecx
call fcn.00410a90
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 6
call fcn.00404a50
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x24]
jmp 0x409913
push 0x1b6
lea ecx, [esp + 0x2c]
push ecx
call fcn.00410a90
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 7
call fcn.00404a50
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x28]
jmp 0x409913
push 0x1b7
lea ecx, [esp + 0x30]
push ecx
call fcn.00410a90
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 8
call fcn.00404a50
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.0x4097a9
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 0x409953
push 0x4cfef0
push edi
call fcn.00494c8a
add esp, 8
cmp eax, esi
je 0x409953
sub eax, edi
cmp eax, 0xffffffff
jne 0x409970
lea ecx, [esp + 0x38]
push ecx
mov esi, str._m____d____Y_n_n_H:_M:_S
lea edi, [esp + 0x30]
call fcn.00405150
mov byte [esp + 0x90], 9
jmp 0x40998b
lea ecx, [esp + 0x38]
push ecx
mov esi, str._Y__m__d_n_n_H:_M:_S
lea edi, [esp + 0x30]
call fcn.00405150
mov byte [esp + 0x90], 0xa
push eax
lea ecx, [esp + 0x14]
call fcn.00404a50
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 0x4099bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004768e7
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4099d9
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.004768e7
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x409a0b
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.004768e7
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x409a3d
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.00410a90
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 0xe
call fcn.00404a50
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 0x409a9e
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.00410a90
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 0xf
call fcn.00404a50
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 0x409ae7
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.00410a90
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 0x10
call fcn.00404a50
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 0x409b30
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 0x409b6c
fld dword [0x4c7f68]
lea ecx, [eax - 1]
push ecx
fstp dword [esp]
call fcn.0040ea20
add esp, 4
call fcn.0049e370
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push str._s___dX
lea edx, [ebx + 0x520]
push edx
jmp 0x409c3c
jne 0x409c09
cmp byte [ebx + 0x784], 0
je 0x409bbc
push 0x548d
lea eax, [esp + 0x2c]
push eax
call fcn.00410a90
lea ecx, [ebx + 0x520]
push eax
mov byte [esp + 0x94], 0x11
call fcn.00404a50
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 0x409bfb
push 0x548c
lea ecx, [esp + 0x28]
push ecx
call fcn.00410a90
lea ecx, [ebx + 0x520]
push eax
mov byte [esp + 0x94], 0x12
call fcn.00404a50
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 0x409c44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x409c44
cmp eax, edi
jg 0x409c44
jne 0x409c24
mov ecx, dword [esp + 0x14]
push 2
push ecx
push str._s___dX
lea edx, [ebx + 0x520]
push edx
jmp 0x409c3c
cmp eax, 0xffffffff
jne 0x409c44
mov eax, dword [esp + 0x14]
push 4
push eax
push str._s___dX
lea ecx, [ebx + 0x520]
push ecx
call fcn.00404f40
add esp, 0x10
cmp byte [ebx + 0x524], 0
je 0x409c8e
push 0x548e
lea edx, [esp + 0x24]
push edx
call fcn.00410a90
lea ecx, [ebx + 0x520]
push eax
mov byte [esp + 0x94], 0x13
call fcn.00404a50
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 0x409cd6
cmp byte [ebx + 0x525], 0
je 0x409ce2
push 0x5497
lea ecx, [esp + 0x34]
push ecx
call fcn.00410a90
lea ecx, [ebx + 0x520]
push eax
mov byte [esp + 0x94], 0x14
call fcn.00404a50
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 0x409ce2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebx + 0x784], 0
jne 0x409d36
push 0x548c
lea ecx, [esp + 0x38]
push ecx
call fcn.00410a90
lea ecx, [ebx + 0x520]
push eax
mov byte [esp + 0x94], 0x15
call fcn.00404a50
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 0x409d36
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.0040dc70
add esp, 0xc
push 0x4cff34
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x9c], 0x16
call fcn.0040dd30
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x9c], 0x17
call fcn.0040dc70
add esp, 0xc
lea ecx, [ebx + 0x520]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x9c], 0x18
call fcn.0040dc70
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 0x19
call fcn.00404a50
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 0x409dda
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 0x409e02
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 0x409e2a
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 0x409e52
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.0047ab74
mov eax, dword [eax + 0xc]
push 0x24e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x4c]
call fcn.0047d112
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.0047ce3d
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.0047db4f
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.0047c7bb
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.0047d165
mov byte [esp + 0x90], 0xd
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], esi
call fcn.0047d165
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 0x409fa9
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 0x409fd1
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 0x409ff9
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 0x40a021
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 0x40a04c
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