Function at 0x4578f0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488785
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4a3ecc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
push eax
push eax
push 0xa
mov dword [ebp - 4], eax
call fcn.004575c0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0xc
test al, al
je 0x457a20
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x457983
call edi
push eax
push str.___Failed_to_load_kernel32__error__u__
push 0x21f
push str.desktop_app_win_df_utils_win.cc
call fcn.00456580
push str.___dropbox:_kernel32_unavailable
push 1
call sub.dropbox_core.dll_bootstrap_abort
add esp, 0x18
push 0x489b28
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x457a19
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x48]
push ecx
push eax
call ebx
test eax, eax
jne 0x4579e2
call edi
push eax
push str.___Failed_to_check_WoW_state__error__u__
push 0x22b
push str.desktop_app_win_df_utils_win.cc
call fcn.00456580
push str.___dropbox:_failed_to_check_WoW_state
push 1
call sub.dropbox_core.dll_bootstrap_abort
add esp, 0x18
mov eax, dword [ebp - 0x44]
mov ecx, 0x1c0
cmp ax, cx
je 0x457a03
mov ecx, 0x1c4
cmp ax, cx
je 0x457a03
mov ecx, 0xaa64
cmp ax, cx
jne 0x457a19
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, str.armRedirection
mov ecx, 0xe
jmp 0x457aa0
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push 0
push 0xa
mov dword [ebp - 0x44], 0
call fcn.004575c0
add esp, 0xc
test al, al
je 0x457c33
lea eax, [ebp - 0x44]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindowsIsVailContainer
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x457c33
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], 4
push eax
push 0
push 0x18
push 0
push 0
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x457c19
cmp dword [ebp - 0x48], eax
setne al
test al, al
je 0x457c33
mov eax, str.windowsLiteRedirection
mov ecx, 0x16
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00456320
push 0x2e
xor eax, eax
mov dword [ebp - 0x18], 0
push str.ms_windows_store:__pdp__productid9WZDNCRFJ0PK
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00456320
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 1
test esi, esi
je 0x457afc
push 5
push str.cid
lea ecx, [ebp - 0x28]
call fcn.00456b90
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push esi
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.00456b90
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x457b84
lea eax, [ebp - 0x4c]
push eax
push 0xffff
push 6
push 0x2ee2
push 0x2ee1
push 0x2ee0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
call dword [sym.imp.COMCTL32.dll_Ordinal_344]
test eax, eax
js 0x457b7e
cmp dword [ebp - 0x4c], 6
jne 0x457b7e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Opening_store_url:__ls
push 0x276
push str.desktop_app_win_df_utils_win.cc
call fcn.00456580
add esp, 0x10
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push 1
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call dword [sym.imp.ole32.dll_CoUninitialize]
push str.___dropbox:_unsupported_configuration
push 5
call sub.dropbox_core.dll_bootstrap_abort
mov edx, dword [ebp - 0x14]
add esp, 8
cmp edx, 8
jb 0x457bcd
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457bc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457c4f
push edx
push ecx
call fcn.0045b9ca
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x457c33
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457c0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457c4f
push edx
push ecx
call fcn.0045b9ca
add esp, 8
jmp 0x457c33
call edi
push eax
push str.Failed_to_open_registry_key_for_IsVailContainer__error__u__
push 0x24c
push str.desktop_app_win_df_utils_win.cc
call fcn.00456580
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045be32
mov esp, ebp
pop ebp
ret
call fcn.00460d04
int3