Function at 0x418950
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47798e
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x49f008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xf
push 0x3ee
call fcn.00418880
mov eax, dword [esi + 0x50]
mov edi, 0x1c
cmp dword [eax - 0xc], 0
je 0x4189ab
push 0xc
push 0x3ee
mov ecx, esi
call fcn.00418880
mov edi, dword [esi + 0x4c]
add edi, 0x19
mov eax, dword [esi + 0x54]
cmp dword [eax - 0xc], 0
je 0x418a02
push 0xc
push 0x3ee
mov ecx, esi
call fcn.00418880
mov eax, dword [esi + 0x50]
mov edi, 0x19
cmp dword [eax - 0xc], 0
je 0x4189d6
mov edi, dword [esi + 0x4c]
add edi, 0x19
push edi
push 0x3fc
mov ecx, esi
call fcn.00418880
push dword [esi + 0x54]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fc
push dword [esi + 4]
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
add edi, 0xa
jmp 0x418a1b
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fc
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add edi, 0xa
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea ecx, [eax - 0xf]
xor eax, eax
test ecx, ecx
cmovns eax, ecx
mov ecx, esi
push eax
push 0x419
call fcn.00418880
push edi
push 0x3fd
mov ecx, esi
call fcn.00418880
add edi, 5
mov ecx, esi
push edi
push 0x3fb
call fcn.00418880
push edi
push 0x421
mov ecx, esi
call fcn.00418880
mov eax, dword [0x4a2004]
add edi, 0x13
test al, 1
jne 0x418a8c
or eax, 1
mov dword [0x4a2004], eax
call fcn.00409740
push 0x47b450
call fcn.0044e3dd
add esp, 4
mov eax, dword [0x4a2010]
test eax, eax
je 0x418a9e
cmp dword [eax + 0x5f8], 0
jne 0x418aab
push edi
push 0x41a
mov ecx, esi
call fcn.00418880
add edi, 0xd
cmp dword [esi + 0x18], 0
je 0x418ad6
push edi
push 0x3eb
mov ecx, esi
call fcn.00418880
lea eax, [edi + 2]
mov ecx, esi
push eax
push 0x3ea
call fcn.00418880
add edi, 0xf
jmp 0x418afc
push 0x3eb
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ea
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add edi, 2
mov ecx, esi
push edi
push 0x41d
call fcn.00418880
add edi, 0x32
mov ecx, esi
push edi
push 0x3f8
call fcn.00418880
push edi
push 0x3f4
mov ecx, esi
call fcn.00418880
push edi
push 0x420
mov ecx, esi
call fcn.00418880
push edi
push 0x3f9
mov ecx, esi
call fcn.00418880
add edi, 0xf
cmp dword [esi + 0x28], 0
je 0x418b6b
push edi
push 0x3f5
mov ecx, esi
call fcn.00418880
push edi
push 0x3fa
mov ecx, esi
call fcn.00418880
add edi, 0xf
jmp 0x418b91
push 0x3f5
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3fa
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x10], 0
je 0x418cb0
cmp dword [esi + 0x28], 0
je 0x418bc0
push edi
push 0x402
mov ecx, esi
call fcn.00418880
push edi
push 0x403
mov ecx, esi
call fcn.00418880
add edi, 0xf
jmp 0x418be6
push 0x402
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x403
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x2c], 0
je 0x418c11
cmp dword [esi + 0x28], 0
je 0x418c11
push edi
push 0x3f6
mov ecx, esi
call fcn.00418880
push edi
push 0x3ff
mov ecx, esi
call fcn.00418880
add edi, 0xf
jmp 0x418c37
push 0x3f6
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ff
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x30], 0
je 0x418c62
cmp dword [esi + 0x28], 0
je 0x418c62
push edi
push 0x3f7
mov ecx, esi
call fcn.00418880
push edi
push 0x400
mov ecx, esi
call fcn.00418880
add edi, 0xf
jmp 0x418c88
push 0x3f7
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x400
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 0x3f2
mov ecx, esi
call fcn.00418880
push 0x3fe
push dword [esi + 4]
add edi, 0x2f
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x418d42
push 0x402
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x403
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f6
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ff
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f7
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x400
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f2
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 0x3fe
mov ecx, esi
call fcn.00418880
add edi, 5
mov ecx, esi
push edi
push 0x41b
call fcn.00418880
push edi
push 1
mov ecx, esi
call fcn.00418880
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [esi + 4]
add edi, 0x10
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x3c], edi
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_MapDialogRect]
lea eax, [ebp - 0x30]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x20]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
add eax, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x20]
push 0x16
push eax
push ecx
push 0
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor eax, eax
cmp dword [esi + 0xc], eax
push 0
setne al
push eax
push 0xf1
push 0x41b
push dword [esi + 4]
call edi
mov eax, dword [0x4a2004]
test al, 1
jne 0x418e11
or eax, 1
mov dword [0x4a2004], eax
call fcn.00409740
push 0x47b450
call fcn.0044e3dd
mov eax, dword [0x4a2004]
add esp, 4
mov ecx, dword [0x4a2010]
test ecx, ecx
je 0x418e29
cmp byte [0x4a201c], 0
jne 0x418e29
mov edx, dword [ecx + 4]
jmp 0x418e2e
mov edx, 0x2b
test dl, 8
je 0x418e64
push 0
push 0
push 0xf1
push 0x41b
push dword [esi + 4]
call edi
push 0
push 0x41b
push dword [esi + 4]
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4a2004]
mov ecx, dword [0x4a2010]
test al, 1
jne 0x418e88
or eax, 1
mov dword [0x4a2004], eax
call fcn.00409740
push 0x47b450
call fcn.0044e3dd
mov ecx, dword [0x4a2010]
add esp, 4
test ecx, ecx
je 0x418e91
mov edi, dword [ecx + 0x30]
jmp 0x418e93
xor edi, edi
mov eax, dword [0x4a2160]
test al, 1
jne 0x418ed6
or eax, 1
mov dword [0x4a2160], eax
mov dword [ebp - 4], 0
mov dword [0x4a2158], 0
mov dword [0x4a215c], 0
call fcn.00428b80
push 0x47b4b0
mov dword [0x4a2158], eax
call fcn.0044e3dd
add esp, 4
push edi
mov ecx, 0x4a2158
call fcn.004283b0
test eax, eax
je 0x418ef8
push 0
push 0x41b
push dword [esi + 4]
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044df7a
mov esp, ebp
pop ebp
ret