Function at 0x10065da8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100beb49
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x1010f048]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.10065646
cmp dword [ebx + 0x1c], 0
mov esi, eax
mov eax, dword [esi + 8]
sete cl
test cl, cl
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
jne 0x10065dfb
push 3
pop eax
jmp fcn.1000bbb8
mov dword [ebx + 0x1c], eax
mov al, byte [ebx + 0x31]
xor edx, edx
test al, al
setne dl
lea ecx, [esi + 0xb8]
inc edx
cmp dword [ecx + 0x24], edx
je 0x10065e25
xor eax, eax
cmp eax, fcn.10065255
mov dword [ecx + 0x24], edx
je 0x10065e25
call fcn.10065255
mov ecx, dword [ebx + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebx + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0xc], ecx
lea eax, [esp + 0x44]
mov dword [esp + 0x2c], esp
push eax
call fcn.100117c9
mov esi, eax
lea edi, [esp + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0x14
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call dword [eax + 0x28]
lea esi, [edi + 0xb8]
push fcn.10073e5b
push esi
lea eax, [ebx + 0x20]
lea ecx, [esi + 0x14]
call fcn.100651ff
mov al, byte [ebx + 0x30]
cmp byte [esi + 0x2a], al
pop ecx
pop ecx
je 0x10065ea0
mov byte [esi + 0x2a], al
xor eax, eax
cmp eax, fcn.10030489
je 0x10065ea0
mov ecx, esi
call fcn.10030489
cmp dword [ebx + 0x38], 0
je 0x10065efa
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov ecx, dword [ebx + 0x38]
test ecx, ecx
jne 0x10065ec8
lea eax, [esp + 0x44]
push eax
call fcn.1000df41
and dword [esp + 0x78], 0
push eax
call fcn.1000df04
push eax
lea eax, [ebx + 0x40]
push eax
call dword [ecx + 4]
pop ecx
pop ecx
mov ecx, dword [esi + 0x2c]
cmp eax, ecx
mov dword [esp + 0x14], eax
je 0x10065ee7
test ecx, ecx
je 0x10065ee7
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x14]
mov ecx, eax
test ecx, ecx
mov dword [esi + 0x2c], eax
je 0x10065efa
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov eax, dword [ebx + 0x18]
push 2
push eax
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
push dword [esp + 0x1c]
call fcn.1001699a
sub esp, 0x18
lea eax, [ebx + 0xb8]
mov esi, esp
mov dword [esp + 0x3c], esp
call fcn.1003ad4a
sub esp, 0x20
mov dword [esp + 0xb8], 1
lea eax, [ebx + 0x98]
mov esi, esp
mov dword [esp + 0x58], esp
call fcn.1003ad4a
sub esp, 0x20
mov byte [esp + 0xd8], 2
lea eax, [ebx + 0x78]
mov esi, esp
mov dword [esp + 0x74], esp
call fcn.1003ad4a
sub esp, 0x20
lea eax, [ebx + 0x58]
mov esi, esp
mov byte [esp + 0xf8], 3
mov dword [esp + 0xa0], esp
call fcn.1003ad4a
mov eax, dword [edi]
or dword [esp + 0xf8], 0xffffffff
mov ecx, edi
call dword [eax + 0x2c]
push 4
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, edi
call fcn.10064ec6
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret