Function at 0x408ac0
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45b5f3
mov eax, dword fs:[0]
push eax
mov eax, 0x1118
call fcn.00453b40
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x1110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x112c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x113c]
cmp eax, 4
mov edi, ecx
ja case.default.0x408b11
jmp dword [eax*4 + 0x4091f0]
xor ebx, ebx
cmp dword [0x470fa4], ebx
je case.default.0x408b11
mov eax, dword [0x471b64]
test eax, eax
je case.default.0x408b11
mov ecx, dword [0x471b64]
cmp ecx, 1
je case.default.0x408b11
mov edx, dword [0x471b68]
cmp edx, 1
je case.default.0x408b11
mov eax, dword [0x471b64]
cmp eax, 3
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x408c66
push ebx
push edi
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [0x471b70], ebx
push 0x10
push 0x4602a4
push edi
mov dword [0x470fa4], ebx
push ecx
je 0x408b90
call fcn.00406c20
mov ecx, 0x4606f8
jmp 0x408b9a
call fcn.00406c20
mov ecx, 0x460720
add esp, 4
mov edx, eax
call fcn.00410df0
push 4
mov edx, 1
call fcn.00406330
add esp, 4
call ebp
push 0xa
mov edx, eax
call fcn.00406330
add esp, 4
push 0x460734
push 0x400
lea ecx, [esp + 0x92c]
push 0x200
push ecx
call fcn.0043ef21
add esp, 0x10
lea ecx, [esp + 0x108]
call fcn.0042a750
lea edx, [esp + 0x924]
lea eax, [esp + 0x98]
mov dword [esp + 0x1134], ebx
call fcn.00406a70
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x110]
mov byte [esp + 0x113c], 1
call fcn.00406d90
lea ecx, [esp + 0x98]
call fcn.00406ab0
cmp dword [esp + 0x120], 8
mov esi, dword [esp + 0x10c]
jae 0x408c43
lea esi, [esp + 0x10c]
call fcn.0041a270
lea ecx, [esp + 0x108]
mov dword [esp + 0x1134], 0xffffffff
call fcn.00406ab0
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [0x471b68]
cmp edx, 3
jne 0x408d43
push ebx
push edi
call dword [sym.imp.USER32.dll_KillTimer]
push 4
mov edx, 1
mov dword [0x470fa4], ebx
call fcn.00406330
add esp, 4
call ebp
push 0xa
mov edx, eax
call fcn.00406330
add esp, 4
push 0x460744
push 0x400
lea eax, [esp + 0xd2c]
push 0x200
push eax
call fcn.0043ef21
add esp, 0x10
lea ecx, [esp + 0xec]
call fcn.0042a750
lea edx, [esp + 0xd24]
lea eax, [esp + 0x7c]
mov dword [esp + 0x1134], 2
call fcn.00406a70
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0xf4]
mov byte [esp + 0x113c], 3
call fcn.00406d90
lea ecx, [esp + 0x7c]
call fcn.00406ab0
cmp dword [esp + 0x104], 8
mov esi, dword [esp + 0xf0]
jae 0x408d20
lea esi, [esp + 0xf0]
call fcn.0041a270
lea ecx, [esp + 0xec]
mov dword [esp + 0x1134], 0xffffffff
call fcn.00406ab0
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
push edi
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [0x470fa4], ebx
je case.default.0x408b11
mov edx, 0x460754
lea eax, [esp + 0x60]
mov dword [0x470fa4], ebx
call fcn.00406a70
lea ecx, [esp + 0x60]
mov dword [esp + 0x1134], 4
call fcn.0040b110
lea ecx, [esp + 0x60]
call fcn.00406ab0
mov eax, edi
mov dword [0x470fd4], 8
call fcn.0040b0f0
jmp case.default.0x408b11
push 1
push edi
call dword [sym.imp.USER32.dll_KillTimer]
xor ebx, ebx
cmp dword [0x470fa8], ebx
je case.default.0x408b11
push edi
mov dword [0x470fa8], ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp case.default.0x408b11
push 2
push edi
call dword [sym.imp.USER32.dll_KillTimer]
xor ebx, ebx
cmp dword [0x470fac], ebx
je case.default.0x408b11
mov dword [0x470fac], ebx
call fcn.0040eb00
push ebx
push 0xc8
push 3
push edi
mov dword [0x470fb0], 1
call dword [sym.imp.USER32.dll_SetTimer]
jmp case.default.0x408b11
xor ebx, ebx
cmp dword [0x470fb4], ebx
jne 0x408f68
mov eax, dword [0x470fbc]
add eax, 1
cmp eax, 0x27
mov dword [0x470fbc], eax
jbe 0x408e31
mov dword [0x470fb4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x471e84]
lea ecx, [esp + 0x524]
push eax
push str._setup_g_bDllProcessComplited_TIMERID_GO_NEXT_DLG
push 0x400
push 0x200
push ecx
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0xb4]
call fcn.0042a750
mov dword [esp + 0x1134], 5
mov ebp, 7
lea eax, [esp + 0x524]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x408e90
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x528]
push edx
lea esi, [esp + 0x4c]
call fcn.00406f20
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0xbc]
mov byte [esp + 0x113c], 6
call fcn.00406d90
mov esi, 8
cmp dword [esp + 0x5c], esi
jb 0x408ee4
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0xcc], esi
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
jae 0x408f08
lea edx, [esp + 0xb8]
mov edi, dword [0x471b30]
cmp edi, ebx
je 0x408f46
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x408f17
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
mov esi, 8
cmp dword [esp + 0xcc], esi
jb case.default.0x408b11
mov edx, dword [esp + 0xb8]
push edx
call fcn.0043ef40
add esp, 4
jmp case.default.0x408b11
cmp dword [0x470fb0], ebx
mov eax, 0x4607e4
jne 0x408f7a
mov eax, 0x4607e8
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x471e84]
push eax
push str._setup_TIMERID_GO_NEXT_DLG
push 0x400
lea eax, [esp + 0x134]
push 0x200
push eax
call fcn.0043ef21
add esp, 0x18
lea ecx, [esp + 0xd0]
call fcn.0042a750
mov ebp, 7
mov dword [esp + 0x1134], ebp
lea eax, [esp + 0x124]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x408fd6
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x128]
push ecx
lea esi, [esp + 0x30]
call fcn.00406f20
mov edx, esi
push ebx
push edx
or eax, 0xffffffff
lea esi, [esp + 0xd8]
mov byte [esp + 0x113c], 8
call fcn.00406d90
mov esi, 8
cmp dword [esp + 0x40], esi
jb 0x40902a
mov eax, dword [esp + 0x2c]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0xe8], esi
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
jae 0x40904e
lea edx, [esp + 0xd4]
mov ebp, dword [0x471b30]
cmp ebp, ebx
je 0x409090
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x409060
sub eax, esi
sar eax, 1
push ebp
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.0043fe21
mov edx, dword [0x471b30]
push edx
call fcn.004402ef
add esp, 0x14
mov esi, 8
cmp dword [esp + 0xe8], esi
jb 0x4090a9
mov eax, dword [esp + 0xd4]
push eax
call fcn.0043ef40
add esp, 4
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 3
push edi
call esi
cmp dword [0x471f80], ebx
je 0x4090d0
call fcn.00406bc0
mov ecx, dword [eax + 0x44]
lea ecx, [ecx + ecx*2]
mov eax, dword [eax + ecx*4 - 4]
call fcn.0041b170
cmp dword [0x470fb0], ebx
je case.default.0x408b11
push ebx
push 0xf120
push 0x112
push edi
mov dword [0x470fb0], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push edi
call esi
call fcn.00406bc0
call fcn.0040fda0
jmp case.default.0x408b11
mov ecx, dword [0x470fc0]
add ecx, 1
xor ebx, ebx
cmp dword [0x471b6c], ebx
mov dword [esp + 0x18], 0x14
mov dword [esp + 0x1c], 0x5b
mov dword [esp + 0x20], 0x276
mov dword [esp + 0x24], 0x174
mov dword [0x470fc0], ecx
mov eax, 0x96
jne 0x409149
lea eax, [ebx + 0x50]
cmp ecx, 0x32
ja 0x40917c
call fcn.00406b20
fld dword [eax + 0xe0]
fadd qword [0x466460]
push 1
lea edx, [esp + 0x1c]
push edx
push edi
fstp dword [eax + 0xe0]
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp case.default.0x408b11
lea edx, [eax + 0x32]
cmp ecx, edx
jb case.default.0x408b11
add eax, 0x64
cmp ecx, eax
jae 0x4091b8
call fcn.00406b20
fld dword [eax + 0xe0]
fsub qword [0x466460]
push 1
fstp dword [eax + 0xe0]
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp case.default.0x408b11
mov dword [0x470fc0], ebx
call fcn.00406b20
call fcn.004389e0
mov ecx, dword [esp + 0x112c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1110]
xor ecx, esp
call fcn.0043ef12
add esp, 0x1124
ret