Function at 0x10037d50
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x24
mov eax, dword [0x10126a94]
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.100b8d28
push esi
mov ebp, eax
call fcn.10038820
push 0x100facec
push esi
call fcn.10038b10
movd xmm0, dword [esp + 0x30]
add esp, 0xc
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push esi
call fcn.10038af0
push 0xfffffffffffffffd
push esi
call fcn.10038d30
push 0x100f672c
push esi
call fcn.10038b10
movd xmm0, dword [esp + 0x3c]
add esp, 0x14
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push esi
call fcn.10038af0
push 0xfffffffffffffffd
push esi
call fcn.10038d30
push str.width
push esi
call fcn.10038b10
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.10038af0
push 0xfffffffffffffffd
push esi
call fcn.10038d30
push str.height
push esi
call fcn.10038b10
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.10038af0
push 0xfffffffffffffffd
push esi
call fcn.10038d30
push str.title
push esi
call fcn.10038b10
add esp, 0x18
test ebp, ebp
je 0x10037e90
push dword [esp + 0x18]
push ebp
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x10037e90
push dword [esp + 0x1c]
push ebp
push esi
call fcn.10038a90
add esp, 0xc
jmp 0x10037e9e
push 0x100f5ba2
push esi
call fcn.10038b10
add esp, 8
push 0xfffffffffffffffd
push esi
call fcn.10038d30
push str.style
push esi
call fcn.10038b10
push esi
call fcn.10038820
add esp, 0x14
mov edi, 0x1012410c
nop
push dword [edi - 4]
push esi
call fcn.10038b10
mov eax, dword [edi]
xor ecx, ecx
and eax, ebx
cmp eax, dword [edi]
sete cl
push ecx
push esi
call fcn.100389a0
push 0xfffffffffffffffd
push esi
call fcn.10038d30
add edi, 8
add esp, 0x18
cmp edi, 0x101241e4
jl 0x10037ec0
push 0xfffffffffffffffd
push esi
call fcn.10038d30
mov eax, dword [esp + 0x18]
push 1
push str.WindowUpdating
push 0
push esi
push dword [eax + 0x14]
call fcn.1002cc80
add esp, 0x1c
test eax, eax
je 0x10037f45
push 0xfffffffffffffffe
push esi
call fcn.10038fc0
add esp, 8
test ebp, ebp
je 0x1003812d
push ebp
call fcn.100b8d0d
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100af7bb
add esp, 0x24
ret
push str.style
push esi
call fcn.10038b10
push 0xfffffffffffffffe
push esi
call fcn.10038c90
push 0xffffffffffffffff
push esi
call fcn.10039330
add esp, 0x18
cmp eax, 5
jne 0x10037fb8
xor ebx, ebx
mov edi, 0x1012410c
nop
push dword [edi - 4]
push esi
call fcn.10038b10
push 0xfffffffffffffffe
push esi
call fcn.10038c90
push 0xffffffffffffffff
push esi
call fcn.100390b0
add esp, 0x18
test eax, eax
je 0x10037f92
or ebx, dword [edi]
push 0xfffffffffffffffe
push esi
call fcn.10038fc0
add edi, 8
add esp, 8
cmp edi, 0x101241e4
jl 0x10037f70
mov edi, dword [esp + 0x14]
push ebx
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x10037fbc
mov edi, dword [esp + 0x14]
push 0xfffffffffffffffe
push esi
call fcn.10038fc0
add esp, 8
test ebp, ebp
je 0x10038011
push str.title
push esi
call fcn.10038b10
push 0xfffffffffffffffe
push esi
call fcn.10038c90
push 0xffffffffffffffff
push esi
call fcn.100386c0
add esp, 0x18
test eax, eax
je 0x10038000
push 0xffffffffffffffff
push esi
call fcn.10039220
add esp, 8
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0xfffffffffffffffe
push esi
call fcn.10038fc0
push ebp
call fcn.100b8d0d
add esp, 0xc
push 0x100facec
push esi
call fcn.10038b10
push 0xfffffffffffffffe
push esi
call fcn.10038c90
push 0x100f672c
push esi
call fcn.10038b10
push 0xfffffffffffffffd
push esi
call fcn.10038c90
push str.width
push esi
call fcn.10038b10
push 0xfffffffffffffffc
push esi
call fcn.10038c90
push str.height
push esi
call fcn.10038b10
push 0xfffffffffffffffb
push esi
call fcn.10038c90
add esp, 0x40
push 0xfffffffffffffffc
push esi
call fcn.10039100
fstp dword [esp + 0x18]
cvttss2si eax, dword [esp + 0x18]
push 0xfffffffffffffffd
push esi
mov dword [esp + 0x30], eax
call fcn.10039100
fstp dword [esp + 0x20]
cvttss2si eax, dword [esp + 0x20]
push 0xfffffffffffffffe
push esi
mov dword [esp + 0x3c], eax
call fcn.10039100
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.10039100
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.10038fc0
add esp, 8
cmp dword [esp + 0x40], 0
je 0x1003812d
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.100af7bb
add esp, 0x24
ret