Function at 0x40a5c0
Capabilities:
Check if file exists
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509e30
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x53307c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x74], edi
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x78], edi
je 0x40a61f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40a605
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a61f
push esi
mov ecx, edi
call fcn.00405b70
mov eax, edi
jmp 0x40aa0d
cmp byte [esi + 0x108], 0
je 0x40a7f1
cmp dword [esi + 0x100], 0
je 0x40a7f1
call fcn.0040e830
mov edx, dword [esi + 0x14]
cmp eax, 1
mov ecx, dword [esi + 0x10]
mov eax, edx
je 0x40a720
sub eax, ecx
cmp eax, 9
jb 0x40a688
lea eax, [ecx + 9]
mov edi, esi
mov dword [ebp - 0x74], eax
mov dword [esi + 0x10], eax
cmp edx, 8
jb 0x40a668
mov edi, dword [esi]
push 0x12
lea eax, [edi + ecx*2]
push str.C:Users_
push eax
call fcn.004e6f70
mov eax, dword [ebp - 0x74]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
mov eax, esi
jmp 0x40a69f
push 9
push str.C:Users_
mov byte [ebp - 0x74], 0
mov ecx, esi
push dword [ebp - 0x74]
push 9
call fcn.00408280
cmp dword [esi + 0x104], 8
lea edx, [esi + 0xf0]
jb 0x40a6b4
mov edx, dword [esi + 0xf0]
push dword [esi + 0x100]
mov ecx, eax
push edx
call fcn.00407db0
mov edi, eax
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
sub ecx, edx
mov dword [ebp - 0x74], edx
cmp ecx, 0xe
jb 0x40a704
cmp dword [edi + 0x14], 8
lea eax, [edx + 0xe]
mov dword [edi + 0x10], eax
jb 0x40a6e2
mov edi, dword [edi]
push 0x1c
lea eax, [edi + edx*2]
push str.AppDataLocal
push eax
call fcn.004e6f70
mov eax, dword [ebp - 0x74]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2 + 0x1c], cx
jmp 0x40aa01
push 0xe
push str.AppDataLocal
mov byte [ebp - 0x74], 0
mov ecx, edi
push dword [ebp - 0x74]
push 0xe
call fcn.00408280
jmp 0x40aa01
sub eax, ecx
cmp eax, 0x1a
jb 0x40a759
lea eax, [ecx + 0x1a]
mov edi, esi
mov dword [ebp - 0x74], eax
mov dword [esi + 0x10], eax
cmp edx, 8
jb 0x40a739
mov edi, dword [esi]
push 0x34
lea eax, [edi + ecx*2]
push str.C:Documents_and_Settings_
push eax
call fcn.004e6f70
mov eax, dword [ebp - 0x74]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
mov eax, esi
jmp 0x40a770
push 0x1a
push str.C:Documents_and_Settings_
mov byte [ebp - 0x74], 0
mov ecx, esi
push dword [ebp - 0x74]
push 0x1a
call fcn.00408280
cmp dword [esi + 0x104], 8
lea edx, [esi + 0xf0]
jb 0x40a785
mov edx, dword [esi + 0xf0]
push dword [esi + 0x100]
mov ecx, eax
push edx
call fcn.00407db0
mov edi, eax
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
sub ecx, edx
mov dword [ebp - 0x74], edx
cmp ecx, 0x20
jb 0x40a7d5
cmp dword [edi + 0x14], 8
lea eax, [edx + 0x20]
mov dword [edi + 0x10], eax
jb 0x40a7b3
mov edi, dword [edi]
push 0x40
lea eax, [edi + edx*2]
push str.Local_SettingsApplication_Data
push eax
call fcn.004e6f70
mov eax, dword [ebp - 0x74]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2 + 0x40], cx
jmp 0x40aa01
push 0x20
push str.Local_SettingsApplication_Data
mov byte [ebp - 0x74], 0
mov ecx, edi
push dword [ebp - 0x74]
push 0x20
call fcn.00408280
jmp 0x40aa01
push 0xd
xor eax, eax
mov dword [ebp - 0x30], 0
push str.Local_AppData
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00405140
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0x40
xor eax, eax
mov dword [ebp - 0x18], 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00405140
push ecx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x74], reloc.WS2_32.dll_accept
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040b720
mov edi, eax
cmp esi, edi
je 0x40a88f
mov ecx, esi
call fcn.00405280
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40a8c9
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a8bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aa2a
push edx
push ecx
call fcn.0049e956
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x40a91a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a910
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aa2f
push edx
push ecx
call fcn.0049e956
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x40a96f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a965
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aa34
push edx
push ecx
call fcn.0049e956
add esp, 8
cmp dword [esi + 0x10], 0
ja 0x40aa01
push 0x50ca70
lea eax, [ebp - 0x70]
push eax
call fcn.0040c210
mov edi, eax
cmp esi, edi
je 0x40a9b7
mov ecx, esi
call fcn.00405280
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x40a9ed
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a9e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aa39
push edx
push ecx
call fcn.0049e956
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov ecx, dword [ebp - 0x78]
push esi
call fcn.00405b70
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049e964
mov esp, ebp
pop ebp
ret 4
call fcn.004e9a8c
call fcn.004e9a8c
call fcn.004e9a8c
call fcn.004e9a8c
int3