Function at 0x10199680
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x101f2568
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esi + 4]
and eax, 0xff3fffff
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x101996de
or eax, 0xffffffff
jmp 0x10199941
mov edx, dword [ecx]
mov edx, dword [edx + 0x128]
lea eax, [esi + 0x2c]
push eax
lea eax, [esp + 0x18]
push eax
call edx
mov dword [esp + 0x48], 0
mov edi, dword [eax]
cmp dword [esi + 0x34], edi
je 0x1019971d
test edi, edi
je 0x1019970c
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x1019971a
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esi + 0x34], edi
or edi, 0xffffffff
mov dword [esp + 0x48], edi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10199733
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x1019993f
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x18]
push edx
call eax
mov dword [esp + 0x48], 1
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x10199776
mov dword [esp + 0x48], edi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1019993f
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
jmp 0x1019993f
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x14], ebp
je 0x1019992c
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1019992c
mov ecx, dword [esi + 0x34]
mov edx, dword [ecx]
mov edx, dword [edx + 0x64]
lea eax, [esp + 0x20]
push eax
call edx
mov byte [esp + 0x48], 2
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x101997bd
lea eax, [esp + 0x24]
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esi + 0x458], 0
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
jne 0x101997fe
push 0
push 0xc
call edi
push eax
push 0xb
call edi
push eax
push 1
push 0x64
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call ebx
mov dword [esi + 0x458], eax
mov eax, dword [esi + 0x458]
test eax, eax
je 0x1019981a
mov ecx, dword [esi + 4]
push eax
push 1
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x45c], 0
jne 0x10199846
mov ebp, dword [0x102a95d4]
push 0
push 0x32
call edi
push eax
push 0x31
call edi
push eax
push 1
push 0x7c
push ebp
call ebx
mov ebp, dword [esp + 0x14]
mov dword [esi + 0x45c], eax
mov eax, dword [esi + 0x45c]
test eax, eax
je 0x10199862
mov edx, dword [esi + 4]
push eax
push 0
push 0x80
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x34]
mov edx, dword [ecx]
push eax
push eax
mov eax, dword [edx + 0x48]
call eax
mov ecx, dword [esi + 4]
push ecx
push ebp
call dword [sym.imp.USER32.dll_SetParent]
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push eax
mov eax, dword [esi + 0x2c]
push eax
mov eax, dword [esi + 0x30]
push eax
call edx
mov ecx, esi
call fcn.10198770
mov eax, esi
call fcn.101995e0
mov ecx, esi
call fcn.10199180
mov eax, dword [esi + 0x46c]
sub eax, dword [esi + 0x464]
mov ecx, dword [esi + 0x468]
sub ecx, dword [esi + 0x460]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
push edx
lea eax, [esp + 0x20]
push eax
push esi
mov dword [esp + 0x28], ecx
call fcn.1019a840
mov ecx, dword [esi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 0
push 0x12c
push 0x3e8
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [esi + 0x454], 1
mov byte [esp + 0x48], 1
lea ecx, [esp + 0x20]
call fcn.10001dd0
mov dword [esp + 0x48], 0xffffffff
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10199928
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
xor eax, eax
jmp 0x10199941
mov dword [esp + 0x48], edi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1019993f
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov eax, edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101d19cc
add esp, 0x3c
ret