Function at 0x413300
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov eax, dword [ecx + 0x40]
push edi
push ebp
mov esi, ecx
push 0x81000000
mov edi, dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xfffffffffffffff0
push eax
call edi
push 8
mov ecx, dword [esi + 0x40]
push 0xffffffffffffffec
push ecx
call edi
push 1
mov eax, dword [esi + 0x40]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x40]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
push 0
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call edi
push eax
push 0
call edi
push eax
mov ecx, dword [esi + 0x40]
push 0
lea ebx, [esi + 0xd0c]
push 0
push ecx
lea edi, [esi + 0x89c]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x898]
push 0
push edi
mov dword [ebx], 0x6c
mov dword [esi + 0xd10], 1
mov dword [esi + 0xd74], 0x200
push ebx
mov ebp, dword [eax]
push eax
call dword [ebp + 0x18]
test eax, eax
mov eax, dword [edi]
je 0x4133e2
test eax, eax
je 0x41339f
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [esi + 0x8a0]
test eax, eax
je 0x4133af
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [esi + 0x8a4]
test eax, eax
je 0x4133bf
push eax
mov eax, dword [eax]
call dword [eax + 8]
xor eax, eax
pop ebp
mov dword [esi + 0x8a0], 0
mov dword [esi + 0x8a4], 0
mov dword [edi], 0
pop edi
pop esi
pop ebx
ret 8
push ebx
mov ebp, dword [eax]
push eax
call dword [ebp + 0x58]
test eax, eax
je 0x41343c
mov eax, dword [edi]
test eax, eax
je 0x4133f9
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [esi + 0x8a0]
test eax, eax
je 0x413409
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [esi + 0x8a4]
test eax, eax
je 0x413419
push eax
mov eax, dword [eax]
call dword [eax + 8]
xor eax, eax
pop ebp
mov dword [esi + 0x8a0], 0
mov dword [esi + 0x8a4], 0
mov dword [edi], 0
pop edi
pop esi
pop ebx
ret 8
mov eax, dword [esi + 0xd60]
mov ebp, 8
mov ecx, dword [esi + 0xd58]
test cl, 0x40
je 0x41349e
cmp eax, 8
mov ebp, eax
ja 0x41345e
mov ebp, 8
cmp ebp, 0x20
jb 0x413468
mov ebp, 0x20
test ah, 4
je 0x413472
mov ebp, 0x10
test ah, 2
je 0x41347c
mov ebp, 0x18
test ah, 1
je 0x413486
mov ebp, 0x20
mov eax, dword [esi + 0xd6c]
mov ecx, dword [esi + 0xd68]
push eax
mov edx, dword [esi + 0xd64]
push ecx
push edx
push ebp
jmp 0x4134a6
push 0
push 0
push 0
push 8
lea ecx, [esi + 0xca8]
call fcn.00411fa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
mov dword [esi + 0xd18], eax
mov eax, dword [esi + 0x898]
lea edx, [esi + 0x8a0]
push edx
mov dword [esi + 0xd14], ecx
mov dword [esi + 0xd10], 0x1007
mov dword [esi + 0xd74], 0x840
push ebx
push eax
mov ebx, dword [eax]
call dword [ebx + 0x18]
test eax, eax
je 0x413542
mov eax, dword [edi]
test eax, eax
je 0x4134ff
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [esi + 0x8a0]
test eax, eax
je 0x41350f
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [esi + 0x8a4]
test eax, eax
je 0x41351f
push eax
mov eax, dword [eax]
call dword [eax + 8]
xor eax, eax
pop ebp
mov dword [esi + 0x8a0], 0
mov dword [esi + 0x8a4], 0
mov dword [edi], 0
pop edi
pop esi
pop ebx
ret 8
cmp ebp, 8
jne 0x413608
mov eax, dword [esi + 0x898]
lea ebx, [esi + 0x8a4]
push 0
lea ecx, [esi + 0x8a8]
push ebx
push ecx
push 4
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
test eax, eax
mov eax, dword [edi]
je 0x4135b4
test eax, eax
je 0x413579
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [esi + 0x8a0]
test eax, eax
je 0x413589
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [ebx]
test eax, eax
je 0x413595
push eax
mov eax, dword [eax]
call dword [eax + 8]
xor eax, eax
pop ebp
mov dword [edi], 0
mov dword [ebx], 0
mov dword [esi + 0x8a0], 0
pop edi
pop esi
pop ebx
ret 8
mov ecx, dword [ebx]
mov ebp, dword [eax]
push ecx
push eax
call dword [ebp + 0x7c]
test eax, eax
je 0x413608
mov eax, dword [edi]
test eax, eax
je 0x4135cd
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [esi + 0x8a0]
test eax, eax
je 0x4135dd
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [ebx]
test eax, eax
je 0x4135e9
push eax
mov eax, dword [eax]
call dword [eax + 8]
xor eax, eax
pop ebp
mov dword [edi], 0
mov dword [ebx], 0
mov dword [esi + 0x8a0], 0
pop edi
pop esi
pop ebx
ret 8
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
ret 8