Function at 0x71a277ea
Capabilities:
Query environment variable

Disassembly:
push 0x35c
push 0x71a27a98
call fcn.71a211e0
mov eax, dword [0x71a3405c]
mov dword [ebp - 0x1c], eax
mov ebx, ecx
mov dword [ebp - 0x32c], ebx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x330], eax
and dword [ebp - 0x328], 0
lea esi, [ebx + 8]
push 0x1e
pop ecx
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
push 0xf
pop ecx
lea edi, [ebp - 0x36c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x36c], 0x71a31bad
mov dword [ebp - 0x368], 0x71a30e88
mov dword [ebp - 0x364], 0x71a31bd9
mov dword [ebp - 0x360], 0x71a31060
mov dword [ebp - 0x354], fcn.71a24390
mov dword [ebp - 0x34c], 0x71a24a83
mov dword [ebp - 0x348], 0x71a30f22
mov dword [ebp - 0x344], 0x71a31c62
mov dword [ebp - 0x340], 0x71a31c0a
mov dword [ebp - 0x33c], 0x71a31c36
mov dword [ebp - 0x350], 0x71a31dcd
mov dword [ebp - 0x358], 0x71a28e34
mov dword [ebp - 0x35c], 0x71a30981
mov dword [ebp - 0x338], 0x71a31d1f
mov dword [ebp - 0x334], 0x71a31d76
push 0x104
lea eax, [ebp - 0x120]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x71a2a4ef
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebx + 4], eax
test eax, eax
je 0x71a2a4fe
push 0x71a27a8c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x71a2a512
and dword [ebp - 4], 0
push esi
sub esp, 0x3c
push 0xf
pop ecx
lea esi, [ebp - 0x36c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x330]
lea ecx, [ebp - 0x324]
push ecx
mov esi, 0x202
push esi
call eax
mov dword [ebp - 0x328], eax
or dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x71a27a7d
cmp dword [ebx + 8], eax
je 0x71a2a549
cmp dword [ebx + 0xc], eax
je 0x71a2a549
cmp dword [ebx + 0x10], eax
je 0x71a2a549
cmp dword [ebx + 0x14], eax
je 0x71a2a549
cmp dword [ebx + 0x18], eax
je 0x71a2a549
cmp dword [ebx + 0x1c], eax
je 0x71a2a549
cmp dword [ebx + 0x20], eax
je 0x71a2a549
cmp dword [ebx + 0x24], eax
je 0x71a2a549
cmp dword [ebx + 0x28], eax
je 0x71a2a549
cmp dword [ebx + 0x2c], eax
je 0x71a2a549
cmp dword [ebx + 0x30], eax
je 0x71a2a549
cmp dword [ebx + 0x34], eax
je 0x71a2a549
cmp dword [ebx + 0x38], eax
je 0x71a2a549
cmp dword [ebx + 0x3c], eax
je 0x71a2a549
cmp dword [ebx + 0x40], eax
je 0x71a2a549
cmp dword [ebx + 0x44], eax
je 0x71a2a549
cmp dword [ebx + 0x48], eax
je 0x71a2a549
cmp dword [ebx + 0x4c], eax
je 0x71a2a549
cmp dword [ebx + 0x50], eax
je 0x71a2a549
cmp dword [ebx + 0x54], eax
je 0x71a2a549
cmp dword [ebx + 0x58], eax
je 0x71a2a549
cmp dword [ebx + 0x5c], eax
je 0x71a2a549
cmp dword [ebx + 0x60], eax
je 0x71a2a549
cmp dword [ebx + 0x64], eax
je 0x71a2a549
cmp dword [ebx + 0x68], eax
je 0x71a2a549
cmp dword [ebx + 0x6c], eax
je 0x71a2a549
cmp dword [ebx + 0x70], eax
je 0x71a2a549
cmp dword [ebx + 0x74], eax
je 0x71a2a549
cmp dword [ebx + 0x78], eax
je 0x71a2a549
cmp dword [ebx + 0x7c], eax
je 0x71a2a549
cmp word [ebp - 0x324], si
jne 0x71a2a52c
mov eax, dword [ebp - 0x328]
mov ecx, dword [ebp - 0x1c]
call fcn.71a2269d
call fcn.71a21220
ret 8
mov eax, dword [ebx + 4]
test eax, eax
je 0x71a27a67
jmp 0x71a2a582
mov dword [ebp - 0x328], 0x277b
jmp 0x71a27a7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
pop ecx
cmp eax, ecx
je 0x71a2a521
cmp eax, 0x5af
je 0x71a2a521
mov dword [ebp - 0x328], 0x277a
jmp 0x71a27a7d
mov dword [ebp - 0x328], ecx
jmp 0x71a27a7d
lea eax, [ebp - 0x328]
push eax
mov ecx, ebx
call fcn.71a2d962
mov dword [ebp - 0x328], 0x276c
jmp 0x71a27a7d
mov dword [ebp - 0x328], 0x2778
jmp 0x71a27a7d
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [ebx + 4], 0
jmp 0x71a27a67