Function at 0x41996b
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 0x419d0b
push dword [esi + 0x330]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x419d0b
push 0x7dd9
lea eax, [ebp - 4]
call fcn.00401692
mov eax, dword [eax]
pop ecx
push 0
mov edx, eax
mov ecx, esi
call fcn.0048e2c9
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x4199c4
push eax
call fcn.004013b2
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.00401692
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 [0x51b43c]
je 0x419a30
push eax
call fcn.004013b2
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.0040778e
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.00401692
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.0041a3ac
mov eax, dword [ebp - 8]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x419ad9
push eax
call fcn.004013b2
push 1
push dword [ebp - 4]
push dword [ebp - 0xc]
call fcn.00410b86
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.00401692
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.0041a3ac
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x419b48
push eax
call fcn.004013b2
mov eax, dword [ebp + 8]
push 1
push dword [ebp - 4]
add eax, 0x32c
push eax
call fcn.00410b86
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.00401692
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.0041a3ac
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x419bba
push eax
call fcn.004013b2
mov eax, dword [ebp + 8]
push 1
push dword [ebp - 4]
add eax, 0x334
push eax
call fcn.00410b86
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.00401692
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.0041a3ac
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff4
cmp eax, dword [0x51b43c]
je 0x419c2d
push eax
call fcn.004013b2
push 1
push dword [ebp - 4]
push edi
call fcn.00410b86
cmp dword [esi + 0x340], 0
jne 0x419c87
push dword [esi + 0x334]
call fcn.0041a7b4
test eax, eax
pop ecx
je 0x419c63
push 0xc0c0c0
push 0
push 0x412
push eax
call fcn.0041b11d
push dword [edi]
call fcn.0041a7b4
test eax, eax
pop ecx
je 0x419cf3
push 0xc0c0c0
push 0
push 0x415
push eax
call fcn.0041b11d
jmp 0x419cf3
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 [0x51b438]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x64]
push dword [eax + 4]
lea eax, [ebp - 4]
push 0x816d
push eax
call fcn.00405ae3
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 [0x51b43c]
je 0x419cf3
push eax
call fcn.004013b2
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push ebx
call fcn.00410ba1
xor ecx, ecx
mov eax, esi
call fcn.00419255
mov esi, dword [ebp + 8]
push dword [ebp + 0x14]
mov eax, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0041a936
pop edi
pop esi
pop ebx
leave
ret 0x10