Function at 0x410300
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d1948
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410349
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.004f4ccd
mov esi, dword [ebp + 8]
add esi, 0xfc
mov dword [0x649a5c], eax
mov dword [0x649a60], edx
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
add esp, 4
test ecx, ecx
jl 0x4103a4
push 0x606280
push eax
call fcn.004f3eeb
add esp, 8
test eax, eax
je 0x4103a4
sub eax, dword [esi]
cmp eax, 0xffffffff
jne 0x4103c1
push 0x649a5c
mov esi, str._m__d__Y_n_n_H:_M:_S_n_n
lea edi, [esp + 0x18]
call fcn.00405ba0
mov byte [esp + 0x88], 1
jmp 0x4103dc
push 0x649a5c
mov esi, str._Y__m__d_n_n_H:_M:_S_n_n
lea edi, [esp + 0x18]
call fcn.00405ba0
mov byte [esp + 0x88], 2
push eax
lea ecx, [esp + 0x1c]
call fcn.00404f90
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 0x41040e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410428
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 0x649a5c
push ecx
mov byte [esp + 0x90], 3
call fcn.004f36b2
add esp, 8
test eax, eax
jne 0x41045f
mov eax, dword [esp + 0x70]
add eax, 1
jmp 0x410461
xor eax, eax
sub eax, 1
cmp eax, 6
ja case.default.0x41046d
jmp dword [eax*4 + 0x4107c8]
push 0x1b1
lea edx, [esp + 0x20]
push edx
call fcn.00422af0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 4
call fcn.00404f90
lea ecx, [esp + 0x1c]
jmp 0x41058c
push 0x1b2
lea eax, [esp + 0x24]
push eax
call fcn.00422af0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 5
call fcn.00404f90
lea ecx, [esp + 0x20]
jmp 0x41058c
push 0x1b3
lea ecx, [esp + 0x28]
push ecx
call fcn.00422af0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 6
call fcn.00404f90
lea ecx, [esp + 0x24]
jmp 0x41058c
push 0x1b5
lea edx, [esp + 0x2c]
push edx
call fcn.00422af0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 7
call fcn.00404f90
lea ecx, [esp + 0x28]
jmp 0x41058c
push 0x1b4
lea eax, [esp + 0x30]
push eax
call fcn.00422af0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 8
call fcn.00404f90
lea ecx, [esp + 0x2c]
jmp 0x41058c
push 0x1b6
lea ecx, [esp + 0x34]
push ecx
call fcn.00422af0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 9
call fcn.00404f90
lea ecx, [esp + 0x30]
jmp 0x41058c
push 0x1b7
lea edx, [esp + 0x38]
push edx
call fcn.00422af0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 0xa
call fcn.00404f90
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 3
call fcn.00484da0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.0041c4d0
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.0041c4d0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 0xc
call fcn.00404f90
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 0x41060a
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 0x410632
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.004d8c67
mov eax, dword [eax + 0xc]
push 0x220
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x44]
call fcn.004dc2ec
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.004dc017
mov esi, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], vtable.CFont.0
push edi
push 0x6062b8
push 0x5a
lea ecx, [esp + 0x44]
mov byte [esp + 0x94], 0xe
call fcn.004dcc0b
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.004db927
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], 0x46
mov dword [esp + 0x58], 0x5a
mov dword [esp + 0x5c], pe_nt_image_headers32
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.004dc33f
mov byte [esp + 0x88], 3
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], esi
call fcn.004dc33f
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 0x410788
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 0x4107af
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