Function at 0x4ab350
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1d86
mov eax, dword fs:[0]
push eax
sub esp, 0x980
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x960], ecx
push 0x400
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x6009a8
lea ecx, [ebp - 0x8e4]
call fcn.004b3550
mov dword [ebp - 4], 0
push str.CONFIG
lea ecx, [ebp - 0x8f0]
call fcn.004b3550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x814]
push ecx
lea ecx, [ebp - 0x8fc]
call fcn.004b3550
mov byte [ebp - 4], 2
lea edx, [ebp - 0x8f0]
push edx
lea eax, [ebp - 0x8fc]
push eax
lea ecx, [ebp - 0x908]
push ecx
call fcn.00412f50
add esp, 0xc
mov dword [ebp - 0x964], eax
mov edx, dword [ebp - 0x964]
mov dword [ebp - 0x968], edx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x8e4]
push eax
mov ecx, dword [ebp - 0x968]
push ecx
lea edx, [ebp - 0x824]
push edx
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x908]
call fcn.004b3860
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8fc]
call fcn.004b3860
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8f0]
call fcn.004b3860
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8e4]
call fcn.004b3860
lea eax, [ebp - 0x824]
push eax
mov ecx, dword [ebp - 0x960]
mov ecx, dword [ecx + 4]
call fcn.0041e330
mov dword [ebp - 0x818], eax
cmp dword [ebp - 0x818], 0
je 0x4abb28
lea ecx, [ebp - 0x844]
call fcn.00407bf0
mov byte [ebp - 4], 9
lea edx, [ebp - 0x825]
push edx
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x84c]
push ecx
lea edx, [ebp - 0x824]
push edx
mov eax, dword [ebp - 0x818]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x818]
mov eax, dword [edx + 0x10]
call eax
movzx ecx, al
test ecx, ecx
jne 0x4ab4eb
lea ecx, [ebp - 0x824]
call fcn.004553f0
push eax
push str.GetFileInfo___failed_on__s_r_n
call fcn.0054eca8
add esp, 8
jmp 0x4abb19
mov edx, dword [ebp - 0x84c]
push edx
call fcn.0054ea24
add esp, 4
mov dword [ebp - 0x854], eax
cmp dword [ebp - 0x854], 0
je 0x4abb19
push 0
lea eax, [ebp - 0x824]
push eax
mov ecx, dword [ebp - 0x818]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x818]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x858], eax
cmp dword [ebp - 0x858], 0
jne 0x4ab556
lea ecx, [ebp - 0x824]
call fcn.004553f0
push eax
push str.OpenDataStream___failed_on__s_r_n
call fcn.0054eca8
add esp, 8
jmp 0x4abb0a
lea ecx, [ebp - 0x850]
push ecx
mov edx, dword [ebp - 0x84c]
push edx
mov eax, dword [ebp - 0x854]
push eax
mov ecx, dword [ebp - 0x858]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x858]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x858]
mov dword [ebp - 0x910], ecx
mov edx, dword [ebp - 0x910]
mov dword [ebp - 0x90c], edx
cmp dword [ebp - 0x90c], 0
je 0x4ab5bb
push 1
mov eax, dword [ebp - 0x90c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x90c]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x96c], eax
jmp 0x4ab5c5
mov dword [ebp - 0x96c], 0
push 8
call fcn.0054d57b
add esp, 4
mov dword [ebp - 0x918], eax
cmp dword [ebp - 0x918], 0
je 0x4ab5ff
mov ecx, dword [ebp - 0x850]
push ecx
mov edx, dword [ebp - 0x854]
push edx
mov ecx, dword [ebp - 0x918]
call fcn.00484090
mov dword [ebp - 0x970], eax
jmp 0x4ab609
mov dword [ebp - 0x970], 0
mov eax, dword [ebp - 0x970]
mov dword [ebp - 0x914], eax
mov ecx, dword [ebp - 0x914]
push ecx
lea ecx, [ebp - 0x884]
call fcn.0047f8e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x86c]
call fcn.004324c0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp + 8]
call fcn.004553f0
push eax
push str._sServices
lea edx, [ebp - 0x890]
push edx
call fcn.004b4d50
add esp, 0xc
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x86c]
push eax
lea ecx, [ebp - 0x890]
push ecx
lea ecx, [ebp - 0x884]
call fcn.004b9730
mov ecx, eax
call fcn.00484140
lea ecx, [ebp - 0x86c]
call fcn.00432770
push eax
lea ecx, [ebp - 0x878]
call fcn.00432930
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x878]
call fcn.004b9730
mov dword [ebp - 0x974], eax
mov edx, dword [ebp - 0x974]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x974]
mov edx, dword [eax]
call edx
movzx eax, al
test eax, eax
je 0x4abace
lea ecx, [ebp - 0x878]
call fcn.004b9730
mov dword [ebp - 0x978], eax
mov ecx, dword [ebp - 0x978]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x978]
mov eax, dword [edx + 8]
call eax
mov ecx, eax
call fcn.004553f0
push eax
lea ecx, [ebp - 0x890]
call fcn.004553f0
push eax
push 0x60a7a0
lea ecx, [ebp - 0x8a8]
push ecx
call fcn.004b4d50
add esp, 0x10
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x89c]
call fcn.004b34a0
mov byte [ebp - 4], 0xf
push str.Start
lea ecx, [ebp - 0x928]
call fcn.004b3550
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x89c]
push edx
lea eax, [ebp - 0x928]
push eax
lea ecx, [ebp - 0x8a8]
push ecx
lea ecx, [ebp - 0x884]
call fcn.004b9730
mov ecx, eax
call fcn.00484590
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0x919], dl
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x928]
call fcn.004b3860
movzx eax, byte [ebp - 0x919]
test eax, eax
je 0x4ab78d
jmp 0x4abaab
lea ecx, [ebp - 0x89c]
push ecx
call fcn.004b4e70
add esp, 4
movzx edx, al
test edx, edx
je 0x4ab7a8
jmp 0x4abaab
push 0
lea ecx, [ebp - 0x89c]
call fcn.004b3df0
movzx eax, ax
push eax
call fcn.0054f9fd
add esp, 4
test eax, eax
je 0x4abaab
mov byte [ebp - 0x8b1], 1
lea ecx, [ebp - 0x89c]
call fcn.004553f0
push eax
call fcn.00552644
add esp, 4
mov dword [ebp - 0x8b0], eax
mov ecx, dword [ebp - 0x8b0]
push ecx
mov ecx, dword [ebp - 0x960]
call fcn.004abb70
mov dword [ebp - 0x8ac], eax
lea ecx, [ebp - 0x878]
call fcn.004b9730
mov dword [ebp - 0x97c], eax
mov edx, dword [ebp - 0x97c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x97c]
mov edx, dword [eax + 8]
call edx
push eax
lea eax, [ebp - 0x8bc]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004abbd0
lea ecx, [ebp - 0x930]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00431bd0
push eax
lea ecx, [ebp - 0x8bc]
call fcn.0047fbc0
movzx edx, al
test edx, edx
je 0x4ab85f
mov byte [ebp - 0x8b1], 0
movzx eax, byte [ebp - 0x8b1]
test eax, eax
jne 0x4abaab
lea ecx, [ebp - 0x8c8]
call fcn.004b34a0
mov byte [ebp - 4], 0x11
push str.ImagePath
lea ecx, [ebp - 0x940]
call fcn.004b3550
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x8c8]
push ecx
lea edx, [ebp - 0x940]
push edx
lea eax, [ebp - 0x8a8]
push eax
lea ecx, [ebp - 0x884]
call fcn.004b9730
mov ecx, eax
call fcn.00484590
movzx ecx, al
neg ecx
sbb ecx, ecx
add ecx, 1
mov byte [ebp - 0x931], cl
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x940]
call fcn.004b3860
movzx edx, byte [ebp - 0x931]
test edx, edx
je 0x4ab957
lea ecx, [ebp - 0x878]
call fcn.004b9730
mov dword [ebp - 0x980], eax
push str..sys
mov eax, dword [ebp - 0x980]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x980]
mov eax, dword [edx + 8]
call eax
push eax
push str.system32drivers_
lea ecx, [ebp - 0x94c]
push ecx
call fcn.004b4380
add esp, 0x10
mov dword [ebp - 0x984], eax
mov edx, dword [ebp - 0x984]
mov dword [ebp - 0x988], edx
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x988]
push eax
lea ecx, [ebp - 0x8c8]
call fcn.004b3890
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x94c]
call fcn.004b3860
lea ecx, [ebp - 0x8c8]
push ecx
call fcn.004aa920
add esp, 4
lea ecx, [ebp - 0x8a8]
call fcn.004553f0
push eax
push str.HKLMSYSTEM_s
lea edx, [ebp - 0x8d8]
push edx
call fcn.004b4d50
add esp, 0xc
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x8d8]
call fcn.004553f0
push eax
push str.Cloaked_Registry_Key__r_n_tPath_s_r_n
call fcn.0054eca8
add esp, 0xfffffffc
mov eax, esp
mov ecx, dword [ebp - 0x8c8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x8c4]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x8c0]
mov dword [eax + 8], ecx
push str._tImagePath_s_r_n
call fcn.0054eca8
add esp, 0x10
push 1
lea edx, [ebp - 0x8c8]
push edx
mov eax, dword [ebp - 0x960]
mov ecx, dword [eax + 4]
call fcn.0041e0d0
mov dword [ebp - 0x8cc], eax
cmp dword [ebp - 0x8cc], 0
je 0x4aba8d
push 1
mov ecx, dword [ebp - 0x8cc]
call fcn.004aa850
push 1
mov ecx, dword [ebp - 0x8cc]
call fcn.004aa800
lea ecx, [ebp - 0x8d8]
push ecx
mov ecx, dword [ebp - 0x8cc]
call fcn.00412ce0
lea ecx, [ebp - 0x878]
call fcn.004b9730
mov dword [ebp - 0x98c], eax
mov edx, dword [ebp - 0x98c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x98c]
mov edx, dword [eax + 8]
call edx
push eax
push 7
mov ecx, dword [ebp - 0x8cc]
call fcn.00412a00
mov eax, dword [ebp - 0x8ac]
push eax
lea ecx, [ebp - 0x958]
call fcn.004b3550
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x958]
push ecx
push 8
mov ecx, dword [ebp - 0x8cc]
call fcn.00412a00
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x958]
call fcn.004b3860
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x8d8]
call fcn.004b3860
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x8c8]
call fcn.004b3860
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x89c]
call fcn.004b3860
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x8a8]
call fcn.004b3860
jmp 0x4ab696
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x878]
call fcn.00432970
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x890]
call fcn.004b3860
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x86c]
call fcn.00432520
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x884]
call fcn.0047f920
mov edx, dword [ebp - 0x854]
push edx
call fcn.0054eaee
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x844]
call fcn.00407c30
mov byte [ebp - 0x959], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x824]
call fcn.004b3860
mov al, byte [ebp - 0x959]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret 8