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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4296f6
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x438008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.00402750
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
cmp dword [0x439060], 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 0x409cb8
call ebx
push eax
mov dword [0x438d78], 1
call edi
mov edx, dword [ebp - 0x18]
add esp, 4
mov dword [0x439060], 1
test edx, edx
jle 0x409ebb
lea ecx, [esi + 0x10]
mov dword [ebp - 0x1c], ecx
jmp 0x409cd3
mov esi, dword [ebp - 0x14]
cmp dword [0x438d78], 0
jne 0x409cee
mov dword [0x438d78], 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 0x409d00
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x409dcf
cmp dword [0x438d78], 0
jne 0x409d1f
mov dword [0x438d78], 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.00402750
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.00421fc0
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.00422d20
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 - 0x1c]
lea eax, [esi + 0x10]
push eax
call fcn.00402d10
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xa0]
call fcn.004023f0
and dword [ebp - 0x10], 0xfffffff7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
jmp 0x409e95
cmp dword [0x438d78], 0
jne 0x409dea
mov dword [0x438d78], 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.00402750
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.00421fc0
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.00422d20
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 - 0x1c]
lea eax, [esi + 0x10]
push eax
call fcn.00402d10
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xcc]
call fcn.004023f0
and dword [ebp - 0x10], 0xffffffef
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004023f0
sub dword [ebp - 0x18], 1
jne 0x409cd0
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
mov eax, esi
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