Function at 0x1001dd60
Capabilities:
Check for time delay via gettickcount
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042503
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x1005b00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [0x1005cec4]
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
lea ecx, [edx + edx*4]
mov dword [ebp - 0x158], ebx
mov dword [ecx*4 + 0x10063568], eax
inc edx
cmp dword [0x1005e4b4], 1
mov eax, dword [ebp + 0xc]
mov dword [ecx*4 + 0x1006356c], edi
mov dword [ecx*4 + 0x10063570], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx*4 + 0x10063560], ebx
mov ebx, 0x7fffffff
mov dword [ecx*4 + 0x10063564], eax
mov dword [0x1005cec4], edx
jne 0x1001e086
cmp dword [0x1005d498], 0
jne 0x1001e086
mov word [ebp - 0x150], 0x3e
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x11c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001de30
sub ecx, edx
lea eax, [ebp - 0x150]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.1003d7c0
mov ecx, edi
mov byte [ebp - 4], 2
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001de55
sub ecx, edx
mov eax, ebx
mov edx, dword [ebp - 0x11c]
sub eax, edx
cmp eax, ecx
jb 0x1001e31e
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push ecx
cmovae eax, dword [ebp - 0x12c]
push edi
push edx
push eax
push ecx
push dword [ebp - 0x154]
lea ecx, [ebp - 0x144]
call fcn.1003ed30
mov ecx, 0xc9
xor edx, edx
mov al, byte [edx + 0x100528d8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x174], al
and ecx, 0x800000ff
jns 0x1001dec1
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x10
jl 0x1001dea1
mov byte [ebp - 0x164], 0
sub esp, 0x18
mov byte [ebp - 4], 4
mov edx, esp
lea ecx, [ebp - 0x174]
lea esi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001def1
sub ecx, esi
lea eax, [ebp - 0x174]
push ecx
push eax
mov ecx, edx
call fcn.1003d7c0
mov ecx, dword [0x10061f94]
mov eax, dword [ecx]
call dword [eax + 0x84]
mov ecx, eax
call fcn.1000bd80
mov ecx, dword [ebp - 0x158]
cmp dword [ebp - 0x130], 0x10
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x14c], 0x55544946
mov eax, dword [ecx]
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x144]
cmovae eax, dword [ebp - 0x144]
mov dword [ebp - 0x154], eax
mov word [ebp - 0x148], 0x52
sub esp, 0x18
mov byte [ebp - 4], 5
mov edx, esp
lea ecx, [ebp - 0x14c]
lea esi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001df82
sub ecx, esi
lea eax, [ebp - 0x14c]
push ecx
push eax
mov ecx, edx
call fcn.1003d7c0
mov ecx, dword [0x10061f94]
mov eax, dword [ecx]
call dword [eax + 0x84]
push dword [ebp - 0x150]
mov esi, eax
lea eax, [ebp - 0x114]
push 0x10052834
push eax
call fcn.10005690
add esp, 0xc
lea eax, [ebp - 0x114]
push dword [ebp - 0x160]
push eax
push dword [ebp - 0x154]
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x7d0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x130]
mov dword [0x10061f58], eax
cmp edx, 0x10
jb 0x1001e028
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001e01e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e076
push edx
push ecx
call fcn.10040376
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
cmp edx, 0x10
jb 0x1001e086
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001e07c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001e07c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10040376
add esp, 8
cmp dword [0x100625ac], 1
jne 0x1001e300
cmp dword [0x10062588], 0
jne 0x1001e300
mov word [ebp - 0x150], 0x3e
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x11c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e0d4
sub ecx, edx
lea eax, [ebp - 0x150]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.1003d7c0
mov ecx, edi
mov byte [ebp - 4], 8
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e100
sub ecx, edx
mov edx, dword [ebp - 0x11c]
sub ebx, edx
cmp ebx, ecx
jb 0x1001e323
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push ecx
cmovae eax, dword [ebp - 0x12c]
push edi
push edx
push eax
push ecx
push dword [ebp - 0x15c]
lea ecx, [ebp - 0x144]
call fcn.1003ed30
mov ecx, 0xc9
xor edx, edx
nop word [eax + eax]
mov al, byte [edx + 0x100528d8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x174], al
and ecx, 0x800000ff
jns 0x1001e170
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x10
jl 0x1001e150
mov byte [ebp - 0x164], 0
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov edx, esp
lea ecx, [ebp - 0x174]
lea esi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e1a0
sub ecx, esi
lea eax, [ebp - 0x174]
push ecx
push eax
mov ecx, edx
call fcn.1003d7c0
mov ecx, dword [0x10061f94]
mov eax, dword [ecx]
call dword [eax + 0x84]
mov ecx, eax
call fcn.1000bd80
cmp dword [ebp - 0x130], 0x10
lea esi, [ebp - 0x144]
mov edi, eax
mov dword [ebp - 0x14c], 0x55544946
mov eax, dword [ebp - 0x158]
cmovae esi, dword [ebp - 0x144]
mov word [ebp - 0x148], 0x52
mov ebx, dword [eax]
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov edx, esp
lea ecx, [ebp - 0x14c]
lea eax, [ecx + 1]
mov dword [ebp - 0x154], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e227
sub ecx, dword [ebp - 0x154]
lea eax, [ebp - 0x14c]
push ecx
push eax
mov ecx, edx
call fcn.1003d7c0
mov ecx, dword [0x10061f94]
mov eax, dword [ecx]
call dword [eax + 0x84]
push edi
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x158]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x130]
add eax, 0x7d0
mov dword [0x10062628], eax
cmp edx, 0x10
jb 0x1001e2a9
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001e29f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e2f0
push edx
push ecx
call fcn.10040376
add esp, 8
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
cmp edx, 0x10
jb 0x1001e300
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001e2f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001e2f6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10040376
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003fb29
mov esp, ebp
pop ebp
ret 0x14
call fcn.10005810
call fcn.10005810
int3