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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bf51
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x58d214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0xb4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
sub ecx, 0x401
mov dword [ebp - 0x70], ecx
cmp dword [ebp - 0x70], 0x65
ja case.0x42ebfe.1
mov edx, dword [ebp - 0x70]
movzx eax, byte [edx + 0x42f130]
jmp dword [eax*4 + 0x42f108]
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.0042fbf0
jmp case.0x42ebfe.1
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.00430300
jmp case.0x42ebfe.1
mov eax, dword [ebp - 0x68]
movzx ecx, byte [eax + 0xc78]
test ecx, ecx
jne 0x42ec61
push 0x5464fc
mov ecx, dword [ebp - 0x68]
add ecx, 0x30
call fcn.004858a2
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
call fcn.00498048
mov edx, dword [ebp - 0x68]
mov byte [edx + 0xc5c], al
mov eax, dword [ebp - 0x68]
push eax
push 0
push 0x439950
call fcn.00517790
add esp, 0xc
jmp case.0x42ebfe.1
mov ecx, dword [ebp - 0x68]
add ecx, 0xcc0
mov dword [ebp - 0x7c], ecx
push 4
lea ecx, [ebp - 0x14]
call fcn.0040afc0
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x7c]
call fcn.0041f820
push 4
lea ecx, [ebp - 0x18]
call fcn.0040afc0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.0041f900
jmp 0x42ecbb
lea ecx, [ebp - 0x14]
call fcn.0040f370
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00418610
movzx edx, al
test edx, edx
je 0x42ecf8
lea ecx, [ebp - 0x14]
call fcn.0040f310
push eax
lea ecx, [ebp - 0x64]
call fcn.0040ed70
lea ecx, [ebp - 0x64]
call fcn.0040b600
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x64]
call fcn.00407d30
jmp 0x42ecb3
mov ecx, dword [ebp - 0x68]
add ecx, 0xcc0
call fcn.00437be0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
push 0x7e4
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0xe8]
push ecx
call fcn.00430950
add esp, 8
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x8c]
push eax
push 0x546540
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00405930
add esp, 0xc
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
call fcn.0040b600
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0xd0]
call fcn.00407d30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.00407d30
push 0
push 0x54654c
lea edx, [ebp - 0x184]
push edx
call fcn.00408d10
mov ecx, eax
call fcn.004839c0
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x98]
call fcn.00482ce7
push eax
lea ecx, [ebp - 0x30]
call fcn.00407820
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x184]
call fcn.00482bd0
mov ecx, dword [ebp - 0x74]
call fcn.0040b750
movzx ecx, al
test ecx, ecx
jne 0x42ee53
push 0x546560
lea ecx, [ebp - 0x30]
call fcn.0040b2e0
mov edx, dword [ebp - 0x74]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.00430950
add esp, 8
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x30]
call fcn.0040b1f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x100]
call fcn.00407d30
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x80], ecx
cmp dword [ebp - 0x80], 0
je 0x42ee7d
push 1
mov ecx, dword [ebp - 0x80]
call fcn.00418ab0
mov dword [ebp - 0xa8], eax
jmp 0x42ee87
mov dword [ebp - 0xa8], 0
push 1
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 0xc1c]
mov ecx, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ecx + 0xc1c]
mov eax, dword [edx + 0x118]
call eax
push 1
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0xc30]
mov eax, dword [ebp - 0x68]
mov edx, dword [edx]
mov ecx, dword [eax + 0xc30]
mov eax, dword [edx + 0x10c]
call eax
lea ecx, [ebp - 0x30]
call fcn.0040b600
push eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0xc30]
mov eax, dword [ebp - 0x68]
mov edx, dword [edx]
mov ecx, dword [eax + 0xc30]
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0xc79]
test edx, edx
je 0x42efab
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0xcbc], 0
je 0x42ef9a
lea ecx, [ebp - 0x30]
call fcn.0040b600
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
add ecx, 2
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0x6c]
mov ax, word [edx]
mov word [ebp - 0x76], ax
add dword [ebp - 0x6c], 2
cmp word [ebp - 0x76], 0
jne 0x42ef1e
mov ecx, dword [ebp - 0x6c]
sub ecx, dword [ebp - 0xac]
sar ecx, 1
mov dword [ebp - 0xb0], ecx
push 0
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0xb0]
shl eax, 1
push eax
lea ecx, [ebp - 0x30]
call fcn.0040b600
push eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0xcbc]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xb8], eax
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0xcbc]
push ecx
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 0xcbc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x5918a8], 1
push 1
mov ecx, dword [ebp - 0x68]
call fcn.0048b9d4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00407d30
jmp case.0x42ebfe.1
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 0xcb0], 5
jmp case.0x42ebfe.1
mov edx, dword [ebp - 0x68]
mov dword [edx + 0xcb0], 0x5a
jmp case.0x42ebfe.1
mov eax, dword [ebp - 0x68]
mov dword [eax + 0xcb0], 0x64
jmp case.0x42ebfe.1
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.0042d230
jmp case.0x42ebfe.1
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x68]
add ecx, 0xcc8
call fcn.0042eaa0
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.0040b750
movzx eax, al
test eax, eax
je 0x42f04a
push str.tt_failed
lea ecx, [ebp - 0x4c]
call fcn.004081c0
push 1
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0xc1c]
mov eax, dword [ebp - 0x68]
mov edx, dword [edx]
mov ecx, dword [eax + 0xc1c]
mov eax, dword [edx + 0x118]
call eax
push 1
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0xc30]
mov eax, dword [ebp - 0x68]
mov edx, dword [edx]
mov ecx, dword [eax + 0xc30]
mov eax, dword [edx + 0x10c]
call eax
lea ecx, [ebp - 0x4c]
call fcn.0040b600
push eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0xc30]
mov eax, dword [ebp - 0x68]
mov edx, dword [edx]
mov ecx, dword [eax + 0xc30]
mov eax, dword [edx + 0x2c]
call eax
push 1
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0xc34]
mov eax, dword [ebp - 0x68]
mov edx, dword [edx]
mov ecx, dword [eax + 0xc34]
mov eax, dword [edx + 0x10c]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00407d30
jmp case.0x42ebfe.1
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d48f1
mov esp, ebp
pop ebp
ret 0x10