Function at 0x47f1d0
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 0x47f235
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47f207
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47f207
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 0x47f235
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47f235
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47f235
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 0x47f249
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55ad74], eax
cmp dword [esi + 0x18], 0
je 0x47f254
call fcn.00475750
cmp dword [esi + 0x10], 0
je 0x47f261
mov ecx, esi
call fcn.00475eb0
cmp dword [esi + 0x14], 0
je 0x47f26d
push esi
call fcn.00477150
mov ecx, 0x520298
call fcn.00458df0
cmp byte [0x554092], 0
je 0x47f2e4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55ad78], eax
sub eax, dword [0x55ad74]
mov edi, 0x55ae78
push eax
push 0x523490
push 0x52009c
call fcn.00459820
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 0x47f2ea
push eax
mov eax, dword [0x55ae78]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.004e8840
mov edx, dword [0x55ad7c]
push edx
call fcn.004e5d97
add esp, 0x14
jmp 0x47f2ea
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [esi + 0xc8], 0
jne 0x47f318
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47f318
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47f318
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 0x47f32c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55ad74], eax
mov edi, esi
call fcn.0047f900
cmp byte [0x554092], 0
mov dword [ebp - 4], eax
je 0x47f39a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55ad78], eax
sub eax, dword [0x55ad74]
mov edi, 0x55ae78
push eax
push 0x52349c
push 0x52009c
call fcn.00459820
mov ecx, dword [0x55ae78]
add esp, 0xc
push ecx
call ebx
mov eax, dword [0x55ad7c]
test eax, eax
je 0x47f39a
push eax
mov eax, dword [0x55ae78]
mov edx, dword [eax - 0xc]
push edx
push 2
push eax
call fcn.004e8840
mov eax, dword [0x55ad7c]
push eax
call fcn.004e5d97
add esp, 0x14
cmp byte [esi + 0xc8], 0
jne 0x47f3c8
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47f3c8
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47f3c8
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 0x47f52b
cmp byte [0x554092], 0
je 0x47f3e8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55ad74], eax
push esi
call fcn.0047fa90
cmp byte [0x554092], 0
mov dword [ebp - 4], eax
je 0x47f456
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55ad78], eax
sub eax, dword [0x55ad74]
mov edi, 0x55ae78
push eax
push 0x5234b4
push 0x52009c
call fcn.00459820
mov edx, dword [0x55ae78]
add esp, 0xc
push edx
call ebx
mov eax, dword [0x55ad7c]
test eax, eax
je 0x47f456
push eax
mov eax, dword [0x55ae78]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.004e8840
mov edx, dword [0x55ad7c]
push edx
call fcn.004e5d97
add esp, 0x14
cmp byte [esi + 0xc8], 0
jne 0x47f484
mov eax, dword [esi + 0x48]
test eax, eax
je 0x47f484
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47f484
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 0x47f52b
cmp byte [0x554092], 0
je 0x47f4a4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55ad74], eax
call fcn.00482dd0
cmp byte [0x554092], 0
mov ebx, eax
je 0x47f513
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55ad78], eax
sub eax, dword [0x55ad74]
mov edi, 0x55ae78
push eax
push 0x5234dc
push 0x52009c
call fcn.00459820
mov ecx, dword [0x55ae78]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x55ad7c]
test eax, eax
je 0x47f513
push eax
mov eax, dword [0x55ae78]
mov edx, dword [eax - 0xc]
push edx
push 2
push eax
call fcn.004e8840
mov eax, dword [0x55ad7c]
push eax
call fcn.004e5d97
add esp, 0x14
push 5
push 0x467
call fcn.0048b3f0
mov eax, ebx
cmp ebx, 1
jne 0x47f52b
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret