Function at 0x47ae10
Capabilities:
Check for time delay via gettickcount
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x468
cmp dword [esp + 0x474], 0
push ebx
push ebp
mov ebp, dword [esp + 0x474]
push esi
push edi
ja 0x47ae36
mov dword [esp + 0x484], 0x6400000
mov eax, dword [esp + 0x48c]
test eax, eax
je 0x47ae47
mov dword [eax], 1
push str.__.09
call fcn.0049be50
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov dword [esp + 0x2c], ebx
test ebx, ebx
je 0x47af9e
test ebp, ebp
je 0x47af9e
cmp byte [ebp], 0
je 0x47af9e
push 0x4de980
call fcn.0049be50
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
push eax
push ebx
call esi
push 0x4de998
mov dword [esp + 0x1c], eax
call fcn.0049be50
add esp, 4
push eax
push ebx
call esi
push 0x4de9b4
mov dword [esp + 0x24], eax
call fcn.0049be50
add esp, 4
push eax
push ebx
call esi
push 0x4de9d0
mov dword [esp + 0x28], eax
call fcn.0049be50
add esp, 4
push eax
push ebx
call esi
mov edi, eax
push 0x4de9ec
mov dword [esp + 0x2c], edi
call fcn.0049be50
add esp, 4
push eax
push ebx
call esi
cmp dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
je 0x47af97
cmp dword [esp + 0x20], 0
je 0x47af97
cmp dword [esp + 0x24], 0
je 0x47af97
test edi, edi
je 0x47af97
test eax, eax
je 0x47af97
mov dword [esp + 0x14], 0x84000000
mov esi, ebp
mov al, byte [esi]
cmp al, 0x20
je 0x47af2d
cmp al, 9
jne 0x47af30
inc esi
jmp 0x47af23
cmp byte [esi], 0x2a
jne 0x47af5e
inc esi
call fcn.0041a410
mov dword [esp + 0x14], eax
mov edi, 0x4d9558
mov eax, esi
call fcn.004099e0
test eax, eax
je 0x47af5e
mov esi, eax
mov al, byte [esi]
cmp al, 0x20
je 0x47af5b
cmp al, 9
jne 0x47af5e
inc esi
jmp 0x47af51
mov eax, dword [0x4f3cf0]
push 0
push 0
push 0
push 4
push eax
call dword [esp + 0x2c]
mov edi, eax
xor ebp, ebp
mov dword [esp + 0x58], edi
cmp edi, ebp
je 0x47af97
mov ecx, dword [esp + 0x14]
push ebp
push ecx
push ebp
push ebp
push esi
push edi
call dword [esp + 0x38]
mov dword [esp + 0x14], eax
cmp eax, ebp
jne 0x47afab
push edi
call dword [esp + 0x28]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x468
ret
mov ebx, dword [esp + 0x480]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 4]
lea edx, [esp + 0x78]
xor edi, edi
mov dword [esp + 0x30], 0x28
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], 0x400
cmp eax, ebp
je 0x47b006
mov ecx, dword [ebx]
push ecx
push ebp
push eax
call fcn.004c16a0
add esp, 0xc
mov edx, dword [ebx + 4]
push 0x200000
push edx
mov dword [ebx], 0x100000
call fcn.004bb6d7
add esp, 8
cmp eax, ebp
jne 0x47b034
mov eax, dword [ebx + 4]
push eax
call fcn.004ba14c
add esp, 4
mov dword [ebx + 4], ebp
mov dword [ebx], ebp
jmp 0x47b03d
mov dword [ebx + 4], eax
mov dword [ebx + 8], ebp
mov byte [eax], 0
mov ebp, dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x20], eax
mov al, byte [esi]
cmp al, 0x68
je 0x47b179
cmp al, 0x48
je 0x47b179
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x400
lea edx, [esp + 0x80]
push edx
push eax
call dword [esp + 0x2c]
test eax, eax
je 0x47b29f
mov ebx, 0x100000
cmp dword [esp + 0x18], 0
je 0x47b29f
mov esi, dword [esp + 0x488]
test esi, esi
je 0x47b0ac
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x20]
cmp eax, esi
ja 0x47b27f
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4f2304]
mov ecx, dword [0x4ec48c]
cmp eax, dword [ecx + 0xb8]
jbe 0x47b0f2
push 0
push 0
push 0
push 0
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x47b0eb
push 1
push 0xffffffffffffffff
call fcn.00401910
add esp, 8
call esi
mov dword [0x4f2304], eax
mov ecx, dword [esp + 0x484]
mov eax, dword [esp + 0x48]
lea eax, [edi + eax + 3]
test ecx, ecx
je 0x47b109
cmp ecx, eax
jbe 0x47b16d
cmp ebx, eax
ja 0x47b12b
mov esi, dword [esp + 0x480]
add ebx, 0x100000
mov eax, ebx
call fcn.00413af0
mov ebp, eax
test ebp, ebp
je 0x47b296
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x7c]
push edx
lea eax, [edi + ebp]
push eax
call fcn.004c3030
mov eax, dword [esp + 0x20]
add edi, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 0x400
lea edx, [esp + 0x80]
push edx
push eax
call dword [esp + 0x2c]
test eax, eax
jne 0x47b084
jmp 0x47b29f
mov esi, dword [esp + 0x480]
jmp 0x47b296
mov edx, dword [esp + 0x14]
push 0
push 8
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [esp + 0x38]
test eax, eax
je 0x47b29f
mov dword [esp + 0x1c], 0x100000
cmp dword [esp + 0x48], 0
je 0x47b29f
mov esi, dword [esp + 0x488]
test esi, esi
je 0x47b1c3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x20]
cmp eax, esi
ja 0x47b27f
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4f2304]
mov ecx, dword [0x4ec48c]
cmp eax, dword [ecx + 0xb8]
jbe 0x47b209
push 0
push 0
push 0
push 0
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x47b202
push 1
push 0xffffffffffffffff
call fcn.00401910
add esp, 8
call esi
mov dword [0x4f2304], eax
mov ecx, dword [esp + 0x484]
mov eax, dword [esp + 0x48]
lea eax, [edi + eax + 3]
test ecx, ecx
je 0x47b220
cmp ecx, eax
jbe 0x47b294
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
ja 0x47b241
add ecx, 0x100000
mov eax, ecx
mov esi, ebx
mov dword [esp + 0x1c], ecx
call fcn.00413af0
mov ebp, eax
test ebp, ebp
je 0x47b296
mov ecx, dword [esp + 0x48]
push ecx
lea edx, [esp + 0x7c]
push edx
lea eax, [edi + ebp]
push eax
call fcn.004c3030
mov edx, dword [esp + 0x20]
add edi, dword [esp + 0x54]
add esp, 0xc
push 0
push 8
lea ecx, [esp + 0x38]
push ecx
push edx
mov dword [esp + 0x58], 0x400
call dword [esp + 0x38]
test eax, eax
jne 0x47b19b
jmp 0x47b29f
mov eax, dword [esp + 0x48c]
test eax, eax
je 0x47b290
mov dword [eax], 2
xor edi, edi
jmp 0x47b29f
mov esi, ebx
push 1
xor edi, edi
call fcn.00413920
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
push eax
mov word [edi + ebp], 0
mov byte [edi + ebp + 2], 0
call esi
mov ecx, dword [esp + 0x58]
push ecx
call esi
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x48c]
test eax, eax
je 0x47b2dd
cmp dword [eax], 2
jae 0x47b2dd
mov dword [eax], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x468
ret