Function at 0x4bedd0
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, 0x58
mov dword [esp + 4], ecx
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
xor esi, esi
dec esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
cmp byte [edx + 0xb], 0
mov dword [esp + 8], edx
js 0x4bee25
mov eax, dword [edx + 8]
mov dword [esp + 0x20], eax
movsd xmm0, qword [edx]
movsd qword [esp + 0x18], xmm0
jmp 0x4bee33
lea ecx, [esp + 0x18]
push dword [edx + 4]
push dword [edx]
call fcn.0040ccc0
lea ebx, [esp + 0x18]
lea edi, [esp + 0x28]
push ebx
push edi
call fcn.004bf0a0
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4bee50
mov ecx, dword [esp + 0x1c]
jmp 0x4bee55
mov ecx, eax
and ecx, 0x7f
test ecx, ecx
jne 0x4beea2
mov esi, dword [esp + 4]
mov dword [esi], 0
mov dword [esi + 4], 1
test al, al
jns 0x4bee7a
push dword [esp + 0x18]
call fcn.0050fc7c
add esp, 4
cmp byte [esp + 0x33], 0
jns 0x4bee8d
push dword [esp + 0x28]
call fcn.0050fc7c
add esp, 4
mov ecx, dword [esp + 0x50]
xor ecx, ebp
call fcn.00512ee3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [esp + 0x33]
test al, al
jns 0x4beeb5
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
jmp 0x4beeb8
and eax, 0x7f
lea ecx, [esp + 0xc]
push eax
push edi
push ecx
call fcn.00420d40
add esp, 0xc
cmp byte [esp + 0x23], 0
mov eax, ebx
jns 0x4beed4
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [0x6bedd8]
mov dword [esp], eax
mov ecx, ebx
push 0xa
push str.chrome.dll
call fcn.00410600
lea ebx, [esp + 0x44]
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov ecx, ebx
push 0x5f40f0
call fcn.005477d0
cmp byte [ebx + 0xb], 0
mov edi, dword [esp + 8]
jns 0x4bef17
mov ebx, dword [esp + 0x44]
xor eax, eax
lea esi, [esp + 0x38]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
push 0x20019
push ebx
push 0x80000001
call fcn.004d2650
mov esi, dword [esi]
test esi, esi
je 0x4befa5
sub esp, 0x18
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp], esi
mov dword [esp + 4], 0x5d7d68
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4befa5
movzx eax, byte [esp + 0x17]
test al, al
jns 0x4bef6c
mov eax, dword [esp + 0x10]
jmp 0x4bef6f
and eax, 0x7f
test eax, eax
jne 0x4befa5
mov ecx, dword [esp]
push str.type
call fcn.004fd6b0
test al, al
jne 0x4befa5
cmp byte [esp + 0x23], 0
jns 0x4bef91
mov eax, dword [esp + 0x18]
jmp 0x4bef95
lea eax, [esp + 0x18]
xor ecx, ecx
inc ecx
push ecx
push 0
push ecx
push eax
call fcn.004d3180
add esp, 0x10
cmp byte [esp + 0x23], 0
jns 0x4befb2
mov eax, dword [esp + 0x18]
jmp 0x4befb6
lea eax, [esp + 0x18]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [esp], eax
test esi, esi
je 0x4befcf
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x40]
test ebx, ebx
jne 0x4bf074
cmp byte [esp + 0x4f], 0
mov esi, dword [esp + 4]
jns 0x4beff2
push dword [esp + 0x44]
call fcn.0050fc7c
add esp, 4
cmp byte [esp + 0x17], 0
jns 0x4bf005
push dword [esp + 0xc]
call fcn.0050fc7c
add esp, 4
movzx eax, byte [esp + 0x23]
test al, al
jns 0x4bf018
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x4bf01f
and eax, 0x7f
lea edx, [esp + 0x18]
lea ebx, [esp + 0x44]
mov ecx, ebx
push eax
push edx
call fcn.0040e660
xor eax, eax
mov ecx, ebx
push eax
push eax
call fcn.00501f10
cmp eax, 0xffffffff
jne 0x4bf08b
cmp byte [edi + 0xb], 0
js 0x4bf068
mov eax, dword [esp + 0x4c]
mov dword [edi + 8], eax
movsd xmm0, qword [esp + 0x44]
movsd qword [edi], xmm0
mov eax, dword [esp]
mov dword [esi], eax
mov dword [esi + 4], 0
mov al, byte [esp + 0x23]
jmp 0x4bee6a
push dword [edi]
call fcn.0050fc7c
add esp, 4
jmp 0x4bf042
mov eax, dword [ebx]
mov esi, dword [eax]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push 1
call esi
jmp 0x4befdb
lea ecx, [esp + 0x44]
push 0xffffffffffffffff
push eax
call fcn.00561c50
jmp 0x4bf03c