Function at 0x10037160
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x24
mov eax, dword [0x10125a94]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
mov edi, dword [esp + 0x3c]
push 0xfffffffffffffff0
push edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp + 4]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [esp + 0x1c], eax
inc eax
push eax
mov dword [esp + 0x1c], eax
call fcn.100b8158
push esi
mov ebp, eax
call fcn.10037c30
push 0x100f9b84
push esi
call fcn.10037f20
movd xmm0, dword [esp + 0x30]
add esp, 0xc
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push esi
call fcn.10037f00
push 0xfffffffffffffffd
push esi
call fcn.10038140
push 0x100f56ec
push esi
call fcn.10037f20
movd xmm0, dword [esp + 0x3c]
add esp, 0x14
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push esi
call fcn.10037f00
push 0xfffffffffffffffd
push esi
call fcn.10038140
push str.width
push esi
call fcn.10037f20
mov eax, dword [esp + 0x40]
add esp, 0x14
sub eax, dword [esp + 0x24]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push esi
call fcn.10037f00
push 0xfffffffffffffffd
push esi
call fcn.10038140
push str.height
push esi
call fcn.10037f20
mov eax, dword [esp + 0x44]
add esp, 0x14
sub eax, dword [esp + 0x28]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push esi
call fcn.10037f00
push 0xfffffffffffffffd
push esi
call fcn.10038140
push str.title
push esi
call fcn.10037f20
add esp, 0x18
test ebp, ebp
je 0x100372a0
push dword [esp + 0x18]
push ebp
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x100372a0
push dword [esp + 0x1c]
push ebp
push esi
call fcn.10037ea0
add esp, 0xc
jmp 0x100372ae
push 0x100f4b5a
push esi
call fcn.10037f20
add esp, 8
push 0xfffffffffffffffd
push esi
call fcn.10038140
push str.style
push esi
call fcn.10037f20
push esi
call fcn.10037c30
add esp, 0x14
mov edi, 0x1012310c
nop
push dword [edi - 4]
push esi
call fcn.10037f20
mov eax, dword [edi]
xor ecx, ecx
and eax, ebx
cmp eax, dword [edi]
sete cl
push ecx
push esi
call fcn.10037db0
push 0xfffffffffffffffd
push esi
call fcn.10038140
add edi, 8
add esp, 0x18
cmp edi, 0x101231e4
jl 0x100372d0
push 0xfffffffffffffffd
push esi
call fcn.10038140
mov eax, dword [esp + 0x18]
push 1
push str.WindowUpdating
push 0
push esi
push dword [eax + 0x14]
call fcn.1002c5e0
add esp, 0x1c
test eax, eax
je 0x10037355
push 0xfffffffffffffffe
push esi
call fcn.100383d0
add esp, 8
test ebp, ebp
je 0x1003753d
push ebp
call fcn.100b813d
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100aebeb
add esp, 0x24
ret
push str.style
push esi
call fcn.10037f20
push 0xfffffffffffffffe
push esi
call fcn.100380a0
push 0xffffffffffffffff
push esi
call fcn.10038740
add esp, 0x18
cmp eax, 5
jne 0x100373c8
xor ebx, ebx
mov edi, 0x1012310c
nop
push dword [edi - 4]
push esi
call fcn.10037f20
push 0xfffffffffffffffe
push esi
call fcn.100380a0
push 0xffffffffffffffff
push esi
call fcn.100384c0
add esp, 0x18
test eax, eax
je 0x100373a2
or ebx, dword [edi]
push 0xfffffffffffffffe
push esi
call fcn.100383d0
add edi, 8
add esp, 8
cmp edi, 0x101231e4
jl 0x10037380
mov edi, dword [esp + 0x14]
push ebx
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x100373cc
mov edi, dword [esp + 0x14]
push 0xfffffffffffffffe
push esi
call fcn.100383d0
add esp, 8
test ebp, ebp
je 0x10037421
push str.title
push esi
call fcn.10037f20
push 0xfffffffffffffffe
push esi
call fcn.100380a0
push 0xffffffffffffffff
push esi
call fcn.10037ad0
add esp, 0x18
test eax, eax
je 0x10037410
push 0xffffffffffffffff
push esi
call fcn.10038630
add esp, 8
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0xfffffffffffffffe
push esi
call fcn.100383d0
push ebp
call fcn.100b813d
add esp, 0xc
push 0x100f9b84
push esi
call fcn.10037f20
push 0xfffffffffffffffe
push esi
call fcn.100380a0
push 0x100f56ec
push esi
call fcn.10037f20
push 0xfffffffffffffffd
push esi
call fcn.100380a0
push str.width
push esi
call fcn.10037f20
push 0xfffffffffffffffc
push esi
call fcn.100380a0
push str.height
push esi
call fcn.10037f20
push 0xfffffffffffffffb
push esi
call fcn.100380a0
add esp, 0x40
push 0xfffffffffffffffc
push esi
call fcn.10038510
fstp dword [esp + 0x18]
cvttss2si eax, dword [esp + 0x18]
push 0xfffffffffffffffd
push esi
mov dword [esp + 0x30], eax
call fcn.10038510
fstp dword [esp + 0x20]
cvttss2si eax, dword [esp + 0x20]
push 0xfffffffffffffffe
push esi
mov dword [esp + 0x3c], eax
call fcn.10038510
movd xmm0, dword [esp + 0x38]
cvtdq2ps xmm0, xmm0
push 0xffffffffffffffff
push esi
movss dword [esp + 0x30], xmm0
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
cvttss2si eax, dword [esp + 0x30]
mov dword [esp + 0x48], eax
call fcn.10038510
movd xmm0, dword [esp + 0x44]
add esp, 0x20
cvtdq2ps xmm0, xmm0
push 0
push ebx
movss dword [esp + 0x18], xmm0
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
cvttss2si eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
sub eax, edx
mov ecx, dword [esp + 0x20]
push 0x60
push eax
mov eax, dword [esp + 0x30]
sub eax, ecx
push eax
push edx
push ecx
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xfffffffffffffffa
push esi
call fcn.100383d0
add esp, 8
cmp dword [esp + 0x40], 0
je 0x1003753d
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100aebeb
add esp, 0x24
ret