Function at 0x40a660
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439344
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
call fcn.0040d5a0
mov eax, dword [0x44cad0]
mov dword [ebp - 4], 0
mov dword [edi + 0x128], eax
mov ecx, dword [0x44cad0]
mov dword [edi + 0x12c], ecx
mov dword [edi], 0x43d4a0
mov eax, dword [0x44cad0]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
push str.USERPROFILE
mov byte [ebp - 4], 5
call fcn.0041a4fd
add esp, 4
test eax, eax
je 0x40a780
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042ff9f
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.0043001e
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0042ff31
lea edx, [ebp - 0x2c]
push 1
push edx
lea ecx, [ebp - 0x14]
call fcn.0042a732
mov eax, dword [eax]
mov esi, 0x44a328
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40a732
test cl, cl
je 0x40a72e
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40a732
add eax, 2
add esi, 2
test cl, cl
jne 0x40a70a
xor eax, eax
jmp 0x40a737
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x2c]
setne bl
call fcn.0042ff31
test bl, bl
je 0x40a755
push 0x44a328
lea ecx, [ebp - 0x14]
call fcn.004302c1
lea eax, [ebp - 0x14]
push str.Application_Data_
lea ecx, [ebp - 0x2c]
push eax
push ecx
call fcn.0043017a
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.0043001e
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
jmp 0x40a89b
push str.AppData
lea ecx, [ebp - 0x2c]
call fcn.0042ff9f
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.0042ff9f
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
push edx
push eax
lea ecx, [ebp - 0x18]
push 0x80000001
push ecx
mov byte [ebp - 4], 9
call fcn.00402810
add esp, 0x10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.0042ff31
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.0042ff31
mov edx, dword [ebp - 0x18]
mov eax, dword [edx - 8]
test eax, eax
jle 0x40a83d
lea eax, [ebp - 0x30]
push 1
push eax
lea ecx, [ebp - 0x18]
call fcn.0042a732
mov eax, dword [eax]
mov esi, 0x44a328
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40a81a
test cl, cl
je 0x40a816
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40a81a
add eax, 2
add esi, 2
test cl, cl
jne 0x40a7f2
xor eax, eax
jmp 0x40a81f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x30]
setne bl
call fcn.0042ff31
test bl, bl
je 0x40a83d
push 0x44a328
lea ecx, [ebp - 0x18]
call fcn.004302c1
push str.Profiles
lea ecx, [ebp - 0x18]
call fcn.0042a848
test eax, eax
jle 0x40a87b
lea eax, [ebp - 0x18]
push str....._
lea ecx, [ebp - 0x30]
push eax
push ecx
call fcn.0043017a
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call fcn.0043001e
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.0042ff31
jmp 0x40a888
push 0x4500e4
lea ecx, [ebp - 0x14]
call fcn.0043006e
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push edx
call fcn.0043001e
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.0042ff31
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40a95e
push str.MozillaProfilesdefault_
lea ecx, [ebp - 0x1c]
call fcn.004302c1
lea ecx, [ebp - 0x50]
call fcn.00419550
lea ecx, [ebp - 0x1c]
push 0x44a32c
lea edx, [ebp - 0x30]
mov bl, 0xe
push ecx
push edx
mov byte [ebp - 4], bl
call fcn.0043017a
mov eax, dword [eax]
push 0
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xf
call fcn.00419613
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.0042ff31
test esi, esi
je 0x40a945
lea ecx, [ebp - 0x50]
call fcn.00419833
lea ecx, [ebp - 0x50]
mov esi, eax
call fcn.004197fa
test eax, eax
jne 0x40a8f8
mov eax, dword [ebp - 0x50]
push 0x10
lea ecx, [ebp - 0x50]
call dword [eax + 0x38]
test eax, eax
je 0x40a8f8
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00419902
push eax
lea ecx, [edi + 0x128]
mov byte [ebp - 4], 0x10
call fcn.0043001e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
jmp 0x40a8f3
push str....._
lea ecx, [ebp - 0x14]
call fcn.004302c1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.0041958d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0042ff31
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0042ff31
jmp 0x40a989
add edi, 0x12c
push 0x4500e4
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.0043006e
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebx + 0x128]
lea eax, [ebx + 0x128]
mov ecx, dword [edx - 8]
test ecx, ecx
je 0x40aa4b
push eax
mov ecx, edi
call fcn.0043001e
push 1
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.0042a480
lea eax, [ebp - 0x30]
push 1
push eax
mov ecx, edi
mov byte [ebp - 4], 0x12
call fcn.0042a732
mov esi, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40aa0e
test cl, cl
je 0x40aa0a
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40aa0e
add eax, 2
add esi, 2
test cl, cl
jne 0x40a9e6
xor eax, eax
jmp 0x40aa13
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x30]
setne bl
call fcn.0042ff31
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0042ff31
test bl, bl
je 0x40aa3c
push 0x44a328
mov ecx, edi
call fcn.004302c1
push str.prefs.js
mov ecx, edi
call fcn.004302c1
mov ebx, dword [ebp - 0x20]
push str.browser.cache.disk.parent_directory
lea ecx, [ebp - 0x2c]
call fcn.0042ff9f
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x24]
push eax
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x13
call fcn.0040af30
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x15
call fcn.0042ff31
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40aaa6
mov edx, dword [ebx + 0x128]
lea esi, [ebx + 0x128]
push eax
push edx
call fcn.0041a210
add esp, 8
test eax, eax
je 0x40aaa6
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.0043001e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0042ff31
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret