Function at 0x10379ed
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
cmp dword [ebp + 0xc], 1
push ebx
mov ebx, ecx
je 0x1037b3d
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1037b3d
push esi
push edi
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xe
pop eax
sub eax, dword [ebx + 0x38]
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
sub dword [ebp - 8], 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
push 0xfffffffffffffff0
push dword [ebx + 0x138]
add eax, 0xffffffd0
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x10], 0xa
call esi
mov edi, 0x10000000
test edi, eax
je 0x1037984
push dword [ebp + 0xc]
lea ecx, [ebx + 0x134]
call fcn.0103f57c
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1037b3b
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebx + 0x134]
push eax
push dword [ebp - 0x18]
call fcn.01028c77
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 0xc], eax
push 0xfffffffffffffff0
push dword [ebx + 0x50]
call esi
test edi, eax
je 0x10379cd
push dword [ebp + 0xc]
lea ecx, [ebx + 0x4c]
call fcn.0103f57c
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1037b3b
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebx + 0x4c]
push eax
push dword [ebp - 0x18]
call fcn.01028c77
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 0xc], eax
push 0xfffffffffffffff0
push dword [ebx + 0x220]
call esi
test edi, eax
je 0x1037a1f
push dword [ebp + 0xc]
lea ecx, [ebx + 0x21c]
call fcn.0103f57c
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1037b3b
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebx + 0x21c]
push eax
push dword [ebp - 0x18]
call fcn.01028c77
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 0xc], eax
push 0xfffffffffffffff0
push dword [ebx + 0x308]
call esi
test edi, eax
je 0x1037a71
push dword [ebp + 0xc]
lea ecx, [ebx + 0x304]
call fcn.0102d703
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1037b3b
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebx + 0x304]
push eax
push dword [ebp - 0x18]
call fcn.01028c77
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 0xc], eax
push 0xfffffffffffffff0
push dword [ebx + 0x5a8]
call esi
test edi, eax
je 0x1037abf
push dword [ebp + 0xc]
lea esi, [ebx + 0x5a4]
mov ecx, esi
call fcn.010423b1
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1037b3b
push 1
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp - 0x18]
call fcn.01028c77
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
lea ecx, [ebx + 0x8b8]
call fcn.01040511
mov ecx, dword [ebx + 0x38]
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc]
lea edx, [ecx + eax]
add edx, esi
lea edi, [edx + 0xe]
cmp edi, dword [ebp - 0x14]
jle 0x1037af8
add eax, esi
mov dword [ebp - 0x24], eax
lea eax, [ecx + eax + 0xe]
mov dword [ebx + 0x30], eax
jmp 0x1037b14
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff2
mov esi, ecx
sub esi, eax
cmp ecx, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], esi
jl 0x1037b14
and dword [ebx + 0x30], 0
and dword [ebx + 0x38], 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1037b3b
push 1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebx + 0x8b8]
push eax
push dword [ebp - 0x18]
call fcn.01028c77
and dword [ebx + 0x2c], 0
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10