Function at 0x42f630
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebx
push esi
mov esi, eax
cmp byte [esi + 0xb4], 0
push edi
jne 0x42f691
mov eax, dword [esi + 0x40]
test eax, eax
je 0x42f663
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f663
mov eax, dword [esi + 0x40]
push 0
push 0x5c
push 0x497
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [esi + 0xb4], 0
jne 0x42f691
mov eax, dword [esi + 0x40]
test eax, eax
je 0x42f691
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f691
mov ecx, dword [esi + 0x40]
push 0
push 0x5f
push 0x497
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [0x4e5790], 0
je 0x42f6a5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ea674], eax
mov edi, esi
call fcn.00430420
cmp byte [0x4e5790], 0
mov ebx, eax
je 0x42f717
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ea678], eax
sub eax, dword [0x4ea674]
mov edi, 0x4ea704
push eax
push 0x4c01a0
push 0x4bd194
call fcn.00402d60
mov edx, dword [0x4ea704]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x4ea67c]
test eax, eax
je 0x42f717
push eax
mov eax, dword [0x4ea704]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.00492295
mov edx, dword [0x4ea67c]
push edx
call fcn.00492a51
add esp, 0x14
cmp ebx, 1
je 0x42f722
mov eax, ebx
pop edi
pop esi
pop ebx
ret
cmp byte [0x4e5790], 0
je 0x42f736
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ea674], eax
push esi
call fcn.004305b0
cmp byte [0x4e5790], 0
mov ebx, eax
je 0x42f7a6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ea678], eax
sub eax, dword [0x4ea674]
mov edi, 0x4ea704
push eax
push 0x4c01b8
push 0x4bd194
call fcn.00402d60
mov eax, dword [0x4ea704]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x4ea67c]
test eax, eax
je 0x42f7a6
push eax
mov eax, dword [0x4ea704]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.00492295
mov edx, dword [0x4ea67c]
push edx
call fcn.00492a51
add esp, 0x14
cmp byte [esi + 0xb4], 0
jne 0x42f7d4
mov eax, dword [esi + 0x40]
test eax, eax
je 0x42f7d4
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f7d4
mov eax, dword [esi + 0x40]
push 0
push 0x60
push 0x497
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp ebx, 1
jne 0x42f71c
cmp byte [0x4e5790], 0
je 0x42f7f1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ea674], eax
mov ecx, esi
call fcn.00433dc0
cmp byte [0x4e5790], 0
mov ebx, eax
je 0x42f862
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ea678], eax
sub eax, dword [0x4ea674]
mov edi, 0x4ea704
push eax
push 0x4c01e0
push 0x4bd194
call fcn.00402d60
mov ecx, dword [0x4ea704]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x4ea67c]
test eax, eax
je 0x42f862
push eax
mov eax, dword [0x4ea704]
mov edx, dword [eax - 0xc]
push edx
push 2
push eax
call fcn.00492295
mov eax, dword [0x4ea67c]
push eax
call fcn.00492a51
add esp, 0x14
push 0x61
push 0x497
call fcn.0043b180
cmp ebx, 1
jne 0x42f71c
mov ecx, esi
call fcn.0042fcd0
push 0x63
push 0x497
call fcn.0043b180
pop edi
pop esi
mov eax, ebx
pop ebx
ret