Function at 0x542270
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f89aa
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
push 1
push ecx
mov dword [ebp - 0x2a0], eax
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], 0
call fcn.0057be80
push eax
lea ecx, [ebp - 0x30]
call fcn.005dc570
push ecx
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0057c1c0
push eax
lea ecx, [ebp - 0x30]
call fcn.005dad50
sub esp, 8
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x24], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.MozillaExtensions
call fcn.005dc190
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.005dc520
push 2
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.005dc190
push eax
call fcn.005771e0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.MozillaFirefoxProfiles
lea ecx, [ebp - 0x30]
call fcn.005dc190
push eax
push edi
lea ecx, [ebp - 0x30]
call fcn.005dc200
push 0x260
lea eax, [ebp - 0x290]
push 0
push eax
call fcn.00420090
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.005dc190
push 0x250
mov esi, eax
lea eax, [ebp - 0x290]
push 0
push eax
call fcn.00420090
add esp, 0xc
lea eax, [ebp - 0x290]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x40], eax
cmp eax, 0xffffffff
je 0x5423b6
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x3c], 5
call fcn.004011a0
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.005dadc0
cmp dword [ebp - 0x40], 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x2bc], str.addons.json
mov dword [ebp - 0x2b8], str.extensions
mov dword [ebp - 0x2b4], str.prefs.js
mov dword [ebp - 0x2b0], 0x66179c
mov dword [ebp - 0x2ac], str.search.json
mov dword [ebp - 0x2a8], str.extensions.ini
mov dword [ebp - 0x2a4], 0x6617e4
je 0x54251b
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor esi, esi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + esi*4 - 0x2bc]
lea eax, [ebp - 0x264]
push 0x624284
push eax
lea ecx, [ebp - 0x30]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x24]
call fcn.005dc200
push 2
lea ecx, [ebp - 0x24]
call fcn.005dc190
push eax
call fcn.005771e0
inc esi
cmp esi, 7
jl 0x542422
mov eax, dword [ebp - 0x40]
cmp eax, 0xffffffff
je 0x54251b
lea ecx, [ebp - 0x290]
push ecx
push eax
call edi
test eax, eax
je 0x54250f
mov edx, dword [ebp - 0x40]
cmp edx, 0xffffffff
je 0x54251b
cmp word [ebp - 0x264], 0x2e
jne 0x5424bc
mov ax, word [ebp - 0x262]
test ax, ax
je 0x5424fc
cmp ax, 0x2e
jne 0x5424bc
cmp word [ebp - 0x260], 0
je 0x5424fc
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x542420
mov ecx, dword [ebp - 0x290]
test al, 1
je 0x5424d9
test ecx, 0x400
jne 0x5424fc
test al, 2
je 0x5424e8
test cl, 0x10
je 0x542420
jmp 0x5424fc
test al, 4
je 0x542420
test ecx, 0x10
jne 0x542420
lea eax, [ebp - 0x290]
push eax
push edx
call edi
test eax, eax
je 0x54250f
mov edx, dword [ebp - 0x40]
jmp 0x542496
push dword [ebp - 0x40]
call ebx
mov dword [ebp - 0x40], 0xffffffff
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.005d6aa0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.005d6aa0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.SoftwareMozillaPlugins
push dword [ebp - 0x2a0]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
push str.HKU_
call fcn.005dc200
push 0
lea ecx, [ebp - 0x24]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x14]
call fcn.005d55d0
xorps xmm0, xmm0
mov dword [ebp - 0x294], 0
lea ecx, [ebp - 0x29c]
movq qword [ebp - 0x29c], xmm0
call fcn.005d6ac0
push ecx
push 0x20019
push str.HKLMWow6432NodeSOFTWAREMozilla
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.005d6a30
test al, al
je 0x542621
lea ecx, [ebp - 0x14]
call fcn.005d6280
test eax, eax
je 0x542621
lea esi, [eax - 1]
test esi, esi
js 0x542621
lea eax, [ebp - 0x29c]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.005d6380
test al, al
je 0x542621
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x64ebc4
push dword [ebp - 0x29c]
lea ecx, [ebp - 0x24]
push 0x624284
push str.HKLMWow6432NodeSOFTWAREMozilla
call fcn.005dc200
push 0
lea ecx, [ebp - 0x24]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x18]
call fcn.005d55d0
sub esi, 1
jns 0x5425c8
push ecx
push 0x20019
push str.HKLMSOFTWAREMozilla
lea ecx, [ebp - 0x14]
call fcn.005d6a30
test al, al
je 0x5426ac
lea ecx, [ebp - 0x14]
call fcn.005d6280
test eax, eax
je 0x5426ac
lea esi, [eax - 1]
test esi, esi
js 0x5426ac
nop dword [eax + eax]
lea eax, [ebp - 0x29c]
push eax
lea eax, [esi - 1]
push eax
lea ecx, [ebp - 0x14]
call fcn.005d6380
test al, al
je 0x5426ac
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x64ebc4
push dword [ebp - 0x29c]
lea ecx, [ebp - 0x24]
push 0x624284
push str.HKLMSOFTWAREMozilla
call fcn.005dc200
push 0
lea ecx, [ebp - 0x24]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x18]
call fcn.005d55d0
sub esi, 1
jns 0x542650
lea ecx, [ebp - 0x29c]
call fcn.005d6ab0
lea ecx, [ebp - 0x18]
call fcn.005d69e0
lea ecx, [ebp - 0x14]
call fcn.005d69e0
mov eax, dword [ebp - 0x40]
cmp eax, 0xffffffff
je 0x5426d2
push eax
call ebx
lea ecx, [ebp - 0x24]
call fcn.005dc430
lea ecx, [ebp - 0x30]
call fcn.005dc430
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 8