Function at 0x63d380
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x420], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040576c
mov eax, dword [ebp - 8]
call fcn.0040576c
xor eax, eax
push ebp
push 0x63d725
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004052bc
mov dl, 1
mov eax, dword [0x443038]
call fcn.00443138
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x63d6e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.004431d8
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x18], 0x20019
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
call fcn.00443240
test al, al
je 0x63d6d2
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.00443bdc
test al, al
je 0x63d6d2
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.0040577c
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 0x10]
dec eax
je 0x63d46b
dec eax
je 0x63d47d
add eax, 0xfffffffe
sub eax, 2
jb 0x63d4fb
dec eax
je 0x63d512
jmp 0x63d57e
mov ecx, ebx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.00443974
jmp 0x63d6ca
mov ecx, ebx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.00443974
mov eax, dword [ebp - 0xc]
test eax, eax
jns 0x63d496
call fcn.004043e8
push eax
push 0
mov eax, dword [ebx]
call fcn.0040577c
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
test eax, eax
jns 0x63d4af
call fcn.004043e8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x63d6ca
mov eax, dword [ebp - 0xc]
test eax, eax
jns 0x63d4c8
call fcn.004043e8
push eax
lea eax, [ebp - 0x419]
push eax
mov eax, dword [ebx]
call fcn.0040577c
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
test eax, eax
jns 0x63d4e6
call fcn.004043e8
mov dword [ebp - 0xc], eax
mov eax, ebx
lea edx, [ebp - 0x419]
call fcn.004054b4
jmp 0x63d6ca
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.00443a00
mov edx, ebx
call fcn.00409fbc
jmp 0x63d6ca
mov eax, ebx
call fcn.004052bc
cmp dword [ebp - 0xc], 0xffffffff
jle 0x63d6ca
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x419]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.00443a9c
mov dl, 1
mov eax, dword [0x419778]
call fcn.00404478
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jns 0x63d557
call fcn.004043e8
lea eax, [ebp - 0x419]
mov edx, 0x400
call fcn.0063d7e4
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x14]
call fcn.004044a8
jmp 0x63d6ca
mov eax, ebx
call fcn.004052bc
cmp dword [ebp - 0xc], 0xffffffff
jle 0x63d6ca
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x419]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.00443a9c
cmp byte [ebp + 0xc], 0
je 0x63d661
xor esi, esi
cmp esi, 0x400
jbe 0x63d5bd
call fcn.004043e8
cmp byte [ebp + esi - 0x419], 0
je 0x63d612
lea eax, [ebp - 0x420]
push eax
cmp esi, 0x400
jbe 0x63d5db
call fcn.004043e8
xor eax, eax
mov al, byte [ebp + esi - 0x419]
mov dword [ebp - 0x428], eax
mov byte [ebp - 0x424], 0
lea edx, [ebp - 0x428]
xor ecx, ecx
mov eax, 0x63d740
call fcn.0040b5bc
mov edx, dword [ebp - 0x420]
mov eax, ebx
call fcn.00405584
jmp 0x63d64c
lea eax, [ebp - 0x42c]
push eax
mov eax, dword [ebx]
call fcn.0040557c
mov edx, eax
mov eax, dword [ebx]
mov ecx, 1
call fcn.004057dc
mov eax, dword [ebp - 0x42c]
mov edx, 0x63d750
call fcn.004056c8
je 0x63d64c
mov eax, ebx
mov edx, 0x63d75c
call fcn.00405584
mov eax, dword [ebx]
call fcn.0040557c
mov edx, eax
sub edx, 2
mov eax, ebx
call fcn.00405908
jmp 0x63d6ca
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jl 0x63d6b9
inc edi
xor esi, esi
lea eax, [ebp - 0x430]
push eax
cmp esi, 0x400
jbe 0x63d680
call fcn.004043e8
xor eax, eax
mov al, byte [ebp + esi - 0x419]
mov dword [ebp - 0x428], eax
mov byte [ebp - 0x424], 0
lea edx, [ebp - 0x428]
xor ecx, ecx
mov eax, 0x63d768
call fcn.0040b5bc
mov edx, dword [ebp - 0x430]
mov eax, ebx
call fcn.00405584
inc esi
dec edi
jne 0x63d66c
mov eax, dword [ebx]
call fcn.0040557c
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405908
mov eax, dword [ebp - 0x18]
call fcn.004431a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63d6ef
mov eax, dword [ebp - 0x18]
call fcn.004044a8
ret