Function at 0x10156c40
Capabilities:
Get common file path
Get program files directory
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x748
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x748], ecx
push 0
push eax
call fcn.102134e7
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Internet_ExplorerIEXPLORE.EXE
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.10028ff0
lea eax, [ebp - 0x730]
mov dword [ebp - 0x730], 0
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.100e5940
add esp, 8
lea eax, [ebp - 0x730]
push eax
call fcn.100e60e0
push eax
call fcn.100e5940
add esp, 8
test eax, eax
je 0x10156ded
mov esi, dword [ebp - 0x730]
test esi, esi
je 0x10156df3
call fcn.1000ad40
test eax, eax
je 0x10156d9d
cmp esi, 8
jne 0x10156ded
mov eax, dword [0x10255438]
mov dword [ebp - 0x734], 0
test eax, eax
jne 0x10156d17
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x10156d66
mov eax, dword [0x10255438]
test eax, eax
jne 0x10156d33
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x10156d44
mov eax, dword [eax + 0xd0]
jmp 0x10156d46
xor eax, eax
test eax, eax
je 0x10156d66
lea ecx, [ebp - 0x734]
push ecx
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionComponent_Based_ServicingRebootPending
push reloc.OLEAUT32.dll_SysReAllocString
call eax
jmp 0x10156d84
lea eax, [ebp - 0x734]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionComponent_Based_ServicingRebootPending
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10156ded
push dword [ebp - 0x734]
call fcn.10034a70
xor esi, esi
mov dword [ebp - 0x730], esi
jmp 0x10156df3
push 0xf023f
lea eax, [ebp - 0x738]
mov dword [ebp - 0x738], 0x400
push eax
lea eax, [ebp - 0x60c]
mov dword [ebp - 0x73c], 1
push eax
lea eax, [ebp - 0x73c]
push eax
push str.NoIE4StubProcessing
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10003510
test eax, eax
jne 0x10156ded
xor esi, esi
mov dword [ebp - 0x730], esi
jmp 0x10156df3
mov esi, dword [ebp - 0x730]
push edi
xor edi, edi
cmp esi, 0xb
ja case.0x10156dfb.1
jmp dword [esi*4 + 0x101571c0]
mov edi, 0x100
jmp case.0x10156dfb.1
mov edi, 0x200
jmp case.0x10156dfb.1
mov edi, 0x400
jmp case.0x10156dfb.1
mov edi, 0x800
jmp case.0x10156dfb.1
mov edi, 0x1000000
jmp case.0x10156dfb.1
mov edi, 0x2000000
jmp case.0x10156dfb.1
mov edi, 0x700
push ebx
lea eax, [ebp - 0x72c]
push str.360se6.exe
push eax
call fcn.1000a140
mov esi, dword [ebp - 0x72c]
add esp, 8
or ebx, 0xffffffff
cmp dword [esi - 0xc], 0
jne 0x10156eeb
lea eax, [ebp - 0x740]
push str.360SE.exe
push eax
call fcn.1000a140
add esp, 8
lea ecx, [ebp - 0x72c]
push eax
call fcn.10004870
mov edx, dword [ebp - 0x740]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10156e96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x72c]
cmp dword [esi - 0xc], 0
jne 0x10156eeb
lea eax, [ebp - 0x744]
push str.360SE_3.exe
push eax
call fcn.1000a140
add esp, 8
lea ecx, [ebp - 0x72c]
push eax
call fcn.10004870
mov edx, dword [ebp - 0x744]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10156edf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x72c]
cmp dword [esi - 0xc], 0
je 0x10156f3c
push str.360se.exe
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10156f3c
push esi
call fcn.1000bcb0
add esp, 4
test eax, eax
je 0x10156f3c
mov ecx, dword [ebp - 0x748]
lea eax, [ebp - 0x72c]
push eax
add ecx, 0xdc
call fcn.10004870
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10156f35
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 0x2000
jmp 0x10156f56
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10156f51
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 0x1000
push 0x118
lea eax, [ebp - 0x724]
mov dword [ebp - 0x728], 0x11c
push 0
push eax
or esi, edi
call fcn.102134e7
mov edi, dword [0x102563cc]
add esp, 0xc
pop ebx
test edi, edi
jne 0x10156fd1
mov ecx, 1
mov edx, 0x10256324
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x10156fa8
call fcn.10051c60
mov dword [0x10256324], 2
jmp 0x10156fc9
cmp dword [0x10256324], 2
je 0x10156fc4
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call edi
cmp dword [0x10256324], 2
jne 0x10156fb7
call fcn.10051c60
mov edi, eax
mov dword [0x102563cc], edi
cmp dword [edi + 4], 0xffffffff
je 0x10156fef
mov eax, dword [ebp - 0x728]
cmp eax, 0x11c
jb 0x10156fe9
mov eax, 0x11c
push eax
lea eax, [edi + 8]
jmp 0x1015703a
push 0x118
lea eax, [ebp - 0x324]
push 0
push eax
call fcn.102134e7
add esp, 0xc
mov dword [ebp - 0x328], 0x11c
lea eax, [ebp - 0x328]
mov ecx, edi
push eax
call fcn.10036550
test eax, eax
je 0x1015704a
mov eax, dword [ebp - 0x728]
cmp eax, 0x11c
jb 0x10157033
mov eax, 0x11c
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x728]
push eax
call fcn.102134e1
add esp, 0xc
mov eax, dword [ebp - 0x724]
pop edi
cmp eax, 5
jne 0x1015707b
mov eax, dword [ebp - 0x720]
test eax, eax
jne 0x10157068
or esi, 2
jmp 0x101570f0
cmp eax, 1
jne 0x10157072
or esi, 2
jmp 0x101570f0
cmp eax, 2
jne 0x101570df
or esi, eax
jmp 0x101570f0
cmp eax, 6
jne 0x101570c3
mov eax, dword [ebp - 0x720]
test eax, eax
jne 0x1015708f
or esi, 8
jmp 0x101570f0
cmp eax, 2
jne 0x101570a7
call fcn.1000ad40
neg eax
sbb eax, eax
and eax, 0x40
add eax, 0x40
or esi, eax
jmp 0x101570f0
cmp eax, 3
jne 0x101570df
call fcn.1000ad40
neg eax
sbb eax, eax
and eax, 0x10000000
add eax, 0x10000000
or esi, eax
jmp 0x101570f0
cmp eax, 0xa
jne 0x101570df
call fcn.1000ad40
neg eax
sbb eax, eax
and eax, 0x40000000
add eax, 0x40000000
or esi, eax
jmp 0x101570f0
call fcn.1000ad40
test eax, eax
je 0x101570ed
or esi, 0x20
jmp 0x101570f0
or esi, 0x10
movzx eax, word [ebp - 0x614]
cmp eax, 7
ja case.default.0x10157100
jmp dword [eax*4 + 0x101571f0]
or esi, 0x10000
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
or esi, 0x20000
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
or esi, 0x40000
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
or esi, 0x80000
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
or esi, 0x100000
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
or esi, 0x200000
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
or esi, 0x400000
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
or esi, 0x800000
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10212f74
mov esp, ebp
pop ebp
ret