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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x10415990]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, edx
push edi
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x50], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1045b8f4]
mov edx, dword [0x1045b8f0]
push ebx
push ebx
push ebx
push edi
push str.load__s
push 0x147
push 0x104446a0
push ecx
push 3
push edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x68], ebx
call fcn.10062060
add esp, 0x28
cmp edi, ebx
jne 0x1006a7fd
cmp esi, ebx
je 0x1006a7ea
mov dword [esi], 0x277a
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
push edi
push 0x104446d4
lea eax, [ebp - 0x4c]
push 0x40
push eax
call fcn.1005f880
add esp, 0x10
mov eax, edi
call fcn.10066690
mov ebx, eax
mov dword [ebp - 0x6c], ebx
test ebx, ebx
je 0x1006a9cd
mov ecx, dword [0x1045b8f4]
mov edx, dword [0x1045b8f0]
push 0
push 0
push 0
push 0
push str.a_intalled_entry
push 0x153
push 0x104446f0
push ecx
push 3
push edx
call fcn.10062060
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebx + 8]
push ecx
call fcn.10066720
mov esi, eax
add esp, 0x30
mov dword [ebp - 0x54], esi
test esi, esi
je 0x1006a8ee
mov edx, dword [0x1045b8f4]
mov eax, dword [0x1045b8f0]
push 0
push 0
push 0
push 0
push str.from_ram
push 0x162
push 0x10444730
push edx
push 3
push eax
call fcn.10062060
mov ebx, dword [ebp - 0x50]
push esi
mov ecx, ebx
call fcn.1006a5f0
add esp, 0x2c
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x1006aa5f
mov ecx, dword [0x1045b8f4]
mov edx, dword [0x1045b8f0]
push eax
push eax
push eax
push eax
push 0x10444764
push 0x164
push 0x10444778
push ecx
push 1
push edx
call fcn.10062060
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 0x2c
mov eax, edi
call fcn.1007d1c0
mov ebx, dword [ebp - 0x6c]
lea eax, [ebp - 0x50]
push eax
add ebx, 0x10
push ebx
call fcn.10066720
mov esi, eax
add esp, 8
mov dword [ebp - 0x54], esi
test esi, esi
je 0x1006a97f
mov ecx, dword [0x1045b8f4]
mov edx, dword [0x1045b8f0]
push 0
push 0
push 0
push 0
push str.from_rom
push 0x16d
push 0x104447ec
push ecx
push 3
push edx
call fcn.10062060
mov ebx, dword [ebp - 0x50]
push esi
mov ecx, ebx
call fcn.1006a5f0
add esp, 0x2c
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x1006aa5f
mov ecx, dword [0x1045b8f0]
push eax
push eax
push eax
push eax
mov eax, dword [0x1045b8f4]
push 0x10444820
push 0x16f
push 0x10444834
push eax
push 1
push ecx
call fcn.10062060
mov edx, esi
push edx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 0x2c
mov esi, dword [ebp - 0x64]
mov eax, dword [0x1045b8f4]
mov ecx, dword [0x1045b8f0]
push 0
push 0
push 0
push 0
push str.not_found_
push 0x186
push 0x10444968
push eax
push 0
push ecx
call fcn.10062060
add esp, 0x28
test esi, esi
je 0x1006a9ba
mov dword [esi], 0x3e81
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x50]
call fcn.10066780
mov ebx, eax
add esp, 4
mov dword [ebp - 0x54], ebx
test ebx, ebx
je 0x1006a982
mov ecx, dword [0x1045b8f4]
mov edx, dword [0x1045b8f0]
push 0
push 0
push 0
push 0
push str.a_random_entry
push 0x17b
push 0x104448ac
push ecx
push 3
push edx
call fcn.10062060
push ebx
mov ebx, dword [ebp - 0x50]
mov ecx, ebx
call fcn.1006a5f0
add esp, 0x2c
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x1006aa5f
mov ecx, dword [0x1045b8f0]
push eax
push eax
push eax
push eax
mov eax, dword [0x1045b8f4]
push str.check_lmod_failed_
push 0x17d
push 0x104448f4
push eax
push 1
push ecx
call fcn.10062060
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 0x2c
jmp 0x1006a982
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x58]
mov edx, dword [0x1045b8f4]
push 0
push 0
push eax
mov eax, dword [0x1045b8f0]
push edi
push str.load__s_cost__d__ms_
push 0x18d
push 0x104449b4
push edx
push 5
push eax
call fcn.10062060
push 0x64
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
add esp, 0x2c
test esi, esi
je 0x1006ab57
push 0x5c
push 0
push esi
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x60]
add esp, 0xc
mov dword [esi], ecx
mov dword [ebp - 0x5c], 0
test edx, edx
je 0x1006aaea
mov eax, edx
lea ecx, [eax + 1]
mov dword [ebp - 0x58], ecx
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1006aad0
sub eax, dword [ebp - 0x58]
je 0x1006aaea
push 0x50
lea eax, [esi + 4]
push edx
push eax
call fcn.10061420
jmp 0x1006ab2f
mov edx, dword [esi]
lea eax, [esi + 4]
test eax, eax
je 0x1006ab32
test edx, edx
je 0x1006ab32
mov eax, edx
lea ecx, [eax + 1]
mov dword [ebp - 0x58], ecx
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1006ab00
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
cmp eax, 0x50
jl 0x1006ab1c
mov dword [ebp - 0x50], 0x4f
mov eax, dword [ebp - 0x50]
push eax
push edx
lea eax, [esi + 4]
push eax
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 0x50]
mov byte [esi + edx + 4], 0
add esp, 0xc
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
inc eax
cmp eax, 0xfffffffc
jae 0x1006ab46
add eax, 3
and eax, 0xfffffffc
add eax, 8
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov dword [esi + 0x54], eax
test eax, eax
jne 0x1006abac
mov eax, dword [ebp - 0x60]
mov ecx, dword [0x1045b8f4]
mov edx, dword [0x1045b8f0]
push 0
push 0
push eax
push edi
push str.load__s.lmod__s__failed_
push 0x1ae
push 0x10444a6c
push ecx
push 0
push edx
mov dword [ebp - 0x68], 0x2775
call fcn.10062060
add esp, 0x28
test esi, esi
je 0x1006ab99
call fcn.1006ac40
xor esi, esi
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x1006ac0f
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
jmp 0x1006ac0f
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x14]
mov byte [eax + ecx], 0
mov eax, dword [esi]
mov edi, dword [eax + 0x10]
sub ebx, edi
add ebx, dword [ebp - 0x54]
test byte [eax + 0x30], 1
je 0x1006abd3
mov edx, dword [eax + 0x2c]
push edx
mov ecx, ebx
call fcn.1006a1b0
add esp, 4
mov eax, dword [esi]
mov edi, dword [eax + 0x14]
inc edi
test byte [eax + 0x30], 2
mov dword [ebp - 0x60], edi
je 0x1006abfb
mov ecx, dword [esi + 0x54]
push ecx
mov ecx, dword [eax + 0x10]
mov eax, ebx
lea edi, [ebp - 0x60]
call fcn.1006de80
mov edi, dword [ebp - 0x60]
add esp, 4
jmp 0x1006ac0c
mov edx, dword [eax + 0x10]
mov eax, dword [esi + 0x54]
push edx
push ebx
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov dword [esi + 0x58], edi
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_free]
mov eax, dword [ebp - 0x64]
add esp, 4
test eax, eax
je 0x1006ac28
mov edx, dword [ebp - 0x68]
mov dword [eax], edx
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1015eea7
mov esp, ebp
pop ebp
ret