Function at 0x4033c4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x24c
mov eax, dword [ebp + 0xc]
cmp eax, 0x14
je 0x403655
cmp eax, 0x14
ja 0x4033f4
cmp eax, 2
je 0x4034a7
cmp eax, 0x10
je 0x403462
jmp 0x40366d
cmp eax, 0x111
je 0x403414
cmp eax, 0x138
je 0x4035de
cmp eax, 0x2b
je 0x4034c0
jmp 0x40366d
mov edx, dword [ebp + 0x14]
mov eax, dword [0x6f6034]
mov eax, dword [eax + 8]
cmp edx, eax
jne 0x403669
mov eax, dword [0x6f606c]
test eax, eax
je 0x403447
mov eax, dword [0x6f6034]
mov eax, dword [eax]
mov dword [esp], eax
call sub.USER32.dll_DestroyWindow
sub esp, 4
jmp 0x403669
mov eax, dword [0x6f6034]
mov dword [esp], 0
mov ecx, eax
call fcn.00402da0
sub esp, 4
jmp 0x403669
mov eax, dword [0x6f6034]
mov eax, dword [eax]
cmp eax, dword [ebp + 8]
jne 0x40349d
mov eax, dword [0x6f6034]
mov dword [esp], 0
mov ecx, eax
call fcn.00402dec
sub esp, 4
xor eax, 1
test al, al
je 0x40349d
mov eax, dword [0x6f6034]
mov eax, dword [eax]
mov dword [esp], eax
call sub.USER32.dll_DestroyWindow
sub esp, 4
mov eax, 0
jmp 0x403690
mov dword [esp], 0
call sub.USER32.dll_PostQuitMessage
sub esp, 4
mov eax, 0
jmp 0x403690
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
lea ebx, [eax + 0x1c]
mov eax, 4
mov edi, edx
mov esi, ebx
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.GDI32.dll_SetBkMode
sub esp, 8
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
mov dword [esp + 8], 0x100
lea edx, [ebp - 0x22c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.USER32.dll_GetWindowTextW
sub esp, 0xc
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], 0xf3f3f3
mov dword [esp], eax
call sub.GDI32.dll_SetTextColor
sub esp, 8
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x10], 0x10
lea ecx, [ebp - 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
lea edx, [ebp - 0x22c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.USER32.dll_DrawTextW
sub esp, 0x14
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.GDI32.dll_SetTextColor
sub esp, 8
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x10], 0x10
lea ecx, [ebp - 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
lea edx, [ebp - 0x22c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.USER32.dll_DrawTextW
sub esp, 0x14
mov eax, 1
jmp 0x403690
mov edx, dword [ebp + 0x14]
mov eax, dword [0x6f6040]
cmp edx, eax
je 0x403611
mov edx, dword [ebp + 0x14]
mov eax, dword [0x6f6034]
mov eax, dword [eax + 0xc]
cmp edx, eax
je 0x403611
mov edx, dword [ebp + 0x14]
mov eax, dword [0x6f6044]
cmp edx, eax
je 0x403611
mov edx, dword [ebp + 0x14]
mov eax, dword [0x6f6050]
cmp edx, eax
jne 0x40364e
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.GDI32.dll_SetBkMode
sub esp, 8
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.GDI32.dll_SetTextColor
sub esp, 8
mov dword [esp], 5
call sub.GDI32.dll_GetStockObject
sub esp, 4
jmp 0x403690
mov eax, 1
jmp 0x403690
mov eax, dword [0x6f6034]
mov eax, dword [eax + 0xc]
cmp eax, dword [ebp + 8]
jne 0x40366c
mov eax, 0
jmp 0x403690
nop
jmp 0x40366d
nop
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_DefWindowProcW
sub esp, 0x10
jmp 0x40369a
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10