Function at 0x10003ed0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x10012737
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001d638]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, ecx
xor esi, esi
mov dword [esp + 0x28], esi
call fcn.1000f9e0
push 0x1001568a
cmp eax, 1
jne 0x10003f1f
mov esi, dword [esp + 0x50]
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_310]
jmp 0x100043cc
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_310]
lea ecx, [ebp + 0xbc]
mov dword [esp + 0x44], esi
call fcn.10010ad0
lea ecx, [esp + 0x20]
push ecx
push eax
mov ecx, ebp
mov dword [esp + 0x28], esi
call fcn.10003c90
mov edx, dword [ebp + 0x98]
sub edx, dword [ebp + 0x94]
lea esi, [ebp + 0x88]
sar edx, 2
test edx, edx
jbe 0x10004191
mov ebx, dword [esi + 0x10]
cmp dword [esi + 0xc], ebx
jbe 0x10003f74
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x34], eax
cmp edi, dword [esi + 0x10]
jbe 0x10003f88
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
test eax, eax
je 0x10003f94
cmp eax, dword [esp + 0x34]
je 0x10003f9a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, ebx
je 0x10003faa
push 0
push ebx
push edi
call fcn.10002be0
add esp, 0xc
push 0
mov ecx, esi
call fcn.10002f10
mov edi, dword [eax]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x20]
lea edx, [esp + 0x24]
push edx
push edi
call eax
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_306]
mov edx, dword [edi]
mov ecx, dword [edx]
lea eax, [esp + 0x1c]
push eax
push 0x10018884
push edi
mov byte [esp + 0x50], 1
call ecx
test eax, eax
jl 0x1000410a
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
push 0x1001d774
mov ecx, ebp
call fcn.10002800
cmp eax, 1
jne 0x100040ec
push 0xcc
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0x44], 2
test eax, eax
je 0x1000403d
push 0
mov ecx, eax
call fcn.10001310
mov edi, eax
jmp 0x1000403f
xor edi, edi
mov eax, dword [edi]
mov edx, dword [eax + 0x144]
push 0
push 0x3ec
mov ecx, edi
mov byte [esp + 0x4c], 1
call edx
cmp dword [0x1001d744], 1
mov ecx, edi
jne 0x1000406b
push 1
call sub.mfc90.dll_Ordinal_6584
jmp 0x10004083
push 0
call sub.mfc90.dll_Ordinal_6584
push 1
push 0
push 0
push 0
push 0
mov ecx, edi
call sub.mfc90.dll_Ordinal_4529
push ecx
lea eax, [ebp + 0x78]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x50], 3
call dword [sym.imp.mfc90.dll_Ordinal_300]
push ecx
lea eax, [ebp + 0x74]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x54], 4
call dword [sym.imp.mfc90.dll_Ordinal_300]
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x1001568a
mov byte [esp + 0x58], 5
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov ecx, edi
mov byte [esp + 0x54], 1
call fcn.100014a0
mov dword [ebp + 0xb8], edi
jmp 0x100040fb
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x114]
call eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
xor edi, edi
sar ecx, 2
test ecx, ecx
jbe 0x10004154
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 2
cmp edi, edx
jb 0x10004138
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0xc]
mov eax, dword [eax + edi*4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc edi
sar eax, 2
cmp edi, eax
jb 0x10004125
mov eax, dword [esi + 0x10]
mov dword [esp + 0x28], eax
cmp dword [esi + 0xc], eax
jbe 0x10004166
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esi + 0xc]
mov ebx, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x10004176
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x28]
mov eax, dword [esi]
push ecx
push ebx
push edi
push eax
lea edx, [esp + 0x44]
push edx
mov ecx, esi
call fcn.10002fe0
jmp 0x100042dd
mov eax, dword [ebp + 0xb0]
sub eax, dword [ebp + 0xac]
lea esi, [ebp + 0xa0]
sar eax, 2
test eax, eax
jbe 0x100042ec
mov ebx, dword [esi + 0x10]
cmp dword [esi + 0xc], ebx
jbe 0x100041bc
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esi + 0xc]
mov ecx, dword [esi]
mov dword [esp + 0x34], ecx
cmp edi, dword [esi + 0x10]
jbe 0x100041d0
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x34]
mov eax, dword [esi]
push ebx
push edx
push edi
push eax
call fcn.10002d80
add esp, 0x10
push 0
mov ecx, esi
call fcn.10002f10
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov bl, 6
push 0xcc
mov byte [esp + 0x48], bl
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0x34], eax
mov byte [esp + 0x44], 7
test eax, eax
je 0x10004223
push 0
mov ecx, eax
call fcn.10001310
mov esi, eax
jmp 0x10004225
xor esi, esi
mov eax, dword [esi]
mov edx, dword [eax + 0x144]
push 0
push 0x3ec
mov ecx, esi
mov byte [esp + 0x4c], bl
call edx
cmp dword [0x1001d744], 1
mov ecx, esi
jne 0x10004250
push 1
call sub.mfc90.dll_Ordinal_6584
jmp 0x10004268
push 0
call sub.mfc90.dll_Ordinal_6584
push 1
push 0
push 0
push 0
push 0
mov ecx, esi
call sub.mfc90.dll_Ordinal_4529
push ecx
lea eax, [ebp + 0x78]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x50], 8
call dword [sym.imp.mfc90.dll_Ordinal_300]
push ecx
lea eax, [ebp + 0x74]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x54], 9
call dword [sym.imp.mfc90.dll_Ordinal_300]
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x1001568a
mov byte [esp + 0x58], 0xa
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov ecx, esi
mov byte [esp + 0x54], bl
call fcn.100014a0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
mov dword [ebp + 0xb8], esi
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 0
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x1001568a
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x1000439b
lea esi, [ebp + 0x7c]
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_3178]
cmp eax, 1
jle 0x10004389
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_3178]
cmp eax, 7
jge 0x10004389
push ecx
mov edi, esp
mov dword [esp + 0x38], esp
push ecx
lea edx, [ebp + 0x80]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
push edi
call fcn.1000f1b0
add esp, 4
mov edi, esp
mov dword [esp + 0x38], esp
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x54], 0xb
call dword [sym.imp.mfc90.dll_Ordinal_300]
push edi
call fcn.1000f1b0
add esp, 4
mov ecx, esp
mov dword [esp + 0x38], esp
push esi
mov byte [esp + 0x54], 0xc
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x50], 0
call fcn.1000ff10
add esp, 0xc
mov ecx, ebp
call fcn.10001f60
mov ecx, dword [ebp + 0x20]
push 0
push eax
push 2
push ecx
jmp 0x100043ab
mov ecx, ebp
call fcn.10001f60
mov edx, dword [ebp + 0x20]
push 0
push eax
push 2
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_300]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4