Function at 0x47dae0
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 0x47db45
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47db17
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47db17
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 0x47db45
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47db45
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47db45
mov ecx, dword [esi + 0x48]
push 0
push 1
push 0x467
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [0x54d072], 0
je 0x47db59
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x553cb4], eax
cmp dword [esi + 0x18], 0
je 0x47db64
call fcn.00474800
cmp dword [esi + 0x10], 0
je 0x47db71
mov ecx, esi
call fcn.00474f60
cmp dword [esi + 0x14], 0
je 0x47db7d
push esi
call fcn.00476200
cmp byte [0x54d072], 0
je 0x47dbe6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x553cb8], eax
sub eax, dword [0x553cb4]
mov edi, 0x553db4
push eax
push 0x51da08
push 0x51ab9c
call fcn.00458f90
mov edx, dword [0x553db4]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0xc
push edx
call ebx
mov eax, dword [0x553cbc]
push eax
mov eax, dword [0x553db4]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.004e3b98
mov edx, dword [0x553cbc]
push edx
call fcn.004e11f7
add esp, 0x14
jmp 0x47dbec
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [esi + 0xc8], 0
jne 0x47dc1a
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47dc1a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47dc1a
mov eax, dword [esi + 0x48]
push 0
push 2
push 0x467
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [0x54d072], 0
je 0x47dc2e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x553cb4], eax
mov edi, esi
call fcn.0047e280
cmp byte [0x54d072], 0
mov edi, eax
mov dword [ebp - 4], edi
je 0x47dc9f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x553cb8], eax
sub eax, dword [0x553cb4]
mov edi, 0x553db4
push eax
push 0x51da14
push 0x51ab9c
call fcn.00458f90
mov ecx, dword [0x553db4]
add esp, 0xc
push ecx
call ebx
mov eax, dword [0x553db4]
mov edx, dword [0x553cbc]
mov ecx, dword [eax - 0xc]
push edx
push ecx
push 2
push eax
call fcn.004e3b98
mov edx, dword [0x553cbc]
push edx
call fcn.004e11f7
mov edi, dword [ebp - 4]
add esp, 0x14
cmp byte [esi + 0xc8], 0
jne 0x47dccd
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47dccd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47dccd
mov eax, dword [esi + 0x48]
push 0
push 3
push 0x467
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp edi, 1
je 0x47dcdb
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x54d072], 0
je 0x47dcef
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x553cb4], eax
push esi
call fcn.0047e410
cmp byte [0x54d072], 0
mov edi, eax
mov dword [ebp - 4], edi
je 0x47dd5f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x553cb8], eax
sub eax, dword [0x553cb4]
mov edi, 0x553db4
push eax
push 0x51da2c
push 0x51ab9c
call fcn.00458f90
mov ecx, dword [0x553db4]
add esp, 0xc
push ecx
call ebx
mov eax, dword [0x553db4]
mov edx, dword [0x553cbc]
mov ecx, dword [eax - 0xc]
push edx
push ecx
push 2
push eax
call fcn.004e3b98
mov edx, dword [0x553cbc]
push edx
call fcn.004e11f7
mov edi, dword [ebp - 4]
add esp, 0x14
cmp byte [esi + 0xc8], 0
jne 0x47dd8d
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47dd8d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47dd8d
mov eax, dword [esi + 0x48]
push 0
push 4
push 0x467
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp edi, 1
jne 0x47dcd2
cmp byte [0x54d072], 0
je 0x47ddaa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x553cb4], eax
call fcn.00481070
cmp byte [0x54d072], 0
mov ebx, eax
je 0x47de17
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x553cb8], eax
sub eax, dword [0x553cb4]
mov edi, 0x553db4
push eax
push 0x51da54
push 0x51ab9c
call fcn.00458f90
mov ecx, dword [0x553db4]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x553db4]
mov edx, dword [0x553cbc]
mov ecx, dword [eax - 0xc]
push edx
push ecx
push 2
push eax
call fcn.004e3b98
mov edx, dword [0x553cbc]
push edx
call fcn.004e11f7
add esp, 0x14
push 5
push 0x467
call fcn.00488ba0
mov eax, ebx
cmp ebx, 1
jne 0x47de2f
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret