Function at 0x10011e41
Capabilities:
Create pipe
Read file on windows
Terminate process
Write and execute a file
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x155c
call fcn.100287f0
mov eax, dword [0x1003e620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
push ebx
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x144], eax
mov edx, dword [ebp + 8]
add edx, 0xffffffe9
cmp eax, edx
jbe 0x100127c0
add eax, 0xffffff4f
cmp eax, 0x2e
ja case.0x10011b78.178
movzx eax, byte [eax + 0x10012928]
jmp dword [eax*4 + 0x100128c8]
mov edx, dword [ebp - 0x130]
xor edi, edi
cmp dword [edx + 0x1c], edi
jbe 0x10011d78
mov ecx, dword [ebp - 0x170]
jmp 0x10011ba0
mov ebx, 0xee
jmp 0x10011bb0
mov eax, ebx
sub eax, 0xee
je 0x10011d4b
sub eax, 0x66
je 0x10011ccf
sub eax, 0x66
jne 0x10011d59
cmp dword [ebp - 0x12c], eax
jne 0x10011ddf
mov edx, dword [edx + 0x18]
cmp dword [edx + edi*4], eax
je 0x10011d59
mov esi, 0xd2
lea esp, [esp]
mov eax, esi
sub eax, 0xd2
je 0x10011c57
dec eax
je 0x10011c19
dec eax
jne 0x10011cbd
aaa
push eax
test eax, 0x8d01e09a
fdivr st(6)
invalid
cdq
fistp dword [edi - 0x77]
or eax, dword [ebx - 0x1c743]
inc dword [eax]
je 0x10011cbd
push str.CVMUICmdbar::OnButtonClicked:__ld
push 0x1003455f
push 0
push 0x1003455f
push 0x100345f0
push 2
call fcn.100021f0
mov dword [ebp - 0x12c], 1
jmp 0x10012788
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + edi*4]
mov ecx, dword [ebp - 0x198]
mov eax, dword [ebp - 0x134]
push 0
push 0
push ecx
mov dword [ebp - 0x1bc], edx
lea edx, [ebp - 0x1bc]
push edx
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x128]
push eax
push 0
push 0
lea ecx, [ebp - 0x1d0]
push ecx
push 0x69
push 0
push 0
mov dword [ebp - 0x1cc], 0
call fcn.10004c10
mov ecx, dword [ebp - 0x170]
add esp, 0x2c
mov dword [ebp - 0x1c8], eax
inc esi
cmp esi, 0xd5
jb 0x10011bf0
jmp 0x10011d59
mov edx, dword [edx + 0x18]
cmp dword [edx + edi*4], 0
lea eax, [edx + edi*4]
je 0x10011d0a
mov edx, dword [ebp - 0x198]
mov eax, dword [eax]
lea ecx, [ebp - 0x1c0]
push ecx
push 0xe5
push edx
mov dword [ebp - 0x1c0], eax
call fcn.10023050
add esp, 0xc
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], edx
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x134]
push ecx
push 0xb6
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 0x13c], 8
call fcn.100115c0
mov ecx, dword [ebp - 0x170]
add esp, 0x14
mov dword [ebp - 0x12c], eax
jmp 0x10011d59
xor ecx, ecx
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp - 0x130]
add ebx, 0x66
cmp ebx, 0x220
jb 0x10011bb0
inc edi
cmp edi, dword [edx + 0x1c]
jb 0x10011ba0
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], 0
je 0x10011d8d
cmp byte [edx + 0x22], 1
mov byte [ebp - 0x124], 1
je 0x10011d94
mov byte [ebp - 0x124], 0
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0x134]
push eax
push 0xb6
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x13c]
push edx
mov dword [ebp - 0x13c], 1
call fcn.100115c0
add esp, 0x14
mov dword [ebp - 0x12c], eax
test eax, eax
je case.0x10011b78.178
push str.VmodlVimVmDeviceVirtualQATOption
jmp 0x10012770
push str.artpmap:_d_MPEG4_GENERIC__d__d
jmp 0x10012770
dec dword [ebp - 0x144]
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x19c], 0
jmp 0x10011b55
mov ax, word [0x10036d01]
mov cl, byte [0x10036d03]
dec dword [ebp - 0x144]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x144]
mov byte [ebp - 8], cl
mov byte [ebp - 7], 0
jmp 0x10011b55
dec dword [ebp - 0x144]
mov eax, dword [ebp - 0x144]
mov byte [ebp - 0x16], 0
jmp 0x10011b55
push 5
lea edx, [ebp - 0x10]
push str.wnsprintfW
push edx
mov byte [ebp - 0x10], 0
call fcn.10027280
push 1
lea eax, [ebp - 0xb]
push 0x10036cc4
push eax
call fcn.100273c0
add esp, 0x18
dec dword [ebp - 0x144]
mov eax, dword [ebp - 0x144]
jmp 0x10011b55
sub esi, edi
aad 0x16
pop edx
mov esi, dword [ebp - 0x140]
mov dword [ebp - 0x154], esi
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
push 0
push 1
mov dword [ebp + esi*4 - 0x314], eax
push 1
inc esi
push 0
mov dword [ebp - 0x150], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp + esi*4 - 0x314], eax
inc esi
dec dword [ebp - 0x144]
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x18c], 0xc
mov dword [ebp - 0x188], 0
jmp 0x10011b55
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp + ecx*4 - 0x314]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub dword [ebp - 0x140], 2
dec dword [ebp - 0x144]
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0xc38], 0
jmp 0x10011b55
mov eax, dword [ebp - 0x130]
xor edi, edi
cmp dword [eax + 0x10], edi
jbe 0x10011f6b
mov dword [ebp - 0x13c], 0x10
xor esi, esi
mov ebx, eax
mov eax, dword [ebx + 0x14]
add eax, esi
push eax
lea ecx, [ebp - 0x134]
push ecx
push 0xb6
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x13c]
push eax
call fcn.100115c0
add esp, 0x14
mov dword [ebp - 0x12c], eax
test eax, eax
jne 0x10011fb9
inc edi
add esi, 0x10
cmp edi, dword [ebx + 0x10]
jb 0x10011f30
mov ecx, dword [ebp - 0x130]
add ecx, 0x1c
push ecx
lea edx, [ebp - 0x134]
push edx
push 0xb6
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x13c]
push ecx
mov dword [ebp - 0x13c], 4
call fcn.100115c0
add esp, 0x14
mov dword [ebp - 0x12c], eax
test eax, eax
je case.0x10011b78.178
push str.HRESULT_ID3DXPMesh::GetAttributeTable__
jmp 0x10012770
push str.BatteryTweak_DisplayMode
jmp 0x10012770
push 0
lea edx, [ebp - 0x18c]
push edx
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x164]
push ecx
mov dword [ebp - 0x184], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x10012453
mov edi, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x140]
mov esi, 0xdf
mov dword [ebp - 0x13c], esi
lea esp, [esp]
cmp esi, 0xdf
je 0x10012036
cmp esi, 0x29d0
jne 0x1001243b
mov edx, dword [ebp - 0x164]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001243b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, eax
push esi
push str.IDebugAddress
lea eax, [ebp - 0x120]
push 0x104
push eax
call dword [ebp - 0x1c4]
add esp, 0x10
push 0
push 0
push 0
push 0
push 0xff
push 0
push 0x40000003
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [ebp - 0x15c], eax
cmp eax, 0xffffffff
je 0x10012428
push 0
push 0
push 3
lea edx, [ebp - 0x18c]
push edx
push 0
push 0x2000000
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x158], esi
cmp esi, 0xffffffff
je 0x1001241b
mov eax, 3
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], 4
jmp 0x100120e0
cmp eax, 3
ja case.default.0x100120e9
jmp dword [eax*4 + 0x10012958]
push 0x44
lea ecx, [ebp - 0x214]
push 0
push ecx
call fcn.10026c70
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], eax
jmp case.default.0x100120e9
lea edx, [ebp - 0x180]
push edx
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x8000000
push 1
push 0
push 0
push 0x10034320
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x100121f0
mov esi, 0xf3
lea esp, [esp]
lea eax, [esi - 0xef]
cmp eax, 4
ja case.default.0x1001216b
jmp dword [eax*4 + 0x10012968]
xor ebx, ebx
mov esi, 0x89
lea esp, [esp]
cmp esi, 0x360d
ja 0x1001226f
je 0x10012261
cmp esi, 0x89
je 0x10012208
cmp esi, 0x1b4b
jne 0x10012353
cmp edi, dword [ebp - 0x19c]
jne 0x10012353
mov ebx, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x180]
push 0
push ecx
mov esi, 0xf1
mov dword [ebp - 0x144], 0xd5
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0x17c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
dec esi
cmp esi, 0xee
ja 0x10012160
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x158]
jmp case.default.0x100120e9
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x168], edx
lea edx, [ebp - 0x144]
push edx
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x314]
push eax
mov dword [ebp - 0x138], ecx
push 0x4c
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x168]
push edx
call fcn.1000afa0
mov edi, eax
add esp, 0x14
mov dword [ebp - 0x168], edi
jmp 0x10012353
cmp edi, 0xffffffff
je 0x100121b2
jmp 0x10012353
cmp esi, 0x50cf
jne 0x10012353
cmp edi, dword [ebp - 0x154]
jne 0x100122ce
mov ecx, dword [ebp - 0x14c]
lea eax, [ebp - 0x155c]
push eax
push ecx
push 0xd2
call fcn.10022960
add esp, 0xc
test eax, eax
jne 0x100121b2
push eax
mov eax, dword [ebp - 0x155c]
lea edx, [ebp - 0x148]
push edx
mov edx, dword [ebp - 0x160]
push eax
lea ecx, [ebp - 0x1558]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x10012353
cmp edi, dword [ebp - 0x150]
jne 0x10012353
lea ecx, [ebp - 0xc38]
test ebx, ebx
jne 0x10012308
lea eax, [ebp - 0x1b8]
push eax
mov eax, dword [ebp - 0x15c]
push ecx
push 0x800
lea edx, [ebp - 0xc34]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, 1
jmp 0x10012327
mov eax, dword [ebp - 0x15c]
push 0
push ecx
lea edx, [ebp - 0x1b8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x100121b2
cmp dword [ebp - 0xc38], 0
je 0x10012353
mov ecx, dword [ebp - 0x14c]
push ecx
push 0x3e
lea edx, [ebp - 0xc38]
push 0
push edx
call fcn.10023b10
add esp, 0x10
test eax, eax
jne 0x100121b2
dec ebx
add esi, 0x1ac2
cmp esi, 0x6b08
jbe 0x10012180
jmp 0x10012174
mov eax, dword [ebp - 0x180]
push eax
jmp 0x100121dd
mov ecx, dword [ebp - 0x180]
mov edx, dword [ebp - 0x150]
mov dword [ebp + ebx*4 - 0x314], ecx
mov dword [ebp - 0x19c], ebx
inc ebx
xor eax, eax
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp + edx*4 - 0x314]
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x1a8], eax
jmp case.default.0x1001216b
dec ebx
mov dword [ebp - 0x140], ebx
jmp case.default.0x1001216b
mov dword [ebp - 0x214], 0x44
jmp case.default.0x100120e9
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x1dc], ecx
mov dword [ebp - 0x1d4], esi
mov dword [ebp - 0x1d8], esi
mov dword [ebp - 0x1e8], 0x100
mov eax, dword [ebp - 0x194]
dec eax
dec dword [ebp - 0x190]
mov dword [ebp - 0x194], eax
jne 0x100120e0
mov edx, dword [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x13c]
add esi, 0x28f1
mov dword [ebp - 0x13c], esi
cmp esi, 0x51e2
jbe 0x10012010
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp + ecx*4 - 0x314]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
dec dword [ebp - 0x144]
mov eax, dword [ebp - 0x144]
jmp 0x10011b55
cmp byte [ebp - 0x124], 0
je 0x100124e5
mov eax, dword [ebp - 0x130]
xor esi, esi
cmp dword [eax + 0x10], esi
jbe 0x100124e5
xor edi, edi
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + edi + 8]
add eax, edi
or ecx, dword [eax + 0xc]
je 0x100124d6
mov edx, dword [eax + 8]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x134]
push eax
push 0xb6
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x138], edx
push ecx
lea edx, [ebp - 0x138]
push edx
call fcn.100115c0
add esp, 0x14
mov dword [ebp - 0x12c], eax
test eax, eax
jne 0x1001252a
mov eax, dword [ebp - 0x130]
inc esi
add edi, 0x10
cmp esi, dword [eax + 0x10]
jb 0x10012490
cmp dword [ebp - 0x134], 0
je case.0x10011b78.178
mov eax, dword [ebp - 0x134]
push eax
push str.genVcallThunk_symbolPtr_thunk_p_
push 0x1003455f
push 0
push 0x1003455f
push 0x100345f0
push 1
call fcn.100021f0
add esp, 0x1c
dec dword [ebp - 0x144]
mov eax, dword [ebp - 0x144]
jmp 0x10011b55
push str._UnnamedClass_0xe3d80115_119_
jmp 0x10012770
cmp dword [ebp - 0x130], 0
jne 0x10012569
push str.ClientKernel::ClaimMemory
push 0x1003455f
push 0
push 0x1003455f
push 0x100345f0
push 2
call fcn.100021f0
mov dword [ebp - 0x12c], 3
jmp 0x10012788
mov edi, dword [ebp - 0x130]
mov ecx, dword [edi]
push ecx
call fcn.10006180
add esp, 4
cmp byte [edi + 0x20], 0
mov ebx, eax
mov dword [ebp - 0x198], ebx
jne case.0x10011b78.178
xor esi, esi
cmp dword [edi + 0x1c], esi
jbe 0x100125c6
mov edx, dword [edi + 0x18]
cmp dword [edx + esi*4], 0
lea eax, [edx + esi*4]
je 0x100125c0
mov eax, dword [eax]
push 0xcc
lea ecx, [ebp - 0x138]
push ebx
push ecx
mov dword [ebp - 0x138], eax
call fcn.1000ed00
add esp, 0xc
test eax, eax
jne 0x100125db
inc esi
cmp esi, dword [edi + 0x1c]
jb 0x10012593
dec dword [ebp - 0x144]
mov eax, dword [ebp - 0x144]
mov byte [edi + 0x20], 1
jmp 0x10011b55
push str.UniquePredecessorNode
jmp 0x10011c30
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x8a
mov word [ebp - 0x12], 0x6c
call fcn.10001f60
add esp, 0xc
dec dword [ebp - 0x144]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x140], 0
jmp 0x10011b55
mov eax, 0x83
jmp 0x100127ab
dec dword [ebp - 0x144]
mov eax, dword [ebp - 0x144]
mov word [ebp - 7], 0x57
jmp 0x10011b55
mov ecx, dword [ebp - 0x14c]
push ecx
push 0x3e
lea edx, [ebp - 0xc38]
push 0
push edx
call fcn.10023b10
add esp, 0x10
dec dword [ebp - 0x144]
mov eax, dword [ebp - 0x144]
jmp 0x10011b55
dec dword [ebp - 0x144]
mov eax, 0x6873
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x1a], 0x7061776c
jmp 0x10011b55
mov ecx, dword [ebp - 0x130]
add ecx, 0x22
push ecx
lea edx, [ebp - 0x134]
push edx
push 0xb6
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x138]
push ecx
mov dword [ebp - 0x138], 1
call fcn.100115c0
add esp, 0x14
dec dword [ebp - 0x144]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x144]
jmp 0x10011b55
push 4
lea edx, [ebp - 0x16]
push 0x10036beb
push edx
call fcn.100273c0
add esp, 0xc
dec dword [ebp - 0x144]
mov eax, dword [ebp - 0x144]
mov byte [ebp - 0x12], 0
jmp 0x10011b55
cmp dword [ebp - 0x12c], 0
je 0x10012713
push str.Could_not_encode_total_size
jmp 0x10012770
mov eax, dword [ebp - 0x130]
add eax, 0x10
push eax
lea ecx, [ebp - 0x134]
push ecx
push 0xb6
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x138]
push eax
mov dword [ebp - 0x138], 4
call fcn.100115c0
add esp, 0x14
mov dword [ebp - 0x12c], eax
test eax, eax
je case.0x10011b78.178
push str.2.0f__minus2___minus2_scale_
jmp 0x10012770
cmp dword [ebp - 0x12c], 0
je 0x100127f6
push str.Could_not_encode_permission_flags
push 0x1003455f
push 0
push 0x1003455f
push 0x100345f0
push 2
call fcn.100021f0
add esp, 0x18
mov ecx, dword [ebp - 0x12c]
mov eax, 0x83
mov dword [ebp - 0x144], 0xc0
mov dword [ebp - 0x1a4], ecx
add eax, 0x5a93
cmp eax, 0xb526
ja case.0x10011b78.216
cmp eax, 0x83
je 0x1001278b
cmp eax, 0x5b16
jne 0x100127a6
mov eax, dword [ebp - 0x1a4]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027670
mov esp, ebp
pop ebp
ret
xor eax, eax
dec dword [ebp - 0x144]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x144]
jmp 0x10011b55
mov edx, dword [ebp - 0x130]
add edx, 8
push edx
lea eax, [ebp - 0x134]
push eax
push 0xb6
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x138]
push edx
mov dword [ebp - 0x138], 8
call fcn.100115c0
add esp, 0x14
dec dword [ebp - 0x144]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x144]
jmp 0x10011b55
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1a0]
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x130], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x12c], 0
dec dword [ebp - 0x144]
mov eax, dword [ebp - 0x144]
jmp 0x10011b55
mov edx, dword [ebp - 0x1a0]
mov al, byte [edx]
mov edx, dword [ebp - 0x14c]
lea ecx, [ebp - 0x124]
push ecx
push 0xd1
push edx
push 0
mov byte [ebp - 0x124], al
call fcn.1000f630
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
pop esi
xor ecx, ebp
mov dword [ebp - 0x1cc], edx
pop ebx
call fcn.10027670
mov esp, ebp
pop ebp
ret