Function at 0x409850
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x510b46
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push esi
push edi
mov eax, dword [0x5426a0]
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.0047a7de
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4098a2
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.00499ae9
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
call fcn.0047a7de
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4098e4
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.004986d1
add esp, 8
cmp eax, esi
jne 0x40991b
mov eax, dword [esp + 0x78]
add eax, 1
jmp 0x40991d
xor eax, eax
sub eax, 1
cmp eax, 6
ja case.default.0x409929
jmp dword [eax*4 + 0x40a1e0]
push 0x1b1
lea eax, [esp + 0x20]
push eax
call fcn.00410ad0
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 0x409aa3
push 0x1b2
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410ad0
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 0x409a93
push 0x1b3
lea ecx, [esp + 0x18]
push ecx
call fcn.00410ad0
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 0x409a93
push 0x1b5
lea ecx, [esp + 0x24]
push ecx
call fcn.00410ad0
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 0x409a93
push 0x1b4
lea ecx, [esp + 0x28]
push ecx
call fcn.00410ad0
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 0x409a93
push 0x1b6
lea ecx, [esp + 0x2c]
push ecx
call fcn.00410ad0
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 0x409a93
push 0x1b7
lea ecx, [esp + 0x30]
push ecx
call fcn.00410ad0
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.0x409929
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0xc]
cmp dword [edi - 0xc], esi
jl 0x409ad1
push 0x523308
push edi
call fcn.00498b5e
add esp, 8
cmp eax, esi
je 0x409ad1
sub eax, edi
cmp eax, 0xffffffff
jne 0x409aee
lea ecx, [esp + 0x38]
push ecx
mov esi, str._m____d____Y_n_n_H:_M:_S
lea edi, [esp + 0x30]
call fcn.00405130
mov byte [esp + 0x90], 9
jmp 0x409b09
lea ecx, [esp + 0x38]
push ecx
mov esi, str._Y__m__d_n_n_H:_M:_S
lea edi, [esp + 0x30]
call fcn.00405130
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 0x409b3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0047a7de
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x409b57
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.0047a7de
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x409b89
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.0047a7de
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x409bbb
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.00410ad0
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 0x409c1c
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.00410ad0
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 0x409c65
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.00410ad0
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 0x409cae
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 0x409cea
fld dword [0x518f60]
lea ecx, [eax - 1]
push ecx
fstp dword [esp]
call fcn.0040ea60
add esp, 4
call fcn.004a22d0
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push str._s___dX
lea edx, [ebx + 0x520]
push edx
jmp 0x409dba
jne 0x409d87
cmp byte [ebx + 0x784], 0
je 0x409d3a
push 0x548d
lea eax, [esp + 0x2c]
push eax
call fcn.00410ad0
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 0x409d79
push 0x548c
lea ecx, [esp + 0x28]
push ecx
call fcn.00410ad0
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 0x409dc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x409dc2
cmp eax, edi
jg 0x409dc2
jne 0x409da2
mov ecx, dword [esp + 0x14]
push 2
push ecx
push str._s___dX
lea edx, [ebx + 0x520]
push edx
jmp 0x409dba
cmp eax, 0xffffffff
jne 0x409dc2
mov eax, dword [esp + 0x14]
push 4
push eax
push str._s___dX
lea ecx, [ebx + 0x520]
push ecx
call fcn.00404f20
add esp, 0x10
cmp byte [ebx + 0x524], 0
je 0x409e0c
push 0x548e
lea edx, [esp + 0x24]
push edx
call fcn.00410ad0
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 0x409e54
cmp byte [ebx + 0x525], 0
je 0x409e60
push 0x5497
lea ecx, [esp + 0x34]
push ecx
call fcn.00410ad0
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 0x409e60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebx + 0x784], 0
jne 0x409eb4
push 0x548c
lea ecx, [esp + 0x38]
push ecx
call fcn.00410ad0
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 0x409eb4
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.0040dcb0
add esp, 0xc
push 0x52334c
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x9c], 0x16
call fcn.0040dd70
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x9c], 0x17
call fcn.0040dcb0
add esp, 0xc
lea ecx, [ebx + 0x520]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x9c], 0x18
call fcn.0040dcb0
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 0x409f58
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 0x409f80
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 0x409fa8
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 0x409fd0
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.0047ea70
mov eax, dword [eax + 0xc]
push 0x24e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x4c]
call fcn.0048101f
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.00480d4a
mov esi, eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], vtable.CFont.0
push edi
push str.Microsoft_Sans_Serif
push 0x69
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], 0x1b
call fcn.00481a5c
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.004806c8
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], 0
mov dword [esp + 0x5c], 5
mov dword [esp + 0x60], 0xcd
mov dword [esp + 0x64], 0x62
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.00481072
mov byte [esp + 0x90], 0xd
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], esi
call fcn.00481072
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 0x40a127
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 0x40a14f
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 0x40a177
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 0x40a19f
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 0x40a1ca
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