Function at 0x441650
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d53e8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x52de08]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
push 1
push eax
mov eax, dword [esi + 4]
push ecx
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
lea ecx, [esi + 4]
call fcn.00439030
mov ecx, dword [esi + 0x2c]
mov ebx, dword [esi + 0x28]
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x2c], ecx
call fcn.004409f0
add esp, 4
xor edx, edx
mov dword [ebp - 4], edx
push edx
push ecx
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], esp
push edx
push 0x56000000
push eax
push ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov eax, esp
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], ebx
mov dword [eax], edx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x28], esp
push eax
call fcn.00440970
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x441717
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x52ddd4]
mov eax, dword [edx + 0xc]
mov ecx, 0x52ddd4
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 3
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
mov ebx, 0x104
sub eax, ebx
or eax, ecx
jge 0x441756
push ebx
lea ecx, [ebp - 0x24]
call fcn.00406e80
mov edi, dword [ebp - 0x24]
cmp dword [edi - 8], ebx
jge 0x441765
push 0x80070057
call fcn.00406170
mov dword [edi - 0xc], ebx
xor ecx, ecx
push ebx
mov word [edi + 0x208], cx
mov eax, dword [esi + 0x30]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov eax, dword [edi - 8]
push eax
push edi
call fcn.004ab44b
add esp, 8
test eax, eax
js 0x44175b
cmp eax, dword [edi - 8]
jg 0x44175b
mov dword [edi - 0xc], eax
xor edx, edx
mov word [edi + eax*2], dx
mov ebx, dword [esi + 0x24]
cmp dword [ebx + 0x50], edx
je 0x441831
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x58]
push eax
call esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
push ecx
call esi
mov byte [ebp - 4], 5
lea edx, [ebp - 0x38]
push edx
call esi
mov byte [ebp - 4], 6
mov esi, dword [ebx + 0x50]
mov eax, 3
mov word [ebp - 0x20], ax
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 7
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [esi]
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x58]
push edx
lea edx, [ebp - 0x20]
push edx
push eax
mov eax, dword [ecx + 0x2c]
push esi
call eax
mov byte [ebp - 4], 6
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x20]
push ecx
call esi
mov byte [ebp - 4], 5
lea edx, [ebp - 0x38]
push edx
call esi
mov byte [ebp - 4], 4
lea eax, [ebp - 0x48]
push eax
call esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
push ecx
call esi
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x441854
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aaa9b
mov esp, ebp
pop ebp
ret 0x10