Function at 0x47d6f0
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 0x47d755
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47d727
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47d727
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 0x47d755
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47d755
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47d755
mov ecx, dword [esi + 0x48]
push 0
push 1
push 0x467
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [0x54e072], 0
je 0x47d769
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x554cd4], eax
cmp dword [esi + 0x18], 0
je 0x47d774
call fcn.00473db0
cmp dword [esi + 0x10], 0
je 0x47d781
mov ecx, esi
call fcn.00474510
cmp dword [esi + 0x14], 0
je 0x47d78d
push esi
call fcn.004757b0
mov ecx, 0x51be90
call fcn.00458ab0
cmp byte [0x54e072], 0
je 0x47d800
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x554cd8], eax
sub eax, dword [0x554cd4]
mov edi, 0x554dd4
push eax
push 0x51ee98
push 0x51bd04
call fcn.00458e60
mov edx, dword [0x554dd4]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
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
jmp 0x47d806
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [esi + 0xc8], 0
jne 0x47d834
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47d834
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47d834
mov eax, dword [esi + 0x48]
push 0
push 2
push 0x467
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [0x54e072], 0
je 0x47d848
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x554cd4], eax
mov edi, esi
call fcn.0047de80
cmp byte [0x54e072], 0
mov edi, eax
mov dword [ebp - 4], edi
je 0x47d8b9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x554cd8], eax
sub eax, dword [0x554cd4]
mov edi, 0x554dd4
push eax
push 0x51eea4
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 edi, dword [ebp - 4]
add esp, 0x14
cmp byte [esi + 0xc8], 0
jne 0x47d8e7
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47d8e7
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47d8e7
mov eax, dword [esi + 0x48]
push 0
push 3
push 0x467
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp edi, 1
je 0x47d8f5
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x54e072], 0
je 0x47d909
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x554cd4], eax
push esi
call fcn.0047e010
cmp byte [0x54e072], 0
mov edi, eax
mov dword [ebp - 4], edi
je 0x47d979
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x554cd8], eax
sub eax, dword [0x554cd4]
mov edi, 0x554dd4
push eax
push 0x51eebc
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 edi, dword [ebp - 4]
add esp, 0x14
cmp byte [esi + 0xc8], 0
jne 0x47d9a7
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47d9a7
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47d9a7
mov eax, dword [esi + 0x48]
push 0
push 4
push 0x467
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp edi, 1
jne 0x47d8ec
cmp byte [0x54e072], 0
je 0x47d9c4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x554cd4], eax
call fcn.00480d80
cmp byte [0x54e072], 0
mov ebx, eax
je 0x47da31
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x554cd8], eax
sub eax, dword [0x554cd4]
mov edi, 0x554dd4
push eax
push 0x51eee4
push 0x51bd04
call fcn.00458e60
mov ecx, dword [0x554dd4]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
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
add esp, 0x14
push 5
push 0x467
call fcn.004888c0
mov eax, ebx
cmp ebx, 1
jne 0x47da49
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret