Function at 0x4ed840
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cdfe
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x62d12c]
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
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x450], eax
xor ebx, ebx
mov edi, 7
xor ecx, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], cx
xor edx, edx
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], dx
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
lea esi, [ebx + 8]
cmp eax, 0xd
ja case.default.0x4ed8be
jmp dword [eax*4 + 0x4eeb78]
push 0x20019
push ebx
push str.CLSID1434DD3D_0AF6_41E0_BB71_8C86010D9AF5LocalServer32
push SysReAllocStringLen
lea ecx, [ebp - 0x444]
call fcn.004e4a10
mov byte [ebp - 4], 3
lea eax, [ebp - 0x26c]
push eax
push ebx
lea ecx, [ebp - 0x444]
call fcn.004e4b70
cmp dword [ebp - 0x25c], ebx
je 0x4ee43c
lea ecx, [ebp - 0x250]
push ecx
sub esp, 0x1c
lea edx, [ebp - 0x26c]
mov ecx, esp
mov dword [ebp - 0x448], esp
push edx
call fcn.00421ac0
call fcn.004eab00
add esp, 0x20
cmp al, bl
je 0x4ee43c
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 2
call fcn.004e4860
call fcn.004e5dd0
test eax, eax
je 0x4eea2e
lea edx, [ebp - 0x448]
push edx
call fcn.004e5e10
mov eax, dword [ebp - 0x250]
add esp, 4
cmp dword [ebp - 0x23c], esi
jae 0x4ed970
lea eax, [ebp - 0x250]
mov ecx, dword [ebp - 0x450]
push ecx
push eax
call fcn.004ea7d0
mov edx, dword [ebp - 0x448]
push edx
mov byte [ebp - 0x431], al
call fcn.004e5e40
add esp, 0xc
jmp 0x4eea58
xor eax, eax
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x278], ebx
mov word [ebp - 0x288], ax
xor ecx, ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 5
call fcn.004e4830
push 0x20019
push ebx
push str.SoftwareResearch_In_MotionAppLoader
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 6
call fcn.004e4ac0
test al, al
je 0x4edab8
lea edx, [ebp - 0x234]
push edx
push 0x5c4048
lea ecx, [ebp - 0x444]
call fcn.004e4b70
test al, al
je 0x4edab8
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], esi
jae 0x4eda2b
lea eax, [ebp - 0x234]
push ebx
push 0x5d7640
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.004eb730
add esp, 0x10
push eax
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 7
call fcn.00414940
lea ecx, [ebp - 0x318]
mov byte [ebp - 4], 6
call fcn.004222c0
lea ecx, [ebp - 0x250]
push ecx
sub esp, 0x1c
lea edx, [ebp - 0x288]
mov ecx, esp
mov dword [ebp - 0x448], esp
push edx
call fcn.00421ac0
call fcn.004eab00
add esp, 0x20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x444]
cmp al, bl
je 0x4edac2
call fcn.004e4860
lea ecx, [ebp - 0x234]
call fcn.004222c0
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 2
call fcn.004222c0
jmp case.default.0x4ed8be
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x444]
call fcn.004e4860
lea ecx, [ebp - 0x234]
call fcn.004222c0
lea ecx, [ebp - 0x288]
call fcn.004222c0
jmp 0x4ee44b
xor eax, eax
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x278], ebx
mov word [ebp - 0x288], ax
xor ecx, ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 9
call fcn.004e4830
push 0x20019
push ebx
push str.SoftwareResearch_In_MotionAppLoader
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0xa
call fcn.004e4ac0
test al, al
je 0x4edbe8
lea edx, [ebp - 0x234]
push edx
push 0x5c4048
lea ecx, [ebp - 0x444]
call fcn.004e4b70
test al, al
je 0x4edbe8
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], esi
jae 0x4edb76
lea eax, [ebp - 0x234]
push ebx
push 0x5d7628
push eax
lea eax, [ebp - 0x3c0]
push eax
call fcn.004eb730
add esp, 0x10
push eax
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0xb
call fcn.00414940
lea ecx, [ebp - 0x3c0]
mov byte [ebp - 4], 0xa
call fcn.004222c0
lea ecx, [ebp - 0x250]
push ecx
sub esp, 0x1c
lea edx, [ebp - 0x288]
mov ecx, esp
mov dword [ebp - 0x448], esp
push edx
call fcn.00421ac0
call fcn.004eab00
add esp, 0x20
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x444]
cmp al, bl
jne 0x4eda94
jmp 0x4edac2
mov byte [ebp - 4], 9
jmp 0x4edabc
push 0x20019
push ebx
push str.CLSIDBA3D0120_E617_4F66_ADCA_585CC2FB86DBLocalServer32
push SysReAllocStringLen
lea ecx, [ebp - 0x444]
call fcn.004e4a10
mov byte [ebp - 4], 0xc
jmp 0x4ed8e4
lea ecx, [ebp - 0x2fc]
call fcn.004e87d0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x448], esp
push 0x5e3368
mov byte [ebp - 4], 0xd
call fcn.00422b70
lea eax, [ebp - 0x2fc]
push eax
push 3
call fcn.004ed840
add esp, 0x24
cmp al, bl
je 0x4edd2f
lea ecx, [ebp - 0x2e0]
push ecx
lea ecx, [ebp - 0x2a4]
call fcn.00421ac0
push 1
push 1
push 0xffffffffffffffff
push 0x5d6af8
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0xe
call fcn.004e6a70
dec eax
push eax
push 0x5d6af8
lea ecx, [ebp - 0x2a4]
call fcn.004e6a70
push eax
push ebx
lea edx, [ebp - 0x414]
push edx
lea ecx, [ebp - 0x2a4]
call fcn.0040f3b0
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0xf
call fcn.00414940
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 0xe
call fcn.004222c0
push 0x5d75b8
lea ecx, [ebp - 0x26c]
call fcn.0040f310
cmp dword [ebp - 0x25c], ebx
je 0x4edd24
lea eax, [ebp - 0x250]
push eax
sub esp, 0x1c
lea edx, [ebp - 0x26c]
mov ecx, esp
mov dword [ebp - 0x448], esp
push edx
call fcn.00421ac0
call fcn.004eab00
add esp, 0x20
cmp al, bl
je 0x4edd24
lea ecx, [ebp - 0x2a4]
call fcn.004222c0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 2
call fcn.004e89d0
jmp case.default.0x4ed8be
lea ecx, [ebp - 0x2a4]
call fcn.004222c0
lea ecx, [ebp - 0x2fc]
call fcn.004e89d0
jmp 0x4ee44b
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4ee44b
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x288]
call fcn.00422b70
mov byte [ebp - 4], 0x10
call fcn.004e5dd0
test eax, eax
je 0x4eddd1
lea edx, [ebp - 0x448]
push edx
call fcn.004e5e10
add esp, 4
push 0x5d7570
lea ecx, [ebp - 0x288]
call fcn.0040f310
lea eax, [ebp - 0x250]
push eax
sub esp, 0x1c
lea edx, [ebp - 0x288]
mov ecx, esp
mov dword [ebp - 0x44c], esp
push edx
call fcn.00421ac0
call fcn.004eab00
mov byte [ebp - 0x431], al
mov eax, dword [ebp - 0x448]
push eax
call fcn.004e5e40
add esp, 0x24
jmp 0x4ede0d
push 0x5d7530
lea ecx, [ebp - 0x288]
call fcn.0040f310
lea ecx, [ebp - 0x250]
push ecx
sub esp, 0x1c
lea edx, [ebp - 0x288]
mov ecx, esp
mov dword [ebp - 0x44c], esp
push edx
call fcn.00421ac0
call fcn.004eab00
add esp, 0x20
mov byte [ebp - 0x431], al
cmp byte [ebp - 0x431], bl
jne 0x4edfbc
push 0x20019
push ebx
push str.CLSIDBA3D0120_E617_4F66_ADCA_585CC2FB86DBLocalServer32
push SysReAllocStringLen
lea ecx, [ebp - 0x444]
call fcn.004e4a10
lea eax, [ebp - 0x26c]
push eax
push ebx
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x11
call fcn.004e4b70
cmp dword [ebp - 0x25c], ebx
je 0x4edf7e
xor ecx, ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
xor edx, edx
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x294], ebx
mov word [ebp - 0x2a4], dx
mov eax, dword [ebp - 0x26c]
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x258], esi
jae 0x4ede99
lea eax, [ebp - 0x26c]
lea ecx, [ebp - 0x2a4]
push ecx
lea edx, [ebp - 0x234]
push edx
push eax
call fcn.004eb940
add esp, 0xc
call fcn.004e5dd0
test eax, eax
mov eax, dword [ebp - 0x234]
je 0x4edefb
cmp dword [ebp - 0x220], esi
jae 0x4edecd
lea eax, [ebp - 0x234]
push ebx
push 0x5d750c
push eax
lea eax, [ebp - 0x3dc]
push eax
call fcn.004eb730
add esp, 0x10
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x14
call fcn.00414940
lea ecx, [ebp - 0x3dc]
jmp 0x4edf35
cmp dword [ebp - 0x220], esi
jae 0x4edf09
lea eax, [ebp - 0x234]
push ebx
push 0x5d74f4
push eax
lea ecx, [ebp - 0x350]
push ecx
call fcn.004eb730
add esp, 0x10
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x15
call fcn.00414940
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 0x13
call fcn.004222c0
lea edx, [ebp - 0x250]
push edx
sub esp, 0x1c
lea eax, [ebp - 0x26c]
mov ecx, esp
mov dword [ebp - 0x44c], esp
push eax
call fcn.00421ac0
call fcn.004eab00
add esp, 0x20
lea ecx, [ebp - 0x2a4]
cmp al, bl
jne 0x4edf9d
call fcn.004222c0
lea ecx, [ebp - 0x234]
call fcn.004222c0
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x10
call fcn.004e4860
lea ecx, [ebp - 0x288]
call fcn.004222c0
jmp 0x4ee44b
call fcn.004222c0
lea ecx, [ebp - 0x234]
call fcn.004222c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x444]
call fcn.004e4860
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 2
call fcn.004222c0
jmp case.default.0x4ed8be
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4ee44b
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x2a4]
call fcn.00422b70
mov byte [ebp - 4], 0x16
call fcn.004e5dd0
test eax, eax
je 0x4ee062
lea eax, [ebp - 0x448]
push eax
call fcn.004e5e10
add esp, 4
push 0x5d74a8
lea ecx, [ebp - 0x2a4]
call fcn.0040f310
lea ecx, [ebp - 0x250]
push ecx
sub esp, 0x1c
lea edx, [ebp - 0x2a4]
mov ecx, esp
mov dword [ebp - 0x44c], esp
push edx
call fcn.00421ac0
call fcn.004eab00
mov byte [ebp - 0x431], al
mov eax, dword [ebp - 0x448]
push eax
call fcn.004e5e40
add esp, 0x24
jmp 0x4ee09e
push 0x5d7468
lea ecx, [ebp - 0x2a4]
call fcn.0040f310
lea ecx, [ebp - 0x250]
push ecx
sub esp, 0x1c
lea edx, [ebp - 0x2a4]
mov ecx, esp
mov dword [ebp - 0x44c], esp
push edx
call fcn.00421ac0
call fcn.004eab00
add esp, 0x20
mov byte [ebp - 0x431], al
lea ecx, [ebp - 0x2a4]
cmp byte [ebp - 0x431], bl
je 0x4edad8
mov byte [ebp - 4], 2
call fcn.004222c0
jmp case.default.0x4ed8be
xor eax, eax
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x278], ebx
mov word [ebp - 0x288], ax
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x17
call fcn.004e4830
push 0x20019
push ebx
push str.SoftwareResearch_In_MotionBlackBerryManager
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x18
call fcn.004e4ac0
test al, al
je 0x4ee16e
lea ecx, [ebp - 0x288]
push ecx
push 0x5d7454
lea ecx, [ebp - 0x444]
call fcn.004e4b70
test al, al
je 0x4ee16e
lea edx, [ebp - 0x250]
push edx
sub esp, 0x1c
lea eax, [ebp - 0x288]
mov ecx, esp
mov dword [ebp - 0x44c], esp
push eax
call fcn.00421ac0
call fcn.004eab00
mov byte [ebp - 4], 0x17
add esp, 0x20
lea ecx, [ebp - 0x444]
cmp al, bl
jne 0x4edfb7
call fcn.004e4860
lea ecx, [ebp - 0x288]
call fcn.004222c0
jmp 0x4ee44b
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x17
call fcn.004e4860
lea ecx, [ebp - 0x288]
call fcn.004222c0
jmp 0x4ee44b
xor ecx, ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x19
call fcn.004e4830
push 0x20019
push ebx
push str.SoftwareResearch_In_MotionBlackBerryManager
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x1a
call fcn.004e4ac0
test al, al
je 0x4ee2fd
lea edx, [ebp - 0x234]
push edx
push 0x5d7454
lea ecx, [ebp - 0x444]
call fcn.004e4b70
test al, al
je 0x4ee2fd
lea eax, [ebp - 0x250]
push eax
sub esp, 0x1c
lea edx, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x44c], esp
push edx
call fcn.00421ac0
call fcn.004eab00
add esp, 0x20
cmp al, bl
je 0x4ee2fd
xor eax, eax
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x278], ebx
mov word [ebp - 0x288], ax
xor ecx, ecx
mov dword [ebp - 0x2ac], edi
mov dword [ebp - 0x2b0], ebx
mov word [ebp - 0x2c0], cx
mov eax, dword [ebp - 0x250]
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x23c], esi
jae 0x4ee268
lea eax, [ebp - 0x250]
lea edx, [ebp - 0x2c0]
push edx
lea ecx, [ebp - 0x288]
push ecx
push eax
call fcn.004eb940
mov eax, dword [ebp - 0x288]
add esp, 0xc
cmp dword [ebp - 0x274], esi
jae 0x4ee293
lea eax, [ebp - 0x288]
push ebx
push 0x5d7434
push eax
lea edx, [ebp - 0x334]
push edx
call fcn.004eb730
add esp, 0x10
push eax
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0x1d
call fcn.00414940
lea ecx, [ebp - 0x334]
call fcn.004222c0
lea ecx, [ebp - 0x2c0]
call fcn.004222c0
lea ecx, [ebp - 0x288]
call fcn.004222c0
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x19
call fcn.004e4860
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.004222c0
jmp case.default.0x4ed8be
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x19
call fcn.004e4860
lea ecx, [ebp - 0x234]
call fcn.004222c0
jmp 0x4ee44b
push 0x20019
push ebx
push str.CLSID1434DD3D_0AF6_41E0_BB71_8C86010D9AF5LocalServer32
push SysReAllocStringLen
lea ecx, [ebp - 0x444]
call fcn.004e4a10
lea eax, [ebp - 0x26c]
push eax
push ebx
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x1e
call fcn.004e4b70
cmp dword [ebp - 0x25c], ebx
je 0x4ee43c
xor ecx, ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
xor edx, edx
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x294], ebx
mov word [ebp - 0x2a4], dx
mov eax, dword [ebp - 0x26c]
mov byte [ebp - 4], 0x20
cmp dword [ebp - 0x258], esi
jae 0x4ee39c
lea eax, [ebp - 0x26c]
lea ecx, [ebp - 0x2a4]
push ecx
lea edx, [ebp - 0x234]
push edx
push eax
call fcn.004eb940
mov eax, dword [ebp - 0x234]
add esp, 0xc
cmp dword [ebp - 0x220], esi
jae 0x4ee3c7
lea eax, [ebp - 0x234]
push ebx
push 0x5c6464
push eax
lea eax, [ebp - 0x3f8]
push eax
call fcn.004eb730
add esp, 0x10
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x21
call fcn.00414940
lea ecx, [ebp - 0x3f8]
mov byte [ebp - 4], 0x20
call fcn.004222c0
lea ecx, [ebp - 0x250]
push ecx
sub esp, 0x1c
lea edx, [ebp - 0x26c]
mov ecx, esp
mov dword [ebp - 0x44c], esp
push edx
call fcn.00421ac0
call fcn.004eab00
add esp, 0x20
lea ecx, [ebp - 0x2a4]
cmp al, bl
jne 0x4ee470
call fcn.004222c0
lea ecx, [ebp - 0x234]
call fcn.004222c0
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 2
call fcn.004e4860
lea ecx, [ebp - 0x250]
call fcn.004222c0
lea ecx, [ebp - 0x26c]
call fcn.004222c0
lea ecx, [ebp + 0x10]
call fcn.004222c0
xor al, al
jmp 0x4eeb5b
call fcn.004222c0
lea ecx, [ebp - 0x234]
call fcn.004222c0
jmp 0x4ed931
xor eax, eax
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x278], ebx
mov word [ebp - 0x288], ax
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x22
call fcn.004e4830
push 0x20019
push ebx
push str.SoftwareResearch_In_MotionBlackBerryRedirector
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x23
call fcn.004e4ac0
test al, al
je 0x4ee514
lea ecx, [ebp - 0x288]
push ecx
push 0x5d7454
lea ecx, [ebp - 0x444]
call fcn.004e4b70
test al, al
je 0x4ee514
lea edx, [ebp - 0x250]
push edx
sub esp, 0x1c
lea eax, [ebp - 0x288]
mov ecx, esp
mov dword [ebp - 0x44c], esp
push eax
call fcn.00421ac0
call fcn.004eab00
mov byte [ebp - 4], 0x22
jmp 0x4ee148
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x22
call fcn.004e4860
lea ecx, [ebp - 0x288]
call fcn.004222c0
jmp 0x4ee44b
xor ecx, ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
xor edx, edx
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x294], ebx
mov word [ebp - 0x2a4], dx
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x25
call fcn.004e4830
push 0x20019
push ebx
push str.SoftwareResearch_In_MotionAppLoader
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x26
call fcn.004e4ac0
test al, al
je 0x4ee6f7
lea eax, [ebp - 0x2a4]
push eax
push 0x5c4048
lea ecx, [ebp - 0x444]
call fcn.004e4b70
test al, al
je 0x4ee6f7
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2a4]
push ecx
lea ecx, [ebp - 0x234]
call fcn.00422470
mov esi, dword [ebp - 0x224]
dec esi
push esi
lea ecx, [ebp - 0x234]
call fcn.004e6820
cmp word [eax], 0x5c
jne 0x4ee610
push esi
push ebx
lea edx, [ebp - 0x430]
push edx
lea ecx, [ebp - 0x234]
call fcn.0040f3b0
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x27
call fcn.00414940
lea ecx, [ebp - 0x430]
call fcn.004222c0
xor eax, eax
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x278], ebx
mov word [ebp - 0x288], ax
xor ecx, ecx
mov dword [ebp - 0x2ac], edi
mov dword [ebp - 0x2b0], ebx
mov word [ebp - 0x2c0], cx
mov eax, dword [ebp - 0x234]
mov esi, 8
mov byte [ebp - 4], 0x29
cmp dword [ebp - 0x220], esi
jae 0x4ee657
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x2c0]
push edx
lea ecx, [ebp - 0x288]
push ecx
push eax
call fcn.004eb940
mov eax, dword [ebp - 0x288]
add esp, 0xc
cmp dword [ebp - 0x274], esi
jae 0x4ee682
lea eax, [ebp - 0x288]
push ebx
push 0x5d73b0
push eax
lea edx, [ebp - 0x3a4]
push edx
call fcn.004eb730
add esp, 0x10
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x2a
call fcn.00414940
lea ecx, [ebp - 0x3a4]
mov byte [ebp - 4], 0x29
call fcn.004222c0
lea eax, [ebp - 0x250]
push eax
sub esp, 0x1c
lea edx, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x44c], esp
push edx
call fcn.00421ac0
call fcn.004eab00
add esp, 0x20
lea ecx, [ebp - 0x2c0]
cmp al, bl
jne 0x4ee721
call fcn.004222c0
lea ecx, [ebp - 0x288]
call fcn.004222c0
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x25
call fcn.004e4860
lea ecx, [ebp - 0x2a4]
call fcn.004222c0
lea ecx, [ebp - 0x234]
call fcn.004222c0
jmp 0x4ee44b
call fcn.004222c0
lea ecx, [ebp - 0x288]
call fcn.004222c0
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x25
call fcn.004e4860
lea ecx, [ebp - 0x2a4]
call fcn.004222c0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.004222c0
mov esi, 8
jmp case.default.0x4ed8be
xor eax, eax
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x294], ebx
mov word [ebp - 0x2a4], ax
xor ecx, ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x2c
call fcn.004e4830
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsMediaManager9.exe
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x2d
call fcn.004e4ac0
test al, al
je 0x4ee885
lea edx, [ebp - 0x234]
push edx
push 0x5d739c
lea ecx, [ebp - 0x444]
call fcn.004e4b70
test al, al
je 0x4ee885
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], esi
jae 0x4ee7f8
lea eax, [ebp - 0x234]
push ebx
push 0x5d7378
push eax
lea eax, [ebp - 0x388]
push eax
call fcn.004eb730
add esp, 0x10
push eax
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x2e
call fcn.00414940
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 0x2d
call fcn.004222c0
lea ecx, [ebp - 0x250]
push ecx
sub esp, 0x1c
lea edx, [ebp - 0x2a4]
mov ecx, esp
mov dword [ebp - 0x44c], esp
push edx
call fcn.00421ac0
call fcn.004eab00
add esp, 0x20
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x444]
cmp al, bl
je 0x4ee88f
call fcn.004e4860
lea ecx, [ebp - 0x234]
call fcn.004222c0
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 2
call fcn.004222c0
jmp case.default.0x4ed8be
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x444]
call fcn.004e4860
lea ecx, [ebp - 0x234]
call fcn.004222c0
lea ecx, [ebp - 0x2a4]
call fcn.004222c0
jmp 0x4ee44b
xor eax, eax
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x278], ebx
mov word [ebp - 0x288], ax
xor ecx, ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x30
call fcn.004e4830
push 0x20019
push ebx
push str.SoftwareResearch_In_MotionAppLoader
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x31
call fcn.004e4ac0
test al, al
je 0x4eea25
lea edx, [ebp - 0x234]
push edx
push 0x5c4048
lea ecx, [ebp - 0x444]
call fcn.004e4b70
test al, al
je 0x4eea25
mov eax, dword [ebp - 0x234]
mov edi, 8
cmp dword [ebp - 0x220], edi
jae 0x4ee948
lea eax, [ebp - 0x234]
push ebx
push 0x5d7360
push eax
lea eax, [ebp - 0x36c]
push eax
call fcn.004eb730
add esp, 0x10
push eax
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0x32
call fcn.00414940
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 0x31
call fcn.004222c0
lea ecx, [ebp - 0x250]
push ecx
sub esp, 0x1c
lea edx, [ebp - 0x288]
mov ecx, esp
mov dword [ebp - 0x44c], esp
push edx
call fcn.00421ac0
call fcn.004eab00
add esp, 0x20
cmp al, bl
je 0x4eea25
mov eax, dword [ebp - 0x250]
cmp dword [ebp - 0x23c], edi
jae 0x4ee9bb
lea eax, [ebp - 0x250]
mov ecx, dword [ebp - 0x450]
push ecx
push str.version
push 0x5d734c
push eax
call fcn.004e9600
add esp, 0x10
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x444]
test al, al
je 0x4edac2
call fcn.004e4860
lea ecx, [ebp - 0x234]
call fcn.004222c0
lea ecx, [ebp - 0x288]
call fcn.004222c0
lea ecx, [ebp - 0x250]
call fcn.004222c0
lea ecx, [ebp - 0x26c]
call fcn.004222c0
lea ecx, [ebp + 0x10]
call fcn.004222c0
jmp 0x4eeb59
mov byte [ebp - 4], 0x30
jmp 0x4edabc
mov eax, dword [ebp - 0x250]
cmp dword [ebp - 0x23c], esi
jae 0x4eea42
lea eax, [ebp - 0x250]
mov ecx, dword [ebp - 0x450]
push ecx
push eax
call fcn.004ea7d0
add esp, 8
mov byte [ebp - 0x431], al
cmp byte [ebp - 0x431], bl
jne 0x4eeaf0
mov ecx, dword [ebp - 0x450]
push 0xffffffffffffffff
push ebx
lea edx, [ebp + 0x10]
push edx
call fcn.00422470
mov eax, dword [ebp - 0x450]
mov byte [eax + 0x38], bl
cmp dword [ebp - 0x23c], esi
jb 0x4eea96
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00558723
add esp, 4
xor edx, edx
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], dx
cmp dword [ebp - 0x258], esi
jb 0x4eeac2
mov eax, dword [ebp - 0x26c]
push eax
call fcn.00558723
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], cx
cmp dword [ebp + 0x24], esi
jb 0x4ee469
mov edx, dword [ebp + 0x10]
push edx
call fcn.00558723
add esp, 4
xor al, al
jmp 0x4eeb5b
cmp dword [ebp - 0x23c], esi
jb 0x4eeb07
mov eax, dword [ebp - 0x250]
push eax
call fcn.00558723
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], cx
cmp dword [ebp - 0x258], esi
jb 0x4eeb33
mov edx, dword [ebp - 0x26c]
push edx
call fcn.00558723
add esp, 4
xor eax, eax
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], ax
cmp dword [ebp + 0x24], esi
jb 0x4eeb59
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00558723
add esp, 4
mov al, 1
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.00558b78
mov esp, ebp
pop ebp
ret