Function at 0x43a950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3398
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x660ff8]
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 edi, ecx
mov dword [ebp - 0x80], edi
mov byte [ebp - 0x7c], 0
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43aec0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
push 0x62cfc8
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0
call fcn.0040d8d0
mov esi, dword [ebp - 0x78]
mov ecx, dword [edi]
push esi
push 0
push 0x11720
call fcn.0041a290
or ebx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43a9e8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
lea eax, [ebp - 0x84]
mov dword [ebp - 4], 1
push eax
push 0x20019
push 0
push str.SOFTWAREApple_Computer__Inc.Safari
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x84], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43aea4
mov esi, dword [ebp - 0x84]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x94], esi
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x88], 0x64
push eax
push 0
push 0x630f30
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ae99
mov eax, dword [ebp - 0x78]
cmp eax, 1
je 0x43aa8f
cmp eax, 2
jne 0x43ae99
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x43aab0
test al, 1
jne 0x43ae99
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x43aab6
jmp 0x43ae99
xor eax, eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00461ed0
lea esi, [eax + 4]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00410070
push ecx
push 0x2c
mov ecx, esi
call fcn.004375e0
push dword [esi]
mov ecx, dword [edi]
push 0
push 0x11721
call fcn.0041a290
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ab09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x7c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ab23
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x7c], 1
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43aec0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
push 0x6356b4
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.0040d8d0
mov esi, dword [ebp - 0x78]
mov ecx, dword [edi]
push esi
push 0
push 0x11720
call fcn.0041a290
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43ab7f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push str.Safari
lea ecx, [ebp - 0x78]
call fcn.0040d6b0
mov byte [ebp - 4], 4
push dword [eax]
mov ecx, dword [edi]
push dword [0x66b6f4]
push 0x116b9
call fcn.0041a290
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43abc2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00461ed0
lea esi, [eax + 4]
mov byte [ebp - 4], 5
mov edi, dword [0x66b6f4]
mov ecx, esi
push eax
call fcn.00410070
push ecx
push 0x2c
mov ecx, esi
call fcn.004375e0
push dword [esi]
mov ecx, dword [ebp - 0x80]
push edi
push 0x116b8
mov ecx, dword [ecx]
call fcn.0041a290
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ac1d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x7c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ac37
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x7c], 0
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43aec0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x78]
mov esi, dword [0x66b6f4]
push 0x62cfc8
call fcn.0040d8d0
mov eax, dword [ebp - 0x80]
mov edi, dword [ebp - 0x78]
push edi
push esi
mov ecx, dword [eax]
push 0x1177b
call fcn.0041a290
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43ac9b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x7c], 0
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43aec0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
mov esi, dword [0x66b6f4]
push 0x62cfc8
call fcn.0040d8d0
mov eax, dword [ebp - 0x80]
mov edi, dword [ebp - 0x78]
push edi
push esi
mov ecx, dword [eax]
push 0x1177e
call fcn.0041a290
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43acff
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x7c], 0
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43aec0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x78]
mov esi, dword [0x66b6f4]
push 0x62cfc8
call fcn.0040d8d0
mov eax, dword [ebp - 0x80]
mov edi, dword [ebp - 0x78]
push edi
push esi
mov ecx, dword [eax]
push 0x1177c
call fcn.0041a290
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43ad63
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x7c], 0
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43aec0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x78]
mov esi, dword [0x66b6f4]
push 0x62cfc8
call fcn.0040d8d0
mov eax, dword [ebp - 0x80]
mov edi, dword [ebp - 0x78]
push edi
push esi
mov ecx, dword [eax]
push 0x11780
call fcn.0041a290
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43adc7
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x7c], 0
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43aec0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x78]
mov esi, dword [0x66b6f4]
push 0x62cfc8
call fcn.0040d8d0
mov eax, dword [ebp - 0x80]
mov edi, dword [ebp - 0x78]
push edi
push esi
mov ecx, dword [eax]
push 0x1177f
call fcn.0041a290
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43ae2b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x7c], 1
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x43aec0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x78]
mov esi, dword [0x66b6f4]
push 0x6356b4
call fcn.0040d8d0
mov eax, dword [ebp - 0x80]
mov edi, dword [ebp - 0x78]
push edi
push esi
mov ecx, dword [eax]
push 0x1177d
call fcn.0041a290
mov byte [ebp - 4], 1
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43ae8d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
inc dword [0x66b6f4]
mov esi, dword [ebp - 0x84]
test esi, esi
je 0x43aea4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.005b0d47
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402449
int3