Function at 0x4070f0
Capabilities:
Enumerate processes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414ab6
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x41d048]
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
call fcn.004065b0
test eax, eax
jne 0x407560
mov eax, dword fs:[0x2c]
mov ecx, dword [0x41d554]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x41d4bc]
cmp eax, dword [ecx + 4]
jg 0x407585
cmp dword [0x41d038], 0
jne 0x40739d
push 0x32
xor eax, eax
mov dword [ebp - 0x238], 0
push str.BrowserWCFirefoxExtncomponentsWCFirefoxExtn.dll
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00408510
push 0x1d
xor eax, eax
mov dword [ebp - 4], 0
push str.SOFTWAREAdobeAdobe_Acrobat_
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00408510
push 2
push 0x41702c
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.00408390
push 0xc
push str.InstallPath
lea ecx, [ebp - 0x230]
call fcn.00408390
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x478]
push ecx
push 1
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4072e3
lea eax, [ebp - 0x47c]
push eax
push 0
push 0
push 0
push 0
push dword [ebp - 0x478]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4072d7
mov eax, dword [ebp - 0x47c]
test eax, eax
je 0x4072d7
inc eax
push 0x41d4fd
push eax
call fcn.004129ab
mov esi, eax
add esp, 8
test esi, esi
je 0x4072d7
mov ecx, dword [ebp - 0x47c]
inc ecx
push ecx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x47c]
push eax
push esi
push 0
push 0
push 0
push dword [ebp - 0x478]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4072ce
push esi
mov ecx, 0x41d028
call fcn.004084e0
push 0x417138
mov ecx, 0x41d028
call fcn.00408360
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
mov ecx, 0x41d028
push eax
call fcn.00408390
push esi
call fcn.004129a6
add esp, 4
push dword [ebp - 0x478]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x407329
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x40731f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40731f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00412a01
add esp, 8
mov edx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x40739d
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 3
cmp edx, 0x1000
jb 0x40738c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40738c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00412a01
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [0x41d478], 0
jne 0x407560
push 1
call fcn.00401240
add esp, 4
test eax, eax
jne 0x4073e0
cmp dword [0x41d038], eax
je 0x4073e0
cmp dword [0x41d03c], 8
mov eax, 0x41d028
cmovae eax, dword [0x41d028]
push eax
call fcn.004097d0
mov dword [0x41d478], eax
jmp 0x4073e5
mov eax, dword [0x41d478]
test eax, eax
je 0x407581
push str._CPP_SetParentWindowClass
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov dword [ebp - 0x478], ebx
test ebx, ebx
je 0x407541
push 0
push 2
or edi, 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x208
mov esi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test esi, esi
je 0x4074e6
push 0x228
lea eax, [ebp - 0x470]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x474], 0x22c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
lea eax, [ebp - 0x474]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x407491
nop
cmp dword [ebp - 0x46c], ebx
je 0x40748b
lea eax, [ebp - 0x474]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x407470
jmp 0x407491
mov edi, dword [ebp - 0x45c]
lea eax, [ebp - 0x474]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4074d9
cmp dword [ebp - 0x46c], edi
je 0x4074bd
lea eax, [ebp - 0x474]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4074a2
jmp 0x4074d9
push 0x104
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x478]
lea eax, [ebp - 0x218]
mov esi, str.firefox.exe
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr]
add esp, 4
nop dword [eax + eax]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x407526
test cx, cx
je 0x407522
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x407526
add eax, 4
add esi, 4
test cx, cx
jne 0x407500
xor eax, eax
jmp 0x40752b
sbb eax, eax
or eax, 1
mov ecx, ebx
test eax, eax
jne 0x407534
push eax
jmp 0x407536
push 1
call dword [0x4163c4]
call ebx
add esp, 4
push 2
push 0
push 0x408010
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.00402260
add esp, 0x10
mov dword [0x41d480], eax
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.004129c0
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x407565
push 0x41d4bc
call fcn.00412d9a
add esp, 4
cmp dword [0x41d4bc], 0xffffffff
jne 0x40714b
push 0x415920
call fcn.00412c4b
push 0x41d4bc
call fcn.00412d50
add esp, 8
jmp 0x40714b