Function at 0x42f0c0
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 + 0xc4], 0
push edi
jne 0x42f125
mov eax, dword [esi + 0x48]
test eax, eax
je 0x42f0f7
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f0f7
mov eax, dword [esi + 0x48]
push 0
push 6
push 0x465
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [esi + 0xc4], 0
jne 0x42f125
mov eax, dword [esi + 0x48]
test eax, eax
je 0x42f125
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f125
mov ecx, dword [esi + 0x48]
push 0
push 1
push 0x467
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [0x4f683a], 0
je 0x42f139
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4fb388], eax
push esi
call fcn.0043eb80
test eax, eax
je 0x42f148
call fcn.0043ea80
cmp dword [esi + 0x18], 0
je 0x42f153
call fcn.004240c0
cmp dword [esi + 0x10], 0
je 0x42f160
mov ecx, esi
call fcn.00424820
cmp dword [esi + 0x14], 0
je 0x42f16c
push esi
call fcn.00425ac0
mov ecx, 0x4cbcf0
call fcn.00401580
cmp byte [0x4f683a], 0
je 0x42f1e3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4fb38c], eax
sub eax, dword [0x4fb388]
mov edi, 0x4fb418
push eax
push 0x4cf688
push 0x4cbaf4
call fcn.00401f80
mov edx, dword [0x4fb418]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0xc
push edx
call ebx
mov eax, dword [0x4fb390]
test eax, eax
je 0x42f1e9
push eax
mov eax, dword [0x4fb418]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.0049c567
mov edx, dword [0x4fb390]
push edx
call fcn.0049cdd7
add esp, 0x14
jmp 0x42f1e9
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [esi + 0xc4], 0
jne 0x42f217
mov eax, dword [esi + 0x48]
test eax, eax
je 0x42f217
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f217
mov eax, dword [esi + 0x48]
push 0
push 2
push 0x467
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [0x4f683a], 0
je 0x42f22b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4fb388], eax
mov edi, esi
call fcn.00430060
cmp byte [0x4f683a], 0
mov dword [ebp - 4], eax
je 0x42f299
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4fb38c], eax
sub eax, dword [0x4fb388]
mov edi, 0x4fb418
push eax
push 0x4cf694
push 0x4cbaf4
call fcn.00401f80
mov ecx, dword [0x4fb418]
add esp, 0xc
push ecx
call ebx
mov eax, dword [0x4fb390]
test eax, eax
je 0x42f299
push eax
mov eax, dword [0x4fb418]
mov edx, dword [eax - 0xc]
push edx
push 2
push eax
call fcn.0049c567
mov eax, dword [0x4fb390]
push eax
call fcn.0049cdd7
add esp, 0x14
cmp byte [esi + 0xc4], 0
jne 0x42f2c7
mov eax, dword [esi + 0x48]
test eax, eax
je 0x42f2c7
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f2c7
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 0x42f438
cmp byte [0x4f683a], 0
je 0x42f2e7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4fb388], eax
push esi
call fcn.004301f0
cmp byte [0x4f683a], 0
mov dword [ebp - 4], eax
je 0x42f355
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4fb38c], eax
sub eax, dword [0x4fb388]
mov edi, 0x4fb418
push eax
push 0x4cf6ac
push 0x4cbaf4
call fcn.00401f80
mov edx, dword [0x4fb418]
add esp, 0xc
push edx
call ebx
mov eax, dword [0x4fb390]
test eax, eax
je 0x42f355
push eax
mov eax, dword [0x4fb418]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.0049c567
mov edx, dword [0x4fb390]
push edx
call fcn.0049cdd7
add esp, 0x14
cmp byte [esi + 0xc4], 0
jne 0x42f383
mov eax, dword [esi + 0x48]
test eax, eax
je 0x42f383
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f383
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 0x42f438
cmp byte [0x4f683a], 0
je 0x42f3a3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4fb388], eax
call fcn.004337f0
cmp byte [0x4f683a], 0
mov ebx, eax
je 0x42f412
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4fb38c], eax
sub eax, dword [0x4fb388]
mov edi, 0x4fb418
push eax
push 0x4cf6d4
push 0x4cbaf4
call fcn.00401f80
mov ecx, dword [0x4fb418]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x4fb390]
test eax, eax
je 0x42f412
push eax
mov eax, dword [0x4fb418]
mov edx, dword [eax - 0xc]
push edx
push 2
push eax
call fcn.0049c567
mov eax, dword [0x4fb390]
push eax
call fcn.0049cdd7
add esp, 0x14
push 5
push 0x467
call fcn.0043cec0
cmp ebx, 1
je 0x42f42c
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0042f920
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret