Function at 0x47da50
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 [0x54e072], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
je 0x47da6f
call esi
mov dword [0x554cd4], eax
mov eax, dword [ebp + 8]
call fcn.00488a90
cmp byte [0x54e072], 0
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
je 0x47dae9
call esi
mov dword [0x554cd8], eax
sub eax, dword [0x554cd4]
mov edi, 0x554dd4
push eax
push 0x51ef04
push 0x51bd04
call fcn.00458e60
mov eax, dword [0x554dd4]
add esp, 0xc
push eax
call ebx
mov eax, dword [0x554dd4]
mov ecx, dword [0x554cdc]
mov edx, dword [eax - 0xc]
push ecx
push edx
push 2
push eax
call fcn.004e4558
mov eax, dword [0x554cdc]
push eax
call fcn.004e1bb7
add esp, 0x14
cmp byte [0x54e072], 0
je 0x47dae9
call esi
mov dword [0x554cd4], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00481570
cmp byte [0x54e072], 0
mov dword [ebp - 4], eax
je 0x47db55
call esi
mov dword [0x554cd8], eax
sub eax, dword [0x554cd4]
mov edi, 0x554dd4
push eax
push str._rY6R
push 0x51bd04
call fcn.00458e60
mov edx, dword [0x554dd4]
add esp, 0xc
push edx
call ebx
mov eax, dword [0x554cdc]
push eax
mov eax, dword [0x554dd4]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.004e4558
mov edx, dword [0x554cdc]
push edx
call fcn.004e1bb7
mov eax, dword [ebp - 4]
add esp, 0x14
cmp eax, 1
jne 0x47de6b
call fcn.004890a0
mov ecx, dword [ebp + 8]
call fcn.004896e0
cmp byte [0x54e072], 0
je 0x47db7b
call esi
mov dword [0x554cd4], eax
call fcn.00481b00
cmp byte [0x54e072], 0
mov dword [ebp - 4], eax
je 0x47dbe2
call esi
mov dword [0x554cd8], eax
sub eax, dword [0x554cd4]
mov edi, 0x554dd4
push eax
push 0x51ef34
push 0x51bd04
call fcn.00458e60
mov eax, dword [0x554dd4]
add esp, 0xc
push eax
call ebx
mov eax, dword [0x554dd4]
mov ecx, dword [0x554cdc]
mov edx, dword [eax - 0xc]
push ecx
push edx
push 2
push eax
call fcn.004e4558
mov eax, dword [0x554cdc]
push eax
call fcn.004e1bb7
mov eax, dword [ebp - 4]
add esp, 0x14
cmp eax, 1
jne 0x47de6b
mov edi, dword [ebp + 8]
push edi
call fcn.00483970
cmp byte [0x54e072], 0
je 0x47dc04
call esi
mov dword [0x554cd4], eax
push edi
call fcn.00483a30
cmp byte [0x54e072], 0
mov dword [ebp - 4], eax
je 0x47dc6e
call esi
mov dword [0x554cd8], eax
sub eax, dword [0x554cd4]
mov edi, 0x554dd4
push eax
push 0x51ef44
push 0x51bd04
call fcn.00458e60
mov ecx, dword [0x554dd4]
add esp, 0xc
push ecx
call ebx
mov eax, dword [0x554dd4]
mov edx, dword [0x554cdc]
mov ecx, dword [eax - 0xc]
push edx
push ecx
push 2
push eax
call fcn.004e4558
mov edx, dword [0x554cdc]
push edx
call fcn.004e1bb7
mov eax, dword [ebp - 4]
add esp, 0x14
cmp eax, 1
jne 0x47de6b
cmp byte [0x54e072], 0
je 0x47dc87
call esi
mov dword [0x554cd4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00484750
cmp byte [0x54e072], 0
mov dword [ebp - 4], eax
je 0x47dcf4
call esi
mov dword [0x554cd8], eax
sub eax, dword [0x554cd4]
mov edi, 0x554dd4
push eax
push 0x51ef54
push 0x51bd04
call fcn.00458e60
mov ecx, dword [0x554dd4]
add esp, 0xc
push ecx
call ebx
mov eax, dword [0x554dd4]
mov edx, dword [0x554cdc]
mov ecx, dword [eax - 0xc]
push edx
push ecx
push 2
push eax
call fcn.004e4558
mov edx, dword [0x554cdc]
push edx
call fcn.004e1bb7
mov eax, dword [ebp - 4]
add esp, 0x14
cmp eax, 1
jne 0x47de6b
cmp byte [0x54e072], 0
je 0x47dd0d
call esi
mov dword [0x554cd4], eax
mov ecx, dword [ebp + 8]
call fcn.00484800
cmp byte [0x54e072], 0
mov dword [ebp - 4], eax
je 0x47dd77
call esi
mov dword [0x554cd8], eax
sub eax, dword [0x554cd4]
mov edi, 0x554dd4
push eax
push 0x51ef80
push 0x51bd04
call fcn.00458e60
mov eax, dword [0x554dd4]
add esp, 0xc
push eax
call ebx
mov eax, dword [0x554dd4]
mov ecx, dword [0x554cdc]
mov edx, dword [eax - 0xc]
push ecx
push edx
push 2
push eax
call fcn.004e4558
mov eax, dword [0x554cdc]
push eax
call fcn.004e1bb7
mov eax, dword [ebp - 4]
add esp, 0x14
cmp eax, 1
jne 0x47de6b
call esi
mov ecx, dword [ebp + 8]
push ecx
mov edi, eax
call fcn.00484960
mov dword [ebp - 4], eax
call esi
cmp byte [0x54e072], 0
je 0x47dde4
sub eax, edi
push eax
push 0x51ef90
push 0x51bd04
mov edi, 0x554dd4
call fcn.00458e60
mov edx, dword [0x554dd4]
add esp, 0xc
push edx
call ebx
mov eax, dword [0x554cdc]
push eax
mov eax, dword [0x554dd4]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.004e4558
mov edx, dword [0x554cdc]
push edx
call fcn.004e1bb7
add esp, 0x14
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x47de6b
cmp byte [0x54e072], 0
je 0x47ddfc
call esi
mov dword [0x554cd4], eax
mov ecx, dword [ebp + 8]
call fcn.00485c80
cmp byte [0x54e072], 0
mov dword [ebp - 4], eax
je 0x47de66
call esi
mov dword [0x554cd8], eax
sub eax, dword [0x554cd4]
mov edi, 0x554dd4
push eax
push 0x51efa4
push 0x51bd04
call fcn.00458e60
mov eax, dword [0x554dd4]
add esp, 0xc
push eax
call ebx
mov eax, dword [0x554dd4]
mov ecx, dword [0x554cdc]
mov edx, dword [eax - 0xc]
push ecx
push edx
push 2
push eax
call fcn.004e4558
mov eax, dword [0x554cdc]
push eax
call fcn.004e1bb7
mov eax, dword [ebp - 4]
add esp, 0x14
cmp eax, 1
jne 0x47de6b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4