Function at 0x407660
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438b84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
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], 0x43d080
mov eax, dword [0x44cad0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
push str.USERPROFILE
mov byte [ebp - 4], 5
call fcn.0041a4fd
add esp, 4
test eax, eax
je 0x407780
push eax
lea ecx, [ebp - 0x28]
call fcn.0042ff9f
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0043001e
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.0042ff31
lea edx, [ebp - 0x28]
push 1
push edx
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 0x407732
test cl, cl
je 0x40772e
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x407732
add eax, 2
add esi, 2
test cl, cl
jne 0x40770a
xor eax, eax
jmp 0x407737
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x28]
setne bl
call fcn.0042ff31
test bl, bl
je 0x407755
push 0x44a328
lea ecx, [ebp - 0x18]
call fcn.004302c1
lea eax, [ebp - 0x18]
push str.Application_Data_
lea ecx, [ebp - 0x28]
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 - 0x28]
jmp 0x40789b
push str.AppData
lea ecx, [ebp - 0x28]
call fcn.0042ff9f
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders_
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.0042ff9f
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x24]
push edx
push eax
lea ecx, [ebp - 0x14]
push 0x80000001
push ecx
mov byte [ebp - 4], 9
call fcn.00402810
add esp, 0x10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.0042ff31
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.0042ff31
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 8]
test eax, eax
jle 0x40783d
lea eax, [ebp - 0x2c]
push 1
push eax
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 0x40781a
test cl, cl
je 0x407816
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40781a
add eax, 2
add esi, 2
test cl, cl
jne 0x4077f2
xor eax, eax
jmp 0x40781f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x2c]
setne bl
call fcn.0042ff31
test bl, bl
je 0x40783d
push 0x44a328
lea ecx, [ebp - 0x14]
call fcn.004302c1
push str.Profiles
lea ecx, [ebp - 0x14]
call fcn.0042a848
test eax, eax
jle 0x40787b
lea eax, [ebp - 0x14]
push str....._
lea ecx, [ebp - 0x2c]
push eax
push ecx
call fcn.0043017a
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xd
call fcn.0043001e
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.0042ff31
jmp 0x407888
push 0x4500e4
lea ecx, [ebp - 0x18]
call fcn.0043006e
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push edx
call fcn.0043001e
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.0042ff31
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x407951
push str.MozillaFirefoxProfiles_
lea ecx, [ebp - 0x1c]
call fcn.004302c1
lea ecx, [ebp - 0x4c]
call fcn.00419550
lea ecx, [ebp - 0x1c]
push str..default
lea edx, [ebp - 0x2c]
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 - 0x4c]
mov byte [ebp - 4], 0xf
call fcn.00419613
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.0042ff31
test esi, esi
je 0x407945
lea ecx, [ebp - 0x4c]
call fcn.00419833
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.004197fa
test eax, eax
jne 0x4078f8
mov eax, dword [ebp - 0x4c]
push 0x10
lea ecx, [ebp - 0x4c]
call dword [eax + 0x38]
test eax, eax
je 0x4078f8
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x4c]
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 - 0x2c]
jmp 0x4078f3
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.0041958d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0042ff31
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0042ff31
jmp 0x40797c
add edi, 0x12c
push 0x4500e4
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.0043006e
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x128]
lea eax, [ecx + 0x128]
mov esi, dword [edx - 8]
test esi, esi
je 0x407a4f
push eax
mov ecx, edi
call fcn.0043001e
push 1
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.0042a480
lea eax, [ebp - 0x2c]
push 1
push eax
mov ecx, edi
mov byte [ebp - 4], 0x12
call fcn.0042a732
mov esi, dword [ebp - 0x28]
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x407a01
test cl, cl
je 0x4079fd
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x407a01
add eax, 2
add esi, 2
test cl, cl
jne 0x4079d9
xor eax, eax
jmp 0x407a06
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x2c]
setne bl
call fcn.0042ff31
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0042ff31
test bl, bl
je 0x407a2f
push 0x44a328
mov ecx, edi
call fcn.004302c1
push str.prefs.js
mov ecx, edi
call fcn.004302c1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret