Function at 0x413c73
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
cmp dword [ebp + 0x10], 1
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
jne 0x414013
push dword [esi + 0x330]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x414013
push 0x7dd9
lea eax, [ebp - 4]
call fcn.00408e92
mov eax, dword [eax]
pop ecx
push 0
mov edx, eax
mov ecx, esi
call fcn.0048136c
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x413ccc
push eax
call fcn.004013aa
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
lea ebx, [esi + 4]
push dword [ebx]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [ebx]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x3c]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
push dword [ebx]
call edi
mov dword [esi + 0x328], eax
push 8
lea eax, [ebp - 4]
call fcn.00408e92
pop ecx
push dword [eax]
push dword [esi + 0x328]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x413d38
push eax
call fcn.004013aa
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 0x328]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x2c]
mov edi, ebx
call fcn.0040af00
push 0
push 0
push 0x31
push dword [esi + 0x328]
call dword [sym.imp.USER32.dll_SendMessageW]
lea esi, [ebp - 0x2c]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x14]
sub esi, dword [ebp - 0x1c]
add eax, 0xfffffffa
mov dword [ebp - 0x14], eax
sub eax, esi
sub eax, 0xa
mov dword [ebp - 0x1c], eax
push 0x821c
lea eax, [ebp - 8]
call fcn.00408e92
pop ecx
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0xc], esp
push 0
mov dword [ecx], 0x82e
mov eax, dword [eax]
mov edi, 0x50000000
push edi
push eax
push ecx
mov eax, esp
lea ecx, [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], esp
push dword [ebx]
add eax, 0x330
push eax
mov dword [ebp - 0xc], eax
call fcn.004146a3
mov eax, dword [ebp - 8]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x413de1
push eax
call fcn.004013aa
push 1
push dword [ebp - 4]
push dword [ebp - 0xc]
call fcn.0040aec7
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffffa
mov dword [ebp - 0x14], eax
sub eax, esi
sub eax, 0xa
mov dword [ebp - 0x1c], eax
push 0x821d
lea eax, [ebp - 0xc]
call fcn.00408e92
pop ecx
push 0
push ecx
mov ecx, esp
mov dword [ebp - 8], esp
push 0
mov dword [ecx], 0x855
mov eax, dword [eax]
push edi
push eax
push ecx
mov eax, esp
lea ecx, [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 8], esp
push dword [ebx]
add eax, 0x32c
push eax
call fcn.004146a3
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x413e50
push eax
call fcn.004013aa
mov eax, dword [ebp + 8]
push 1
push dword [ebp - 4]
add eax, 0x32c
push eax
call fcn.0040aec7
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x24]
push 0x8217
mov dword [ebp - 0x1c], eax
add eax, esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
call fcn.00408e92
pop ecx
push 0
push ecx
mov ecx, esp
mov dword [ebp - 8], esp
push 0
mov dword [ecx], 0x835
mov eax, dword [eax]
push edi
push eax
push ecx
mov eax, esp
lea ecx, [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 8], esp
push dword [ebx]
add eax, 0x334
push eax
call fcn.004146a3
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x413ec2
push eax
call fcn.004013aa
mov eax, dword [ebp + 8]
push 1
push dword [ebp - 4]
add eax, 0x334
push eax
call fcn.0040aec7
mov eax, dword [ebp - 0x14]
add eax, 6
mov dword [ebp - 0x1c], eax
add eax, esi
mov dword [ebp - 0x14], eax
push 0x8218
lea eax, [ebp - 0xc]
call fcn.00408e92
mov esi, dword [ebp + 8]
pop ecx
push 0
push ecx
mov ecx, esp
mov dword [ebp - 8], esp
push 0
mov dword [ecx], 0x836
mov eax, dword [eax]
push edi
push eax
push ecx
mov eax, esp
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], esp
mov dword [eax], ecx
push dword [ebx]
lea edi, [esi + 0x338]
push edi
call fcn.004146a3
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x413f35
push eax
call fcn.004013aa
push 1
push dword [ebp - 4]
push edi
call fcn.0040aec7
cmp dword [esi + 0x340], 0
jne 0x413f8f
push dword [esi + 0x334]
call fcn.00414a31
test eax, eax
pop ecx
je 0x413f6b
push 0xc0c0c0
push 0
push 0x412
push eax
call fcn.00415309
push dword [edi]
call fcn.00414a31
test eax, eax
pop ecx
je 0x413ffb
push 0xc0c0c0
push 0
push 0x415
push eax
call fcn.00415309
jmp 0x413ffb
push 0
push dword [esi + 0x334]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x334]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4f0980]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x64]
push dword [eax + 4]
lea eax, [ebp - 4]
push 0x816d
push eax
call fcn.00405918
mov edi, dword [ebp - 4]
add esp, 0xc
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [edi - 0xc]
cmp eax, dword [0x4f0984]
je 0x413ffb
push eax
call fcn.004013aa
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push ebx
call fcn.0040af1e
xor ecx, ecx
mov eax, esi
call fcn.004135bc
mov esi, dword [ebp + 8]
push dword [ebp + 0x14]
mov eax, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00414ae4
pop edi
pop esi
pop ebx
leave
ret 0x10