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

Disassembly:
push ebx
push esi
mov esi, eax
cmp byte [esi + 0xb4], 0
push edi
jne 0x42ea21
mov eax, dword [esi + 0x40]
test eax, eax
je 0x42e9f3
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42e9f3
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 0x42ea21
mov eax, dword [esi + 0x40]
test eax, eax
je 0x42ea21
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42ea21
mov ecx, dword [esi + 0x40]
push 0
push 0x5f
push 0x497
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [0x4e6790], 0
je 0x42ea35
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4eb36c], eax
mov edi, esi
call fcn.0042f7b0
cmp byte [0x4e6790], 0
mov ebx, eax
je 0x42eaa7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4eb370], eax
sub eax, dword [0x4eb36c]
mov edi, 0x4eb3f4
push eax
push 0x4c1968
push 0x4bdff8
call fcn.00402360
mov edx, dword [0x4eb3f4]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x4eb374]
test eax, eax
je 0x42eaa7
push eax
mov eax, dword [0x4eb3f4]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.00493e99
mov edx, dword [0x4eb374]
push edx
call fcn.00494637
add esp, 0x14
cmp ebx, 1
je 0x42eab2
mov eax, ebx
pop edi
pop esi
pop ebx
ret
cmp byte [0x4e6790], 0
je 0x42eac6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4eb36c], eax
push esi
call fcn.0042f940
cmp byte [0x4e6790], 0
mov ebx, eax
je 0x42eb36
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4eb370], eax
sub eax, dword [0x4eb36c]
mov edi, 0x4eb3f4
push eax
push 0x4c1980
push 0x4bdff8
call fcn.00402360
mov eax, dword [0x4eb3f4]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x4eb374]
test eax, eax
je 0x42eb36
push eax
mov eax, dword [0x4eb3f4]
mov ecx, dword [eax - 0xc]
push ecx
push 2
push eax
call fcn.00493e99
mov edx, dword [0x4eb374]
push edx
call fcn.00494637
add esp, 0x14
cmp byte [esi + 0xb4], 0
jne 0x42eb64
mov eax, dword [esi + 0x40]
test eax, eax
je 0x42eb64
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42eb64
mov eax, dword [esi + 0x40]
push 0
push 0x60
push 0x497
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp ebx, 1
jne 0x42eaac
cmp byte [0x4e6790], 0
je 0x42eb81
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4eb36c], eax
mov ecx, esi
call fcn.00433050
cmp byte [0x4e6790], 0
mov ebx, eax
je 0x42ebf2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4eb370], eax
sub eax, dword [0x4eb36c]
mov edi, 0x4eb3f4
push eax
push 0x4c19a8
push 0x4bdff8
call fcn.00402360
mov ecx, dword [0x4eb3f4]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x4eb374]
test eax, eax
je 0x42ebf2
push eax
mov eax, dword [0x4eb3f4]
mov edx, dword [eax - 0xc]
push edx
push 2
push eax
call fcn.00493e99
mov eax, dword [0x4eb374]
push eax
call fcn.00494637
add esp, 0x14
push 0x61
push 0x497
call fcn.0043bef0
cmp ebx, 1
jne 0x42eaac
mov ecx, esi
call fcn.0042f060
push 0x63
push 0x497
call fcn.0043bef0
pop edi
pop esi
mov eax, ebx
pop ebx
ret