Function at 0x44d330
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a926
mov eax, dword fs:[0]
push eax
sub esp, 0xd68
mov eax, dword [0x60f520]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc64], edx
mov ebx, ecx
mov ecx, dword [ebx]
mov eax, dword [ebp + 8]
sub ecx, 0x10
mov dword [ebp - 0xc5c], eax
call fcn.0040c3c0
lea esi, [eax + 0x10]
mov dword [ebp - 0xc58], esi
mov dword [ebp - 4], 0
mov edi, dword [esi - 0xc]
test edi, edi
jns 0x44d39a
push 0x80070057
call fcn.0040c390
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x44d3bd
push edi
lea ecx, [ebp - 0xc58]
call fcn.0040c110
mov esi, dword [ebp - 0xc58]
lea eax, [edi + 1]
push eax
push esi
call fcn.005527a0
add esp, 8
cmp edi, dword [esi - 8]
jg 0x44d390
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
cmp dword [esi - 0xc], eax
jl 0x44d730
push 0x5b5504
push esi
call fcn.00552a08
add esp, 8
test eax, eax
je 0x44d730
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x44d730
lea eax, [ebp - 0xc48]
mov dword [ebp - 0xc48], 0
push eax
push 0x5abb98
push 1
push 0
push 0x5abc98
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x44d719
mov ecx, dword [ebp - 0xc48]
test ecx, ecx
je 0x44d719
mov eax, dword [ecx]
lea edx, [ebp - 0xc60]
push edx
push 0x5abcb8
push ecx
call dword [eax]
test eax, eax
js 0x44d719
mov ecx, dword [ebp - 0xc60]
test ecx, ecx
je 0x44d719
mov eax, dword [ecx]
push 0
push dword [ebx]
push ecx
call dword [eax + 0x14]
test eax, eax
js 0x44d719
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.00559380
mov eax, dword [ebp - 0xc48]
lea edx, [ebp - 0xc68]
add esp, 0xc
mov ecx, dword [eax]
push edx
push 0x104
lea edx, [ebp - 0x21c]
push edx
push eax
call dword [ecx + 0x40]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push eax
call fcn.00559380
add esp, 0xc
lea eax, [ebp - 0x424]
push 0x104
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d4f5
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xc5c]
push eax
call fcn.0040c1c0
mov eax, dword [ebp - 0xc48]
lea edx, [ebp - 0x21c]
push 2
push 0
push 0x104
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
lea edx, [ebp - 0x21c]
lea ecx, [edx + 2]
lea esp, [esp]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x44d540
sub edx, ecx
sar edx, 1
je 0x44d5a8
push edx
lea eax, [ebp - 0x21c]
mov ecx, ebx
push eax
call fcn.0040c1c0
mov eax, dword [ebp - 0xc48]
lea edx, [ebp - 0x21c]
push 0x104
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
lea edx, [ebp - 0x21c]
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x44d581
mov ecx, dword [ebp - 0xc64]
lea eax, [ebp - 0x21c]
sub edx, edi
sar edx, 1
push edx
push eax
call fcn.0040c1c0
jmp 0x44d702
mov dword [ebp - 0xc4c], 0
mov dword [ebp - 0xc54], 0
mov dword [ebp - 0xc50], 0
xor eax, eax
mov byte [ebp - 4], 1
push 0x81e
push eax
mov word [ebp - 0xc44], ax
lea eax, [ebp - 0xc42]
push eax
call fcn.00559380
mov eax, dword [ebp - 0xc48]
lea edx, [ebp - 0xc4c]
add esp, 0xc
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x44d61c
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xc50]
test eax, eax
je 0x44d702
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x44d702
lea eax, [ebp - 0xc54]
push eax
lea eax, [ebp - 0xc50]
push eax
push 0x5abb68
push dword [ebp - 0xc4c]
call dword [sym.imp.SHELL32.dll_SHBindToParent]
mov edi, dword [ebp - 0xc50]
test eax, eax
jne 0x44d6f4
test edi, edi
je 0x44d6f4
push 0x104
lea eax, [ebp - 0xd70]
mov dword [ebp - 0xd74], 0
push 0
push eax
call fcn.00559380
mov eax, dword [edi]
lea ecx, [ebp - 0xd74]
add esp, 0xc
push ecx
push 0x8000
push dword [ebp - 0xc54]
push edi
call dword [eax + 0x2c]
test eax, eax
jns 0x44d6a8
push dword [ebp - 0xc4c]
call dword [sym.imp.SHELL32.dll_ILFree]
mov dword [ebp - 0xc4c], 0
jmp 0x44d5ff
push 0x104
lea eax, [ebp - 0xc44]
push eax
push dword [ebp - 0xc54]
lea eax, [ebp - 0xd74]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRetToBufW]
test eax, eax
jne 0x44d68d
lea ecx, [ebp - 0xc44]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d6d4
sub ecx, edx
lea eax, [ebp - 0xc44]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.0040c1c0
jmp 0x44d68d
mov byte [ebp - 4], 0
test edi, edi
je 0x44d702
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc48]
test ecx, ecx
je 0x44d712
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edi, 1
jmp 0x44d732
mov ecx, ebx
call fcn.0040bff0
mov ecx, dword [ebp - 0xc48]
test ecx, ecx
je 0x44d730
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor edi, edi
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d753
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055199a
mov esp, ebp
pop ebp
ret