Function at 0x47ebf0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
cmp byte [esi + 0xc8], 0
push edi
jne 0x47ec55
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47ec27
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47ec27
mov eax, dword [esi + 0x48]
push 0
push 6
push 0x465
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [esi + 0xc8], 0
jne 0x47ec55
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47ec55
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47ec55
mov ecx, dword [esi + 0x48]
push 0
push 1
push 0x467
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [0x553092], 0
je 0x47ec69
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x559d74], eax
cmp dword [esi + 0x18], 0
je 0x47ec74
call fcn.00475170
cmp dword [esi + 0x10], 0
je 0x47ec81
mov ecx, esi
call fcn.004758d0
cmp dword [esi + 0x14], 0
je 0x47ec8d
push esi
call fcn.00476b70
mov ecx, 0x51f198
call fcn.00458cc0
cmp byte [0x553092], 0
je 0x47ed04
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x559d78], eax
sub eax, dword [0x559d74]
mov edi, 0x559e78
push eax
push 0x522390
push 0x51ef9c
call fcn.004596f0
mov edx, dword [0x559e78]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0xc
push edx
call ebx
mov eax, dword [0x559d7c]
test eax, eax
je 0x47ed0a
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
jmp 0x47ed0a
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [esi + 0xc8], 0
jne 0x47ed38
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47ed38
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47ed38
mov eax, dword [esi + 0x48]
push 0
push 2
push 0x467
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [0x553092], 0
je 0x47ed4c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x559d74], eax
mov edi, esi
call fcn.0047f320
cmp byte [0x553092], 0
mov dword [ebp - 4], eax
je 0x47edba
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x559d78], eax
sub eax, dword [0x559d74]
mov edi, 0x559e78
push eax
push 0x52239c
push 0x51ef9c
call fcn.004596f0
mov ecx, dword [0x559e78]
add esp, 0xc
push ecx
call ebx
mov eax, dword [0x559d7c]
test eax, eax
je 0x47edba
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
cmp byte [esi + 0xc8], 0
jne 0x47ede8
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47ede8
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47ede8
mov ecx, dword [esi + 0x48]
push 0
push 3
push 0x467
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x47ef4b
cmp byte [0x553092], 0
je 0x47ee08
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x559d74], eax
push esi
call fcn.0047f4b0
cmp byte [0x553092], 0
mov dword [ebp - 4], eax
je 0x47ee76
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x559d78], eax
sub eax, dword [0x559d74]
mov edi, 0x559e78
push eax
push 0x5223b4
push 0x51ef9c
call fcn.004596f0
mov edx, dword [0x559e78]
add esp, 0xc
push edx
call ebx
mov eax, dword [0x559d7c]
test eax, eax
je 0x47ee76
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 [esi + 0xc8], 0
jne 0x47eea4
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47eea4
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47eea4
mov eax, dword [esi + 0x48]
push 0
push 4
push 0x467
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x47ef4b
cmp byte [0x553092], 0
je 0x47eec4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x559d74], eax
call fcn.004827f0
cmp byte [0x553092], 0
mov ebx, eax
je 0x47ef33
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x559d78], eax
sub eax, dword [0x559d74]
mov edi, 0x559e78
push eax
push 0x5223dc
push 0x51ef9c
call fcn.004596f0
mov ecx, dword [0x559e78]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x559d7c]
test eax, eax
je 0x47ef33
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
push 5
push 0x467
call fcn.0048ab50
mov eax, ebx
cmp ebx, 1
jne 0x47ef4b
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret