Function at 0x47f2c0
Capabilities:
Check for time delay via gettickcount
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x554092], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
je 0x47f2df
call esi
mov dword [0x55ad74], eax
mov eax, dword [ebp + 8]
call fcn.0048b640
cmp byte [0x554092], 0
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
je 0x47f35d
call esi
mov dword [0x55ad78], eax
sub eax, dword [0x55ad74]
mov edi, 0x55ae78
push eax
push 0x5234f4
push 0x520094
call fcn.00459840
mov eax, dword [0x55ae78]
add esp, 0xc
push eax
call ebx
mov eax, dword [0x55ad7c]
test eax, eax
je 0x47f34d
push eax
mov eax, dword [0x55ae78]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.004e8566
mov edx, dword [0x55ad7c]
push edx
call fcn.004e5ab7
add esp, 0x14
cmp byte [0x554092], 0
je 0x47f35d
call esi
mov dword [0x55ad74], eax
mov ecx, dword [ebp + 8]
call fcn.00483410
cmp byte [0x554092], 0
mov dword [ebp - 4], eax
je 0x47f3c8
call esi
mov dword [0x55ad78], eax
sub eax, dword [0x55ad74]
mov edi, 0x55ae78
push eax
push str._rY6R
push 0x520094
call fcn.00459840
mov eax, dword [0x55ae78]
add esp, 0xc
push eax
call ebx
mov eax, dword [0x55ad7c]
test eax, eax
je 0x47f3c8
push eax
mov eax, dword [0x55ae78]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.004e8566
mov edx, dword [0x55ad7c]
push edx
call fcn.004e5ab7
add esp, 0x14
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x47f6fb
call fcn.0048c270
mov ecx, dword [ebp + 8]
call fcn.0048c8c0
cmp byte [0x554092], 0
je 0x47f3f1
call esi
mov dword [0x55ad74], eax
call fcn.00483dd0
cmp byte [0x554092], 0
mov dword [ebp - 4], eax
je 0x47f459
call esi
mov dword [0x55ad78], eax
sub eax, dword [0x55ad74]
mov edi, 0x55ae78
push eax
push 0x523524
push 0x520094
call fcn.00459840
mov eax, dword [0x55ae78]
add esp, 0xc
push eax
call ebx
mov eax, dword [0x55ad7c]
test eax, eax
je 0x47f459
push eax
mov eax, dword [0x55ae78]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.004e8566
mov edx, dword [0x55ad7c]
push edx
call fcn.004e5ab7
add esp, 0x14
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x47f6fb
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00485c60
cmp byte [0x554092], 0
je 0x47f47f
call esi
mov dword [0x55ad74], eax
mov ecx, edi
call fcn.004860d0
cmp byte [0x554092], 0
mov dword [ebp - 4], eax
je 0x47f4e9
call esi
mov dword [0x55ad78], eax
sub eax, dword [0x55ad74]
mov edi, 0x55ae78
push eax
push 0x523534
push 0x520094
call fcn.00459840
mov eax, dword [0x55ae78]
add esp, 0xc
push eax
call ebx
mov eax, dword [0x55ad7c]
test eax, eax
je 0x47f4e9
push eax
mov eax, dword [0x55ae78]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.004e8566
mov edx, dword [0x55ad7c]
push edx
call fcn.004e5ab7
add esp, 0x14
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x47f6fb
cmp byte [0x554092], 0
je 0x47f505
call esi
mov dword [0x55ad74], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00487040
cmp byte [0x554092], 0
mov dword [ebp - 4], eax
je 0x47f571
call esi
mov dword [0x55ad78], eax
sub eax, dword [0x55ad74]
mov edi, 0x55ae78
push eax
push 0x523544
push 0x520094
call fcn.00459840
mov ecx, dword [0x55ae78]
add esp, 0xc
push ecx
call ebx
mov eax, dword [0x55ad7c]
test eax, eax
je 0x47f571
push eax
mov eax, dword [0x55ae78]
mov edx, dword [eax - 0xc]
push edx
push 2
push eax
call fcn.004e8566
mov eax, dword [0x55ad7c]
push eax
call fcn.004e5ab7
add esp, 0x14
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x47f6fb
cmp byte [0x554092], 0
je 0x47f58d
call esi
mov dword [0x55ad74], eax
mov ecx, dword [ebp + 8]
call fcn.004870f0
cmp byte [0x554092], 0
mov dword [ebp - 4], eax
je 0x47f5f8
call esi
mov dword [0x55ad78], eax
sub eax, dword [0x55ad74]
mov edi, 0x55ae78
push eax
push 0x523570
push 0x520094
call fcn.00459840
mov ecx, dword [0x55ae78]
add esp, 0xc
push ecx
call ebx
mov eax, dword [0x55ad7c]
test eax, eax
je 0x47f5f8
push eax
mov eax, dword [0x55ae78]
mov edx, dword [eax - 0xc]
push edx
push 2
push eax
call fcn.004e8566
mov eax, dword [0x55ad7c]
push eax
call fcn.004e5ab7
add esp, 0x14
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x47f6fb
call esi
mov ecx, dword [ebp + 8]
push ecx
mov edi, eax
call fcn.004872a0
mov dword [ebp - 4], eax
call esi
cmp byte [0x554092], 0
je 0x47f66c
sub eax, edi
push eax
push 0x523580
push 0x520094
mov edi, 0x55ae78
call fcn.00459840
mov edx, dword [0x55ae78]
add esp, 0xc
push edx
call ebx
mov eax, dword [0x55ad7c]
test eax, eax
je 0x47f66c
push eax
mov eax, dword [0x55ae78]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.004e8566
mov edx, dword [0x55ad7c]
push edx
call fcn.004e5ab7
add esp, 0x14
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x47f6fb
cmp byte [0x554092], 0
je 0x47f688
call esi
mov dword [0x55ad74], eax
mov ecx, dword [ebp + 8]
call fcn.00488690
cmp byte [0x554092], 0
mov dword [ebp - 4], eax
je 0x47f6f3
call esi
mov dword [0x55ad78], eax
sub eax, dword [0x55ad74]
mov edi, 0x55ae78
push eax
push 0x523594
push 0x520094
call fcn.00459840
mov eax, dword [0x55ae78]
add esp, 0xc
push eax
call ebx
mov eax, dword [0x55ad7c]
test eax, eax
je 0x47f6f3
push eax
mov eax, dword [0x55ae78]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.004e8566
mov edx, dword [0x55ad7c]
push edx
call fcn.004e5ab7
add esp, 0x14
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x47f6fb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4