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 [0x40c7f0], esi
mov dword [0x40c718], edi
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ebx, dword [sym.imp.GDI32.dll_CreateSolidBrush]
call ebx
push 0xffffff
mov dword [0x40c580], eax
call ebx
push 0x800000
mov dword [0x40c720], eax
call ebx
mov dword [0x40c714], 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 [0x40c580]
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 [0x40c7dc], eax
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xc8
mov ebx, 1
mov dword [0x40c7f4], eax
mov eax, dword [0x40c7dc]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [0x40b180], ebx
jle 0x401427
mov edi, 4
mov eax, dword [0x40b184]
mov eax, dword [eax + edi]
cmp byte [eax], 0x2d
jne 0x4013db
cmp byte [eax + 1], 0x70
jne 0x4013db
add eax, 2
push eax
push 0x40c810
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x40b184]
add eax, edi
mov ecx, dword [eax]
cmp byte [ecx], 0x2d
jne 0x4013f9
cmp byte [ecx + 1], 0x73
jne 0x4013f9
mov dword [0x40b038], 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 0x40c610
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 4
inc ebx
cmp ebx, dword [0x40b180]
jl 0x4013b9
cmp dword [0x40b038], 0
je 0x401439
push esi
call fcn.004011b9
add esp, 4
mov byte [0x40c590], 0
push 0x40c590
call fcn.00403049
add esp, 4
test al, al
jne 0x401492
mov edi, pe_nt_image_headers32
mov ebx, 0x40c730
push edi
mov eax, dword [0x40c7f0]
push ebx
push 2
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push edi
mov eax, dword [0x40c7f0]
mov edi, 0x40c500
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 [0x40c4f8], eax
test bl, bl
je 0x401614
push 0
mov eax, dword [0x40c7dc]
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, 0x40c730
push edi
mov eax, dword [0x40c7f0]
push esi
push 0xa
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push edi
mov eax, dword [0x40c7f0]
mov edi, 0x40c500
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, 0x40c730
push edi
mov eax, dword [0x40c7f0]
push esi
push 0xb
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push edi
mov eax, dword [0x40c7f0]
mov edi, 0x40c500
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, 0x40c730
push esi
mov eax, dword [0x40c7f0]
push edi
push 3
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push esi
mov eax, dword [0x40c7f0]
mov esi, 0x40c500
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.004032f0
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 [0x40c7f0]
call fcn.00402b4a
add esp, 4
jmp 0x401620
mov edi, pe_nt_image_headers32
mov esi, 0x40c730
push edi
mov eax, dword [0x40c7f0]
push esi
push 7
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push edi
mov eax, dword [0x40c7f0]
mov edi, 0x40c500
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 [0x40c7dc]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x40c580]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call esi
push dword [0x40c720]
call esi
mov eax, dword [0x40c714]
push eax
call esi
call fcn.004010ac
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10