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

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 0x800
xor edi, edi
push edi
push dword [0x1000a2d8]
mov esi, eax
mov eax, dword [0x1000a3e0]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 8
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
cmp ebx, edi
je 0x10003917
cmp esi, edi
jne 0x100036a4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, dword [0x1000a018]
push esi
push dword [0x1000a004]
bswap eax
push dword [0x1000a02c]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push eax
mov eax, dword [0x1000a014]
bswap eax
push eax
mov eax, dword [0x1000a010]
bswap eax
push eax
mov eax, dword [0x1000a00c]
bswap eax
push eax
mov eax, dword [0x1000a348]
push 0x3d189
push 2
lea eax, [eax + 0x1000b62b]
push eax
push ebx
call ebp
add esp, 0x2c
mov esi, eax
call fcn.10002c6e
push eax
mov eax, dword [0x1000a348]
lea eax, [eax + 0x1000b66b]
push eax
lea eax, [esi + ebx]
push eax
call ebp
add esp, 0xc
add esi, eax
cmp dword [esp + 0x24], edi
je 0x10003730
mov eax, dword [0x1000a348]
push dword [esp + 0x24]
lea eax, [eax + 0x1000b676]
push eax
lea eax, [esi + ebx]
push eax
call ebp
add esp, 0xc
add esi, eax
mov eax, dword [0x1000a348]
lea eax, [eax + 0x1000b2de]
push edi
push eax
lea eax, [esi + ebx]
push eax
call ebp
add esp, 0xc
add esi, eax
call fcn.1000131c
mov edi, eax
test edi, edi
je 0x1000377a
mov eax, dword [0x1000a348]
lea eax, [eax + 0x1000b8c2]
push edi
push eax
lea eax, [esi + ebx]
push eax
call ebp
add esp, 0xc
push edi
push 0
push dword [0x1000a2d8]
add esi, eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
call fcn.100016dd
mov edi, eax
test edi, edi
je 0x100037ac
mov eax, dword [0x1000a348]
lea eax, [eax + 0x1000b8ca]
push edi
push eax
lea eax, [esi + ebx]
push eax
call ebp
add esp, 0xc
push edi
push 0
push dword [0x1000a2d8]
add esi, eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [0x1000a3cc]
add edi, 4
mov eax, 0x1000a00a
call fcn.10003a89
mov dword [esp + 0x24], eax
mov eax, dword [0x1000a36c]
xor edi, edi
cmp eax, edi
je 0x100037e3
push eax
mov eax, dword [0x1000a348]
lea eax, [eax + 0x1000b889]
push eax
add esi, ebx
push esi
call ebp
add esp, 0xc
cmp dword [esp + 0x24], edi
je 0x10003909
push 0x800
push edi
push dword [0x1000a2d8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, edi
je 0x100038f8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.1000785d
mov eax, dword [0x1000a3cc]
add eax, 0x40
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x1000a3cc]
xor ecx, ecx
add eax, 0x58
inc ecx
lock xadd dword [eax], ecx
mov eax, dword [0x1000a3cc]
add eax, 0x40
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x1000a3cc]
push dword [eax]
push ebx
call fcn.1000581d
mov ebp, eax
mov eax, dword [0x1000a3cc]
add eax, 0x58
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ebp, edi
je 0x100038ea
push 0x10009280
push ebp
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
push ebp
call fcn.100011a3
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x100038dc
push dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
call edi
push dword [esp + 0x24]
push esi
call edi
push dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call edi
push ebp
push esi
call edi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push esi
call fcn.10005b63
mov dword [esp + 0x18], eax
test eax, eax
je 0x100038c8
cmp eax, 0x10d2
je 0x100038c8
call fcn.10001103
push dword [esp + 0x14]
push 0
push dword [0x1000a2d8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor edi, edi
push ebp
push edi
push dword [0x1000a2d8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push edi
push dword [0x1000a2d8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x24]
push edi
push dword [0x1000a2d8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
push edi
push dword [0x1000a2d8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc