Function at 0x447810
Capabilities:
Encode data using xor
Hash data using fnv
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x542abd
push eax
mov dword fs:[0], esp
sub esp, 0x250
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x10], 0
je 0x44799d
push 0x208
lea eax, [ebp - 0x258]
mov dword [ebp + 0xc], 0
push 0
push eax
mov dword [ebp + 8], 0
mov dword [ebp - 0x10], 1
call fcn.00513df0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x447874
mov edi, dword [edi]
push edi
push str.___s
lea eax, [ebp - 0x258]
push 0x104
push eax
call fcn.00439f10
add esp, 0x10
lea eax, [ebp + 0xc]
push eax
push str.systemCurrentControlSetServices
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4478e3
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jle 0x4478b6
push eax
call esi
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x44797e
push eax
call esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xbf4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4478ed
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4478a6
lea ecx, [ebp - 0x258]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447910
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x258]
push eax
push 1
push 0
push str.ImagePath
push dword [ebp + 8]
call edi
test eax, eax
jne 0x4478a6
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push str.Type
push dword [ebp + 8]
call edi
mov ecx, dword [ebp + 8]
mov ebx, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ecx, ecx
jle 0x447970
push ecx
call edi
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x44797a
push eax
call edi
test ebx, ebx
je 0x44799d
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xbf4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0x10]
mov eax, bind
sub eax, ecx
cmp eax, 0x34
jb 0x447bd1
cmp dword [esi + 0x14], 8
jb 0x4479b8
mov esi, dword [esi]
push ecx
push esi
push 0x34
push 0x66a9b8
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x50]
call fcn.00441b10
mov dword [ebp - 4], 0
call fcn.004347a0
cmp dword [ebp - 0x3c], 8
lea ecx, [ebp - 0x28]
mov esi, eax
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x50]
mov dword [ebp + 0xc], esi
cmovae eax, dword [ebp - 0x50]
push 0x14
push 0x66a9a0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0040db70
mov byte [ebp - 4], 1
call fcn.00449440
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
mov edx, 0x811c9dc5
mov ebx, dword [ebp - 0x18]
setae byte [ebp + 0xb]
cmovae esi, edi
xor ecx, ecx
test ebx, ebx
je 0x447a53
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x447a42
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push edx
push eax
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.00435240
mov eax, dword [eax + 4]
test eax, eax
je 0x447a90
cmp eax, dword [esi + 4]
je 0x447a90
mov ebx, dword [eax + 0x20]
lea eax, [esi + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push eax
call esi
test ebx, ebx
je 0x447a9c
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
push eax
call ebx
jmp 0x447a9c
lea eax, [esi + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push eax
call esi
mov byte [ebp - 4], 0
cmp byte [ebp + 0xb], 0
je 0x447ad2
mov ecx, dword [ebp - 0x14]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x447ac8
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447bd6
push ecx
push edi
call fcn.005121df
add esp, 8
call fcn.004347a0
push 0xc
mov ebx, eax
mov dword [ebp - 0x28], 0
push 0x66aab4
lea ecx, [ebp - 0x28]
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0040db70
mov byte [ebp - 4], 2
call fcn.00449440
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x14], 0x10
lea ebx, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
mov edx, 0x811c9dc5
setae byte [ebp + 0xb]
cmovae ebx, edi
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
jbe 0x447b42
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x18]
jb 0x447b30
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push edx
push eax
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
call fcn.00435240
mov eax, dword [eax + 4]
test eax, eax
je 0x447b7b
cmp eax, dword [ebx + 4]
je 0x447b7b
mov ebx, dword [eax + 0x20]
mov eax, dword [ebp + 0xc]
add eax, 0x20
push eax
call esi
test ebx, ebx
je 0x447b81
lea eax, [ebp - 0x30]
push eax
call ebx
mov esi, eax
jmp 0x447b86
lea eax, [ebx + 0x20]
push eax
call esi
mov esi, 0xc0000138
cmp byte [ebp + 0xb], 0
je 0x447bb4
mov ecx, dword [ebp - 0x14]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x447baa
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447bd6
push ecx
push edi
call fcn.005121df
add esp, 8
lea ecx, [ebp - 0x50]
call fcn.00413120
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.004018b0
call fcn.00520c6d
int3