Function at 0x4035a0
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebp
push esi
push edi
mov esi, ecx
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebp, ebp
cmp dword [esi + 0x65d0], ebp
jne 0x4035c2
mov ecx, esi
call fcn.00403570
mov eax, dword [esp + 0x20]
mov ecx, eax
and ecx, 8
mov dword [esp + 0x10], ecx
je 0x4035e1
test al, 0x10
je 0x4035e1
pop edi
pop esi
or eax, 0xffffffff
pop ebp
add esp, 8
ret 0x18
cmp ecx, ebp
jne 0x403635
test al, 0x10
jne 0x403635
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
push ecx
push eax
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esi + 0x50]
call fcn.00404010
mov edi, eax
cmp edi, ebp
jl 0x403912
mov ecx, edi
imul ecx, ecx, 0x3d0
add esi, ecx
pop edi
mov dword [esi + 0x1888], ebp
mov byte [esi + 0x1884], 0
pop esi
pop ebp
add esp, 8
ret 0x18
test al, 2
jne 0x4035d5
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + 4]
lea ecx, [eax + esi + 0x2c]
call fcn.00407700
test al, al
je 0x4035d5
push ebx
xor ebx, ebx
lea eax, [esi + 0x6c]
cmp dword [eax], ebp
je 0x40366f
add ebx, 1
add eax, 0x134
cmp ebx, 0x14
jl 0x403652
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 8
ret 0x18
cmp dword [esp + 0x1c], ebp
jne 0x40367d
mov dword [esp + 0x1c], 0x41879a
mov edx, dword [esp + 0x1c]
mov ecx, ebx
imul ecx, ecx, 0x3d0
lea edi, [ecx + esi]
push 0x104
lea eax, [edi + 0x1938]
push edx
push eax
call fcn.0040ac70
add esp, 0xc
cmp dword [esp + 0x20], ebp
jne 0x4036af
mov dword [esp + 0x20], 0x41879a
mov eax, dword [esp + 0x20]
push 0x104
push eax
lea ecx, [edi + 0x1a3c]
push ecx
call fcn.0040ac70
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov cl, byte [esp + 0x38]
mov dword [edi + 0x1b44], eax
mov eax, dword [esp + 0x3c]
and edx, 0xffffffe7
add esp, 0xc
cmp eax, ebp
mov dword [edi + 0x1b40], edx
mov byte [edi + 0x1b48], cl
jne 0x4036f6
mov eax, 0x41879a
push 0x104
push eax
lea edx, [edi + 0x1b49]
push edx
call fcn.0040ac70
add esp, 0xc
cmp dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
je 0x4037c3
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esp + 0x30], eax
je 0x40389b
push str.WTSGetActiveConsoleSessionId
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4037b3
call eax
push 1
push eax
push 0
push ebx
mov ecx, esi
mov dword [edi + 0x1898], eax
call fcn.00402a00
test al, al
je 0x4037b3
mov eax, ebx
imul eax, eax, 0xf4
push 2
push 0x31c
lea ecx, [edi + 0x1938]
push ecx
mov dword [esp + 0x38], eax
mov eax, dword [esi + eax*4 + 0x18c0]
push 1
push eax
lea ecx, [esi + 0x2c]
call fcn.00407350
test eax, eax
jl 0x4037b3
mov ecx, dword [edi + 0x1898]
push ecx
push str._ExtMod__Process_created_in_session__ld
call fcn.00409f90
mov edx, dword [edi + 0x1c50]
mov eax, dword [esp + 0x34]
add esp, 8
mov dword [esi + eax*4 + 0x1910], edx
mov ebp, 1
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40389b
test byte [esp + 0x24], 0x10
je 0x40389b
lea edx, [esp + 0x10]
push edx
lea eax, [edi + 0x1898]
push 0xa
push eax
call fcn.004053e0
add esp, 0xc
test al, al
je 0x40389b
cmp dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
jbe 0x40389b
mov eax, ebx
imul eax, eax, 0xf4
mov dword [esp + 0x2c], eax
lea eax, [esi + eax*4 + 0x1898]
mov dword [esp + 0x30], eax
mov eax, dword [eax]
test eax, eax
je 0x40387b
push 1
push eax
push ebp
push ebx
mov ecx, esi
call fcn.00402a00
test al, al
je 0x40387b
mov ecx, dword [esp + 0x2c]
push 2
push 0x31c
lea eax, [edi + 0x1938]
push eax
add ecx, ebp
mov edx, dword [esi + ecx*4 + 0x18c0]
push 1
push edx
lea ecx, [esi + 0x2c]
call fcn.00407350
test eax, eax
jl 0x40387b
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push ecx
push str._ExtMod__Process_created_in_session__ld
call fcn.00409f90
mov edx, dword [esp + 0x34]
mov eax, dword [edi + 0x1c50]
add edx, ebp
add esp, 8
mov dword [esi + edx*4 + 0x1910], eax
add ebp, 1
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
add ecx, 1
add eax, 4
cmp ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], eax
jb 0x403811
mov edx, dword [esp + 0x1c]
mov ecx, ebx
imul ecx, ecx, 0x134
xor eax, eax
add esi, ecx
push eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
push edx
lea eax, [esi + 0x58]
push eax
call fcn.00409a70
mov ecx, dword [esp + 0x2c]
push 0
push ecx
lea edx, [esi + 0x5c]
push edx
call fcn.00409a70
mov eax, dword [esp + 0x3c]
add esp, 0x18
mov byte [esi + 0x80], 0
mov dword [esi + 0x60], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x64], eax
xor eax, eax
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], 1
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov byte [edi + 0x1884], 1
mov dword [edi + 0x1888], ebp
mov edi, ebx
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 8
ret 0x18