Function at 0x419ed7
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 0x41a277
push dword [esi + 0x330]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41a277
push 0x7dd9
lea eax, [ebp - 4]
call fcn.004017db
mov eax, dword [eax]
pop ecx
push 0
mov edx, eax
mov ecx, esi
call fcn.0048dd4e
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x419f30
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.004017db
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 [0x51a43c]
je 0x419f9c
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.00407c79
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.004017db
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.0041a907
mov eax, dword [ebp - 8]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x41a045
push eax
call fcn.004013aa
push 1
push dword [ebp - 4]
push dword [ebp - 0xc]
call fcn.0041103a
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.004017db
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.0041a907
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x41a0b4
push eax
call fcn.004013aa
mov eax, dword [ebp + 8]
push 1
push dword [ebp - 4]
add eax, 0x32c
push eax
call fcn.0041103a
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.004017db
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.0041a907
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x41a126
push eax
call fcn.004013aa
mov eax, dword [ebp + 8]
push 1
push dword [ebp - 4]
add eax, 0x334
push eax
call fcn.0041103a
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.004017db
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.0041a907
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x41a199
push eax
call fcn.004013aa
push 1
push dword [ebp - 4]
push edi
call fcn.0041103a
cmp dword [esi + 0x340], 0
jne 0x41a1f3
push dword [esi + 0x334]
call fcn.0041ac95
test eax, eax
pop ecx
je 0x41a1cf
push 0xc0c0c0
push 0
push 0x412
push eax
call fcn.0041b508
push dword [edi]
call fcn.0041ac95
test eax, eax
pop ecx
je 0x41a25f
push 0xc0c0c0
push 0
push 0x415
push eax
call fcn.0041b508
jmp 0x41a25f
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 [0x51a438]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x64]
push dword [eax + 4]
lea eax, [ebp - 4]
push 0x816d
push eax
call fcn.00406068
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 [0x51a43c]
je 0x41a25f
push eax
call fcn.004013aa
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push ebx
call fcn.00411055
xor ecx, ecx
mov eax, esi
call fcn.004197c1
mov esi, dword [ebp + 8]
push dword [ebp + 0x14]
mov eax, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0041aa31
pop edi
pop esi
pop ebx
leave
ret 0x10