Function at 0x10023530
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10027c4b
push eax
mov dword fs:[0], esp
sub esp, 0x418
push esi
mov esi, ecx
mov eax, dword [esi + 0x150]
test eax, eax
jne 0x1002393a
mov eax, dword [esi + 0x2bc]
test eax, eax
jg 0x1002393a
mov eax, dword [esi + 8]
push eax
call dword [fcn.100282e4]
test eax, eax
je 0x1002393a
mov eax, dword [esi + 0x21c]
test eax, eax
je 0x1002393a
push ebx
mov ebx, dword [esp + 0x430]
xor eax, eax
test ebx, ebx
sete al
test eax, eax
mov dword [esp + 0x1c], eax
je 0x100235ac
mov ecx, dword [esi + 8]
push ecx
call fcn.10009b70
mov ebx, eax
mov edx, dword [esi + 0x1d8]
mov eax, dword [esi + 0x1d0]
push ebp
push edi
mov edi, dword [esi + 0x1cc]
sub edx, eax
mov eax, dword [esi + 0x1d4]
push 0
sub eax, edi
push edx
push eax
push ebx
lea ecx, [esp + 0x20]
call fcn.1000fbf0
mov eax, dword [esp + 0x10]
lea edi, [esi + 0x2c8]
mov ebp, eax
mov dword [esp + 0x430], 0
mov dword [edi], eax
mov eax, dword [esi + 0x2b8]
test eax, eax
je 0x100236a3
mov ecx, dword [0x1002cd98]
mov eax, dword [esi + 0x21c]
add eax, 0x48
mov edx, dword [ecx + 0x10]
lea ecx, [esi + 0x1dc]
push edx
push eax
push ecx
push ebx
call fcn.1000b6e0
mov edx, dword [0x1002cd98]
mov ecx, dword [esi + 0x21c]
add ecx, 0x90
mov eax, dword [edx + 0x10]
lea edx, [esi + 0x1ec]
push eax
push ecx
push edx
push ebx
call fcn.1000b6e0
mov eax, dword [0x1002cd98]
mov edx, dword [esi + 0x21c]
add edx, 0xd8
mov ecx, dword [eax + 0x10]
lea eax, [esi + 0x1fc]
push ecx
push edx
push eax
push ebx
call fcn.1000b6e0
mov ecx, dword [0x1002cd98]
mov eax, dword [esi + 0x21c]
mov edx, dword [ecx + 0x10]
mov ecx, dword [esp + 0x40]
push edx
push eax
lea eax, [esi + 0x1cc]
push eax
push ecx
call fcn.1000b6e0
mov edx, dword [esi + 0x21c]
mov ecx, dword [esp + 0x50]
add esp, 0x40
mov eax, dword [edx + 0x820]
push eax
push ecx
jmp 0x1002374a
mov edx, dword [0x1002cd98]
mov ecx, dword [esi + 0x21c]
add ecx, 0x168
mov eax, dword [edx + 0x10]
lea edx, [esi + 0x1dc]
push eax
push ecx
push edx
push ebx
call fcn.1000b6e0
mov eax, dword [0x1002cd98]
mov edx, dword [esi + 0x21c]
add edx, 0x1b0
mov ecx, dword [eax + 0x10]
lea eax, [esi + 0x1ec]
push ecx
push edx
push eax
push ebx
call fcn.1000b6e0
mov ecx, dword [0x1002cd98]
mov eax, dword [esi + 0x21c]
add eax, 0x1f8
mov edx, dword [ecx + 0x10]
lea ecx, [esi + 0x1fc]
push edx
push eax
push ecx
push ebx
call fcn.1000b6e0
mov edx, dword [0x1002cd98]
mov ecx, dword [esi + 0x21c]
add ecx, 0x120
mov eax, dword [edx + 0x10]
mov edx, dword [esp + 0x40]
push eax
lea eax, [esi + 0x1cc]
push ecx
push eax
push edx
call fcn.1000b6e0
mov eax, dword [esi + 0x21c]
mov edx, dword [esp + 0x50]
add esp, 0x40
mov ecx, dword [eax + 0x824]
push ecx
push edx
call dword [sym.imp.GDI32.DLL_SetTextColor]
mov eax, dword [0x1002ef58]
mov ecx, dword [0x1002ef54]
mov edx, dword [0x1002ef4c]
push edi
push 0xff00ff
push eax
push ecx
push 0
push 0
push 0
nop
nop
nop
nop
nop
push eax
mov eax, dword [esi + 0x1b8]
push ecx
lea eax, [eax + edx - 0x10]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi + 0x1b4]
sub eax, ecx
sub eax, 0xc
push eax
push ebp
call fcn.1000b4c0
mov eax, dword [esi + 0x21c]
mov edi, 0x1002ded8
add esp, 0x30
cmp eax, edi
je 0x100238e4
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.10023070
cmp dword [esi + 0x21c], edi
je 0x100237e9
mov eax, dword [esi + 0x228]
lea edx, [esp + 0x28]
inc eax
push 0x400
mov dword [esi + 0x228], eax
mov eax, dword [esi + 8]
push edx
push eax
call dword [sym.imp.USER32.DLL_GetWindowTextA]
dec dword [esi + 0x228]
mov edx, dword [esi + 0x220]
test edx, edx
je 0x10023827
mov eax, dword [esi + 0x274]
mov edi, dword [esi + 0x27c]
mov ecx, dword [esi + 0x270]
push 3
push 0
sub edi, eax
push 0
push edi
mov edi, dword [esi + 0x278]
sub edi, ecx
push edi
push edx
push eax
push ecx
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.USER32.DLL_DrawIconEx]
jmp 0x10023853
mov eax, dword [esi + 0x21c]
cmp eax, 0x1002ce78
jne 0x10023853
mov edx, dword [0x1002cd98]
mov ecx, dword [edx + 0x1d8]
mov edx, dword [ecx + 0x60]
test edx, edx
jne 0x10023853
mov edx, dword [eax + 0x800]
mov dword [esi + 0x1ac], edx
mov eax, dword [esi + 0x21c]
mov edi, 0x40024
mov eax, dword [eax + 0x82c]
test eax, eax
je 0x1002387e
cmp eax, 1
jne 0x10023874
mov edi, 0x40025
jmp 0x1002387e
cmp eax, 2
jne 0x1002387e
mov edi, 0x40026
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x1002389b
mov ecx, esi
call fcn.100250c0
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.10023960
mov edx, dword [esp + 0x10]
push 1
push edx
call dword [sym.imp.GDI32.DLL_SetBkMode]
push 0
mov ecx, esi
call fcn.100120b0
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.GDI32.DLL_SelectObject]
lea ecx, [esi + 0x1ac]
push edi
push ecx
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x30]
not ecx
dec ecx
push ecx
push edx
push eax
call dword [sym.imp.USER32.DLL_DrawTextA]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [esi + 0x1d0]
push edx
mov edx, dword [esi + 0x1cc]
push eax
push ecx
push edx
push ebx
call dword [sym.imp.GDI32.DLL_BitBlt]
mov eax, dword [esp + 0x24]
pop edi
test eax, eax
pop ebp
je 0x10023925
mov eax, dword [esi + 8]
push ebx
push eax
call fcn.10009ba0
lea ecx, [esp + 8]
mov dword [esp + 0x428], 0xffffffff
call fcn.1000fc70
pop ebx
mov ecx, dword [esp + 0x41c]
pop esi
mov dword fs:[0], ecx
add esp, 0x424
ret 4