Function at 0x4012c8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
jne 0x401643
mov esi, dword [ebp + 8]
xor edi, edi
push 0xf
mov dword [0x417670], esi
mov dword [0x41788c], edi
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ebx, dword [sym.imp.GDI32.dll_CreateSolidBrush]
call ebx
push 0xffffff
mov dword [0x417784], eax
call ebx
push 0x800000
mov dword [0x417850], eax
call ebx
mov dword [0x417888], eax
call fcn.0040105b
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x24], 0x4018a8
mov dword [ebp - 0x1c], 0x1e
push 0x67
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f02
mov dword [ebp - 0x14], eax
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [0x417784]
push ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
mov dword [ebp - 4], str.Progress
call dword [sym.imp.USER32.dll_RegisterClassA]
push edi
push edi
push edi
push 0x65
push esi
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 0x3e8
mov dword [0x4179a4], eax
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xc8
mov edi, 1
mov dword [0x417890], eax
mov eax, dword [0x4179a4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [0x415184], edi
jle 0x401427
mov ebx, 4
mov eax, dword [0x415188]
mov eax, dword [eax + ebx]
cmp byte [eax], 0x2d
jne 0x4013db
cmp byte [eax + 1], 0x70
jne 0x4013db
add eax, 2
push eax
push 0x417860
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x415188]
add eax, ebx
mov ecx, dword [eax]
cmp byte [ecx], 0x2d
jne 0x4013f9
cmp byte [ecx + 1], 0x73
jne 0x4013f9
mov dword [0x414038], 1
mov eax, dword [eax]
cmp byte [eax], 0x2d
jne 0x40141b
cmp byte [eax + 1], 0x66
jne 0x40141b
cmp byte [eax + 2], 0x32
jne 0x40141b
add eax, 3
push eax
push 0x417680
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add ebx, 4
inc edi
cmp dword [0x415184], edi
jg 0x4013b9
cmp dword [0x414038], 0
je 0x401439
push esi
call fcn.004011b9
add esp, 4
mov byte [0x4178a0], 0
push 0x4178a0
call fcn.00402e3d
add esp, 4
test al, al
jne 0x401492
mov edi, pe_nt_image_headers32
mov ebx, 0x4177d0
push edi
mov eax, dword [0x417670]
push ebx
push 2
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push edi
mov eax, dword [0x417670]
mov edi, 0x417920
push edi
push 1
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
push edi
push ebx
call fcn.004011b6
push eax
call section..text
add esp, 0x10
push esi
call fcn.004023fd
add esp, 4
mov bl, al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x41778c], eax
test bl, bl
je 0x401614
push 0
mov eax, dword [0x4179a4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp bl, 0xf5
je 0x4015d1
cmp bl, 0xf4
je 0x401620
cmp bl, 0xfb
jne 0x40151b
mov edi, pe_nt_image_headers32
mov esi, 0x4177d0
push edi
mov eax, dword [0x417670]
push esi
push 0xa
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push edi
mov eax, dword [0x417670]
mov edi, 0x417920
push edi
push 1
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
push edi
push esi
call fcn.004011b6
push eax
call section..text
add esp, 0x10
jmp 0x401620
cmp bl, 0xf2
jne 0x401566
mov edi, pe_nt_image_headers32
mov esi, 0x4177d0
push edi
mov eax, dword [0x417670]
push esi
push 0xb
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push edi
mov eax, dword [0x417670]
mov edi, 0x417920
push edi
push 1
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
push edi
push esi
call fcn.004011b6
push eax
call section..text
add esp, 0x10
jmp 0x401620
mov esi, pe_nt_image_headers32
mov edi, 0x4177d0
push esi
mov eax, dword [0x417670]
push edi
push 3
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push esi
mov eax, dword [0x417670]
mov esi, 0x417920
push esi
push 1
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
movsx eax, bl
push eax
lea ecx, [ebp - 0xa8]
push edi
push ecx
call fcn.0040b720
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 0
push esi
push ecx
call fcn.004011b6
push eax
call section..text
add esp, 0x10
push dword [0x417670]
call fcn.00402be7
add esp, 4
jmp 0x401620
mov edi, pe_nt_image_headers32
mov esi, 0x4177d0
push edi
mov eax, dword [0x417670]
push esi
push 7
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push edi
mov eax, dword [0x417670]
mov edi, 0x417920
push edi
push 1
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
push edi
push esi
call fcn.004011b6
push eax
call section..text
add esp, 0x10
jmp 0x401620
mov eax, dword [0x4179a4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x417784]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call esi
push dword [0x417850]
call esi
mov eax, dword [0x417888]
push eax
call esi
call fcn.004010ac
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10