Function at 0x4bffd0
Capabilities:
Query or enumerate registry value
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esp + 0x68], eax
xor esi, esi
lea edi, [esp + 0x38]
mov dword [edi + 4], esi
mov dword [edi], esi
mov dword [edi + 8], esi
lea ebx, [esp + 0x28]
mov dword [ebx + 4], esi
mov dword [ebx], esi
mov dword [ebx + 8], esi
push ebx
push edi
call fcn.004bf0a0
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4c0016
mov ecx, dword [esp + 0x2c]
jmp 0x4c001b
mov ecx, eax
and ecx, 0x7f
test ecx, ecx
jne 0x4c0059
test al, al
jns 0x4c002f
push dword [esp + 0x28]
call fcn.0050fc7c
add esp, 4
cmp byte [esp + 0x43], 0
jns 0x4c0042
push dword [esp + 0x38]
call fcn.0050fc7c
add esp, 4
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.00512ee3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, dword [ebp + 8]
xor eax, eax
dec eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
movzx eax, byte [esp + 0x43]
test al, al
jns 0x4c007e
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
jmp 0x4c0081
and eax, 0x7f
lea ecx, [esp + 0x1c]
push eax
push edi
push ecx
call fcn.00420d40
add esp, 0xc
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4c009f
mov eax, dword [esi + 4]
mov esi, dword [esi]
jmp 0x4c00a2
and eax, 0x7f
lea edi, [esp + 0x10]
push eax
push esi
push edi
call fcn.00420d40
add esp, 0xc
movzx eax, byte [esp + 0x33]
test al, al
jns 0x4c00c4
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
jmp 0x4c00c7
and eax, 0x7f
lea esi, [esp + 4]
mov ecx, esi
push eax
push ebx
call fcn.0040e660
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.00501f10
xor ecx, ecx
dec ecx
cmp eax, ecx
jne 0x4c045b
cmp byte [esp + 0xf], 0
mov eax, esi
jns 0x4c00f7
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor eax, eax
dec eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
movzx eax, byte [esp + 0x1b]
test al, al
jns 0x4c0120
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
jmp 0x4c0123
and eax, 0x7f
lea ebx, [esp + 0x5c]
mov ecx, esi
push eax
push edi
push ebx
call fcn.00410a10
lea esi, [esp + 0x50]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
push 0x5f40f0
call fcn.005477d0
cmp byte [esi + 0xb], 0
jns 0x4c0156
mov esi, dword [esp + 0x50]
xor eax, eax
lea edi, [esp + 0x44]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
push 0x20019
push esi
push 0x80000001
call fcn.004d2650
mov edi, dword [edi]
test edi, edi
je 0x4c01da
sub esp, 0x18
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp], edi
mov dword [esp + 4], 0x5d7d68
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4c01da
movzx eax, byte [esp + 0x27]
test al, al
jns 0x4c01ab
mov eax, dword [esp + 0x20]
jmp 0x4c01ae
and eax, 0x7f
test eax, eax
jne 0x4c01da
push ebx
call fcn.00420f30
add esp, 4
test al, al
je 0x4c01da
cmp byte [esp + 0x67], 0
jns 0x4c01ca
mov ebx, dword [esp + 0x5c]
xor eax, eax
inc eax
push eax
push 0
push eax
push ebx
call fcn.004d3180
add esp, 0x10
movzx eax, byte [esp + 0x1b]
test al, al
jns 0x4c01e9
mov ecx, dword [esp + 0x14]
jmp 0x4c01ee
mov ecx, eax
and ecx, 0x7f
cmp ecx, 0xc
je 0x4c02ce
cmp ecx, 0xb
jne 0x4c03c2
test al, al
lea ecx, [esp + 0x10]
mov edx, dword [ecx]
mov esi, ecx
cmovs esi, edx
cmp word [esi], 0x61
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 2], 0x6e
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 4], 0x74
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 6], 0x69
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 8], 0x6c
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 0xa], 0x73
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 0xc], 0x70
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 0xe], 0x2e
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 0x10], 0x64
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 0x12], 0x6c
jne 0x4c03c2
test al, al
cmovs ecx, edx
cmp word [ecx + 0x14], 0x6c
je 0x4c0391
jmp 0x4c03c2
test al, al
lea ecx, [esp + 0x10]
mov edx, dword [ecx]
mov esi, ecx
cmovs esi, edx
cmp word [esi], 0x70
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 2], 0x72
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 4], 0x65
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 6], 0x73
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 8], 0x65
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 0xa], 0x74
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 0xc], 0x75
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 0xe], 0x69
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 0x10], 0x2e
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 0x12], 0x64
jne 0x4c03c2
test al, al
mov esi, ecx
cmovs esi, edx
cmp word [esi + 0x14], 0x6c
jne 0x4c03c2
test al, al
cmovs ecx, edx
cmp word [ecx + 0x16], 0x6c
jne 0x4c03c2
lea esi, [esp + 0x5c]
push esi
call fcn.00420f30
add esp, 4
test al, al
je 0x4c03c2
cmp byte [esp + 0x67], 0
jns 0x4c03ad
mov esi, dword [esp + 0x5c]
xor edx, edx
inc edx
mov ecx, esi
push 0
call fcn.004d2cb0
add esp, 4
xor esi, esi
test al, al
je 0x4c03e0
cmp byte [esp + 0x67], 0
jns 0x4c03cf
mov eax, dword [esp + 0x5c]
jmp 0x4c03d3
lea eax, [esp + 0x5c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test edi, edi
je 0x4c03eb
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x4c]
test edi, edi
jne 0x4c046c
cmp byte [esp + 0x5b], 0
jns 0x4c0406
push dword [esp + 0x50]
call fcn.0050fc7c
add esp, 4
cmp byte [esp + 0x67], 0
jns 0x4c0419
push dword [esp + 0x5c]
call fcn.0050fc7c
add esp, 4
cmp byte [esp + 0xf], 0
jns 0x4c042c
push dword [esp + 4]
call fcn.0050fc7c
add esp, 4
cmp byte [esp + 0x1b], 0
jns 0x4c043f
push dword [esp + 0x10]
call fcn.0050fc7c
add esp, 4
cmp byte [esp + 0x27], 0
jns 0x4c0452
push dword [esp + 0x1c]
call fcn.0050fc7c
add esp, 4
mov al, byte [esp + 0x33]
jmp 0x4c001f
lea ecx, [esp + 4]
push 0xffffffffffffffff
push eax
call fcn.00561c50
jmp 0x4c00ea
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 1
call ebx
jmp 0x4c03f3