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

Disassembly:
push 0xffffffffffffffff
push 0x521288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [esp + 0x58]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [esp + 0x18], ebx
mov dword [eax], ebx
je 0x474f2f
mov edi, dword [esp + 0x60]
cmp edi, ebx
je 0x474f2f
mov dword [esp + 0x14], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x5c], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], eax
call fcn.004723f0
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 5
call fcn.00475760
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x474ca3
mov dword [esp + 0x20], ebx
jmp 0x474cb0
mov ecx, dword [esp + 0x3c]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], ebx
cmp ecx, ebx
jle 0x474e38
jmp 0x474cc6
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov esi, dword [eax + ecx*4]
lea ecx, [esp + 0x14]
call fcn.004960f0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov edx, dword [esi]
push eax
push esi
call dword [edx + 0x24]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.0046eaf0
cmp eax, ebx
jge 0x474d04
cmp eax, 0x80004002
je 0x474d04
push eax
call fcn.0051e127
cmp dword [esp + 0x10], ebx
je 0x474e23
lea ecx, [esp + 0x5c]
call fcn.004960f0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], ebx
cmp eax, ebx
jne 0x474d31
push 0x80004003
call fcn.0051e127
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea ecx, [esp + 0x5c]
push ecx
push eax
call dword [edx + 0xa4]
cmp dword [esp + 0x5c], ebx
je 0x474e23
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x5c], ebx
jne 0x474d5d
push 0x80004003
call fcn.0051e127
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x24]
push ecx
push ebx
mov edx, dword [eax]
push 1
push edi
push eax
call dword [edx + 0x64]
test eax, eax
jne 0x474e23
or esi, 0xffffffff
cmp word [esp + 0x24], si
jne 0x474e23
mov dword [esp + 0x60], ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0x54], 6
call fcn.004960f0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x60], ebx
cmp eax, ebx
jne 0x474db2
push 0x80004003
call fcn.0051e127
mov eax, dword [esp + 0x5c]
mov edx, dword [eax]
lea ecx, [esp + 0x60]
push ecx
push eax
call dword [edx + 0x28]
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x474dd6
push eax
call fcn.00474a90
add esp, 4
test eax, eax
je 0x474dd6
inc dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
cmp eax, ebx
jne 0x474dec
push 0x80004003
call fcn.0051e127
mov eax, dword [esp + 0x5c]
mov edx, dword [eax]
push ebx
push eax
call dword [edx + 0x3c]
call ebp
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
sub eax, edx
cmp eax, ecx
ja 0x474eb1
mov eax, dword [esp + 0x60]
mov byte [esp + 0x54], 5
cmp eax, ebx
je 0x474d4d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x474d4d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x474cc2
cmp edi, ebx
je 0x474e43
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 8
call fcn.004759c0
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 4
call fcn.00405000
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x54], 3
cmp eax, ebx
je 0x474e72
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x54], bl
cmp eax, ebx
je 0x474e84
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], 0xffffffff
cmp eax, ebx
je 0x474e9a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
cmp edi, ebx
je 0x474ebc
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x60]
mov dword [edx], 1
call fcn.004960f0
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 7
call fcn.004759c0
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 4
call fcn.00405000
lea ecx, [esp + 0x5c]
call fcn.004960f0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x54], bl
cmp eax, ebx
je 0x474f06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], esi
cmp eax, ebx
je 0x474f18
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret