Function at 0x42ee40
Capabilities:
Terminate process
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x48e42a
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 0x1f
push str..pipeMedia_Get_LLCMediaGet2
lea ecx, [esp + 0x28]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.0040b5a0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00429c40
add esp, 8
cmp dword [esp + 0x38], 0x10
jb 0x42eebb
mov edx, dword [esp + 0x24]
push edx
call fcn.00473948
add esp, 4
mov ebp, dword [esp + 0x18]
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42ef07
mov eax, str.__quit_application
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42eee4
push ebx
lea ecx, [esp + 0x18]
push ecx
sub eax, edx
push eax
push str.__quit_application
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
call fcn.004317c0
mov esi, eax
cmp esi, ebx
je 0x42f0d4
mov edi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push 0x2710
push esi
call edi
test eax, eax
je 0x42f0d4
push 1
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
je 0x42f041
push 0x2710
push esi
call edi
cmp eax, ebx
je 0x42f0d4
cmp eax, 0x102
je 0x42f009
cmp eax, 0xffffffff
je 0x42ef95
push str.WaitForSingleObject_unknown_error
mov ecx, 0x4b0810
call fcn.0040b900
call fcn.004317c0
test eax, eax
lea ecx, [esp + 0x18]
sete bl
call fcn.00409fb0
mov al, bl
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
lea edx, [esp + 0x20]
push edx
call fcn.004316e0
push eax
lea eax, [esp + 0x44]
push str.WaitForSingleObject_failed:
push eax
mov byte [esp + 0x70], 1
call fcn.0040bcc0
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4b0810
mov byte [esp + 0x6c], 2
call fcn.0040b380
lea ecx, [esp + 0x3c]
call fcn.0040ae00
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], bl
call fcn.0040ae00
call fcn.004317c0
test eax, eax
lea ecx, [esp + 0x18]
sete bl
call fcn.00409fb0
mov al, bl
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
push str.WaitForSingleObject_timed_out
mov ecx, 0x4b0810
call fcn.0040b900
call fcn.004317c0
test eax, eax
lea ecx, [esp + 0x18]
sete bl
call fcn.00409fb0
mov al, bl
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
lea ecx, [esp + 0x3c]
push ecx
call fcn.004316e0
push eax
lea edx, [esp + 0x28]
push str.TerminateProcess_failed:
push edx
mov byte [esp + 0x70], 3
call fcn.0040bcc0
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4b0810
mov byte [esp + 0x6c], 4
call fcn.0040b380
mov esi, 0x10
cmp dword [esp + 0x38], esi
jb 0x42f08e
mov eax, dword [esp + 0x24]
push eax
call fcn.00473948
add esp, 4
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
cmp dword [esp + 0x54], esi
jb 0x42f0b1
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00473948
add esp, 4
cmp ebp, ebx
je 0x42f0be
push ebp
call fcn.00473f71
add esp, 4
xor al, al
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
cmp ebp, ebx
je 0x42f0e1
push ebp
call fcn.00473f71
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret