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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414366
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x41e008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.00402b90
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
cmp dword [0x41e9d0], 0
mov edi, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x402392
call ebx
push eax
mov dword [0x41ecd0], 1
call edi
add esp, 4
mov dword [0x41e9d0], 1
lea ecx, [esi + 0x10]
mov dword [ebp - 0x1c], 6
mov dword [ebp - 0x18], ecx
jmp 0x4023a4
mov esi, dword [ebp - 0x14]
cmp dword [0x41ecd0], 0
jne 0x4023bf
mov dword [0x41ecd0], 1
call ebx
push eax
call edi
add esp, 4
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x80000001
jns 0x4023d1
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x4024a0
cmp dword [0x41ecd0], 0
jne 0x4023f0
mov dword [0x41ecd0], eax
call ebx
push eax
call edi
add esp, 4
mov eax, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
call eax
cdq
mov ecx, 0x1a
idiv ecx
add edx, 0x61
mov dword [ebp - 4], 0x13
lea ecx, [ebp - 0x48]
call fcn.00402b90
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x48]
movsx ax, dl
mov dword [ebp - 0x48], vtable.CWString.0
movzx eax, ax
push eax
call fcn.0040f370
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x48]
or dword [ebp - 0x10], 8
lea ecx, [ebp - 0xa0]
push eax
mov edx, esi
call fcn.0040f710
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [edx + 8], ecx
lea ecx, [edx + 0x10]
mov eax, dword [esi + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x10]
push eax
call fcn.00401910
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xa0]
call fcn.00402870
and dword [ebp - 0x10], 0xfffffff7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
jmp 0x402566
cmp dword [0x41ecd0], 0
jne 0x4024bb
mov dword [0x41ecd0], 1
call ebx
push eax
call edi
add esp, 4
mov eax, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
call eax
cdq
mov ecx, 0x1a
idiv ecx
add edx, 0x41
mov dword [ebp - 4], 0x16
lea ecx, [ebp - 0x74]
call fcn.00402b90
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x74]
movsx ax, dl
mov dword [ebp - 0x74], vtable.CWString.0
movzx eax, ax
push eax
call fcn.0040f370
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x74]
or dword [ebp - 0x10], 0x10
lea ecx, [ebp - 0xcc]
push eax
mov edx, esi
call fcn.0040f710
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [edx + 8], ecx
lea ecx, [edx + 0x10]
mov eax, dword [esi + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x10]
push eax
call fcn.00401910
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xcc]
call fcn.00402870
and dword [ebp - 0x10], 0xffffffef
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00402870
sub dword [ebp - 0x1c], 1
jne 0x4023a1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4