Function at 0x10003b70
Capabilities:
Create thread
Delete file
Delete registry key
Delete registry value
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1001c501
mov eax, dword fs:[0]
push eax
mov eax, 0x4e4c
call fcn.10018f80
mov eax, dword [0x1005d1b0]
xor eax, esp
mov dword [esp + 0x4e48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005d1b0]
xor eax, esp
push eax
lea eax, [esp + 0x4e60]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4e74]
mov eax, dword [eax]
mov edx, 0x1005f4e0
call fcn.100026c0
xor esi, esi
push esi
push 0x10003a90
push 0x1005f4e0
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerExW]
mov dword [0x1005f4bc], eax
cmp eax, esi
je 0x10004055
mov ecx, dword [0x1005e6c0]
mov ebp, dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov dword [0x1005f4d4], ecx
push 0x1005f4c0
inc ecx
mov ebx, 0x10
push eax
mov dword [0x1005f4c0], ebx
mov dword [0x1005f4c4], 2
mov dword [0x1005f4c8], 5
mov dword [0x1005f4cc], esi
mov dword [0x1005f4d0], esi
mov dword [0x1005e6c0], ecx
mov dword [0x1005f4d8], 0x3e8
call ebp
push esi
push esi
push esi
push 0x10003430
push esi
push esi
call fcn.1000da32
add esp, 0x18
mov edi, eax
mov eax, dword [0x1005f4bc]
push 0x1005f4c0
push eax
mov dword [esp + 0x1c], edi
mov dword [0x1005f4c0], ebx
mov dword [0x1005f4c4], 4
mov dword [0x1005f4c8], 5
mov dword [0x1005f4cc], esi
mov dword [0x1005f4d0], esi
mov dword [0x1005f4d4], esi
mov dword [0x1005f4d8], esi
call ebp
lea ecx, [esp + 0x1c]
call fcn.10004b80
push 0x208
lea ecx, [esp + 0xc58]
push esi
push ecx
mov dword [esp + 0x4e74], esi
call fcn.1000e5f0
mov edx, dword [esp + 0x28]
push edx
push str._sSoftMgr360OptExt.ini
mov ecx, 0x104
lea ebx, [esp + 0xc68]
call fcn.10002c90
push 0x4000
lea eax, [esp + 0xe74]
push esi
push eax
call fcn.1000e5f0
add esp, 0x20
mov ecx, ebx
push ecx
push 0x2000
lea edx, [esp + 0xe64]
push edx
push str.BQAGAHYALwARACsAJQAVAJ0A
push str.items
push 0x100591e8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x43e]
push ecx
mov word [esp + 0x440], ax
call fcn.1000e5f0
add esp, 0xc
push 0x104
lea edx, [esp + 0x438]
push edx
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10003d54
lea eax, [esp + 0x434]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test esi, esi
jbe 0x10003fb9
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x10059670
call fcn.10002be0
lea edx, [esp + 0x18]
mov bl, 1
push edx
lea ecx, [esp + 0xe60]
mov byte [esp + 0x4e6c], bl
call fcn.10002be0
push 0x1005f720
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x4e74], 2
call fcn.10005c00
mov byte [esp + 0x4e74], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10003dcb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4e68], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003df3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [0x1005f730]
sub esi, dword [0x1005f72c]
sar esi, 2
test esi, esi
jbe 0x10003fb9
xor edi, edi
test esi, esi
jbe 0x10003fb5
mov ebp, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x236]
push edx
mov word [esp + 0x238], cx
call fcn.1000e5f0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x3a]
push ecx
mov word [esp + 0x3c], ax
call fcn.1000e5f0
add esp, 0x18
cmp edi, esi
jb 0x10003e5a
call fcn.1000d7e0
mov edx, dword [0x1005f72c]
mov eax, dword [edx + edi*4]
lea edx, [esp + 0x22c]
call fcn.100026c0
lea eax, [esp + 0x22c]
lea ecx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x10003e80
sub eax, ecx
push 0x104
lea ecx, [esp + 0x28]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x238]
push edx
call fcn.10004930
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa66]
push ecx
mov word [esp + 0xa68], ax
call fcn.1000e5f0
lea edx, [esp + 0x40]
push edx
push 0x100591f8
push 0x10059674
mov ecx, 0x104
lea ebx, [esp + 0xa74]
call fcn.10002c90
add esp, 0x28
mov eax, ebx
push eax
push 0x80000002
call ebp
lea ecx, [esp + 0x24]
push ecx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvchost
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x646]
push eax
mov word [esp + 0x648], dx
call fcn.1000e5f0
lea ecx, [esp + 0x30]
push ecx
push str.SYSTEMCurrentControlSetEnumRootLEGACY__s
mov ecx, 0x104
lea ebx, [esp + 0x650]
call fcn.10002c90
add esp, 0x14
mov edx, ebx
push edx
push 0x80000002
call ebp
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x84e]
push ecx
mov word [esp + 0x850], ax
call fcn.1000e5f0
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x444]
push eax
push str._s_s.dll
mov ecx, 0x104
lea ebx, [esp + 0x85c]
call fcn.10002c90
add esp, 0x18
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [0x1005f730]
sub esi, dword [0x1005f72c]
inc edi
sar esi, 2
cmp edi, esi
jb 0x10003e1a
mov ebp, dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov edi, dword [esp + 0x14]
xor esi, esi
cmp edi, esi
je 0x10003fcf
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x1005e6c0]
mov edx, dword [0x1005f4bc]
mov dword [0x1005f4d4], eax
push 0x1005f4c0
inc eax
push edx
mov dword [0x1005f4c0], 0x10
mov dword [0x1005f4c4], 1
mov dword [0x1005f4c8], 5
mov dword [0x1005f4cc], esi
mov dword [0x1005f4d0], esi
mov dword [0x1005e6c0], eax
mov dword [0x1005f4d8], esi
call ebp
push 0x1005f4e0
call fcn.10003a10
mov dword [esp + 0x4e6c], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004055
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x4e60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4e48]
xor ecx, esp
call fcn.1000d1bf
add esp, 0x4e58
ret 8