Function at 0x44273d
Capabilities:
Query environment variable
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x678
lea ebp, [esp - 4]
mov eax, dword [0x5c4954]
xor eax, ebp
mov dword [ebp + 0x678], eax
push 0x94
mov eax, 0x55d7dc
call fcn.0052b35a
mov esi, dword [ebp + 0x684]
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x14], ebx
inc edi
test byte [0x5c8d70], 1
mov dword [ebp - 0x18], esi
jne 0x4427a0
or dword [0x5c8d70], edi
mov ecx, 0x5c8d58
mov dword [ebp - 4], ebx
call fcn.004029c2
push 0x56ec2e
call fcn.0052b558
or dword [ebp - 4], 0xffffffff
pop ecx
mov eax, dword [0x5c8d68]
sub eax, dword [0x5c8d64]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
je 0x4427c8
push 0x5c8d58
mov ecx, esi
call fcn.004029f4
mov eax, esi
jmp 0x442c9f
push str.shell32.dll
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], edi
call fcn.004022a6
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 2
call fcn.004a3680
pop ecx
push ebx
push edi
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
call fcn.00402d14
cmp dword [ebp - 0x14], ebx
je 0x4428a2
push 0x575900
lea ecx, [ebp + 0x54]
call fcn.004022a6
lea eax, [ebp + 0x54]
push eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004a36a0
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp + 0x54]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.00402d14
cmp esi, ebx
je 0x44288f
push 0x103
lea eax, [ebp + 0x575]
push ebx
push eax
mov byte [ebp + 0x574], bl
call fcn.0052b590
add esp, 0xc
lea eax, [ebp + 0x574]
push eax
push ebx
push ebx
push 0x1a
push ebx
call esi
cmp eax, ebx
jne 0x44288f
lea eax, [ebp + 0x574]
push eax
lea ecx, [ebp + 0x54]
call fcn.004022a6
lea eax, [ebp + 0x54]
push eax
mov ecx, 0x5c8d58
mov byte [ebp - 4], 4
call fcn.00402b62
push ebx
push edi
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 1
call fcn.00402d14
push dword [ebp - 0x14]
call fcn.004a3660
pop ecx
jmp 0x4428a2
lea eax, [ebp - 0x14]
push eax
push 8
push ebx
push ebx
mov esi, 0x80000003
push esi
mov dword [ebp - 4], 6
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x442a40
xor edi, edi
push 0x400
lea ecx, [ebp + 0x70]
mov eax, edi
push ecx
push eax
push dword [ebp - 0x14]
inc edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, ebx
jne 0x442a2d
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp - 0x70]
call fcn.004022a6
push 0x5720f4
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 7
call fcn.00406a34
add esp, 0xc
push 0x5c8fac
push eax
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 8
call fcn.0040aab0
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xa
call fcn.00402d14
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xb
call fcn.00402d14
push ebx
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x6c], 0xf
call fcn.00403335
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x20]
mov byte [ebp - 4], 0xc
jae 0x44295e
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp]
call fcn.004022a6
push ebx
lea eax, [ebp + 0x54]
push eax
push 0x5c8f74
lea eax, [ebp]
push eax
push esi
mov ecx, 0x5bea28
mov byte [ebp - 4], 0xd
call fcn.00413c01
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 0xc
call fcn.00402d14
cmp dword [ebp + 0x68], ebx
je 0x442a0a
push 0x5c8d58
push dword [0x5c8d68]
lea ecx, [ebp - 0x30]
call fcn.0040375d
push 0x5c8d58
push dword [0x5c8d68]
lea ecx, [ebp - 0x20]
call fcn.0040375d
push 0x5c8d58
push dword [0x5c8d64]
lea ecx, [ebp - 0x28]
call fcn.0040375d
lea eax, [ebp + 0x54]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x38]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push eax
call fcn.0041d2c2
add esp, 0x18
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.00407d4f
cmp al, bl
je 0x442a0a
lea eax, [ebp + 0x54]
push eax
mov ecx, 0x5c8d58
call fcn.00402b62
push ebx
push 1
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 0xb
call fcn.00402d14
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 6
call fcn.00402d14
jmp 0x4428ca
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x442a40
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0xf
call fcn.004029c2
push ebx
mov edi, 0x5c8fc8
push edi
push 0x80000002
lea eax, [ebp - 0x88]
push eax
mov ecx, 0x5bea28
mov byte [ebp - 4], 0x10
call fcn.00414068
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x7c]
push 0x1c
cdq
pop ecx
idiv ecx
cmp dword [ebp - 0x14], eax
jae 0x442c6d
push ebx
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x50], 0xf
call fcn.00403335
push 0x5720f4
lea eax, [ebp - 0x54]
push edi
push eax
mov byte [ebp - 4], 0x12
call fcn.00406a34
add esp, 0xc
mov esi, eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x13
call fcn.004077dc
push eax
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.0040aab0
add esp, 0xc
push ebx
lea ecx, [ebp + 0x38]
push ecx
push 0x5c901c
push eax
push 0x80000002
mov ecx, 0x5bea28
mov byte [ebp - 4], 0x14
call fcn.00413c01
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x13
call fcn.00402d14
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x12
call fcn.00402d14
push 0x103
lea eax, [ebp + 0x471]
push ebx
push eax
mov byte [ebp + 0x470], bl
call fcn.0052b590
mov eax, dword [ebp + 0x3c]
add esp, 0xc
cmp dword [ebp + 0x50], 0x10
jae 0x442b36
lea eax, [ebp + 0x3c]
push 0x104
lea ecx, [ebp + 0x470]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp eax, ebx
jbe 0x442b5c
lea eax, [ebp + 0x470]
push eax
lea ecx, [ebp + 0x38]
call fcn.00402cf3
push 0x5720f4
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00406a34
add esp, 0xc
push 0x5c8f90
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 0x15
call fcn.0040aab0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x16
call fcn.00402bef
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x15
call fcn.00402d14
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x12
call fcn.00402d14
lea eax, [ebp + 0x38]
push eax
call fcn.00428bee
pop ecx
cmp al, bl
je 0x442c56
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp]
push eax
call fcn.00441250
pop ecx
pop ecx
mov byte [ebp - 4], 0x17
cmp dword [ebp + 0x14], ebx
je 0x442c47
mov esi, 0x5c8d58
push esi
push dword [0x5c8d68]
lea ecx, [ebp - 0x30]
call fcn.0040375d
push esi
push dword [0x5c8d68]
lea ecx, [ebp - 0x28]
call fcn.0040375d
push esi
push dword [0x5c8d64]
lea ecx, [ebp - 0x20]
call fcn.0040375d
lea eax, [ebp]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x38]
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push eax
call fcn.0041d2c2
add esp, 0x18
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.00407d4f
cmp al, bl
je 0x442c47
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.00402b62
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 0x12
call fcn.00402d14
push ebx
push 1
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x11
call fcn.00402d14
inc dword [ebp - 0x14]
jmp 0x442a76
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x10
call fcn.00402a81
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xf
call fcn.00402a81
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
push 0x5c8d58
call fcn.004029f4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x678]
xor ecx, ebp
call fcn.0052b318
add ebp, 0x67c
leave
ret