Function at 0x47ef50
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 0x47efb5
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47ef87
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47ef87
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 0x47efb5
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47efb5
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47efb5
mov ecx, dword [esi + 0x48]
push 0
push 1
push 0x467
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [0x554092], 0
je 0x47efc9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55ad74], eax
cmp dword [esi + 0x18], 0
je 0x47efd4
call fcn.004754a0
cmp dword [esi + 0x10], 0
je 0x47efe1
mov ecx, esi
call fcn.00475c00
cmp dword [esi + 0x14], 0
je 0x47efed
push esi
call fcn.00476ea0
mov ecx, 0x520290
call fcn.00458e40
cmp byte [0x554092], 0
je 0x47f064
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55ad78], eax
sub eax, dword [0x55ad74]
mov edi, 0x55ae78
push eax
push 0x523488
push 0x520094
call fcn.00459840
mov edx, dword [0x55ae78]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0xc
push edx
call ebx
mov eax, dword [0x55ad7c]
test eax, eax
je 0x47f06a
push eax
mov eax, dword [0x55ae78]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.004e8566
mov edx, dword [0x55ad7c]
push edx
call fcn.004e5ab7
add esp, 0x14
jmp 0x47f06a
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [esi + 0xc8], 0
jne 0x47f098
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47f098
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47f098
mov eax, dword [esi + 0x48]
push 0
push 2
push 0x467
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [0x554092], 0
je 0x47f0ac
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55ad74], eax
mov edi, esi
call fcn.0047f710
cmp byte [0x554092], 0
mov dword [ebp - 4], eax
je 0x47f11a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55ad78], eax
sub eax, dword [0x55ad74]
mov edi, 0x55ae78
push eax
push 0x523494
push 0x520094
call fcn.00459840
mov ecx, dword [0x55ae78]
add esp, 0xc
push ecx
call ebx
mov eax, dword [0x55ad7c]
test eax, eax
je 0x47f11a
push eax
mov eax, dword [0x55ae78]
mov edx, dword [eax - 0xc]
push edx
push 2
push eax
call fcn.004e8566
mov eax, dword [0x55ad7c]
push eax
call fcn.004e5ab7
add esp, 0x14
cmp byte [esi + 0xc8], 0
jne 0x47f148
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47f148
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47f148
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 0x47f2ab
cmp byte [0x554092], 0
je 0x47f168
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55ad74], eax
push esi
call fcn.0047f8a0
cmp byte [0x554092], 0
mov dword [ebp - 4], eax
je 0x47f1d6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55ad78], eax
sub eax, dword [0x55ad74]
mov edi, 0x55ae78
push eax
push 0x5234ac
push 0x520094
call fcn.00459840
mov edx, dword [0x55ae78]
add esp, 0xc
push edx
call ebx
mov eax, dword [0x55ad7c]
test eax, eax
je 0x47f1d6
push eax
mov eax, dword [0x55ae78]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.004e8566
mov edx, dword [0x55ad7c]
push edx
call fcn.004e5ab7
add esp, 0x14
cmp byte [esi + 0xc8], 0
jne 0x47f204
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47f204
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47f204
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 0x47f2ab
cmp byte [0x554092], 0
je 0x47f224
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55ad74], eax
call fcn.00482be0
cmp byte [0x554092], 0
mov ebx, eax
je 0x47f293
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55ad78], eax
sub eax, dword [0x55ad74]
mov edi, 0x55ae78
push eax
push 0x5234d4
push 0x520094
call fcn.00459840
mov ecx, dword [0x55ae78]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x55ad7c]
test eax, eax
je 0x47f293
push eax
mov eax, dword [0x55ae78]
mov edx, dword [eax - 0xc]
push edx
push 2
push eax
call fcn.004e8566
mov eax, dword [0x55ad7c]
push eax
call fcn.004e5ab7
add esp, 0x14
push 5
push 0x467
call fcn.0048b470
mov eax, ebx
cmp ebx, 1
jne 0x47f2ab
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret