Function at 0x47ef60
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 [0x553092], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
je 0x47ef7f
call esi
mov dword [0x559d74], eax
mov eax, dword [ebp + 8]
call fcn.0048ad20
cmp byte [0x553092], 0
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
je 0x47effd
call esi
mov dword [0x559d78], eax
sub eax, dword [0x559d74]
mov edi, 0x559e78
push eax
push 0x5223fc
push 0x51ef9c
call fcn.004596f0
mov eax, dword [0x559e78]
add esp, 0xc
push eax
call ebx
mov eax, dword [0x559d7c]
test eax, eax
je 0x47efed
push eax
mov eax, dword [0x559e78]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.004e7a60
mov edx, dword [0x559d7c]
push edx
call fcn.004e4fb7
add esp, 0x14
cmp byte [0x553092], 0
je 0x47effd
call esi
mov dword [0x559d74], eax
mov ecx, dword [ebp + 8]
call fcn.00483020
cmp byte [0x553092], 0
mov dword [ebp - 4], eax
je 0x47f068
call esi
mov dword [0x559d78], eax
sub eax, dword [0x559d74]
mov edi, 0x559e78
push eax
push str._rY6R
push 0x51ef9c
call fcn.004596f0
mov eax, dword [0x559e78]
add esp, 0xc
push eax
call ebx
mov eax, dword [0x559d7c]
test eax, eax
je 0x47f068
push eax
mov eax, dword [0x559e78]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.004e7a60
mov edx, dword [0x559d7c]
push edx
call fcn.004e4fb7
add esp, 0x14
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x47f312
call fcn.0048bbb0
mov ecx, dword [ebp + 8]
call fcn.0048c200
cmp byte [0x553092], 0
je 0x47f091
call esi
mov dword [0x559d74], eax
call fcn.004839e0
cmp byte [0x553092], 0
mov dword [ebp - 4], eax
je 0x47f0f9
call esi
mov dword [0x559d78], eax
sub eax, dword [0x559d74]
mov edi, 0x559e78
push eax
push 0x52242c
push 0x51ef9c
call fcn.004596f0
mov eax, dword [0x559e78]
add esp, 0xc
push eax
call ebx
mov eax, dword [0x559d7c]
test eax, eax
je 0x47f0f9
push eax
mov eax, dword [0x559e78]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.004e7a60
mov edx, dword [0x559d7c]
push edx
call fcn.004e4fb7
add esp, 0x14
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x47f312
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00485860
cmp byte [0x553092], 0
je 0x47f11f
call esi
mov dword [0x559d74], eax
mov ecx, edi
call fcn.00485930
cmp byte [0x553092], 0
mov dword [ebp - 4], eax
je 0x47f189
call esi
mov dword [0x559d78], eax
sub eax, dword [0x559d74]
mov edi, 0x559e78
push eax
push 0x52243c
push 0x51ef9c
call fcn.004596f0
mov eax, dword [0x559e78]
add esp, 0xc
push eax
call ebx
mov eax, dword [0x559d7c]
test eax, eax
je 0x47f189
push eax
mov eax, dword [0x559e78]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.004e7a60
mov edx, dword [0x559d7c]
push edx
call fcn.004e4fb7
add esp, 0x14
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x47f312
cmp byte [0x553092], 0
je 0x47f1a5
call esi
mov dword [0x559d74], eax
mov ecx, dword [ebp + 8]
call fcn.004867a0
cmp byte [0x553092], 0
mov dword [ebp - 4], eax
je 0x47f210
call esi
mov dword [0x559d78], eax
sub eax, dword [0x559d74]
mov edi, 0x559e78
push eax
push 0x52244c
push 0x51ef9c
call fcn.004596f0
mov eax, dword [0x559e78]
add esp, 0xc
push eax
call ebx
mov eax, dword [0x559d7c]
test eax, eax
je 0x47f210
push eax
mov eax, dword [0x559e78]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.004e7a60
mov edx, dword [0x559d7c]
push edx
call fcn.004e4fb7
add esp, 0x14
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x47f312
call esi
mov edi, eax
mov eax, dword [ebp + 8]
push eax
call fcn.00486940
mov dword [ebp - 4], eax
call esi
cmp byte [0x553092], 0
je 0x47f283
sub eax, edi
push eax
push 0x52245c
push 0x51ef9c
mov edi, 0x559e78
call fcn.004596f0
mov ecx, dword [0x559e78]
add esp, 0xc
push ecx
call ebx
mov eax, dword [0x559d7c]
test eax, eax
je 0x47f283
push eax
mov eax, dword [0x559e78]
mov edx, dword [eax - 0xc]
push edx
push 2
push eax
call fcn.004e7a60
mov eax, dword [0x559d7c]
push eax
call fcn.004e4fb7
add esp, 0x14
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x47f312
cmp byte [0x553092], 0
je 0x47f29f
call esi
mov dword [0x559d74], eax
mov ecx, dword [ebp + 8]
call fcn.00487d30
cmp byte [0x553092], 0
mov dword [ebp - 4], eax
je 0x47f30a
call esi
mov dword [0x559d78], eax
sub eax, dword [0x559d74]
mov edi, 0x559e78
push eax
push 0x522470
push 0x51ef9c
call fcn.004596f0
mov ecx, dword [0x559e78]
add esp, 0xc
push ecx
call ebx
mov eax, dword [0x559d7c]
test eax, eax
je 0x47f30a
push eax
mov eax, dword [0x559e78]
mov edx, dword [eax - 0xc]
push edx
push 2
push eax
call fcn.004e7a60
mov eax, dword [0x559d7c]
push eax
call fcn.004e4fb7
add esp, 0x14
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x47f312
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4