Function at 0x542710
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8a22
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c0], edi
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.Resetting_Firefox
movq qword [ebp - 0x40], xmm0
call fcn.005dc570
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
and ebx, 1
mov dword [ebp - 4], 0
push 0
mov ecx, str._for_all_users...
mov dword [ebp - 0x2c4], ebx
mov eax, str._for_the_current_user...
cmovne eax, ecx
lea ecx, [ebp - 0x40]
push 0
push eax
call fcn.005da780
lea ecx, [ebp - 0x40]
call fcn.005dc190
push eax
push 0xffffffffffffffff
mov ecx, edi
call fcn.0057b610
push 0
push 1
mov ecx, edi
call fcn.005494d0
mov ecx, str.firefox.exe
call fcn.005cc330
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
call fcn.005d6aa0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
call fcn.005d6aa0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x34]
movq qword [ebp - 0x34], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.005dc5e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2b0]
xorps xmm0, xmm0
mov dword [ebp - 0x2a8], 0
movq qword [ebp - 0x2b0], xmm0
call fcn.005d6ac0
push ecx
push 0x20019
push str.HKLMSOFTWAREMozilla
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.005d6a30
lea ecx, [ebp - 0x24]
call fcn.005d6280
mov esi, eax
test esi, esi
je 0x5428b9
nop
lea eax, [ebp - 0x2b0]
push eax
lea eax, [esi - 1]
push eax
lea ecx, [ebp - 0x24]
call fcn.005d6380
test al, al
je 0x5428b9
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x64ebc4
push dword [ebp - 0x2b0]
lea ecx, [ebp - 0x20]
push str.HKLMSOFTWAREMozilla_
call fcn.005dc200
push 0
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x28]
call fcn.005d55d0
sub esi, 1
jne 0x542860
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Mozilla_Firefox_browserextensions
sub esp, 8
mov ecx, edi
call fcn.0057c120
add esp, 4
lea ecx, [ebp - 0x20]
push eax
call fcn.005dc200
push 2
lea ecx, [ebp - 0x20]
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 0
push str.Mozilla_Firefox_searchplugins
sub esp, 8
mov ecx, edi
mov ebx, eax
call fcn.0057c120
add esp, 4
lea ecx, [ebp - 0x20]
push eax
call fcn.005dc200
push 2
lea ecx, [ebp - 0x20]
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 0
push str.Mozilla_Firefoxextensions
sub esp, 8
mov ecx, edi
add ebx, eax
call fcn.0057c120
add esp, 4
lea ecx, [ebp - 0x20]
push eax
call fcn.005dc200
push 2
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call fcn.005771e0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
add ebx, eax
push 0
push 0
push str.Mozilla_Firefox_browserextensions
sub esp, 8
mov ecx, edi
call fcn.0057c080
add esp, 4
lea ecx, [ebp - 0x20]
push eax
call fcn.005dc200
push 2
lea ecx, [ebp - 0x20]
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 0
push str.Mozilla_Firefox_searchplugins
sub esp, 8
mov ecx, edi
add ebx, eax
call fcn.0057c080
add esp, 4
lea ecx, [ebp - 0x20]
push eax
call fcn.005dc200
push 2
lea ecx, [ebp - 0x20]
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 0
push str.Mozilla_Firefoxextensions
sub esp, 8
mov ecx, edi
add ebx, eax
call fcn.0057c080
add esp, 4
lea ecx, [ebp - 0x20]
push eax
call fcn.005dc200
push 2
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call fcn.005771e0
push 0
push 1
mov ecx, edi
add ebx, eax
call fcn.005494d0
test eax, eax
je 0x542a55
xor ebx, ebx
jmp 0x54301f
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x661570
sub esp, 8
mov ecx, edi
call fcn.0057c080
add esp, 4
lea ecx, [ebp - 0x34]
push eax
call fcn.005dc200
push 0x260
lea eax, [ebp - 0x2a4]
push 0
push eax
call fcn.00420090
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.005dc190
push 0x250
mov esi, eax
lea eax, [ebp - 0x2a4]
push 0
push eax
call fcn.00420090
add esp, 0xc
lea eax, [ebp - 0x2a4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edx, eax
mov dword [ebp - 0x54], edx
cmp edx, 0xffffffff
je 0x542b5a
mov ecx, 1
mov dword [ebp - 0x50], ecx
cmp word [ebp - 0x278], 0x2e
jne 0x542b0a
mov ax, word [ebp - 0x276]
test ax, ax
je 0x542b34
cmp ax, 0x2e
jne 0x542b0a
cmp word [ebp - 0x274], 0
je 0x542b34
test ecx, ecx
je 0x542b5a
mov eax, dword [ebp - 0x2a4]
test cl, 1
je 0x542b20
test eax, 0x400
jne 0x542b34
test cl, 2
je 0x542b2b
test al, 0x10
je 0x542b5a
jmp 0x542b34
test cl, 4
je 0x542b5a
test al, 0x10
jne 0x542b5a
lea eax, [ebp - 0x2a4]
push eax
push edx
call esi
test eax, eax
je 0x542b4a
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
jmp 0x542ae4
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x54], 0xffffffff
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.005dadc0
cmp dword [ebp - 0x54], 0xffffffff
je 0x542caf
push 0
mov edx, str.amazondotcom.xml
lea ecx, [ebp - 0x278]
call fcn.005d8ad0
test eax, eax
je 0x542c74
push 0
mov edx, str.amazondotcom.xml
lea ecx, [ebp - 0x278]
call fcn.005d8ad0
test eax, eax
je 0x542c74
push 0
mov edx, str.bing.xml
lea ecx, [ebp - 0x278]
call fcn.005d8ad0
test eax, eax
je 0x542c74
push 0
mov edx, str.eBay.xml
lea ecx, [ebp - 0x278]
call fcn.005d8ad0
test eax, eax
je 0x542c74
push 0
mov edx, str.google.xml
lea ecx, [ebp - 0x278]
call fcn.005d8ad0
test eax, eax
je 0x542c74
push 0
mov edx, str.twitter.xml
lea ecx, [ebp - 0x278]
call fcn.005d8ad0
test eax, eax
je 0x542c74
push 0
mov edx, str.wikipedia.xml
lea ecx, [ebp - 0x278]
call fcn.005d8ad0
test eax, eax
je 0x542c74
push 0
mov edx, str.yahoo.xml
lea ecx, [ebp - 0x278]
call fcn.005d8ad0
test eax, eax
je 0x542c74
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x34]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
push 2
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call fcn.005771e0
add ebx, eax
mov eax, dword [ebp - 0x54]
cmp eax, 0xffffffff
je 0x542caf
lea ecx, [ebp - 0x2a4]
push ecx
push eax
call esi
test eax, eax
je 0x542c9f
lea ecx, [ebp - 0x2a4]
call fcn.004011a0
test al, al
jne 0x542b72
jmp 0x542caf
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x54], 0xffffffff
push 0
push 1
mov ecx, edi
call fcn.005494d0
test eax, eax
je 0x542cc5
xor ebx, ebx
jmp 0x543010
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x661570
sub esp, 8
mov ecx, edi
call fcn.0057c120
add esp, 4
lea ecx, [ebp - 0x34]
push eax
call fcn.005dc200
lea ecx, [ebp - 0x34]
call fcn.005dc190
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x2b8], eax
cmp ecx, 0xffffffff
je 0x542d17
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2a4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, eax
mov dword [ebp - 0x54], edx
cmp edx, 0xffffffff
je 0x542db6
mov ecx, 1
mov dword [ebp - 0x50], ecx
nop dword [eax + eax]
cmp word [ebp - 0x278], 0x2e
jne 0x542d66
mov ax, word [ebp - 0x276]
test ax, ax
je 0x542d90
cmp ax, 0x2e
jne 0x542d66
cmp word [ebp - 0x274], 0
je 0x542d90
test ecx, ecx
je 0x542db6
mov eax, dword [ebp - 0x2a4]
test cl, 1
je 0x542d7c
test eax, 0x400
jne 0x542d90
test cl, 2
je 0x542d87
test al, 0x10
je 0x542db6
jmp 0x542d90
test cl, 4
je 0x542db6
test al, 0x10
jne 0x542db6
lea eax, [ebp - 0x2a4]
push eax
push edx
call esi
test eax, eax
je 0x542da6
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
jmp 0x542d40
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x54], 0xffffffff
push 1
lea ecx, [ebp - 0x34]
call fcn.005dadc0
cmp dword [ebp - 0x54], 0xffffffff
je 0x542f0d
nop word [eax + eax]
push 0
mov edx, str.amazondotcom.xml
lea ecx, [ebp - 0x278]
call fcn.005d8ad0
test eax, eax
je 0x542ed2
push 0
mov edx, str.amazondotcom.xml
lea ecx, [ebp - 0x278]
call fcn.005d8ad0
test eax, eax
je 0x542ed2
push 0
mov edx, str.bing.xml
lea ecx, [ebp - 0x278]
call fcn.005d8ad0
test eax, eax
je 0x542ed2
push 0
mov edx, str.eBay.xml
lea ecx, [ebp - 0x278]
call fcn.005d8ad0
test eax, eax
je 0x542ed2
push 0
mov edx, str.google.xml
lea ecx, [ebp - 0x278]
call fcn.005d8ad0
test eax, eax
je 0x542ed2
push 0
mov edx, str.twitter.xml
lea ecx, [ebp - 0x278]
call fcn.005d8ad0
test eax, eax
je 0x542ed2
push 0
mov edx, str.wikipedia.xml
lea ecx, [ebp - 0x278]
call fcn.005d8ad0
test eax, eax
je 0x542ed2
push 0
mov edx, str.yahoo.xml
lea ecx, [ebp - 0x278]
call fcn.005d8ad0
test eax, eax
je 0x542ed2
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x34]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
push 2
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call fcn.005771e0
add ebx, eax
mov eax, dword [ebp - 0x54]
cmp eax, 0xffffffff
je 0x542f0d
lea ecx, [ebp - 0x2a4]
push ecx
push eax
call esi
test eax, eax
je 0x542efd
lea ecx, [ebp - 0x2a4]
call fcn.004011a0
test al, al
jne 0x542dd0
jmp 0x542f0d
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x54], 0xffffffff
cmp dword [ebp - 0x2c4], 0
jne 0x542f36
push ecx
mov ecx, edi
call fcn.0057c2d0
push eax
push ecx
mov ecx, edi
call fcn.0057c330
push eax
mov ecx, edi
call fcn.00542270
add ebx, eax
jmp 0x542fcf
mov ecx, 3
call fcn.0059e240
mov esi, eax
mov dword [ebp - 0x2b4], esi
mov byte [ebp - 4], 7
cmp dword [esi], 0
mov dword [ebp - 0x2b8], 0
jbe 0x542fc3
mov dword [ebp - 0x2bc], 0
push 0
push 1
mov ecx, edi
call fcn.005494d0
test eax, eax
jne 0x543072
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 4]
add ecx, dword [ebp - 0x2bc]
add edi, dword [ebp - 0x2bc]
call fcn.005dc190
push eax
mov ecx, edi
call fcn.005dc190
mov ecx, dword [ebp - 0x2c0]
push eax
call fcn.00542270
mov edi, dword [ebp - 0x2b8]
add ebx, eax
add dword [ebp - 0x2bc], 0xc
inc edi
cmp edi, dword [esi]
mov dword [ebp - 0x2b8], edi
mov edi, dword [ebp - 0x2c0]
jb 0x542f65
push ecx
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00402a20
cmp dword [ebp - 0x2c4], 0
mov ecx, str._for_the_current_user.
mov eax, str._for_all_users.
cmove eax, ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.005dc510
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.005dc190
push eax
test ebx, ebx
mov ecx, str.Failed_to_reset_Mozilla_Firefox
mov eax, str.Successfully_reset_Mozilla_Firefox
cmove eax, ecx
mov ecx, edi
push eax
call fcn.0057b7e0
mov eax, dword [ebp - 0x54]
cmp eax, 0xffffffff
je 0x54301f
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x2b0]
call fcn.005d6ab0
lea ecx, [ebp - 0x20]
call fcn.005dc430
lea ecx, [ebp - 0x34]
call fcn.005dc430
lea ecx, [ebp - 0x28]
call fcn.005d69e0
lea ecx, [ebp - 0x24]
call fcn.005d69e0
lea ecx, [ebp - 0x40]
call fcn.005dc430
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 4
push ecx
mov ecx, esi
call fcn.00402a20
xor ebx, ebx
jmp 0x543010