Function at 0x100e1080
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [eax + 0x468]
push 0xc0
push 1
mov dword [ebp - 8], eax
call fcn.10091300
mov ebx, eax
add esp, 8
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x100e10c0
or eax, 0xffffffff
lea esp, [ebp - 0x23c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
push esi
mov dword [ebx], edi
mov dword [ebx + 4], esi
mov dword [ebx + 8], eax
call dword [sym.imp.USER32.dll_GetDC]
push 0xfffffffffffffffa
mov dword [ebx + 0xc], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowLongW]
push esi
mov dword [ebp - 4], eax
call eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x24], 0xffffffff
mov dword [ebx + 0x28], 0xffffffff
mov dword [ebx + 0xb4], eax
mov dword [ebx + 0x30], 1
mov eax, dword [edi + 0x4c]
push 0
push str.SDL_WINDOW_RETAIN_CONTENT
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0x78], 0xffffffff
call fcn.10088500
neg eax
push ebx
sbb eax, eax
and eax, 0xffffff00
add eax, 0x100
push 0x100e2170
push str.SDL_MOUSE_RELATIVE_MODE_CENTER
mov dword [ebx + 0xbc], eax
call fcn.100882b0
add esp, 0x14
mov dword [edi + 0xf0], ebx
push ebx
push str.SDL_WindowData
push esi
call dword [sym.imp.USER32.dll_SetPropW]
test eax, eax
jne 0x100e118d
push dword [ebx + 0xc]
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebx
call fcn.10091350
push str.SetProp___failed
call fcn.100d34b0
add esp, 8
lea esp, [ebp - 0x23c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xfffffffffffffffc
push esi
call dword [ebp - 4]
mov dword [ebx + 0x1c], eax
cmp eax, 0x100d67f0
jne 0x100e11a6
mov dword [ebx + 0x1c], 0
jmp 0x100e11b4
push 0x100d67f0
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
push esi
call dword [ebp - 4]
mov ebx, dword [edi + 0x38]
mov esi, eax
mov ecx, ebx
mov edx, esi
and ebx, 0xfffffff7
or ecx, 8
and edx, 0x10000000
cmove ebx, ecx
mov ecx, esi
mov eax, ebx
and ebx, 0xffffffef
or eax, 0x10
test esi, esi
cmovs ebx, eax
mov eax, ebx
or ebx, 0x20
and eax, 0xffffffdf
and ecx, 0x40000
mov ecx, esi
cmove ebx, eax
mov eax, ebx
or ebx, 0x80
and eax, 0xffffff7f
and ecx, 0x1000000
cmove ebx, eax
mov eax, ebx
or ebx, 0x40
and eax, 0xffffffbf
and esi, 0x20000000
mov esi, dword [ebp + 0x10]
cmove ebx, eax
mov dword [edi + 0x38], ebx
test bl, 0x40
jne 0x100e126e
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x100e126e
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x100e126e
test dword [edi + 0x38], 0x800
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ecx
je 0x100e13e5
mov dword [edi + 0x58], eax
mov dword [edi + 0x68], eax
mov dword [edi + 0x5c], ecx
mov dword [edi + 0x6c], ecx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x18], eax
mov ebx, dword [ebp + 8]
test byte [edi + 0x38], 0x40
jne 0x100e12b5
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push esi
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x100e12b5
test dword [edi + 0x38], 0x800
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
je 0x100e12af
mov dword [edi + 0x50], ecx
mov dword [edi + 0x60], ecx
mov dword [edi + 0x54], eax
mov dword [edi + 0x64], eax
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0xf0]
push edi
mov dword [ebp + 8], eax
call fcn.100c8eb0
add esp, 4
test eax, eax
je 0x100e1358
push 0
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_CreateDCW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100e1358
lea ecx, [ebp - 0x230]
mov dword [ebp - 0xc], 0x104
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetICMProfileW]
test eax, eax
je 0x100e134f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xac]
test ecx, ecx
je 0x100e1324
lea eax, [ebp - 0x230]
push eax
push ecx
call fcn.100baf60
add esp, 8
test eax, eax
je 0x100e134f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xac]
test eax, eax
je 0x100e1337
push eax
call fcn.10091350
add esp, 4
lea eax, [ebp - 0x230]
push eax
call fcn.100bafa0
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [ecx + 0xac], eax
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_DeleteDC]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
jne 0x100e1378
or dword [edi + 0x38], 0x200
push edi
call fcn.100904f0
push edi
call fcn.100e2d30
add esp, 8
push 0
push 0x13
push edi
call fcn.100e2980
mov eax, dword [ebp - 8]
add esp, 0xc
mov eax, dword [eax + 0x14]
test eax, eax
je 0x100e1394
push 3
push esi
call eax
cmp dword [ebx + 8], 0
je 0x100e13ad
cmp dword [edi + 0xfc], 0
jne 0x100e13ad
mov dword [ebx + 0xa4], 1
mov dword [ebx + 0x30], 0
test dword [edi + 0x38], 0x800
je 0x100e14b9
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 8], eax
lea eax, [eax*2 + 2]
cmp eax, 0x80
jae 0x100e1455
call fcn.100f7800
mov ecx, esp
mov dword [ebp + 8], ecx
jmp 0x100e1463
mov edx, dword [edi + 0x58]
test edx, edx
je 0x100e13f0
cmp edx, eax
jne 0x100e1403
mov edx, dword [edi + 0x5c]
test edx, edx
je 0x100e1268
cmp edx, ecx
je 0x100e1268
push 2
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.100e1520
mov ebx, dword [ebp + 8]
add esp, 0x18
mov eax, dword [ebx + 0xbc]
or eax, 0x214
mov dword [ebx + 0x34], 1
push eax
push dword [ebp - 4]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebx + 0x34], 0
jmp 0x100e1271
push eax
call fcn.10091380
add esp, 4
mov dword [ebp + 8], eax
mov ecx, eax
test ecx, ecx
je 0x100e14b9
mov eax, dword [ebp - 8]
inc eax
push eax
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp + 8]
test eax, eax
jle 0x100e149f
push esi
call fcn.100bb0d0
lea eax, [eax*2 + 2]
push eax
push esi
push str.UTF_16LE
push str.UTF_8
call fcn.10089410
add esp, 0x14
mov dword [edi + 8], eax
mov ecx, dword [ebp - 8]
lea eax, [ecx*2 + 2]
cmp eax, 0x80
jb 0x100e14b9
push esi
call fcn.10091350
add esp, 4
push edi
call fcn.100c9e90
push dword [ebx + 4]
mov esi, eax
push str.SDL.window.win32.hwnd
push esi
call fcn.10097080
push dword [ebx + 0xc]
push str.SDL.window.win32.hdc
push esi
call fcn.10097080
push dword [ebx + 0x14]
push str.SDL.window.win32.instance
push esi
call fcn.10097080
add esp, 0x28
xor eax, eax
lea esp, [ebp - 0x23c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret