Function at 0x43f480
Capabilities:
Create service
Get common file path
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d15e
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x49cf34]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
push 0x206
lea ecx, [ebp - 0x21a]
xor eax, eax
push edi
push ecx
mov dword [ebp - 4], edi
mov word [ebp - 0x21c], ax
call fcn.0044fd70
add esp, 0xc
push edi
push 0x1a
lea edx, [ebp - 0x21c]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43f9a1
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00406390
mov edx, dword [0x49ceb4]
mov eax, dword [edx + 0xc]
mov ecx, 0x49ceb4
mov byte [ebp - 4], 1
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x224]
push 0x49c33c
push ecx
mov byte [ebp - 4], 2
call fcn.0043cbc0
add esp, 8
lea edx, [ebp - 0x238]
push 0x49c364
push edx
mov byte [ebp - 4], 3
call fcn.0043cbc0
add esp, 8
mov eax, dword [ebp - 0x224]
mov bl, 4
mov byte [ebp - 4], bl
cmp dword [eax - 0xc], edi
je 0x43f909
mov ecx, dword [ebp - 0x238]
cmp dword [ecx - 0xc], edi
je 0x43f909
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x220]
call fcn.0043e110
mov eax, dword [ebp - 0x224]
push eax
lea ecx, [ebp - 0x220]
call fcn.0043e000
cmp eax, edi
je 0x43f909
mov ecx, dword [ebp - 0x220]
push edi
push ecx
call fcn.0043f280
add esp, 8
cmp eax, edi
je 0x43f909
mov edx, dword [ebp - 0x238]
push edx
lea ecx, [ebp - 0x220]
call fcn.0043e000
cmp eax, edi
je 0x43f909
push edi
lea ecx, [ebp - 0x220]
call fcn.0043df60
cmp eax, edi
je 0x43f909
mov eax, dword [ebp - 0x220]
push 0x1b7da
push str._vCZ__
push eax
call fcn.0043dc20
add esp, 0xc
cmp eax, edi
je 0x43f909
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x224]
call fcn.0043e110
call fcn.00407740
cmp eax, edi
je 0x43f68a
lea edx, [ebp - 0x228]
push 0x49c2c4
push edx
call fcn.0043cbc0
add esp, 8
lea eax, [ebp - 0x22c]
push 0x49c300
push eax
mov byte [ebp - 4], 5
call fcn.0043cbc0
add esp, 8
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 6
call fcn.0043df00
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x228]
push ecx
push edx
lea ecx, [ebp - 0x224]
call fcn.0040a420
lea ecx, [ebp - 0x22c]
call fcn.00402b60
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], bl
call fcn.00402b60
lea eax, [ebp - 0x23c]
push 0x49c380
push eax
call fcn.0043cbc0
add esp, 8
lea ecx, [ebp - 0x230]
push 0x49c3e4
push ecx
mov byte [ebp - 4], 7
call fcn.0043cbc0
add esp, 8
mov edx, dword [ebp - 0x23c]
mov byte [ebp - 4], 8
cmp dword [edx - 0xc], edi
je 0x43f8f3
mov eax, dword [ebp - 0x230]
cmp dword [eax - 0xc], edi
je 0x43f8f3
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x220]
call fcn.0043e110
mov edx, dword [ebp - 0x23c]
push edx
lea ecx, [ebp - 0x220]
call fcn.0043e000
cmp eax, edi
je 0x43f8f3
mov eax, dword [ebp - 0x220]
push edi
push eax
call fcn.0043f280
add esp, 8
cmp eax, edi
je 0x43f8f3
mov ecx, dword [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x220]
call fcn.0043e000
cmp eax, edi
je 0x43f8f3
mov edx, dword [ebp - 0x220]
push 0x1bd4b
push 0x4804e0
push edx
call fcn.0043dc20
add esp, 0xc
cmp eax, edi
je 0x43f8f3
mov eax, dword [ebp - 0x220]
push eax
call fcn.0043d8d0
add esp, 4
cmp eax, edi
je 0x43f8f3
lea ecx, [ebp - 0x228]
push 0x49c40c
push ecx
call fcn.0043cbc0
add esp, 8
lea edx, [ebp - 0x22c]
push 0x49c438
push edx
mov byte [ebp - 4], 9
call fcn.0043cbc0
add esp, 8
mov ecx, dword [ebp - 0x228]
mov byte [ebp - 4], 0xa
cmp dword [ecx - 0xc], edi
je 0x43f8dd
mov eax, dword [ebp - 0x22c]
cmp dword [eax - 0xc], edi
je 0x43f8dd
cmp dword [0x49def0], edi
je 0x43f7cb
push edi
push 1
push eax
push ecx
jmp 0x43f80d
cmp dword [0x49deac], edi
jne 0x43f82d
mov edx, dword [0x49dea8]
push edx
push edi
push eax
mov eax, dword [ebp - 0x224]
push ecx
push edi
push eax
call fcn.00406af0
mov esi, eax
add esp, 0x18
cmp esi, edi
je 0x43f827
call fcn.00405a60
cmp eax, edi
je 0x43f81f
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x228]
push edi
push 1
push ecx
push edx
mov eax, dword [ebp - 0x224]
push edi
push eax
call fcn.00406af0
mov esi, eax
add esp, 0x18
cmp esi, edi
jne 0x43f8d3
mov ecx, dword [ebp - 0x228]
mov edx, dword [ebp - 0x224]
push edx
push ecx
call fcn.0040a3a0
add esp, 8
push 0x45edf4
push 0x45eddc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x43f866
mov ecx, dword [ebp - 0x224]
push edi
push edi
push edi
push ecx
push edi
push edi
call eax
call fcn.00405a60
test eax, eax
je 0x43f8d3
push 3
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x43f8d3
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x228]
push 0
push 0
push 0
push 0
push 0
push edx
push 0
push 2
push 0x10
push 0x12
push eax
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
test eax, eax
je 0x43f8b9
push eax
mov edi, 1
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
je 0x43f8d3
mov eax, dword [ebp - 0x228]
push eax
call fcn.0040a740
add esp, 4
call fcn.004407e0
call fcn.004405c0
lea ecx, [ebp - 0x22c]
call fcn.00402b60
lea ecx, [ebp - 0x228]
call fcn.00402b60
lea ecx, [ebp - 0x230]
call fcn.00402b60
lea ecx, [ebp - 0x23c]
call fcn.00402b60
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f92f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f955
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f97b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f9a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044fd61
mov esp, ebp
pop ebp
ret