Function at 0x4143b0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4b4f0c
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4e02dc]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e02dc]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
xor edi, edi
push 0x206
lea eax, [esp + 0x2e]
push edi
push eax
mov esi, ecx
mov dword [esp + 0x24], edi
mov word [esp + 0x34], di
call fcn.0049a440
add esp, 0xc
lea eax, [edi + 1]
lea ecx, [esp + 0x14]
mov edx, esi
call fcn.0040a5d0
push eax
mov ecx, 0x4c1d98
call fcn.00414eb0
mov bl, al
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ebp, 0xffffffff
add esp, 4
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41444b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41461a
mov eax, 4
lea ecx, [esp + 0x14]
mov edx, esi
call fcn.0040a5d0
push eax
mov ecx, 0x4c89dc
call fcn.00414eb0
mov bl, al
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414492
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4144d1
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
add eax, 0xfffffffc
push esi
lea ecx, [esp + 0x18]
call fcn.0040a550
mov dword [esp + 0x23c], edi
mov edi, esi
call fcn.0040a8e0
mov dword [esp + 0x23c], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
jmp 0x4145e5
mov eax, 0xc
lea ecx, [esp + 0x14]
mov edx, esi
call fcn.0040a5d0
push eax
mov ecx, str.SystemRoot_
call fcn.00414eb0
mov bl, al
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414510
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4145f3
push 0x104
lea ecx, [esp + 0x2c]
push ecx
push str._SystemRoot_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edx, dword [esi]
mov eax, dword [edx - 0xc]
add eax, 0xfffffff5
push esi
lea ecx, [esp + 0x24]
call fcn.0040a550
mov edi, eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x240], 1
call fcn.00401400
lea ecx, [esp + 0x1c]
push edi
push ecx
mov ebx, eax
mov byte [esp + 0x244], 2
call fcn.0040e5b0
add esp, 8
mov edi, esi
mov byte [esp + 0x23c], 3
call fcn.0040a8e0
mov byte [esp + 0x23c], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4145a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x23c], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4145cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x23c], ebp
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x4145f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
cmp eax, 3
jg 0x414604
call fcn.004017f0
jmp 0x414622
cmp eax, 1
jge 0x414613
push 0x80070057
call fcn.004013e0
cmp word [ecx + 2], 0x3a
jne 0x4145fd
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.004935b6
add esp, 0x22c
ret