Function at 0x412210
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x514b20
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x5566e0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004c2ca4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x412263
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 ebx
mov dword [esp + 0x94], ebx
call fcn.004e2fdd
add esp, 4
lea ecx, [esp + 0x38]
push ecx
mov esi, str._y__m__d____H:_M:_S
lea edi, [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
call fcn.00405a40
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 1
call fcn.00404e60
mov byte [esp + 0x90], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4122d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004c2ca4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4122f2
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 + 0x38]
push ecx
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x98], 2
call fcn.004e1b1c
add esp, 8
cmp eax, ebx
jne 0x412329
mov eax, dword [esp + 0x78]
add eax, 1
jmp 0x41232b
xor eax, eax
sub eax, 1
cmp eax, 6
ja case.default.0x412337
jmp dword [eax*4 + 0x412698]
push 0x1b1
lea eax, [esp + 0x20]
push eax
call fcn.0041c760
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 3
call fcn.00404e60
lea ecx, [esp + 0x1c]
jmp 0x412456
push 0x1b2
lea ecx, [esp + 0x24]
push ecx
call fcn.0041c760
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 4
call fcn.00404e60
lea ecx, [esp + 0x20]
jmp 0x412456
push 0x1b3
lea edx, [esp + 0x28]
push edx
call fcn.0041c760
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 5
call fcn.00404e60
lea ecx, [esp + 0x24]
jmp 0x412456
push 0x1b5
lea eax, [esp + 0x2c]
push eax
call fcn.0041c760
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 6
call fcn.00404e60
lea ecx, [esp + 0x28]
jmp 0x412456
push 0x1b4
lea ecx, [esp + 0x30]
push ecx
call fcn.0041c760
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 7
call fcn.00404e60
lea ecx, [esp + 0x2c]
jmp 0x412456
push 0x1b6
lea edx, [esp + 0x34]
push edx
call fcn.0041c760
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 8
call fcn.00404e60
lea ecx, [esp + 0x30]
jmp 0x412456
push 0x1b7
lea eax, [esp + 0x38]
push eax
call fcn.0041c760
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 9
call fcn.00404e60
lea ecx, [esp + 0x34]
mov byte [esp + 0x90], 2
call fcn.00404bc0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0041ac70
add esp, 0xc
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x150]
push ecx
push eax
lea edx, [esp + 0x3c]
mov bl, 0xa
push edx
mov byte [esp + 0x9c], bl
call fcn.0041ac70
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 0xb
call fcn.00404e60
mov byte [esp + 0x90], 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 0x4124d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 2
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 0x4124fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], vtable.CBitmap.0
mov byte [esp + 0x90], 0xc
call fcn.004c6f68
mov eax, dword [eax + 0xc]
push 0x225
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x4c]
call fcn.004ca7ae
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi + 0xdf4]
push ecx
push edi
push 0x172
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0xdf4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004ca4d9
mov esi, eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], vtable.CFont.0
push edi
push 0x52af44
push 0x96
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], 0xd
call fcn.004cb0cd
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 ebx, eax
call fcn.004c9ddb
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push 0xffffff
mov ecx, esi
call edx
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x18]
push 1
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x5c], 8
mov dword [esp + 0x60], 0x1c8
mov dword [esp + 0x64], 0x46
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 + 0xdf4]
push eax
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x90], 0xc
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], esi
call fcn.004ca801
mov byte [esp + 0x90], 2
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], esi
call fcn.004ca801
mov byte [esp + 0x90], 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 0x412656
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov dword [esp + 0x90], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41267d
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4