Function at 0x100a9e4c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be337
mov eax, dword fs:[0]
push eax
mov eax, 0x26b0
call fcn.1008a5d0
mov eax, dword [0x100eb3e0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x26b0], ecx
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.1001042d
mov dword [ebp - 0x444], eax
or dword [ebp - 0x10], 0xffffffff
and word [ebp - 0x43c], 0
push 0x208
push 0
lea eax, [ebp - 0x43a]
push eax
call fcn.10073a50
add esp, 0xc
and word [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.10073a50
add esp, 0xc
and dword [ebp - 0x440], 0
and dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x26b0]
add ecx, 0x44
call fcn.1002ffe8
test eax, eax
je 0x100a9f1f
mov ecx, dword [ebp - 0x26b0]
add ecx, 0x44
call fcn.1002ffe8
mov dword [ebp - 0x26b4], eax
push 0
push 0x100d023c
push dword [ebp - 0x26b4]
mov eax, dword [ebp - 0x26b4]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x26b0]
add ecx, 4
call fcn.10004cd2
push eax
push 0x104
lea eax, [ebp - 0x43c]
push eax
call fcn.10074ec3
add esp, 0xc
push 0x2c
lea ecx, [ebp + 8]
call fcn.10003b71
mov dword [ebp - 0x10], eax
push dword [ebp - 0x444]
mov eax, dword [ebp - 0x10]
inc eax
push eax
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp + 8]
call fcn.1001053a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x448]
call fcn.1002ffe8
push eax
call fcn.10074ad2
pop ecx
mov dword [ebp - 0x470], eax
lea ecx, [ebp - 0x46c]
call fcn.1003761b
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x458]
call fcn.10003b3f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x460], eax
cmp dword [ebp - 0x440], 0
je 0x100a9fd9
cmp dword [ebp - 0x44c], 9
jne 0x100aa00d
mov ecx, dword [ebp - 0x26b0]
add ecx, 0x4c
call fcn.10004cd2
push eax
lea ecx, [ebp - 0x454]
call fcn.10003b3f
mov ecx, dword [ebp - 0x26b0]
add ecx, 0x20
call fcn.10004cd2
push eax
lea ecx, [ebp - 0x450]
call fcn.10003b3f
lea eax, [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x26b0]
add ecx, 0x44
call fcn.1002ffe8
push eax
push 0x104
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x470]
call fcn.10037747
mov ecx, eax
call fcn.1003601b
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x46c]
call fcn.10003b3f
lea eax, [ebp - 0x46c]
push eax
mov ecx, dword [ebp - 0x26b0]
add ecx, 0x74
call fcn.10037cd2
mov eax, dword [ebp - 0x440]
inc eax
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x22c]
push eax
push 0x104
lea eax, [ebp - 0x43c]
push eax
call fcn.10074ec3
add esp, 0xc
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x269c]
push eax
lea ecx, [ebp + 8]
call fcn.10003bb5
mov dword [ebp - 0x26b8], eax
mov eax, dword [ebp - 0x26b8]
mov dword [ebp - 0x26bc], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x26bc]
lea ecx, [ebp + 8]
call fcn.10003b26
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x269c]
call fcn.100103c0
lea ecx, [ebp + 8]
call fcn.1001042d
mov dword [ebp - 0x444], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x46c]
call fcn.10037666
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x448]
call fcn.100103c0
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100a9f42
lea ecx, [ebp - 0x18]
call fcn.10010322
mov byte [ebp - 4], 4
lea eax, [ebp - 0x478]
push eax
mov ecx, dword [ebp - 0x26b0]
add ecx, 0x74
call fcn.10037c57
jmp 0x100aa142
lea ecx, [ebp - 0x478]
call fcn.1003b86e
lea eax, [ebp - 0x26a4]
push eax
mov ecx, dword [ebp - 0x26b0]
add ecx, 0x74
call fcn.10037c7e
push eax
lea ecx, [ebp - 0x478]
call fcn.100381d1
movzx eax, al
test eax, eax
je 0x100aa22a
and word [ebp - 0x2484], 0
push 0x2000
push 0
lea eax, [ebp - 0x2482]
push eax
call fcn.10073a50
add esp, 0xc
lea ecx, [ebp - 0x478]
call fcn.100381c0
push dword [eax + 0x1c]
lea ecx, [ebp - 0x478]
call fcn.100381c0
push dword [eax + 0x18]
lea ecx, [ebp - 0x478]
call fcn.100381c0
push dword [eax + 0x14]
lea ecx, [ebp - 0x478]
call fcn.100381c0
push dword [eax + 0x20]
lea ecx, [ebp - 0x478]
call fcn.100381c0
push dword [eax + 0x10]
push str.index_d_ChildType_d_ChildPath_s_ChildParam_s_ChildEntry_s__n
push 0xffffffffffffffff
push 0x1000
lea eax, [ebp - 0x2484]
push eax
call fcn.1007542d
add esp, 0x24
lea eax, [ebp - 0x2484]
push eax
lea ecx, [ebp - 0x18]
call fcn.10009d23
mov ecx, dword [ebp - 0x26b0]
add ecx, 0x44
call fcn.1002ffe8
push eax
lea ecx, [ebp - 0x478]
call fcn.100381c0
push dword [eax + 0xc]
call fcn.10037747
mov ecx, eax
call fcn.1003607a
jmp 0x100aa137
lea ecx, [ebp - 0x18]
call fcn.1002ffe8
push eax
push 0x1000
push 0x1010c008
call fcn.10074ec3
add esp, 0xc
mov ecx, dword [ebp - 0x26b0]
add ecx, 0x74
call fcn.10037c9d
movzx eax, al
test eax, eax
jne 0x100aa382
mov ecx, dword [ebp - 0x26b0]
add ecx, 0x74
call fcn.10037cb4
mov dword [ebp - 0x2698], eax
mov eax, dword [ebp - 0x2698]
mov eax, dword [eax + 0x10]
inc eax
mov dword [0x10110014], eax
and word [ebp - 0x2694], 0
push 0x208
push 0
lea eax, [ebp - 0x2692]
push eax
call fcn.10073a50
add esp, 0xc
push 0x104
lea eax, [ebp - 0x2694]
push eax
mov ecx, dword [ebp - 0x2698]
call fcn.1002ffe8
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, dword [ebp - 0x26b0]
add ecx, 0x44
call fcn.1002ffe8
push eax
push 1
mov ecx, dword [ebp - 0x2698]
add ecx, 8
call fcn.1002ffe8
push eax
lea eax, [ebp - 0x2694]
push eax
mov eax, dword [ebp - 0x2698]
push dword [eax + 0xc]
call fcn.10011734
mov ecx, eax
call fcn.100a8c6d
mov ecx, dword [ebp - 0x26b0]
mov dword [ecx + 0x80], eax
mov eax, dword [ebp - 0x26b0]
mov eax, dword [eax + 0x80]
mov ecx, dword [ebp - 0x26b0]
mov ecx, dword [ecx + 0x80]
mov eax, dword [eax]
call dword [eax + 0x20]
mov eax, dword [ebp - 0x26b0]
cmp dword [eax + 0x80], 0
je 0x100aa382
mov ecx, dword [ebp - 0x2698]
add ecx, 4
call fcn.1002ffe8
push eax
mov eax, dword [ebp - 0x26b0]
mov eax, dword [eax + 0x80]
mov ecx, dword [ebp - 0x26b0]
mov ecx, dword [ecx + 0x80]
mov eax, dword [eax]
call dword [eax]
mov dword [ebp - 0x26a8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.100103c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100103c0
mov eax, dword [ebp - 0x26a8]
jmp 0x100aa3a7
and dword [ebp - 0x26ac], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.100103c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100103c0
mov eax, dword [ebp - 0x26ac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10070dd1
leave
ret 4