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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c1f1
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x58d224]
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.0x42ee8e.1
mov edx, dword [ebp - 0x70]
movzx eax, byte [edx + 0x42f3c0]
jmp dword [eax*4 + 0x42f398]
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.0042fe80
jmp case.0x42ee8e.1
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.00430590
jmp case.0x42ee8e.1
mov eax, dword [ebp - 0x68]
movzx ecx, byte [eax + 0xc78]
test ecx, ecx
jne 0x42eef1
push 0x5468e4
mov ecx, dword [ebp - 0x68]
add ecx, 0x30
call fcn.00485af6
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
call fcn.00498298
mov edx, dword [ebp - 0x68]
mov byte [edx + 0xc5c], al
mov eax, dword [ebp - 0x68]
push eax
push 0
push 0x439bb0
call fcn.00517a03
add esp, 0xc
jmp case.0x42ee8e.1
mov ecx, dword [ebp - 0x68]
add ecx, 0xcc0
mov dword [ebp - 0x7c], ecx
push 4
lea ecx, [ebp - 0x14]
call fcn.0040b430
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x7c]
call fcn.0041fab0
push 4
lea ecx, [ebp - 0x18]
call fcn.0040b430
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.0041fb90
jmp 0x42ef4b
lea ecx, [ebp - 0x14]
call fcn.0040f8a0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004188b0
movzx edx, al
test edx, edx
je 0x42ef88
lea ecx, [ebp - 0x14]
call fcn.0040f840
push eax
lea ecx, [ebp - 0x64]
call fcn.0040f2a0
lea ecx, [ebp - 0x64]
call fcn.0040bae0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x64]
call fcn.00407e30
jmp 0x42ef43
mov ecx, dword [ebp - 0x68]
add ecx, 0xcc0
call fcn.00437e40
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.00430be0
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 0x546928
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00405930
add esp, 0xc
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
call fcn.0040bae0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0xd0]
call fcn.00407e30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.00407e30
push 0
push 0x546934
lea edx, [ebp - 0x184]
push edx
call fcn.00408f60
mov ecx, eax
call fcn.00483c11
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.00482f38
push eax
lea ecx, [ebp - 0x30]
call fcn.00407920
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x184]
call fcn.00482e21
mov ecx, dword [ebp - 0x74]
call fcn.0040bcd0
movzx ecx, al
test ecx, ecx
jne 0x42f0e3
push 0x546948
lea ecx, [ebp - 0x30]
call fcn.0040b750
mov edx, dword [ebp - 0x74]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.00430be0
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.0040b660
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x100]
call fcn.00407e30
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 0x42f10d
push 1
mov ecx, dword [ebp - 0x80]
call fcn.00418d50
mov dword [ebp - 0xa8], eax
jmp 0x42f117
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.0040bae0
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 0x42f23b
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0xcbc], 0
je 0x42f22a
lea ecx, [ebp - 0x30]
call fcn.0040bae0
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 0x42f1ae
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.0040bae0
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 [0x5918b8], 1
push 1
mov ecx, dword [ebp - 0x68]
call fcn.0048bc28
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00407e30
jmp case.0x42ee8e.1
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 0xcb0], 5
jmp case.0x42ee8e.1
mov edx, dword [ebp - 0x68]
mov dword [edx + 0xcb0], 0x5a
jmp case.0x42ee8e.1
mov eax, dword [ebp - 0x68]
mov dword [eax + 0xcb0], 0x64
jmp case.0x42ee8e.1
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.0042d4c0
jmp case.0x42ee8e.1
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x68]
add ecx, 0xcc8
call fcn.0042ed30
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.0040bcd0
movzx eax, al
test eax, eax
je 0x42f2da
push str.tt_failed
lea ecx, [ebp - 0x4c]
call fcn.004082c0
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.0040bae0
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.00407e30
jmp case.0x42ee8e.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.004d4e68
mov esp, ebp
pop ebp
ret 0x10