Function at 0x4063e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
lea ebp, [esp - 0x478]
sub esp, 0x478
push 0xffffffffffffffff
push 0x45d401
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x48e0ec]
xor eax, ebp
mov dword [ebp + 0x474], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 8
push eax
mov dword [ebp - 0x18], 0x20
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
mov dword [ebp - 0x4c], 0x30
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0x4094e0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 1
push eax
mov dword [ebp - 0x38], eax
call esi
push 0x7f00
push 0
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 1
push dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x463170
call esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x4064b2
xor eax, eax
jmp 0x4067d5
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov word [0x48e074], 0
call esi
push 1
mov edi, eax
call esi
mov ecx, eax
lea eax, [edi - 0x190]
cdq
sub eax, edx
mov esi, eax
lea eax, [ecx - 0x64]
sar esi, 1
cdq
sub eax, edx
mov dword [ebp], esi
sar eax, 1
mov dword [ebp + 4], eax
lea ecx, [esi + 0x190]
add eax, 0x64
mov dword [ebp + 8], ecx
push 0
mov dword [ebp + 0xc], eax
lea eax, [ebp]
push 0x80c00000
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [ebp]
lea ecx, [ebp + 0x25c]
cdq
mov dword [0x48e088], eax
mov dword [0x48e078], eax
mov eax, dword [ebp + 4]
mov dword [0x48e08c], edx
mov dword [0x48e07c], edx
cdq
push 0x11
push 0x462a84
mov dword [0x48e090], eax
mov dword [0x48e094], edx
mov dword [0x48e080], eax
mov dword [0x48e084], edx
mov dword [ebp + 0x270], 0xf
mov dword [ebp + 0x26c], 0
mov byte [ebp + 0x25c], 0
call fcn.0040bf90
lea eax, [ebp + 0x25c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp + 0x244]
push eax
call fcn.00410aae
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x40658e
mov eax, dword [eax]
push 0x100
lea ecx, [ebp + 0x274]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov eax, dword [ebp + 0x258]
cmp eax, 0x10
jb 0x4065c8
inc eax
lea ecx, [ebp + 0x244]
push eax
push dword [ebp + 0x244]
call fcn.0040c280
mov eax, dword [ebp + 0x270]
mov dword [ebp + 0x258], 0xf
mov dword [ebp + 0x254], 0
mov byte [ebp + 0x244], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x406608
inc eax
lea ecx, [ebp + 0x25c]
push eax
push dword [ebp + 0x25c]
call fcn.0040c280
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 4]
sub eax, edx
mov ecx, dword [ebp]
push 0
push dword [ebp - 0x38]
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push 0
push eax
mov eax, dword [ebp + 8]
sub eax, ecx
cmp byte [0x495acd], 0
push eax
push edx
push ecx
mov ecx, 0x80c00000
mov eax, 0x80ca0000
cmovne eax, ecx
push eax
lea eax, [ebp + 0x274]
push eax
push 0x463170
push 0
call edi
mov esi, eax
test esi, esi
je 0x4064ab
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push 0
push dword [ebp - 0x38]
mov ebx, eax
push 0x32
push esi
push 0x1e
push 0x168
push 0x10
push 0x14
push 0x50000000
push 0x463194
push str.STATIC
push 0
call edi
push 0
push ebx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [ebp - 0x38]
push 0x33
push esi
push 0x14
push 0x168
push 0x32
push 0x14
push 0x50000000
push 0
push str.msctls_progress32
push 0
call edi
push esi
call fcn.0040a850
add esp, 4
cmp byte [0x48e075], 0
je 0x4067ab
push 0
call dword [sym.imp.USER32.dll_GetDC]
push 0x4631cc
lea ecx, [ebp + 0x22c]
mov dword [ebp - 0x10], eax
call fcn.00405730
lea eax, [ebp + 0x22c]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp + 0x214]
push eax
call fcn.00410aae
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x406713
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x10]
call fcn.00401bc0
lea ecx, [ebp + 0x214]
call fcn.004059d0
lea ecx, [ebp + 0x22c]
mov dword [ebp - 4], 0xffffffff
call fcn.004059d0
mov edx, dword [ebp + 0x10]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x14], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406744
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x54]
push eax
sar ecx, 1
push ecx
push edx
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push dword [ebp - 0x10]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0x54]
mov eax, 0x17c
push 0
push dword [ebp - 0x38]
sub eax, ecx
push 0x34
push esi
push 0x18
push ecx
push 0x5a
push eax
push 0x50000000
push dword [ebp + 0x10]
push str.Button
push 0
call edi
push 0
push ebx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp + 0x10]
call fcn.00401c40
cmp byte [0x48e074], 0
je 0x4067bd
push esi
call fcn.00409200
add esp, 4
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x1e
push 0x7c
push esi
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x474]
xor ecx, ebp
call fcn.00423c9a
lea esp, [ebp + 0x478]
pop ebp
ret