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

Disassembly:
push 0xffffffffffffffff
push 0x45deb3
mov eax, dword fs:[0]
push eax
mov eax, 0x1114
call fcn.00455840
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x1110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x1128]
mov dword fs:[0], eax
mov eax, dword [esp + 0x113c]
cmp eax, 4
mov ebp, dword [esp + 0x1138]
ja case.default.0x408ce6
jmp dword [eax*4 + 0x4093d8]
xor edi, edi
cmp dword [0x474024], edi
je case.default.0x408ce6
mov eax, dword [0x474be4]
test eax, eax
je case.default.0x408ce6
mov ecx, dword [0x474be4]
cmp ecx, 1
je case.default.0x408ce6
mov edx, dword [0x474be8]
cmp edx, 1
je case.default.0x408ce6
mov eax, dword [0x474be4]
cmp eax, 3
jne 0x408e3d
push edi
push ebp
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [0x474bf0], edi
push 0x10
push 0x462334
push ebp
mov dword [0x474024], edi
push ecx
je 0x408d5f
call fcn.00406c70
mov ecx, 0x462790
jmp 0x408d69
call fcn.00406c70
mov ecx, 0x4627b8
add esp, 4
mov edx, eax
call fcn.00410000
push 0x40
push 4
mov ebx, 1
call fcn.004062d0
add esp, 8
push 0x40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xa
mov ebx, eax
call fcn.004062d0
push 0x4627cc
lea ecx, [esp + 0x930]
push 0x200
push ecx
call fcn.004414db
add esp, 0x14
lea ecx, [esp + 0x108]
mov word [esp + 0xd22], di
call fcn.0042bd40
lea edx, [esp + 0x924]
lea eax, [esp + 0x98]
mov dword [esp + 0x1130], edi
call fcn.00406ad0
push edi
push eax
or eax, 0xffffffff
lea esi, [esp + 0x110]
mov byte [esp + 0x1138], 1
call fcn.00406df0
lea ecx, [esp + 0x98]
call fcn.00406b10
cmp dword [esp + 0x120], 8
mov esi, dword [esp + 0x10c]
jae 0x408e1a
lea esi, [esp + 0x10c]
call fcn.0041a470
lea ecx, [esp + 0x108]
mov dword [esp + 0x1130], 0xffffffff
call fcn.00406b10
push ebp
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [0x474be8]
cmp edx, 3
jne 0x408f22
push edi
push ebp
call dword [sym.imp.USER32.dll_KillTimer]
push 0x40
push 4
mov ebx, 1
mov dword [0x474024], edi
call fcn.004062d0
add esp, 8
push 0x40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xa
mov ebx, eax
call fcn.004062d0
push 0x4627dc
lea eax, [esp + 0xd30]
push 0x200
push eax
call fcn.004414db
add esp, 0x14
lea ecx, [esp + 0xec]
mov word [esp + 0x1122], di
call fcn.0042bd40
lea edx, [esp + 0xd24]
lea eax, [esp + 0x7c]
mov dword [esp + 0x1130], 2
call fcn.00406ad0
push edi
push eax
or eax, 0xffffffff
lea esi, [esp + 0xf4]
mov byte [esp + 0x1138], 3
call fcn.00406df0
lea ecx, [esp + 0x7c]
call fcn.00406b10
cmp dword [esp + 0x104], 8
mov esi, dword [esp + 0xf0]
jae 0x408eff
lea esi, [esp + 0xf0]
call fcn.0041a470
lea ecx, [esp + 0xec]
mov dword [esp + 0x1130], 0xffffffff
call fcn.00406b10
push ebp
call dword [sym.imp.USER32.dll_DestroyWindow]
push edi
push ebp
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [0x474024], edi
je case.default.0x408ce6
mov edx, 0x4627ec
lea eax, [esp + 0x60]
mov dword [0x474024], edi
call fcn.00406ad0
lea ecx, [esp + 0x60]
mov dword [esp + 0x1130], 4
call fcn.0040b200
lea ecx, [esp + 0x60]
call fcn.00406b10
mov eax, ebp
mov dword [0x474054], 8
call fcn.0040b1e0
jmp case.default.0x408ce6
push 1
push ebp
call dword [sym.imp.USER32.dll_KillTimer]
xor edi, edi
cmp dword [0x474028], edi
je case.default.0x408ce6
push ebp
mov dword [0x474028], edi
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp case.default.0x408ce6
push 2
push ebp
call dword [sym.imp.USER32.dll_KillTimer]
xor edi, edi
cmp dword [0x47402c], edi
je case.default.0x408ce6
mov dword [0x47402c], edi
call fcn.0040df10
push edi
push 0xc8
push 3
push ebp
mov dword [0x474030], 1
call dword [sym.imp.USER32.dll_SetTimer]
jmp case.default.0x408ce6
xor edi, edi
cmp dword [0x474034], edi
jne 0x40914c
mov eax, dword [0x47403c]
add eax, 1
cmp eax, 0x27
mov dword [0x47403c], eax
jbe 0x409010
mov dword [0x474034], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x474f0c]
lea ecx, [esp + 0x524]
push eax
push str._setup_g_bDllProcessComplited_TIMERID_GO_NEXT_DLG
push 0x200
push ecx
call fcn.004414db
add esp, 0x10
lea ecx, [esp + 0xb4]
mov word [esp + 0x922], di
call fcn.0042bd40
mov dword [esp + 0x1130], 5
mov ebx, 7
lea eax, [esp + 0x524]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409072
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x528]
push edx
lea esi, [esp + 0x4c]
call fcn.00406f80
mov eax, esi
push edi
push eax
or eax, 0xffffffff
lea esi, [esp + 0xbc]
mov byte [esp + 0x1138], 6
call fcn.00406df0
mov ebp, 8
cmp dword [esp + 0x5c], ebp
jb 0x4090c6
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0xcc], ebp
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
jae 0x4090ea
lea edx, [esp + 0xb8]
mov ebx, dword [0x474bb0]
cmp ebx, edi
je 0x40912a
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409100
sub eax, esi
sar eax, 1
push ebx
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
cmp dword [esp + 0xcc], ebp
jb case.default.0x408ce6
mov edx, dword [esp + 0xb8]
push edx
call fcn.004415cb
add esp, 4
jmp case.default.0x408ce6
cmp dword [0x474030], edi
mov eax, 0x46287c
jne 0x40915e
mov eax, 0x462880
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x474f0c]
push eax
push str._setup_TIMERID_GO_NEXT_DLG
lea eax, [esp + 0x130]
push 0x200
push eax
call fcn.004414db
add esp, 0x14
lea ecx, [esp + 0xd0]
mov word [esp + 0x522], di
call fcn.0042bd40
mov ebx, 7
mov dword [esp + 0x1130], ebx
lea eax, [esp + 0x124]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], di
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4091c0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x128]
push ecx
lea esi, [esp + 0x30]
call fcn.00406f80
mov edx, esi
push edi
push edx
or eax, 0xffffffff
lea esi, [esp + 0xd8]
mov byte [esp + 0x1138], 8
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x40], esi
jb 0x409214
mov eax, dword [esp + 0x2c]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0xe8], esi
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], di
jae 0x409238
lea edx, [esp + 0xd4]
mov ebx, dword [0x474bb0]
cmp ebx, edi
je 0x409277
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409247
sub eax, esi
sar eax, 1
push ebx
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.004422ed
mov edx, dword [0x474bb0]
push edx
call fcn.004428a9
add esp, 0x14
mov esi, 8
cmp dword [esp + 0xe8], esi
jb 0x409290
mov eax, dword [esp + 0xd4]
push eax
call fcn.004415cb
add esp, 4
mov ebx, dword [sym.imp.USER32.dll_KillTimer]
push 3
push ebp
call ebx
cmp dword [0x475020], edi
je 0x4092b7
call fcn.00406c10
mov ecx, dword [eax + 0x44]
lea ecx, [ecx + ecx*2]
mov esi, dword [eax + ecx*4 - 4]
call fcn.0041c4e0
cmp dword [0x474030], edi
je case.default.0x408ce6
push edi
push 0xf120
push 0x112
push ebp
mov dword [0x474030], edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push ebp
call ebx
call fcn.00406c10
call fcn.0040efc0
jmp case.default.0x408ce6
mov ecx, dword [0x474040]
add ecx, 1
xor edi, edi
cmp dword [0x474bec], edi
mov dword [esp + 0x18], 0x14
mov dword [esp + 0x1c], 0x5b
mov dword [esp + 0x20], 0x276
mov dword [esp + 0x24], 0x174
mov dword [0x474040], ecx
mov eax, 0x96
jne 0x409330
lea eax, [edi + 0x50]
cmp ecx, 0x32
ja 0x409363
call fcn.00406b70
fld dword [eax + 0xe4]
fadd qword [0x4687b0]
push 1
lea edx, [esp + 0x1c]
push edx
push ebp
fstp dword [eax + 0xe4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebp
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp case.default.0x408ce6
lea edx, [eax + 0x32]
cmp ecx, edx
jb case.default.0x408ce6
add eax, 0x64
cmp ecx, eax
jae 0x40939f
call fcn.00406b70
fld dword [eax + 0xe4]
fsub qword [0x4687b0]
push 1
fstp dword [eax + 0xe4]
lea eax, [esp + 0x1c]
push eax
push ebp
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebp
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp case.default.0x408ce6
mov dword [0x474040], edi
call fcn.00406b70
call fcn.00439dc0
mov ecx, dword [esp + 0x1128]
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.004414cc
add esp, 0x1120
ret