Function at 0x409980
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x56f626
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b16b0]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa4]
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.0047c271
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4099d8
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
push ebx
mov dword [esp + 0xa0], ebx
call fcn.0049b5c9
add esp, 4
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
call fcn.0047c271
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x409a1a
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
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0xa4], 1
call fcn.0049a1b1
add esp, 8
cmp eax, ebx
jne 0x409a54
mov eax, dword [esp + 0x84]
add eax, 1
jmp 0x409a56
xor eax, eax
sub eax, 1
cmp eax, 6
ja case.default.0x409a62
jmp dword [eax*4 + 0x40a318]
push 0x1b1
lea eax, [esp + 0x2c]
push eax
call fcn.00410db0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 2
call fcn.00404a60
mov byte [esp + 0x9c], 1
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 0x409bdc
push 0x1b2
lea ecx, [esp + 0x28]
push ecx
call fcn.00410db0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 3
call fcn.00404a60
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x24]
jmp 0x409bcc
push 0x1b3
lea ecx, [esp + 0x24]
push ecx
call fcn.00410db0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 4
call fcn.00404a60
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x20]
jmp 0x409bcc
push 0x1b5
lea ecx, [esp + 0x30]
push ecx
call fcn.00410db0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 5
call fcn.00404a60
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x2c]
jmp 0x409bcc
push 0x1b4
lea ecx, [esp + 0x34]
push ecx
call fcn.00410db0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 6
call fcn.00404a60
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x30]
jmp 0x409bcc
push 0x1b6
lea ecx, [esp + 0x38]
push ecx
call fcn.00410db0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 7
call fcn.00404a60
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x34]
jmp 0x409bcc
push 0x1b7
lea ecx, [esp + 0x3c]
push ecx
call fcn.00410db0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 8
call fcn.00404a60
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg case.default.0x409a62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 0xc]
cmp eax, ebx
jl 0x409c0c
push 0x592664
push esi
call fcn.0049a63e
add esp, 8
cmp eax, ebx
je 0x409c0c
sub eax, esi
cmp eax, 0xffffffff
jne 0x409c29
lea ecx, [esp + 0x44]
push ecx
mov esi, str._m____d____Y_n_n_H:_M:_S
lea edi, [esp + 0x3c]
call fcn.00405140
mov byte [esp + 0x9c], 9
jmp 0x409c44
lea ecx, [esp + 0x44]
push ecx
mov esi, str._Y__m__d_n_n_H:_M:_S
lea edi, [esp + 0x3c]
call fcn.00405140
mov byte [esp + 0x9c], 0xa
push eax
lea ecx, [esp + 0x20]
call fcn.00404a60
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409c76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0047c271
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x409c90
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 + 0x28], eax
mov byte [esp + 0x9c], 0xb
call fcn.0047c271
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x409cc2
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 + 0x20], eax
mov byte [esp + 0x9c], 0xc
call fcn.0047c271
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x409cf4
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 + 0x24], eax
push 0x548b
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0xa4], 0xd
call fcn.00410db0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 0xe
call fcn.00404a60
mov byte [esp + 0x9c], 0xd
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409d55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x642
lea ecx, [esp + 0x38]
push ecx
call fcn.00410db0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa0], 0xf
call fcn.00404a60
mov byte [esp + 0x9c], 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 0x409d9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x643
lea ecx, [esp + 0x3c]
push ecx
call fcn.00410db0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xa0], 0x10
call fcn.00404a60
mov byte [esp + 0x9c], 0xd
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409de7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x99c]
cmp eax, 1
jle 0x409e23
fld dword [0x5a3948]
lea ecx, [eax - 1]
push ecx
fstp dword [esp]
call fcn.0040ed40
add esp, 4
call fcn.004a3ee0
mov ecx, dword [esp + 0x28]
push eax
push ecx
push str._s___dX
lea edx, [ebp + 0x520]
push edx
jmp 0x409ef3
jne 0x409ec0
cmp byte [ebp + 0x784], 0
je 0x409e73
push 0x548d
lea eax, [esp + 0x38]
push eax
call fcn.00410db0
lea ecx, [ebp + 0x520]
push eax
mov byte [esp + 0xa0], 0x11
call fcn.00404a60
mov byte [esp + 0x9c], 0xd
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
jmp 0x409eb2
push 0x548c
lea ecx, [esp + 0x34]
push ecx
call fcn.00410db0
lea ecx, [ebp + 0x520]
push eax
mov byte [esp + 0xa0], 0x12
call fcn.00404a60
mov byte [esp + 0x9c], 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 0x409efb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x409efb
cmp eax, ebx
jg 0x409efb
jne 0x409edb
mov ecx, dword [esp + 0x20]
push 2
push ecx
push str._s___dX
lea edx, [ebp + 0x520]
push edx
jmp 0x409ef3
cmp eax, 0xffffffff
jne 0x409efb
mov eax, dword [esp + 0x20]
push 4
push eax
push str._s___dX
lea ecx, [ebp + 0x520]
push ecx
call fcn.00404f50
add esp, 0x10
cmp byte [ebp + 0x524], 0
je 0x409f45
push 0x548e
lea edx, [esp + 0x30]
push edx
call fcn.00410db0
lea ecx, [ebp + 0x520]
push eax
mov byte [esp + 0xa0], 0x13
call fcn.00404a60
mov byte [esp + 0x9c], 0xd
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
jmp 0x409f8d
cmp byte [ebp + 0x525], 0
je 0x409f99
push 0x5497
lea ecx, [esp + 0x40]
push ecx
call fcn.00410db0
lea ecx, [ebp + 0x520]
push eax
mov byte [esp + 0xa0], 0x14
call fcn.00404a60
mov byte [esp + 0x9c], 0xd
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409f99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp + 0x784], 0
jne 0x409fed
push 0x548c
lea ecx, [esp + 0x44]
push ecx
call fcn.00410db0
lea ecx, [ebp + 0x520]
push eax
mov byte [esp + 0xa0], 0x15
call fcn.00404a60
mov byte [esp + 0x9c], 0xd
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409fed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0040df30
add esp, 0xc
push 0x5926a8
push eax
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0xa8], 0x16
call fcn.0040dff0
add esp, 0xc
lea edx, [esp + 0x24]
push edx
push eax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0xa8], 0x17
call fcn.0040df30
add esp, 0xc
lea ecx, [ebp + 0x520]
push ecx
push eax
lea edx, [esp + 0x48]
mov bl, 0x18
push edx
mov byte [esp + 0xa8], bl
call fcn.0040df30
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 0x19
call fcn.00404a60
mov byte [esp + 0x9c], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a091
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x9c], 0x17
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a0b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x9c], 0x16
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a0e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x9c], 0xd
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 0x40a109
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], vtable.CBitmap.0
mov byte [esp + 0x9c], 0x1a
call fcn.0048051c
mov eax, dword [eax + 0xc]
push 0x24e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x58]
call fcn.00482a9e
mov ecx, dword [esp + 0x58]
mov edx, dword [ebp + 0x4e8]
push ecx
push ebx
push 0x172
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 0x4e8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004827c9
mov esi, eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], vtable.CFont.0
push ebx
push str.Microsoft_Sans_Serif
push 0x5a
lea ecx, [esp + 0x58]
mov byte [esp + 0xa8], 0x1b
call fcn.004834db
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call edx
push 1
mov ecx, esi
mov edi, eax
call fcn.00482147
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ebx
mov ecx, esi
call edx
mov ebx, dword [esp + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
push 1
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x64], 0xa
mov dword [esp + 0x68], 0xc
mov dword [esp + 0x6c], 0x96
mov dword [esp + 0x70], 0x64
mov eax, dword [ebx - 0xc]
push eax
push ebx
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 [ebp + 0x4e8]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x9c], 0x1a
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], esi
call fcn.00482af1
mov byte [esp + 0x9c], 0xd
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], esi
call fcn.00482af1
mov byte [esp + 0x9c], 0xc
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 0x40a25d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x9c], 0xb
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
jg 0x40a285
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x9c], 1
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 0x40a2ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x9c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a2d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov dword [esp + 0x9c], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a2fc
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 4