Function at 0x100a2419
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd3cf
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
lea ecx, [ebp - 0x18]
call fcn.1001e317
and dword [ebp - 4], 0
and dword [ebp - 0x1c], 0
and word [ebp - 0x22c], 0
push 0x206
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.10071b20
add esp, 0xc
mov ecx, dword [ebp - 0x24c]
add ecx, 0x44
call fcn.10010b64
mov dword [ebp - 0x250], eax
push 0
push 0x100d13c8
push dword [ebp - 0x250]
mov eax, dword [ebp - 0x250]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x24c]
add ecx, 0x44
call fcn.10010b64
mov dword [ebp - 0x254], eax
push 0x100cd9cb
lea ecx, [ebp - 0x18]
call fcn.100131ac
push eax
push str.StartMidProcessName
push dword [ebp - 0x254]
mov eax, dword [ebp - 0x254]
mov eax, dword [eax]
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x24c]
add ecx, 0x44
call fcn.10010b64
mov dword [ebp - 0x258], eax
push 0
push 0x100d13f4
push dword [ebp - 0x258]
mov eax, dword [ebp - 0x258]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x24c]
mov dword [ecx + 0x98], eax
cmp dword [ebp - 0x1c], 5
jle 0x100a253b
and dword [ebp - 0x240], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000aa65
mov eax, dword [ebp - 0x240]
jmp 0x100a26fa
and dword [ebp - 0x230], 0
jmp 0x100a2551
mov eax, dword [ebp - 0x230]
inc eax
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 5
jge 0x100a256d
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x24c]
and dword [ecx + eax*4 + 0x74], 0
jmp 0x100a2544
lea ecx, [ebp - 0x18]
call fcn.10010b64
mov dword [ebp - 0x20], eax
and dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 0
je 0x100a262e
and dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x234], eax
push 0x2c
push dword [ebp - 0x20]
call fcn.10020bdf
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100a25be
mov dword [ebp - 0x238], 1
jmp 0x100a25c5
mov eax, dword [ebp - 0x20]
and word [eax], 0
push 0x103
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x100a25e7
and dword [ebp - 0x10], 0
jmp 0x100a262e
lea eax, [ebp - 0x22c]
push eax
call fcn.1007745c
pop ecx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24c]
mov dword [edx + ecx*4 + 0x74], eax
cmp dword [ebp - 0x238], 1
jne 0x100a260c
jmp 0x100a262e
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jl 0x100a2629
and dword [ebp - 0x10], 0
jmp 0x100a262e
jmp 0x100a2583
cmp dword [ebp - 0x10], 0
jne 0x100a2699
and dword [ebp - 0x23c], 0
jmp 0x100a264a
mov eax, dword [ebp - 0x23c]
inc eax
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp - 0x14]
jge 0x100a267e
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x24c]
push dword [ecx + eax*4 + 0x74]
call fcn.10072c46
pop ecx
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x24c]
and dword [ecx + eax*4 + 0x74], 0
jmp 0x100a263d
and dword [ebp - 0x244], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000aa65
mov eax, dword [ebp - 0x244]
jmp 0x100a26fa
push str.GlobalCD10CD35_4F22_4356_A3F4_923A1CF22430
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0x24c]
mov dword [ecx + 0x90], eax
push str.Global11360E02_4887_47E6_BA9B_0E28A12D0B9B
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0x24c]
mov dword [ecx + 0x94], eax
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x88], ecx
mov dword [ebp - 0x248], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000aa65
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.10071b0a
leave
ret