Function at 0x1017fdcd
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x4c
mov eax, dword [0x1023904c]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
push ebx
mov ebx, dword [esp + 0x60]
push ebp
mov ebp, dword [esp + 0x68]
and dword [ebp], 0
push esi
mov esi, dword [esp + 0x5c]
push edi
mov edi, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ebx
cmp eax, 0x22
ja 0x1017ff80
je 0x1017ff6d
push 2
pop ebp
sub eax, ebp
je 0x10180006
dec eax
je 0x1017ff63
sub eax, ebp
je 0x1017ff37
sub eax, ebp
je 0x1017ff6d
sub eax, 8
je 0x1017fee5
dec eax
je 0x1017fe4f
sub eax, 8
jne 0x10180054
push ecx
push esi
call fcn.100f1fb8
jmp 0x10180054
mov eax, dword [edi + 0x44]
test eax, eax
je 0x1017feae
and dword [esp + 0x14], 0
mov eax, dword [eax + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x1018006c
push eax
call dword [ecx]
test eax, eax
js 0x1017feae
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1017feae
and dword [esp + 0x10], 0
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
push ecx
call dword [eax + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, eax
test edx, edx
je 0x1017fe9e
and dword [esp + 0x14], 0
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
test ebx, ebx
js 0x1017feae
cmp word [esp + 0x10], 0
jne 0x10180038
push 0
push 0
push esi
mov byte [edi + 0x24], 0
call fcn.1002f24f
push 0
mov ecx, edi
call fcn.1000f686
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x1023a164]
mov ecx, edi
call fcn.1000f686
push eax
call dword [sym.imp.USER32.dll_SetParent]
jmp 0x10180054
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_BeginPaint]
mov ebx, eax
test ebx, ebx
je 0x10180038
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1017ff26
push 0
push ebx
push 0x27
push esi
call dword [sym.imp.USER32.dll_DefWindowProcA]
push 1
mov ecx, edi
call fcn.10180140
push eax
push 0
push ebp
push ebx
call dword [sym.imp.USER32.dll_DrawIcon]
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x10180038
cmp ecx, 1
je 0x10180054
movsx eax, word [esp + 0x12]
push 1
push eax
movsx eax, bx
push eax
push 0
push 0
mov ecx, edi
call fcn.1000f686
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x10180054
call fcn.100f12ad
jmp 0x10180054
mov ecx, edi
call fcn.1000f686
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x10180054
sub eax, 0x24
je 0x1018003d
sub eax, 0x13
je 0x1018002a
sub eax, 0x10
je 0x10180006
sub eax, 0x38
je 0x1018002d
sub eax, 0x191
je 0x1017ffe6
sub eax, 0x12
je 0x1017ffb9
sub eax, 0xe21
jne 0x10180054
jmp 0x1017ffd3
cmp ebx, esi
jne 0x10180054
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [0x1023a164]
jne 0x10180054
push 0
push 0
push 0x1043
mov ecx, edi
call fcn.1000f686
push eax
jmp 0x1017fffe
mov eax, 0x204
cmp ax, cx
jne 0x10180054
push 0
push esi
push 0x222
push dword [0x1023a16c]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x10180054
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x20], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
lea eax, [esp + 0x34]
push eax
lea eax, [edi + 0x28]
push eax
call fcn.100f09b0
jmp 0x10180054
xor ecx, ecx
inc ecx
push ecx
mov ecx, edi
call fcn.10180140
mov dword [ebp], eax
xor eax, eax
inc eax
jmp 0x10180056
push 0x20
call fcn.1000f69a
mov esi, eax
push 0xf
add esi, esi
call fcn.1000f69a
add eax, esi
mov dword [ebx + 0x18], eax
xor eax, eax
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10001e57
add esp, 0x4c
ret 0x14